diff --git a/docs/handoff/2026-04-22-flowpilot-migration.md b/docs/handoff/2026-04-22-flowpilot-migration.md index 700a987f..5c4aba80 100644 --- a/docs/handoff/2026-04-22-flowpilot-migration.md +++ b/docs/handoff/2026-04-22-flowpilot-migration.md @@ -2,7 +2,7 @@ date: 2026-04-22 branch: feat/flowpilot-migration remote: ssh://gitea.resolutionflow.com/chihlasm/resolutionflow.git -last_commit: 8582d24 docs(pilot): Phase 8 fix outcome banner — handoff + migration spec +last_commit: a47ce07 docs(pilot): fix Phase 8 column + commit-SHA references status: Sprint 8/8 phases complete and pushed; PR not yet opened. Two open items remain (see "Open work" below); open item #2 resolved by Phase 8. --- @@ -28,7 +28,7 @@ All eight migration phases are merged onto the branch and verified against the l | 5 — inline Script Generator | `fa61376` | `TemplateMatchPanel`, `NoTemplateDialog` three-option dialog | | 6 — post-resolve templatize | `4aaf57a` | `draft_templates` table, accept/reject endpoints, `TemplatizePrompt` modal, account preferences | | 7 — polish | `8a242f5` | loading/empty states, keyboard shortcuts (`⌘↵`, `⌘G`, `?` overlay), responsive bottom-drawer <1200px | -| 8 — Fix Outcome Banner | `8582d24` | `ai_sessions.fix_outcome` column + `PATCH /outcome` endpoint + `[FIX_OUTCOME]` marker; replaces task-lane `SuggestedFix` card CTA with a chat-composer-anchored slide-up banner (`ProposalBanner`); `EscalateInterceptDialog` for mid-fix escalation; banner dismissible and auto-collapsed after resolution | +| 8 — Fix Outcome Banner | `cdd8bb0`..`a47ce07` | Six outcome columns on `session_suggested_fixes` (`status`, `applied_at`, `verified_at`, `partial_notes`, `failure_reason`, `ai_outcome_proposal`) + `PATCH /api/v1/ai-sessions/{sid}/suggested-fixes/{fid}/outcome` endpoint + `[FIX_OUTCOME]` marker; replaces task-lane `SuggestedFix` card with a chat-composer-anchored `ProposalBanner` (5 states: proposed/verifying/partial/ai_confirming/nudge + collapsed); `EscalateInterceptDialog` captures outcome before handoff; Resolve-while-verifying auto-marks success; 17 new tests (8 endpoint + 7 marker + 2 anti-parrot) | Plus the structural fixes that came up along the way: - `50215b9` + `d0ebdef` — full sweep removing literal payloads from AI system prompts; new `tests/test_prompt_anti_parrot.py` guardrail