waypoint-codex 1.0.7 → 1.0.8
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.
- package/package.json +1 -1
- package/templates/.agents/skills/execution-reset/SKILL.md +55 -0
- package/templates/.agents/skills/execution-reset/agents/openai.yaml +4 -0
- package/templates/.agents/skills/plan-start/SKILL.md +42 -0
- package/templates/.agents/skills/plan-start/agents/openai.yaml +0 -0
- package/templates/.agents/skills/planning/SKILL.md +1 -1
- package/templates/.agents/skills/replace-dont-layer/SKILL.md +32 -0
- package/templates/.agents/skills/replace-dont-layer/agents/openai.yaml +0 -0
- package/templates/.agents/skills/verify-completeness/SKILL.md +3 -2
- package/templates/managed-agents-block.md +1 -0
package/package.json
CHANGED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: execution-reset
|
|
3
|
+
description: Recover momentum in long-running implementation plans when progress degrades into tiny local edits, repeated patching, or phase drift. Use when working from a referenced plan or roadmap and the current session is stalled, compacted, or no longer completing meaningful milestones. Reconstruct actual progress from the codebase, detect whether the current phase is stuck, and choose the next substantial work package that advances or completes the phase.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Rebuild state from the current codebase and the referenced plan, not from memory.
|
|
7
|
+
|
|
8
|
+
1. Identify the active phase and its intended outcome.
|
|
9
|
+
2. Inspect the current implementation and determine:
|
|
10
|
+
- complete
|
|
11
|
+
- partial
|
|
12
|
+
- missing
|
|
13
|
+
- broken or stale
|
|
14
|
+
3. Decide whether execution is stalled.
|
|
15
|
+
4. If stalled, restate the current phase as concrete system behavior.
|
|
16
|
+
5. Pick exactly one substantial work package that will:
|
|
17
|
+
- complete a sub-milestone
|
|
18
|
+
- unblock the main dependency
|
|
19
|
+
- or finish the end-to-end path
|
|
20
|
+
6. Execute that package.
|
|
21
|
+
7. Re-check whether system capability materially increased.
|
|
22
|
+
|
|
23
|
+
Use this output shape:
|
|
24
|
+
|
|
25
|
+
## Execution Reset
|
|
26
|
+
### Active Phase
|
|
27
|
+
[phase]
|
|
28
|
+
|
|
29
|
+
### Objective
|
|
30
|
+
[what this phase must accomplish]
|
|
31
|
+
|
|
32
|
+
### Actual Status
|
|
33
|
+
- Complete: [...]
|
|
34
|
+
- Partial: [...]
|
|
35
|
+
- Missing: [...]
|
|
36
|
+
- Broken/stale: [...]
|
|
37
|
+
|
|
38
|
+
### Stall Diagnosis
|
|
39
|
+
[why progress is not advancing]
|
|
40
|
+
|
|
41
|
+
### Next Work Package
|
|
42
|
+
[one substantial chunk]
|
|
43
|
+
|
|
44
|
+
### Definition of Done
|
|
45
|
+
[concrete completion conditions]
|
|
46
|
+
|
|
47
|
+
### Plan Correction
|
|
48
|
+
[only if the plan is locally stale]
|
|
49
|
+
|
|
50
|
+
Rules:
|
|
51
|
+
- Do not continue with micro-edits unless they directly unblock the chosen work package.
|
|
52
|
+
- Do not polish incomplete phases.
|
|
53
|
+
- Do not trust prior session context over the codebase.
|
|
54
|
+
- Prefer end-to-end completion over local cleanup.
|
|
55
|
+
- Revise the current phase if the original plan no longer matches reality, but do not rewrite the whole roadmap unless necessary.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Execution Reset"
|
|
3
|
+
short_description: "Reset stalled plan execution and restore phase progress"
|
|
4
|
+
default_prompt: "Use $execution-reset with the active plan path and current phase to reset execution momentum and drive meaningful checklist progress."
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
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.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Start from the plan and the current codebase, not from assumptions.
|
|
7
|
+
|
|
8
|
+
1. Read the referenced plan.
|
|
9
|
+
2. Inspect the current repository state relevant to that plan.
|
|
10
|
+
3. Determine:
|
|
11
|
+
- which phases are already complete
|
|
12
|
+
- which phase is active
|
|
13
|
+
- what remains in the active phase
|
|
14
|
+
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:
|
|
19
|
+
|
|
20
|
+
## Plan Start
|
|
21
|
+
### Active Phase
|
|
22
|
+
[phase]
|
|
23
|
+
|
|
24
|
+
### Goal
|
|
25
|
+
[what this phase must accomplish]
|
|
26
|
+
|
|
27
|
+
### Current State
|
|
28
|
+
- Complete: [...]
|
|
29
|
+
- In progress: [...]
|
|
30
|
+
- Missing: [...]
|
|
31
|
+
|
|
32
|
+
### First Work Package
|
|
33
|
+
[one substantial chunk]
|
|
34
|
+
|
|
35
|
+
### Definition of Done
|
|
36
|
+
[what makes this chunk complete]
|
|
37
|
+
|
|
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.
|
|
File without changes
|
|
@@ -105,7 +105,7 @@ Plans document your understanding. Include what matters for this task:
|
|
|
105
105
|
- **Phase breakdown**: Distinct execution phases in the order they should happen
|
|
106
106
|
- **Scope checklist**: Concrete implementation items that can be marked done or not done
|
|
107
107
|
- **Acceptance criteria**: What must be true when each phase is "done"
|
|
108
|
-
- **Phase checkpoints**: What verification, reviewer passes, tests, typechecks, builds, or manual QA must pass before moving to the next phase
|
|
108
|
+
- **Phase checkpoints**: What verification, reviewer passes, tests, typechecks, builds, or manual QA must pass before moving to the next phase, with explicit cadence (targeted checks during implementation, full sweeps at phase-complete or pre-commit checkpoints unless the user asks otherwise)
|
|
109
109
|
- **Grep gates**: Exact searches that must return clean before a phase is review-ready or complete
|
|
110
110
|
- **Cleanup expectations**: What legacy or replaced paths must be removed before the work can be called complete
|
|
111
111
|
- **Test cases**: For behavioral changes, include input -> expected output examples
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: replace-dont-layer
|
|
3
|
+
description: Prevent layering a new implementation path on top of an older one when the change should replace it. Use when modifying an existing flow, interface, abstraction, migration, or behavior and there is a risk of leaving both old and new paths alive. Determine whether the new path is additive, replacing, or transitional, and remove, redirect, or explicitly deprecate the old path as part of the same work.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Determine whether the requested change is additive, replacing, or transitional.
|
|
7
|
+
|
|
8
|
+
Identify the old path, the new path, and where each is used.
|
|
9
|
+
|
|
10
|
+
If the change is additive, keep both paths only if they serve clearly different intended roles.
|
|
11
|
+
|
|
12
|
+
If the change is replacing, do not just add the new path. In the same work:
|
|
13
|
+
- redirect callers to the new path
|
|
14
|
+
- remove or deprecate the old path
|
|
15
|
+
- delete obsolete conditionals, adapters, and compatibility glue
|
|
16
|
+
- update tests to reflect the intended single path
|
|
17
|
+
|
|
18
|
+
If the change is transitional:
|
|
19
|
+
- keep duplication to the minimum necessary
|
|
20
|
+
- make the temporary path explicit
|
|
21
|
+
- attach a concrete removal condition
|
|
22
|
+
- add a brief in-code comment only if it materially helps future cleanup, and make it specific rather than a vague TODO
|
|
23
|
+
|
|
24
|
+
Before considering the work complete, check whether both old and new paths still exist without a clear reason. If they do, keep cleaning up.
|
|
25
|
+
|
|
26
|
+
Rules:
|
|
27
|
+
- Do not keep both paths alive by default.
|
|
28
|
+
- Do not leave old logic in place just because removal feels riskier.
|
|
29
|
+
- Do not call the work complete if the new path exists but the old one still silently handles traffic.
|
|
30
|
+
- Prefer one clear path over split behavior.
|
|
31
|
+
- If temporary coexistence is necessary, make the exit condition explicit.
|
|
32
|
+
- Do not rely on vague TODO comments as the cleanup plan.
|
|
File without changes
|
|
@@ -16,7 +16,8 @@ Use this skill at final closeout, right before you would report the work complet
|
|
|
16
16
|
5. Compare expected scope vs actual outcome and list any missing or partially completed items.
|
|
17
17
|
6. Run a scope-discipline pass: identify additions that were not requested or approved. Remove/simplify them before completion, or explicitly ask the user to approve keeping them.
|
|
18
18
|
7. Run a cleanup pass on changed files: remove duplicated logic, unnecessary abstractions/files, and low-value comments that create maintenance bloat.
|
|
19
|
-
8.
|
|
19
|
+
8. Before commit/final handoff, run the full checks required by the plan (for example full typecheck/test/build sweep) once, unless explicitly blocked or the user asks for a different cadence.
|
|
20
|
+
9. If any approved item is missing, incomplete, or silently deferred, do not report completion. Continue working until the agreed scope is fully satisfied or discuss a scope change explicitly.
|
|
20
21
|
|
|
21
22
|
## Completion gate
|
|
22
23
|
|
|
@@ -24,7 +25,7 @@ You can report complete only when all are true:
|
|
|
24
25
|
|
|
25
26
|
- approved scope items are done
|
|
26
27
|
- planned file changes match reality
|
|
27
|
-
- verification/checkpoints required by the plan were run (or explicitly called out as blocked)
|
|
28
|
+
- verification/checkpoints required by the plan were run at the required cadence, including full pre-commit checks when required (or explicitly called out as blocked)
|
|
28
29
|
- no hidden scope reduction occurred
|
|
29
30
|
- no unapproved scope expansion remains
|
|
30
31
|
- no obvious duplication or avoidable bloat remains in touched files
|
|
@@ -45,6 +45,7 @@ Use reviewer passes when the work is non-trivial or risky, before PR-ready hando
|
|
|
45
45
|
Keep communication concise. Lead with the answer, diagnosis, decision, or next step. Explain the diagnosis before implementation when the cause, tradeoffs, or solution shape are not already obvious.
|
|
46
46
|
|
|
47
47
|
Verification should match the real risk surface. Inspect real UI for UI work when practical, and run code or inspect real output for backend or script work when practical.
|
|
48
|
+
Do not run full repo typecheck/test/build loops after every small edit by default. Use targeted checks during implementation and run full checks before commit or when the user explicitly asks.
|
|
48
49
|
Before stopping, check the current plan and agreed scope, then re-read the files you changed to confirm they match the intended result. This final file re-read is mandatory even if you already read them earlier in the session. If the goal is not achieved, continue working.
|
|
49
50
|
When work is non-trivial and you are about to report completion, run `verify-completeness` for a final scope-and-files closeout pass, including unapproved-scope and bloat cleanup checks.
|
|
50
51
|
<!-- waypoint:end -->
|