Workflow independence audit, store tests, InstallPackage decomposition

Fix RenderWorkflow() handler (was a stub that never loaded data),
remove dead chat UI from workflow.html, align stage mode naming
with Go constants, add 17 SQLite store tests, decompose 400-line
InstallPackage into 7 phases, add E2E workflow-without-chat test.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-02 22:08:46 +00:00
parent 3cdfdcf943
commit 5279227732
8 changed files with 1221 additions and 416 deletions

View File

@@ -1777,7 +1777,7 @@ paths:
enum: [full, summary, fresh]
stage_mode:
type: string
enum: [custom, form_only, form_chat, review]
enum: [form, review, delegated, automated]
form_template:
type: object
transition_rules:
@@ -1817,7 +1817,7 @@ paths:
enum: [full, summary, fresh]
stage_mode:
type: string
enum: [custom, form_only, form_chat, review]
enum: [form, review, delegated, automated]
form_template:
type: object
transition_rules:
@@ -3209,7 +3209,7 @@ paths:
enum: [full, summary, fresh]
stage_mode:
type: string
enum: [custom, form_only, form_chat, review]
enum: [form, review, delegated, automated]
form_template:
type: object
transition_rules:
@@ -3250,7 +3250,7 @@ paths:
enum: [full, summary, fresh]
stage_mode:
type: string
enum: [custom, form_only, form_chat, review]
enum: [form, review, delegated, automated]
form_template:
type: object
transition_rules: