peppa/openspec/changes/archive/2026-11-14-pep-32-story-tabs/tasks.md
Асель 4a80d9dc6b PEP-32/33/37: story page tabs, live agent step feed, SSE live updates instead of 5 s polling
- PEP-37: change hub (runner/live.ts) woken by notify() (new 'web' subscriber) and
  PRAGMA data_version; per-scope fingerprints; GET /api/live SSE (no-transform, ping 15 s);
  LiveRefresh replaces AutoRefresh with a connection indicator and polling fallback
- PEP-33: async PostToolUse/PostToolUseFailure hook -> 'step' events (last 200 per
  session), AgentSteps live feed on the story page and runner panel, tasks.md progress
  on board cards and the story header
- PEP-32: story page header + tabs Proposal/Design/Specs/Tasks/Comments/Tests/Merge
  request/Activity, safe Markdown renderer, PM comments visible in get_task, edit
  title/description/epic, accept-and-merge (acceptStory)
- OpenSpec changes archived; specs live-updates, agent-steps, story-page

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 05:59:15 +05:00

907 B
Raw Blame History

1. Данные

  • 1.1 core/openspec.ts: change (в т.ч. архивный), дельта-спеки, разбор tasks.md
  • 1.2 Комментарии PM (pm_comment) в TaskDetails и get_task
  • 1.3 acceptStory (runner/flow.ts)

2. Веб

  • 2.1 Markdown — безопасный рендер
  • 2.2 Шапка: статус, эпик, прогресс, кнопки, «Изменить», агент и активная сессия
  • 2.3 Вкладки Proposal, Design, Specs, Tasks
  • 2.4 Вкладки Comments, Tests, Merge request, Activity
  • 2.5 Server actions: редактирование, комментарий, принять и смержить

3. Проверка

  • 3.1 e2e: разбор change/спек/tasks.md (архивный), комментарий в get_task, acceptStory
  • 3.2 UI на копии базы; AGENTS.md