docs(demo): act 2 shows both CTX% producers via -p/-t role naming - #111
Merged
Conversation
Act 2's matrix gains a fourth role: the same claude binary run as an interactive TUI with context_feed = "statusline". Role names now carry the mode (-p = print/headless, -t = TUI) so the session table and event stream read at a glance. The act's punchline upgrades from "one event vocabulary" to "one table, two CTX% producers": -p rows meter via the stream-fed accountant, the -t row via the statusline feed. Verified live: analyst-p 13% (stream) beside analyst-t 10% (statusline). Also: claude.toml squad coders gain context_feed so the scale demo doubles as the metering demo; the stale act-2 TODO claiming the heartbeat RPC is the only context producer is replaced with the current three-producer state; placeholders added for the planned act 3 shift-onto-feed extension and act 5 Meter, both marked not written. The act 3 placeholder documents the frozen-runtime wrinkle (session runtime is copied at spawn, so re-apply cannot retrofit the feed onto live sessions) with its bd ticket. Refs: aae-orc-7hzb, finding-011
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.
The demo runbook could not show the context-feed feature that merged in #110, and act 2 still carried a TODO claiming CTX% has one producer (the heartbeat RPC) — stale twice over since the stream accountant and the statusline feed landed. This makes the demo demonstrate what the code now does, with the mode readable straight off the session table.
analyst-t, the same claude binary run interactively withcontext_feed = "statusline". Role suffixes carry the mode (analyst-p,builder-p,scout-p,analyst-t) into every session name and event tag. The act now shows both CTX% producers in one table — verified live:analyst-p13% via stream accountant besideanalyst-t10% via statusline feed, with the pane's own bottom line reading "CTX 10% · $0.37".context_feed, so the scale/inject/chaos demo doubles as the metering demo anddemo-watch's session pane gets a live CTX column.Docs and manifests only; no code changes.
Refs: aae-orc-7hzb, finding-011