peppa/openspec/changes/archive/2026-11-14-pep-33-agent-steps/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

877 B
Raw Blame History

1. Запись шагов

  • 1.1 core/steps.ts: классификация вызова, recordStep с пределом 200, sessionSteps
  • 1.2 Хуки PostToolUse/PostToolUseFailure (async) → peppa-hook tool-use
  • 1.3 Шаги исключены из журнала стори, get_task, панели раннера

2. Прогресс

  • 2.1 taskProgress по tasks.md (done/total, текущий пункт)
  • 2.2 Доска, шапка стори, сессия

3. Живая лента

  • 3.1 Поток steps:<sessionId> в хабе PEP-37
  • 3.2 AgentSteps на странице стори и в панели раннера

4. Проверка

  • 4.1 e2e: хук пишет шаг, классификация, старое поколение, предел 200, прогресс, поток шагов