Merge branch 'next' into kimi-runtime-support
This commit is contained in:
@@ -46,10 +46,13 @@ discuss-phase early-exit path. It does NOT authorize inline role performance for
|
||||
plan-phase agents.
|
||||
|
||||
**Other runtimes:**
|
||||
If the Agent tool is genuinely absent (e.g. a backgrounded Claude Code agent per
|
||||
#853, or a non-Claude runtime that does not expose Agent/agent), log the gap and
|
||||
stop — do NOT perform researcher/planner/checker roles inline. Independent agent
|
||||
contexts are required for the plan-checker gate to be meaningful.
|
||||
Do not pre-judge Agent availability by introspection. Always attempt the actual
|
||||
Agent() call for gsd-phase-researcher, gsd-planner, and gsd-plan-checker. Only
|
||||
a real tool-unavailable error returned by Agent() is a reliable absence signal —
|
||||
never stop based on a self-assessed "I think Agent is unavailable." If the call
|
||||
fails with a tool-unavailable error, log the gap and stop — do NOT collapse
|
||||
researcher/planner/checker roles inline. Independent agent contexts are required
|
||||
for the plan-checker gate to be meaningful.
|
||||
</runtime_compatibility>
|
||||
|
||||
<process>
|
||||
|
||||
Reference in New Issue
Block a user