docs(web): clarify what the sidebar renders for status events - #388
Merged
Conversation
Update the docs-pane "Status Events" section to match what the agent card actually displays — a colored status label, a relative timestamp, and the message — rather than just "the latest event message and a color-coded status indicator." Also refresh the docs-audit job state file with the next focus (Reviewers section + persona review round-trip loop). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
AGENT_LATEST_EVENT_TYPES, thedispatch_eventMCP registration, the agent-card render path, and the Activity page.dispatch_eventsignature, and Activity-page claims (heatmap, working-time, daily status) all match the code. The "How events are used" copy understated what the sidebar actually renders — it described "the latest event message and a color-coded status indicator" but the card actually shows three things: a colored status label (Working / Blocked / Waiting / Done / Idle fromlatestEventLabel), a relative timestamp fromformatRelativeTime("just now" / "5m ago" / "2h ago" / "3d ago"), and the message.last_audited_shato current HEAD, setnext_focusto the docs-pane Reviewers section so the next run covers the persona review round-trip loop (PRs feat(server): resolution capture for persona feedback (CRU-128) #372 / feat(web): surface resolution reasons and parent summary (CRU-129) #374 / feat(server): schema for review round-trip loop (CRU-131) #381 / Add persona review recheck state machine #382). Added a new drift pattern about understated "sidebar shows X" claims, plus backlog items for the optionaldispatch_eventmetadataparameter anddispatch_rename_sessionexposure to job agents (PR Expose dispatch_rename_session to job agents #378).dispatch_eventmetadata(no UI surfaces it), and the broader Reviewers / Jobs items already tracked.Test plan
pnpm run format:write(idempotent, no extra changes)pnpm run check(server + web tsc --noEmit)🤖 Generated with Claude Code