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
4 lines
165 B
SQL
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;
|