Skip to content

Add a live trace view to serve, and a file-backed plan approval flow - #39

Merged
Shashankss1205 merged 2 commits into
mainfrom
feature/live-view-and-approvals
Aug 2, 2026
Merged

Add a live trace view to serve, and a file-backed plan approval flow#39
Shashankss1205 merged 2 commits into
mainfrom
feature/live-view-and-approvals

Conversation

@Shashankss1205

Copy link
Copy Markdown
Collaborator

Promotes the in-tree work-in-progress to a reviewed change.

What this adds

  • grapharc serve --live-root PATH: a read-only /live view on the API server — an index of trace files under the root, and a per-run page that streams trace events over SSE with a mermaid topology render. Optional token gate via --live-token / GRAPHARC_LIVE_TOKEN, with a startup warning when binding beyond localhost without a token.
  • Slack live links: the Slack surface can hand out links into the live view.
  • File-backed plan approvals: a grapharc approve command and an approval store (grapharc/planner/approval_file.py) so a held plan can be approved out-of-band.
  • Topology viz: to_mermaid learns clustered multi-round diagrams (tested in tests/test_topology_viz.py).
  • Cookbook pages, README, and an architecture review doc updated alongside.

Verification

🤖 Generated with Claude Code

Shashankss1205 and others added 2 commits August 2, 2026 21:47
The server grows an optional read-only /live view (grapharc serve
--live-root PATH, token-gated via --live-token / GRAPHARC_LIVE_TOKEN)
that lists trace files and streams a run's events over SSE with a
mermaid topology render. Slack gains the same live link plumbing, the
planner gains a file-backed approval store with a grapharc approve
command, and to_mermaid learns clustered multi-round topologies.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Shashankss1205
Shashankss1205 merged commit 841393b into main Aug 2, 2026
@Shashankss1205
Shashankss1205 deleted the feature/live-view-and-approvals branch August 2, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant