feat(monitor): focus on pstack sessions and show what each agent is doing - #25
Merged
Merged
Conversation
…g calls Adapters now flag pstack work (Claude attribution, pstack skills, agents, and commands; Codex prompts and runner calls; every lane) and report each agent's prompt and the tool call awaiting its result. Claude sessions without a process record and Claude subagents follow turn boundaries, so a subagent finishes when its own turn ends. The lane journal records the head of the prompt.
The page shows pstack trees by default; Show all or start --all shows every session. Sessions group into working, open, and earlier; a turn-only run silent for 15 minutes reads as stalled. Cards, rows, and the panel show the task, the pending call, and the latest step. The panel resizes by drag or a widen button and remembers its width.
thisguymartin
marked this pull request as ready for review
October 3, 2026 19:51
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.
What changed
pstack:skill, agent, or command, a Codex prompt or runner call naming pstack, or any runner lane. The page shows those trees by default. Show all in the session list, orpstack-monitor start --all, shows every session.Verification
Gate: 325 tests pass,
bun run typecheckis clean, the four manifests parse, andPSTACK_STATIC_ONLY=1 bash tests/skill-collision-repro.shpasses.Live evidence:
Checkout build
1.5.0+2322e9d9ab, not an installed plugin. Monitor started from the checkout withpstack-monitor start --parent claudeand driven in headless Chrome:pstack-runnerfrom this session attach under it. A Codex lane showedworking · 14swith its pendingsleep 25call, then done. MiniMax and DeepSeek lanes (no API keys here) and a Grok lane (CLI not installed) showed failed with the receipt's reason.Still needed before this leaves draft: the installed candidate tested from the Claude Code and Codex surfaces, and a successful MiniMax, DeepSeek, and Grok lane.
A pull request without live evidence remains a draft. Do not merge, tag, release, or roll it out.