and-or-decompose · git:20260615.7a62936 · 2026-06-15 · sha256 281bb66930c0839c

and-or-decompose git:20260615.7a62936A

Immutable. This exact content is served forever at /api/v1/blob/281bb66930c0839c.

---
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.