Inputs
task_dir= "$0"impl_delegation= "single" | "multiple" (default: "single")
Process
- If
impl_delegation== "multiple"- Enumerate
Step-*.mdandFix-*.mdfiles in<task_dir>/in numeric order. For each file not already in<task_dir>/Impl-record.jsonwith asha, use ToolAgentto spawnlissom-implementerwithtask_dirandstep_file(the filename with extension). - Read
Step-dependency-graph.mdorFix-dependency-graph-<N>.mdto find out parallel execution opportunities.
- Enumerate
- If
impl_delegation== "single"- Spawn a single
lissom-implementeragent withtask_dirand let it execute all steps sequentially.
- Spawn a single
Per step process
- If the agent reports
FAILED, report immediately. - Verify the step entry exists in
<task_dir>/Impl-record.json. - If the record is missing, re-invoke
lissom-implementeronce more with the same step. If still missing after retry, report with the agent's last response.
Completion
Write <task_dir>/Impl-summary.md containing:
- Steps completed with commit SHAs from
<task_dir>/Impl-record.json - Any deviations from the plan
- Any issues met during the implementation.