Add a workflow observatory over recorded thread events - #95
Draft
John-Ryan21337 wants to merge 2 commits into
Draft
John-Ryan21337 wants to merge 2 commits into
John-Ryan21337 wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a workflow observatory over the selected thread's recorded agent events. Open Workflow from the composer to inspect reported tasks in a list or graph, even when the thread has no plan. This independent adoption proposal targets current Cafe
dev(99fbaec8) and is tracked in #90.The view uses Cafe's existing event projection. It keeps repeated provider identifiers distinct across turns, bounds the output to 64 nodes and 100 recent activity rows, and shows missing fields as Not reported. Relationships and terminal states come from recorded events; age does not invent a completion or stopped state. The displayed observed span is the interval between recorded updates, not provider runtime. Closing or changing the selected thread or environment clears the view state.
This is a read-only renderer feature. It adds no provider launch behavior, event collector, task control or inferred agent-to-agent relationships. Recorded provider text can contain sensitive project information; the separate provider history binding is not copied into the snapshot or DOM.
Independent review checked fidelity, bounded projection, graph layout and selection cleanup. The delimiter-collision regression also verifies the existing explicit environment/thread reset; it is coverage, not a claim that the workflow panel previously leaked selection state.
Validation on Windows:
yarn fmt,yarn lint,yarn typecheck(10/10),yarn test --concurrency=2(10/10; server 2,004 passed and the inherited POSIX bootstrap FIFO skip), full Chromium 317/317, andyarn build:desktop --force(3/3). Generated server, desktop and renderer bundles were checked. Focused projection/layout 22/22 and component Chromium 11/11 passed. Existing platform-specific script skips are unchanged. No live provider or user account was tested.Review media uses synthetic events and the real component stylesheet:
Interaction recording, 7.68 seconds
Scope and verification