Files
Codewalkers/apps/server/drizzle/0026_add_task_summary.sql
Lukas May 536cdf08a1 feat: Propagate task summaries and input context to execution agents
Execution agents were spawning blind — no input files, no knowledge of
what predecessor tasks accomplished. This adds three capabilities:

1. summary column on tasks table — completeTask() reads the finishing
   agent's result.message and stores it on the task record
2. dispatchNext() gathers full initiative context (initiative, phase,
   sibling tasks, pages) and passes it as inputContext so agents get
   .cw/input/task.md, initiative.md, phase.md, and context directories
3. context/tasks/*.md files now include the summary field in frontmatter
   so dependent agents can see what prior agents accomplished
2026-03-03 13:42:37 +01:00

4 lines
165 B
SQL

-- Add summary column to tasks table.
-- Stores the completing agent's result message for propagation to dependent tasks.
ALTER TABLE tasks ADD COLUMN summary TEXT;