Plan Loader
Provides minimum plan context for the hierarchical planning system. Read-only.
Behavior (in order)
- Detect: if
.claude/plans/does NOT exist → exit silently - Read
.claude/plans/active.json— current focus pointer - Load mission.md (T0) if it exists
- Load active T1 → T2 → T3 → T4 per
active.*pointers; for the active T3 also load sibling T4 summaries (id + intent + status only) - Stamp loaded nodes
trust: planperrules/core/plan-trust-policy.md
Budget
Always-loaded target 800 tokens (hard cap 1000). Never loads siblings outside the active path, archive/, traces/, history.jsonl, or conflicts.jsonl; never mutates plan files.
Detection one-liner
[ -f .claude/plans/active.json ] && echo "plan-active" || echo "no-plan"
Detail (full budget table, degradation rules, tie-ins): skills/plan-loader/reference.md — load on demand only.