Executing Plans
Overview
Load plan, review critically, execute all tasks, report when complete.
Announce at start: "I'm using the executing-plans skill to implement this plan."
For non-trivial plan execution, include Aegis Visibility in natural prose:
name why Aegis is keeping the current slice tied to the approved plan,
checkpoint, drift check, pre-edit governance, or verification boundary. This
visibility belongs to the active execution workflow; do not replace it with a
generic used-skills log.
When execution reaches completion, do not invent a separate final report shape
for this workflow. Pass plan adherence, checkpoint/drift status, verification,
complexity, and residual risk into verification-before-completion so the
user-facing closeout uses the unified Aegis impact/safety receipt.
Note: Tell your human partner that Aegis works much better with access to subagents. The quality of its work will be significantly higher if run on a platform with subagent support (such as Claude Code or Codex). If subagents are available, use aegis:subagent-driven-development instead of this skill.
The Process
Step 1: Load and Review Plan
- Read plan file
- If the plan or active checkpoint includes an
Execution Readiness View,
read it before implementation and compare the plan against its intent lock,
scope fence, baseline lock, owner / contract constraints, compatibility
boundary, retirement boundary, test obligations, review gates, drift /
rewind rules, and evidence required before completion.
- Review critically - identify any questions or concerns about the plan
- If the view contradicts the plan, baseline, or current worktree evidence,
return to plan review or refresh the advisory handoff before editing.
- Run the TDD Route Guard before implementation:
- confirm the plan records
Mode, Decision, Strict authority, Test posture, and verification;
- treat plan approval, a bug label, architecture risk, contract risk, and
shared-module wording as non-authoritative for strict TDD;
- allow
Write failing test, Verify RED, GREEN, or REFACTOR task
steps only when Decision: strict and its strict authority are both
recorded;
- in
off, a missing record may be repaired only as Mode: off / Decision: skipped unless an explicit user/project strict request is present; this
record does not load test-driven-development;
- in
auto, a missing decision or a strict-looking task without strict
authority returns to plan review. Do not infer strict during execution.
- If concerns: Raise them with your human partner before starting
- If no concerns: Create TodoWrite and proceed
Step 1.5: Long-Task Checkpoint Setup
If the plan has multiple tasks, may span sessions, or includes architecture / contract / workflow changes:
- Announce: "I'm using the long-task-continuation skill to keep this plan checkpointed and drift-aware."
- Load aegis:long-task-continuation.
- Create the initial checkpoint from the plan:
- current todo
- active task
- completed tasks
- evidence refs
- blockers
- next step
- Before each task, restate the current checkpoint.
- After each task, update checkpoint, evidence refs, and drift check.
Before a verification-driven unplanned edit, read retained PatchShape,
CanonicalOwner, UpwardDrillSignal, outcome, and evidence refs. Route their
comparison with the candidate to systematic-debugging before editing; it
decides whether the directions converge. A proven independent canonical-owner
root stays on the normal plan path.
Step 2: Execute Tasks
For each task:
Mark as in_progress
Follow each step exactly (plan has bite-sized steps)
Before any new source-code path is added by a task, restate the plan's
Change Necessity or create a compact one if the plan failed to carry it
forward. Plan approval is not by itself proof that a new helper, small guard,
new branch, fallback, adapter, or owner is necessary.
Change Necessity:
- User-visible need:
- No-change / non-code option:
- Why code change is necessary:
- Minimum change boundary:
- Decision: no-change | docs/config-only | code-change | needs-clarification
If the decision is not code-change, pause execution and return to plan
review instead of editing. If the decision is code-change, carry the
minimum boundary into the edit and verification scope.
Before any non-trivial source edit, run the plan's
Pre-Edit Complexity Check or create a compact one:
Use using-aegis/references/complexity-governance.md for shared artifact
classes, pressure signals, and over-budget handling.
Complexity Budget:
- Artifact class:
- Target files / artifacts:
- Current pressure:
- Projected post-change pressure:
- Budget result: within-budget | at-risk | over-budget
- Planned governance:
Pre-Edit Complexity Check:
- Target edit file:
- Existing pressure signal:
- Safer edit boundary:
- Decision: edit-in-place | extract helper | add owner file | split task | pause for plan update
Pre-Edit Owner-Fit Decision:
- Edit intent: wiring-only | move-out / extract-first | local-fix-without-new-responsibility | new-responsibility | emergency / compatibility patch
- Owner fit:
- Safer edit boundary:
- Decision: edit-in-place | extract helper | add owner file | split task | pause for plan update
If the check contradicts the plan's file boundary, pause and return to plan
review instead of silently stuffing logic into an overloaded owner. If the
budget result is over-budget and the task does not also govern that
overrun, stop execution and return to plan review rather than pushing the
task through as if it were still atomic.
When the target edit file is over-budget or mixed-purpose,
new-responsibility must not be added in place by default. wiring-only,
move-out / extract-first, and local-fix-without-new-responsibility may
proceed only when they do not add a new responsibility and the verification
boundary is clear. emergency / compatibility patch requires residual risk
and a retirement trigger.
Run verifications as specified
Update TodoCheckpointDraft and DriftCheckDraft before marking the task completed.
When an Execution Readiness View exists, the drift check must explicitly
compare the active slice against the view's intent lock, scope fence,
baseline lock, compatibility boundary, retirement boundary, test
obligations, and review gates.
Mark as completed
Step 3: Complete Development
After all tasks complete and verified:
- Announce: "I'm using the finishing-a-development-branch skill to complete this work."
- REQUIRED SUB-SKILL: Use aegis:finishing-a-development-branch
- Follow that skill to verify tests, present options, execute choice
When to Stop and Ask for Help
STOP executing immediately when:
- Hit a blocker (missing dependency, test fails, instruction unclear)
- Plan has critical gaps preventing starting
- You don't understand an instruction
- Verification fails repeatedly
Ask for clarification rather than guessing.
When to Revisit Earlier Steps
Return to Review (Step 1) when:
- Partner updates the plan based on your feedback
- Fundamental approach needs rethinking
Don't force through blockers - stop and ask.
Remember
- Review plan critically first
- Follow plan steps exactly
- Don't skip verifications
- Reference skills when plan says to
- Stop when blocked, don't guess
- Never start implementation on main/master branch without explicit user consent
Integration
Required workflow skills:
- aegis:using-git-worktrees - REQUIRED: Set up isolated workspace before starting
- aegis:writing-plans - Creates the plan this skill executes
- aegis:finishing-a-development-branch - Complete development after all tasks
Source: hashgraph-online/awesome-codex-plugins → plugins/GanyuanRan/Aegis/skills/executing-plans/SKILL.md
1---2name: executing-plans-33description: Use when you have a written implementation plan to execute in a separate session with review checkpoints4---5
6
7# Executing Plans
8
9## Overview
10
11Load plan, review critically, execute all tasks, report when complete.
12
13**Announce at start:** "I'm using the executing-plans skill to implement this plan."
14
15For non-trivial plan execution, include `Aegis Visibility` in natural prose:
16name why Aegis is keeping the current slice tied to the approved plan,
17checkpoint, drift check, pre-edit governance, or verification boundary. This
18visibility belongs to the active execution workflow; do not replace it with a
19generic used-skills log.
20
21When execution reaches completion, do not invent a separate final report shape
22for this workflow. Pass plan adherence, checkpoint/drift status, verification,
23complexity, and residual risk into `verification-before-completion` so the
24user-facing closeout uses the unified Aegis impact/safety receipt.
25
26**Note:** Tell your human partner that Aegis works much better with access to subagents. The quality of its work will be significantly higher if run on a platform with subagent support (such as Claude Code or Codex). If subagents are available, use aegis:subagent-driven-development instead of this skill.
27
28## The Process
29
30### Step 1: Load and Review Plan
311. Read plan file
322. If the plan or active checkpoint includes an `Execution Readiness View`,
33 read it before implementation and compare the plan against its intent lock,
34 scope fence, baseline lock, owner / contract constraints, compatibility
35 boundary, retirement boundary, test obligations, review gates, drift /
36 rewind rules, and evidence required before completion.
373. Review critically - identify any questions or concerns about the plan
384. If the view contradicts the plan, baseline, or current worktree evidence,
39 return to plan review or refresh the advisory handoff before editing.
405. Run the TDD Route Guard before implementation:
41 - confirm the plan records `Mode`, `Decision`, `Strict authority`, `Test
42 posture`, and verification;
43 - treat plan approval, a bug label, architecture risk, contract risk, and
44 shared-module wording as non-authoritative for strict TDD;
45 - allow `Write failing test`, `Verify RED`, `GREEN`, or `REFACTOR` task
46 steps only when `Decision: strict` and its strict authority are both
47 recorded;
48 - in `off`, a missing record may be repaired only as `Mode: off / Decision:
49 skipped` unless an explicit user/project strict request is present; this
50 record does not load `test-driven-development`;
51 - in `auto`, a missing decision or a strict-looking task without strict
52 authority returns to plan review. Do not infer `strict` during execution.
536. If concerns: Raise them with your human partner before starting
547. If no concerns: Create TodoWrite and proceed
55
56### Step 1.5: Long-Task Checkpoint Setup
57
58If the plan has multiple tasks, may span sessions, or includes architecture / contract / workflow changes:
59
601. Announce: "I'm using the long-task-continuation skill to keep this plan checkpointed and drift-aware."
612. Load aegis:long-task-continuation.
623. Create the initial checkpoint from the plan:
63 - current todo
64 - active task
65 - completed tasks
66 - evidence refs
67 - blockers
68 - next step
694. Before each task, restate the current checkpoint.
705. After each task, update checkpoint, evidence refs, and drift check.
71
72Before a verification-driven unplanned edit, read retained `PatchShape`,
73`CanonicalOwner`, `UpwardDrillSignal`, outcome, and evidence refs. Route their
74comparison with the candidate to `systematic-debugging` before editing; it
75decides whether the directions converge. A proven independent canonical-owner
76root stays on the normal plan path.
77
78### Step 2: Execute Tasks
79
80For each task:
811. Mark as in_progress
822. Follow each step exactly (plan has bite-sized steps)
833. Before any new source-code path is added by a task, restate the plan's
84 `Change Necessity` or create a compact one if the plan failed to carry it
85 forward. Plan approval is not by itself proof that a new helper, small guard,
86 new branch, fallback, adapter, or owner is necessary.
87
88 ```text
89 Change Necessity:
90 - User-visible need:
91 - No-change / non-code option:
92 - Why code change is necessary:
93 - Minimum change boundary:
94 - Decision: no-change | docs/config-only | code-change | needs-clarification
95 ```
96
97 If the decision is not `code-change`, pause execution and return to plan
98 review instead of editing. If the decision is `code-change`, carry the
99 minimum boundary into the edit and verification scope.
1004. Before any non-trivial source edit, run the plan's
101 `Pre-Edit Complexity Check` or create a compact one:
102
103 Use `using-aegis/references/complexity-governance.md` for shared artifact
104 classes, pressure signals, and `over-budget` handling.
105
106 ```text
107 Complexity Budget:
108 - Artifact class:
109 - Target files / artifacts:
110 - Current pressure:
111 - Projected post-change pressure:
112 - Budget result: within-budget | at-risk | over-budget
113 - Planned governance:
114
115 Pre-Edit Complexity Check:
116 - Target edit file:
117 - Existing pressure signal:
118 - Safer edit boundary:
119 - Decision: edit-in-place | extract helper | add owner file | split task | pause for plan update
120
121 Pre-Edit Owner-Fit Decision:
122 - Edit intent: wiring-only | move-out / extract-first | local-fix-without-new-responsibility | new-responsibility | emergency / compatibility patch
123 - Owner fit:
124 - Safer edit boundary:
125 - Decision: edit-in-place | extract helper | add owner file | split task | pause for plan update
126 ```
127
128 If the check contradicts the plan's file boundary, pause and return to plan
129 review instead of silently stuffing logic into an overloaded owner. If the
130 budget result is `over-budget` and the task does not also govern that
131 overrun, stop execution and return to plan review rather than pushing the
132 task through as if it were still atomic.
133 When the target edit file is over-budget or mixed-purpose,
134 `new-responsibility` must not be added in place by default. `wiring-only`,
135 `move-out / extract-first`, and `local-fix-without-new-responsibility` may
136 proceed only when they do not add a new responsibility and the verification
137 boundary is clear. `emergency / compatibility patch` requires residual risk
138 and a retirement trigger.
1395. Run verifications as specified
1406. Update `TodoCheckpointDraft` and `DriftCheckDraft` before marking the task completed.
141 When an `Execution Readiness View` exists, the drift check must explicitly
142 compare the active slice against the view's intent lock, scope fence,
143 baseline lock, compatibility boundary, retirement boundary, test
144 obligations, and review gates.
1457. Mark as completed
146
147### Step 3: Complete Development
148
149After all tasks complete and verified:
150- Announce: "I'm using the finishing-a-development-branch skill to complete this work."
151- **REQUIRED SUB-SKILL:** Use aegis:finishing-a-development-branch
152- Follow that skill to verify tests, present options, execute choice
153
154## When to Stop and Ask for Help
155
156**STOP executing immediately when:**
157- Hit a blocker (missing dependency, test fails, instruction unclear)
158- Plan has critical gaps preventing starting
159- You don't understand an instruction
160- Verification fails repeatedly
161
162**Ask for clarification rather than guessing.**
163
164## When to Revisit Earlier Steps
165
166**Return to Review (Step 1) when:**
167- Partner updates the plan based on your feedback
168- Fundamental approach needs rethinking
169
170**Don't force through blockers** - stop and ask.
171
172## Remember
173- Review plan critically first
174- Follow plan steps exactly
175- Don't skip verifications
176- Reference skills when plan says to
177- Stop when blocked, don't guess
178- Never start implementation on main/master branch without explicit user consent
179
180## Integration
181
182**Required workflow skills:**
183- **aegis:using-git-worktrees** - REQUIRED: Set up isolated workspace before starting
184- **aegis:writing-plans** - Creates the plan this skill executes
185- **aegis:finishing-a-development-branch** - Complete development after all tasks
186
187---
188
189**Source:** [`hashgraph-online/awesome-codex-plugins`](https://github.com/hashgraph-online/awesome-codex-plugins) → `plugins/GanyuanRan/Aegis/skills/executing-plans/SKILL.md`