waypoint-codex 1.0.14 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/package.json +1 -1
  2. package/templates/.agents/skills/collapse-fragmented-modules/SKILL.md +31 -52
  3. package/templates/.agents/skills/collapse-fragmented-modules/agents/openai.yaml +4 -0
  4. package/templates/.agents/skills/edit-at-the-right-layer/SKILL.md +24 -17
  5. package/templates/.agents/skills/edit-at-the-right-layer/agents/openai.yaml +2 -2
  6. package/templates/.agents/skills/execution-reset/SKILL.md +68 -31
  7. package/templates/.agents/skills/execution-reset/agents/openai.yaml +2 -2
  8. package/templates/.agents/skills/find-duplicate-ownership/SKILL.md +120 -0
  9. package/templates/.agents/skills/find-duplicate-ownership/agents/openai.yaml +0 -0
  10. package/templates/.agents/skills/find-duplicate-ownership/references/audit-prompts.md +89 -0
  11. package/templates/.agents/skills/foundational-redesign/SKILL.md +18 -13
  12. package/templates/.agents/skills/foundational-redesign/agents/openai.yaml +2 -2
  13. package/templates/.agents/skills/hard-cut/SKILL.md +78 -0
  14. package/templates/.agents/skills/hard-cut/agents/openai.yaml +4 -0
  15. package/templates/.agents/skills/legibility-pass/SKILL.md +30 -26
  16. package/templates/.agents/skills/legibility-pass/agents/openai.yaml +2 -2
  17. package/templates/.agents/skills/make-invariants-explicit/SKILL.md +57 -26
  18. package/templates/.agents/skills/make-invariants-explicit/agents/openai.yaml +2 -2
  19. package/templates/.agents/skills/plan-start/SKILL.md +65 -28
  20. package/templates/.agents/skills/plan-start/agents/openai.yaml +4 -0
  21. package/templates/.agents/skills/plan-swarm-audit/SKILL.md +50 -6
  22. package/templates/.agents/skills/plan-swarm-audit/agents/openai.yaml +2 -2
  23. package/templates/.agents/skills/planning/SKILL.md +115 -62
  24. package/templates/.agents/skills/planning/agents/openai.yaml +2 -2
  25. package/templates/.agents/skills/replace-dont-layer/SKILL.md +68 -22
  26. package/templates/.agents/skills/replace-dont-layer/agents/openai.yaml +4 -0
  27. package/templates/.agents/skills/root-cause-finder/SKILL.md +70 -0
  28. package/templates/.agents/skills/root-cause-finder/agents/openai.yaml +0 -0
  29. package/templates/.agents/skills/test-writing/SKILL.md +53 -39
  30. package/templates/.agents/skills/test-writing/agents/openai.yaml +2 -2
  31. package/templates/.agents/skills/verify-codebase-coherence/SKILL.md +26 -27
  32. package/templates/.agents/skills/verify-codebase-coherence/agents/openai.yaml +3 -3
  33. package/templates/.agents/skills/verify-completeness/SKILL.md +38 -27
  34. package/templates/.agents/skills/verify-completeness/agents/openai.yaml +2 -2
  35. package/templates/.codex/agents/duplicate_ownership_explorer.toml +17 -0
  36. package/templates/.codex/agents/ownership_taxonomy_mapper.toml +16 -0
  37. package/templates/.codex/agents/ssot_judge.toml +17 -0
  38. package/templates/.codex/config.toml +12 -0
  39. package/templates/managed-agents-block.md +1 -0
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Hard Cut"
3
+ short_description: "Prefer one canonical shape and delete legacy paths"
4
+ default_prompt: "Use $hard-cut to enforce a single canonical implementation, remove legacy/compatibility layers, and keep exceptions only at proven external boundaries."
@@ -1,34 +1,38 @@
1
1
  ---
2
2
  name: legibility-pass
3
- description: Improve code legibility within a defined scope without changing intended behavior. Use when code is correct but hard to read, reason about, or safely modify. Focus on making intent, control flow, state, boundaries, and important behavior easier to see through better naming, clearer structure, reduced indirection, and simpler local reasoning.
3
+ description: Legibility-only refactors for code that is already behaviorally correct but hard to read, reason about, or safely modify. Use only for local readability improvements inside an explicitly requested scope. Do not use for behavior changes, invariant redesign, architectural cleanup, or broad refactors that change boundaries.
4
4
  ---
5
5
 
6
- Refactor the given scope to make the current truth easier to see.
6
+ # Legibility Pass
7
7
 
8
- Preserve behavior unless the user asked for functional change.
8
+ Refactor the requested scope so the current behavior is easier to read without changing what the code does.
9
9
 
10
- Focus on:
11
- - clearer names for modules, functions, variables, and states
12
- - making the main flow easy to follow
13
- - making failure paths and edge conditions explicit
14
- - reducing indirection that hides important behavior
15
- - making state, contracts, and boundaries easier to understand
16
- - collapsing unnecessary wrappers or pass-through helpers
17
- - improving local reasoning so a reader needs less cross-referencing
10
+ ## Core Instruction
11
+ Make the smallest readable change that improves comprehension while preserving the existing contract, control flow, and runtime behavior.
18
12
 
19
- Within the requested scope:
20
- 1. Identify the parts that are hardest to understand or easiest to misread.
21
- 2. Improve naming so intent is obvious.
22
- 3. Restructure code so the main path is visible and important branches are easy to spot.
23
- 4. Make hidden assumptions, state transitions, and invariants more explicit.
24
- 5. Remove low-value indirection that makes behavior harder to trace.
25
- 6. Keep comments rare; prefer making the code itself explain the behavior.
26
- 7. Add a brief clarifying comment only when the underlying rule or constraint is not obvious from the code alone.
13
+ ## Default Workflow
14
+ 1. Identify the narrow scope where readability is actively hurting maintenance or review.
15
+ 2. Find the least intrusive change that improves naming, flow, or local structure.
16
+ 3. Rewrite the code so the main path, failure path, and key boundary are easier to see.
17
+ 4. Keep the public shape, observable behavior, and important data flow unchanged.
18
+ 5. Verify the refactor did not introduce a new abstraction, boundary shift, or hidden dependency.
27
19
 
28
- Rules:
29
- - Do not preserve confusing structure just because it already exists.
30
- - Do not add abstractions that make reading harder.
31
- - Do not replace clear code with clever code.
32
- - Do not rely on comments to explain code that should be rewritten instead.
33
- - Prefer fewer mental hops.
34
- - Prefer one obvious reading of the code over multiple plausible interpretations.
20
+ ## Rules
21
+ - Do not change behavior, public API, persistence shape, wire format, timing, or error semantics.
22
+ - Do not rename or restructure code unless the change reduces reading friction in the requested scope.
23
+ - Do not introduce new layers, helper abstractions, or framework patterns just to make the diff look cleaner.
24
+ - Do not perform broad cleanup, mechanical formatting, dead-code sweeps, or unrelated simplification.
25
+ - Do not use this skill for collapsing unrelated abstractions, making invariants stricter, or redesigning architecture.
26
+ - Do not use this skill as a substitute for a foundational refactor, make-invariants pass, or behavior-preserving optimization.
27
+ - Do not rely on comments to explain code that can be made directly legible.
28
+ - Do not add comments unless they capture a local constraint that cannot be expressed clearly in code.
29
+
30
+ ## Exception Rule
31
+ If the only readability improvement would require a change that risks an unacceptable behavior shift, boundary violation, or contract change, stop and leave the code unchanged except for a brief explanation of the constraint. Use this exception only when the safer rewrite would cross one of the hard rules above.
32
+
33
+ ## Output Contract
34
+ - Return a diff limited to the explicitly requested scope.
35
+ - Include only legibility edits that preserve observable behavior.
36
+ - List the files changed and the specific readability improvements made.
37
+ - State any tempting cleanup, boundary change, or abstraction you intentionally left out because it would exceed the skill boundary.
38
+ - If no safe readability improvement exists, report that the scope was left unchanged and why.
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Legibility Pass"
3
- short_description: "Improve readability without changing behavior"
4
- default_prompt: "Use $legibility-pass on the current scope to improve naming, control-flow clarity, and local reasoning while preserving intended behavior."
3
+ short_description: "Legibility-only refactors within a requested scope"
4
+ default_prompt: "Use $legibility-pass only for local readability refactors in the requested scope. Improve naming, flow, and local reasoning without changing behavior, boundaries, invariants, or architecture."
@@ -1,32 +1,45 @@
1
1
  ---
2
2
  name: make-invariants-explicit
3
- description: Surface and enforce critical invariants directly in code so invalid states are hard to represent and easy to detect. Use when behavior depends on assumptions about data shape, ordering, state transitions, permissions, or lifecycle constraints.
3
+ description: Use when behavior depends on hidden assumptions about data shape, ordering, uniqueness, idempotency, authorization, state transitions, or lifecycle constraints. Surface the invariant, choose the correct enforcement layer, and make invalid states hard to represent or hard to persist.
4
4
  ---
5
5
 
6
- Review the requested scope and identify assumptions that correctness depends on.
6
+ # Make Invariants Explicit
7
7
 
8
- Look for assumptions such as:
9
- - a value is always present
10
- - operations happen in a specific order
11
- - a transition cannot occur from a certain state
12
- - a record is unique
13
- - a side effect only happens once
14
- - retries or duplicate delivery cannot happen
15
- - a caller already validated something important
16
- - a user or actor is authorized because an earlier layer checked it
17
- - external data already has the expected shape
8
+ ## Core Instruction
9
+ Find the invariant that correctness depends on, enforce it at the strongest appropriate layer, and remove hidden assumptions from the implementation.
18
10
 
19
- If an important invariant is only implied, make it explicit.
11
+ ## Trigger Examples
12
+ Use this skill when the requested change involves one or more of these cases:
13
+ - a value must always be present before processing
14
+ - operations must happen in a specific order
15
+ - a transition is forbidden from a given state
16
+ - a record must be unique
17
+ - a side effect must happen exactly once
18
+ - retries, duplicate delivery, or replay are possible
19
+ - a caller may have skipped validation
20
+ - authorization depends on a stable contract, not an informal assumption
21
+ - external data may not match the expected shape
22
+
23
+ Do not use this skill for purely stylistic cleanup, broad refactors with no correctness invariant, or features where the only goal is to make code shorter.
20
24
 
21
- Make invariants explicit using the strongest fitting mechanism:
22
- - boundary validation
23
- - state modeling
24
- - type constraints
25
- - schema constraints
26
- - uniqueness or foreign-key rules
27
- - idempotency guards
28
- - explicit transition checks
29
- - assertions or defensive guards at the true correctness boundary
25
+ ## Default Workflow
26
+ 1. State the invariant in one sentence.
27
+ 2. Identify the owner of the invariant.
28
+ - If the invariant is owned by persistence, enforce it in schema, constraints, or transactional logic.
29
+ - If the invariant is owned by the domain model, encode it in types, constructors, or state transitions.
30
+ - If the invariant is owned by an external boundary, validate it at ingress before it reaches core logic.
31
+ 3. Choose the enforcement layer using this order:
32
+ - persistence or database constraint when multiple writers, processes, or retries can violate the rule
33
+ - type or schema constraint when the invalid state should not be representable
34
+ - state machine or transition guard when the rule depends on lifecycle order
35
+ - boundary validation when the input is untrusted or externally shaped
36
+ - idempotency key, deduplication, or lock when duplicates or replay are possible
37
+ - assertion or defensive guard only when the invariant is guaranteed elsewhere and this code sits at the true correctness boundary
38
+ 4. Replace scattered checks with one authoritative enforcement point unless the invariant genuinely exists at multiple boundaries.
39
+ 5. Add or update tests that prove the invariant is enforced and that the failure mode is rejected.
40
+ 6. Call out any remaining gap that the code does not and cannot fully eliminate.
41
+
42
+ If an important invariant is only implied, make it explicit.
30
43
 
31
44
  When correcting violations:
32
45
  - encode the invariant where it is naturally enforced
@@ -34,9 +47,27 @@ When correcting violations:
34
47
  - keep the invariant visible in the code structure
35
48
  - preserve intended behavior unless the user asked for a change in behavior
36
49
 
37
- Rules:
50
+ ## Rules
38
51
  - Do not rely on hidden assumptions for correctness.
39
- - Do not assume earlier layers already enforced critical invariants unless that contract is explicit and stable.
52
+ - Do not assume earlier layers already enforced a critical invariant unless that contract is explicit, stable, and tested.
40
53
  - Do not scatter partial checks across many places when one authoritative enforcement point exists.
41
- - Prefer explicit invalid-state rejection over ambiguous normalization.
42
- - If the invariant matters for correctness, make it visible in code, types, schema, or state transitions.
54
+ - Do not normalize invalid state away when the correct behavior is to reject it.
55
+ - Do not use assertions as the primary enforcement mechanism when a stronger boundary exists.
56
+ - Do not leave a critical invariant implicit if it can be represented in code, types, schema, or transitions.
57
+
58
+ ## Exception Rule
59
+ You may leave an invariant implicit only when all of the following are true:
60
+ - the invariant is already enforced by a documented contract in the same repository or a strictly stronger upstream boundary
61
+ - that contract is stable enough that breaking it would be a compatibility defect, not a routine possibility
62
+ - the current change does not weaken, duplicate, or relocate that enforcement point
63
+ - the output explicitly records the dependency and residual risk
64
+
65
+ This exception does not apply to correctness, security, permissions, uniqueness, idempotency, duplicate handling, or lifecycle-transition invariants.
66
+
67
+ ## Output Contract
68
+ Return the result with these fields:
69
+ - Invariant: the exact rule being enforced
70
+ - Owner: the layer or component responsible for the invariant
71
+ - Enforcement point: the concrete code, schema, type, or transition boundary used
72
+ - Verification/tests: the tests or checks added or updated to prove enforcement
73
+ - Residual risk: any remaining assumption, dependency, or gap
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Make Invariants Explicit"
3
- short_description: "Expose and enforce critical invariants"
4
- default_prompt: "Use $make-invariants-explicit to identify hidden assumptions, encode them as explicit invariants at boundaries, and add focused validation/tests for high-risk rules."
3
+ short_description: "Enforce hidden correctness assumptions at the right layer"
4
+ default_prompt: "Use $make-invariants-explicit when correctness depends on hidden assumptions about data shape, ordering, uniqueness, idempotency, authorization, or lifecycle state. Identify the invariant, choose the authoritative enforcement layer, implement it, and report the verification/tests and residual risk."
@@ -1,42 +1,79 @@
1
1
  ---
2
2
  name: plan-start
3
- description: Start execution on an existing implementation plan in a fresh session. Use when a plan, roadmap, or phase list already exists and Codex needs to begin work on it without re-deriving everything from scratch. Rebuild context from the plan and current codebase, identify the active phase, choose the first meaningful work package, and begin execution.
3
+ description: Bootstrap a fresh session onto an existing implementation plan. Use when a referenced plan already exists, execution has not meaningfully started in the current session, and Codex needs to reconstruct the active phase from the plan plus current repository state before beginning the first substantial work package.
4
4
  ---
5
5
 
6
- Start from the plan and the current codebase, not from assumptions.
6
+ # Plan Start
7
7
 
8
- 1. Read the referenced plan.
9
- 2. Inspect the current repository state relevant to that plan.
8
+ ## Core Instruction
9
+ Convert a referenced plan into the first executable work package for a fresh session.
10
+
11
+ ## Trigger Boundary
12
+ Use this skill when:
13
+ - a durable plan, roadmap, or phase list already exists
14
+ - the current session has not yet become a stalled execution loop
15
+ - the task is to re-enter the plan, recover the active phase, and begin substantive work
16
+
17
+ Do not use this skill when:
18
+ - the session is already mid-execution and progress has degraded into micro-edits, repeated patching, or phase drift
19
+ - the current problem is recovering momentum on a stuck phase
20
+ - the request is to revise the plan itself before execution can begin
21
+
22
+ In those cases, route to:
23
+ - `$execution-reset` for stalled or compacted plan execution
24
+ - `$planning` when the plan is missing, non-durable, or too underspecified to execute
25
+
26
+ ## Required Inputs
27
+ Do not proceed until you have:
28
+ - a plan path, plan identifier, or equivalent durable plan reference
29
+ - the current repository/worktree state relevant to that plan
30
+ - enough current context to tell whether the referenced plan is still actionable
31
+
32
+ If any required input is missing, stop and route to `$planning` or ask for the missing reference instead of guessing.
33
+
34
+ ## Workflow
35
+ 1. Read the referenced plan end to end.
36
+ 2. Inspect the current repository state relevant to the plan.
10
37
  3. Determine:
11
- - which phases are already complete
38
+ - which phases are complete
12
39
  - which phase is active
13
- - what remains in the active phase
40
+ - what remains inside the active phase
14
41
  4. Restate the active phase as concrete system behavior.
15
- 5. Select the first substantial work package.
16
- 6. Begin executing it immediately.
17
-
18
- Use this output shape:
42
+ 5. Select the first substantial work package that most directly advances that phase.
43
+ 6. Begin execution on that package.
19
44
 
20
- ## Plan Start
21
- ### Active Phase
22
- [phase]
45
+ ## Rules
46
+ - Do not re-plan the whole project unless the referenced plan is locally stale.
47
+ - Do not use this skill to recover from a stalled session; that is `$execution-reset`.
48
+ - Do not spend the session on summaries, narration, or cosmetic cleanup when a substantive work package is available.
49
+ - Do not choose a micro-edit as the first move unless it is the smallest change that unblocks the first substantial package.
50
+ - Select the work package that most directly advances the active phase.
23
51
 
24
- ### Goal
25
- [what this phase must accomplish]
52
+ ## Bounded Exception
53
+ If the plan is locally stale, allow one bounded re-anchoring pass:
54
+ - reconcile the active phase against the current codebase
55
+ - update the phase boundary only as needed to make execution possible
56
+ - do not rewrite the whole roadmap
26
57
 
27
- ### Current State
28
- - Complete: [...]
29
- - In progress: [...]
30
- - Missing: [...]
58
+ If the plan still cannot be executed after that pass, stop and route to `$planning`.
31
59
 
32
- ### First Work Package
33
- [one substantial chunk]
60
+ ## Output Contract
61
+ ### Normal
62
+ Return:
63
+ - `Active Phase`
64
+ - `Objective`
65
+ - `Current State`
66
+ - `First Work Package`
67
+ - `Definition of Done`
34
68
 
35
- ### Definition of Done
36
- [what makes this chunk complete]
69
+ ### Blocked
70
+ Return `Blocked` when required inputs are missing or the plan cannot be safely actioned yet. Include:
71
+ - what is missing
72
+ - why execution cannot start
73
+ - the exact reroute target: `$planning` or `$execution-reset`
37
74
 
38
- Rules:
39
- - Do not re-plan the whole project unless the plan is clearly stale.
40
- - Do not spend the session on broad summaries when execution can begin.
41
- - Do not start with cosmetic cleanup.
42
- - Prefer the work package that most directly advances the active phase.
75
+ ### Reroute
76
+ Return `Reroute` when the request belongs to another skill. Include:
77
+ - `Reroute Target`
78
+ - `Reason`
79
+ - the minimal handoff needed to continue
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Plan Start"
3
+ short_description: "Bootstrap a fresh session onto an existing implementation plan"
4
+ default_prompt: "Use $plan-start when a durable implementation plan already exists and this is a fresh-session bootstrap, not a stalled execution recovery. Read the plan, inspect the current repo state, identify the active phase, pick the first substantial work package, and begin execution. If the plan is missing or underspecified, route to $planning; if the session is already stalled, route to $execution-reset."
@@ -1,21 +1,35 @@
1
1
  ---
2
2
  name: plan-swarm-audit
3
- description: Use during execution of an approved multi-phase plan when a second-pass audit is needed. Spawn five parallel subagents with distinct audit scopes, consolidate findings, fix blockers, and repeat in bounded rounds until the phase or plan meets acceptance criteria.
3
+ description: Use during execution of an approved plan phase when a bounded second-pass audit is needed. Requires plan path, active phase, changed-file scope or scope anchor commit, phase acceptance criteria, and a verify-completeness closeout target. If those inputs are missing or subagents cannot be staffed, block instead of spawning.
4
4
  ---
5
5
 
6
6
  # Plan Swarm Audit
7
7
 
8
- Use this skill while implementing an approved plan when you want an independent multi-agent audit loop before calling work complete.
8
+ Use this skill while executing an approved plan phase when you need an independent audit loop before closeout. Do not improvise the audit shape or start from partial context.
9
9
 
10
10
  ## Required inputs
11
11
 
12
12
  - plan path (for example `.waypoint/plans/<plan>.md`)
13
13
  - active phase
14
14
  - current changed-file scope (or scope anchor commit)
15
+ - phase acceptance criteria for the active phase
16
+ - verify-completeness closeout target
15
17
 
16
- ## Swarm setup (5 agents, disjoint scopes)
18
+ ## Precondition validation
17
19
 
18
- Spawn exactly five subagents in parallel, each with one owned audit lens:
20
+ Before spawning any audit agents, confirm all of the following:
21
+
22
+ 1. The referenced plan exists and is the approved source of truth for the work.
23
+ 2. The active phase is identified and not already closed.
24
+ 3. The changed-file scope or scope anchor commit is available.
25
+ 4. The active phase acceptance criteria are explicit enough to test against.
26
+ 5. A `verify-completeness` closeout pass will be run after the swarm loop.
27
+
28
+ If any required input is missing, ambiguous, or stale, do not spawn the swarm. Return `blocked` with the missing input(s) and the exact next input needed from the user or from the plan.
29
+
30
+ ## Swarm setup
31
+
32
+ Spawn five parallel subagents when the preconditions are satisfied. Keep their scopes disjoint and narrow.
19
33
 
20
34
  1. Plan-scope compliance
21
35
  2. Correctness and regression risk
@@ -29,7 +43,9 @@ Each subagent must return:
29
43
  - exact file/line references
30
44
  - whether each finding blocks phase completion
31
45
  - recommended fix
32
- - a final status suitable for immediate closeout
46
+ - a final status suitable for immediate closeout or escalation
47
+
48
+ If a subagent cannot be spawned, use the exception rule below. Do not silently reduce coverage.
33
49
 
34
50
  ## Consolidation pass
35
51
 
@@ -47,7 +63,17 @@ After all five return:
47
63
  2. Run targeted verification for the changed area.
48
64
  3. Re-check plan checklist and acceptance criteria.
49
65
  4. Update `ACTIVE_PLANS.md` / `WORKSPACE.md` when state materially changes.
50
- 5. If blockers remain, run another swarm round.
66
+ 5. If blockers remain and the round cap has not been reached, run another swarm round.
67
+
68
+ ## Exception rule
69
+
70
+ Use the normal five-agent shape by default. You may deviate only in these bounded cases:
71
+
72
+ - Missing required inputs: block immediately and do not spawn any agents.
73
+ - Unavailable subagents: run fewer than five only if the remaining agents can still cover the five lenses by merging at most one adjacent lens per missing agent. Do not run with fewer than three agents.
74
+ - Justified fewer-agents mode: document why the reduction is necessary, which lenses were merged, and what residual risk remains. Treat the reduced coverage as a blocker if it weakens the audit materially.
75
+
76
+ Do not use the exception rule for convenience, speed, or to avoid waiting for missing context.
51
77
 
52
78
  ## Stop condition
53
79
 
@@ -57,6 +83,20 @@ You may stop only when all are true:
57
83
  - active phase acceptance criteria are satisfied
58
84
  - `verify-completeness` closeout is clean
59
85
 
86
+ ## Escalation
87
+
88
+ Escalate to the user instead of continuing when either of these is true:
89
+
90
+ - the round cap for the phase has been reached
91
+ - the same blocker appears in two rounds after targeted fixes
92
+
93
+ Escalation must include:
94
+
95
+ - the exact blocker(s)
96
+ - what was tried
97
+ - why the blocker still remains
98
+ - the decision needed from the user, such as scope change, plan update, more context, or acceptance of a blocked phase
99
+
60
100
  ## Guardrails
61
101
 
62
102
  - Use at most 3 swarm rounds per phase by default.
@@ -70,8 +110,12 @@ You may stop only when all are true:
70
110
 
71
111
  Report:
72
112
 
113
+ - status: `complete`, `blocked`, or `escalated`
73
114
  - swarm round number
115
+ - precondition check result
74
116
  - consolidated blockers (with file/line refs)
75
117
  - fixes applied
76
118
  - verification run
119
+ - verify-completeness handoff result
77
120
  - remaining blockers or confirmation that stop condition is met
121
+ - escalation, if any, with the decision needed from the user
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Plan Swarm Audit"
3
- short_description: "Run a 5-agent audit loop against the active plan phase"
4
- default_prompt: "Use $plan-swarm-audit with the current plan path and active phase. Spawn five parallel audit agents with distinct scopes, consolidate blockers, fix them, and repeat in bounded rounds until phase acceptance criteria are satisfied."
3
+ short_description: "Run a bounded 5-agent audit loop against an approved plan phase"
4
+ default_prompt: "Use $plan-swarm-audit only when you already have the plan path, active phase, changed-file scope or scope anchor commit, phase acceptance criteria, and a verify-completeness closeout target. Validate those inputs first; if any are missing or stale, return blocked and do not spawn agents. Otherwise spawn five parallel audit agents with distinct scopes, consolidate findings, fix blockers, repeat in bounded rounds, and hand off to $verify-completeness before reporting complete. Escalate if the round cap is reached or the same blocker repeats after targeted fixes."