Commit graph

2 commits

Author SHA1 Message Date
scotttong
1d06bd62c5 experiment: board chat UX polish and beginner guide
- Fix company isolation: reset chat state when switching companies,
  clear stale comment cache, fix Board Operations issue creation
  (status: todo instead of in_progress to avoid assignee requirement)
- Optimistic user messages: show user's message instantly before server
  round-trip for a natural chat feel
- Live status indicators: forward tool-use events from Claude CLI as
  SSE status messages (Running a command, Reading a file, Searching, etc.)
  shown as a separate bar below the streaming response
- Paperclip SVG thinking animation (slowed to 1s loop)
- Chat bubble styling: blue user bubbles, shaped corners via raw CSS
  to bypass --radius:0 design system
- Agent system prompt template: add Model field (default: sonnet)
- Add beginner guide: doc/BOARD-CHAT-GUIDE.md

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 19:15:19 -07:00
scotttong
08e0e91af0 experiment: board concierge skill + web UI chat surface
Add a board-member skill that teaches Claude how to manage a Paperclip
company via chat — covering onboarding, hiring plans, approvals, task
monitoring, cost oversight, and agent system prompt management.

Phase 1 (Claude Code surface):
- Board skill at skills/paperclip-board/SKILL.md with full API reference
- CLI bootstrap command `paperclipai board setup` that installs the skill
  and prints env exports

Phase 2 (Web UI surface):
- New /board/chat/stream endpoint that spawns Claude with the board skill
  as system prompt, passing PAPERCLIP_API_URL and PAPERCLIP_COMPANY_ID
- BoardChat page with streaming responses, status indicators, and
  conversation persistence via Board Operations issue
- Sidebar nav link and route registration

The skill is a portable knowledge layer — same document powers Claude Code
(Surface 1), web UI chat (Surface 2), and future MCP server (Surface 3).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 14:05:57 -07:00