M18-5: Architect chat UI (streaming, markdown, slash commands) #166
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#166
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As an operator, I want a chat surface on
/app/plannerthat streams the architect's responses with tool-call rendering, markdown, and session history, so that I can think out loud with the architect about what to build next.Acceptance criteria
Layout
specs/*.md,config/agents.jsoninitially)Streaming
/architect/stream/:task_id. Partial text shows a blinking cursor at the tail; tool calls collapse to a titled pill until finishedreact-markdown+ GFM + syntax-highlighted code (Shiki; token palette tuned to Tokyo Night Storm)Session management
/architect/sessions/:idDialog)Integrations
/spec <name>— asks the architect to draftspecs/<name>.md/breakdown specs/<name>.md— triggers the existingbreakdownskill via architect/assign <issue#> <agent>— updates the issue's assignee through architect's Forgejo MCP@specs/foo.mdin the composer attaches its contents to the prompt automaticallyTests
Out of scope
specs/+config/referencesDependencies
References
specs/m18-ui-rewrite-and-architect.md§Story M18-5Mockup reference: this story blocks on the Penpot frames produced by #187 (M18-5.1) — 3 frames covering the chat surface at rest, active transcript with streaming + tool-call pills, and the slash palette + @file popup. Do not start CSS/layout work until the designer hands off and the
design-reviewerverdict is APPROVED. Primary visual inspiration = t3code's chat screens, adapted todesign/tokens.json.