Commit History
-
[KM-626][AI] Slow-path agent: seam contracts + TaskRunner
Rifqi Hafizuddin +1: Claude Opus 4.8The execution half of the slow path (AGENT_ARCHITECTURE_CONTEXT_new.md §7.4, §8.2/§8.4). Deterministic, 0 LLM, tool-agnostic (INV-7). - schemas.py: TaskResult, RunState (the blackboard); TaskSummary, AnalysisRecord, AssembledOutput, AssemblerNarrative. Reuses planner ToolOutput. - invoker.py: ToolInvoker Protocol only -- the runtime seam the runner calls; the tool team owns the implementation (KM-418). - errors.py: SlowPathError, AssemblerError. - task_runner.py: wave-based dependency execution (asyncio.gather), ${t<id>} placeholder resolution, internal validate_args, never-throw invoke, status labeling, degrade-and-continue. No replanning, no mid-run LLM. Lives in agents/slow_path/ -- NOT "orchestrator" (that name is the entry dispatcher in agents/orchestration.py). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>ac310de