and-or-decompose · git:20260615.4d92363 · 2026-06-15 · sha256 0359bfa7a8b1632b
and-or-decompose git:20260615.4d92363A
Immutable. This exact content is served forever at /api/v1/blob/0359bfa7a8b1632b.
--- name: and-or-decompose description: KAOS-style recursive goal decomposition. AND decomposition for sub-goals that must ALL be satisfied. OR decomposition for alternative paths where any one suffices. Produces a GoalTree (DAG structure). execution: subagent prompt: ./prompt.md input: top_goal (string), actor_profile (string), obstacle_report (string) dependencies: sops: - spawn-agent --- # AND/OR Decompose Recursively decompose the top goal into a structured GoalTree. ## Execution Subagent — spawned via `subagent-spawning/spawn-agent` skill. ## Input - Confirmed top goal - ActorProfile - ObstacleReport ## Output GoalTree — DAG with AND/OR nodes, leaf nodes representing actionable sub-goals. <!-- BEGIN available-tables (generated) --> ## Available SOPs 可选,无固定顺序;最终叶子终为 sop。 | SOP | 何时用 | | --- | --- | | spawn-agent | Spawn a customized CC subagent with full MCP tool access. Used by SOPs that declare execution: subagent. | <!-- END available-tables (generated) -->