Execute Plan (Hardcore)
Purpose
Same end-to-end plan execution as execute-plan, plus a mandatory
post-execution loop: run the audit skill on the work, require A
grades on all three rubric dimensions, fix everything that stands in the
way, and repeat until those grades are A across the board.
Use When
- A concrete checked-in plan path exists in README/Plans.
- The user explicitly invokes
$execute-plan-hardcore, use
execute-plan-hardcore, or otherwise clearly asks for this workflow (not
implicit routing).
- The user wants execute-plan behavior and a full audit gate with
A / A / A before the work is considered done.
Do Not Use When
- No checked-in plan exists, or the request is planning-only / read-only.
- The user wants standard
execute-plan without the audit-to-A loop—use
execute-plan.
- The user forbids additional fix iterations after the plan is “done” by
execute-plan alone.
Authority Model
Explicit invocation of execute-plan-hardcore authorizes:
- everything
execute-plan authorizes: phase commits without pushing
until all phases are done, then one sync/push/CI tail per
execute-plan step 5, plus follow-up fixes;
- after the plan is fully executed and the
execute-plan tail
(git-push loop) has completed as that skill describes, additional
commits and changes needed to satisfy the post-audit gate below;
- running the
audit workflow as part of this skill even though the
user message may not contain the substring audit—this skill is the
explicit request for audit and for implementation fixes until grades
reach A (overrides audit’s default “no fixes unless asked” rule for
this phase only).
If execute-plan-hardcore was only inferred or routed implicitly, stop
before the first commit or push and explain why—same boundary as
execute-plan.
At workflow start, state that execute-plan-hardcore is running: phase
commits through Part A, then one push/CI tail, then audit → fix →
repeat until A/A/A (additional commits/pushes only as needed for that
loop—not per-phase push during Part A).
Procedure
Part A — Execute the plan (same as execute-plan)
- Read the same primers as
execute-plan
(plan workflow,
phase-audit rubric); see also
execute-plan/references/index.md.
- Follow the
execute-plan skill end-to-end: read the plan and linked
guides/notes, one phase at a time, phase-audit per phase, plan
checkboxes, narrow phase commits, then after all phases git-push (merge,
push, CI green) per that skill.
Use the execute-plan
SKILL.md as the canonical procedure for Part A.
Part B — Hardcore audit gate (after Part A is complete)
Run only when all phases are implemented, the plan reflects reality, and the
execute-plan push/CI expectations are satisfied (no known failing CI from
this work unless the user explicitly overrides).
Scope the audit to the plan execution: prefer a git-defined
slice (e.g. merge base with origin/main or the branch point where this plan
work started → HEAD), or the directories/files the plan touched. State the
scope in the audit report header (same expectation as audit).
Run audit in full:
- Mechanical signals from repo root, aligned with
audit for this
repo: pytest (or python -m pytest); lint only when the repo
defines a standard lint command in pyproject.toml or docs—otherwise skip
and note “no configured lint.” When the audited surface includes
kokoro.js/, add targeted checks there (e.g. npm test) per
audit.
- Depth: solo vs parallel charters per
audit (when in doubt,
parallelize).
- Produce the
audit output template including Architecture,
Correctness risk, and Complexity debt grades and findings.
Pass condition: Architecture, Correctness risk, and Complexity
debt are all A. (If all three are A, overall is A per the
worst-of-three rule in audit.)
If any of the three grades is below A:
- Fix all issues that block raising grades to A (treat P0/P1
first; do not ignore mechanical check failures).
- Re-run relevant checks;
git-commit (and push if needed) per repo
conventions so fixes are recorded.
- Repeat from step 2 (re-scope if the diff grew) until A / A / A.
Stuck loop: If multiple complete audit cycles still cannot reach
A / A / A due to a tradeoff that needs product or architecture buy-in,
stop, report grades and the blocker, and ask the user—do not spin
forever.
Worktree Rules
Same as execute-plan: ignore unrelated dirty files unless they conflict;
do not revert unrelated user work.
Boundaries
- Do not skip Part B after Part A.
- Do not grade inflate;
audit rubric applies.
- Do not lower
audit thresholds—raise code/test quality until grades
merit A.
Relation to Other Skills
execute-plan: Part A is identical in intent; execute-plan-hardcore
adds Part B only.
audit: Part B is a full audit pass with fix iterations authorized
by this skill.
phase-audit: Still used per phase inside Part A; Part B is broader
audit after the full execution lands.
Canonical Docs
Start with
README/Skills/plan-workflow-skills-guide.md
and
README/Skills/phase-audit-rubric.md,
then the active plan and linked README/Guides and README/Notes.
1---2name: execute-plan-hardcore3description: Execute a checked-in implementation plan like execute-plan (phase-by-phase, commits, push, CI), then run the full audit skill on the execution scope and require Architecture, Correctness risk, and Complexity debt grades all A—fix findings and repeat until all three are A. Use when the user explicitly invokes this skill or wants the hardcore post-audit gate after plan execution. Do not use for planning-only, read-only review, or when the user wants standard execute-plan without the audit-to-A loop.4---56# Execute Plan (Hardcore)78## Purpose910Same end-to-end plan execution as **`execute-plan`**, plus a **mandatory11post-execution loop**: run the **`audit`** skill on the work, require **A**12grades on **all three** rubric dimensions, **fix everything** that stands in the13way, and **repeat** until those grades are **A** across the board.1415## Use When1617- A concrete checked-in plan path exists in [README/Plans](../../../README/Plans).18- The user explicitly invokes **`$execute-plan-hardcore`**, **use19 execute-plan-hardcore**, or otherwise clearly asks for this workflow (not20 implicit routing).21- The user wants **execute-plan** behavior **and** a full **audit** gate with22 **A / A / A** before the work is considered done.2324## Do Not Use When2526- No checked-in plan exists, or the request is planning-only / read-only.27- The user wants standard **`execute-plan`** without the audit-to-**A** loop—use28 **`execute-plan`**.29- The user forbids additional fix iterations after the plan is “done” by30 execute-plan alone.3132## Authority Model3334- Explicit invocation of **`execute-plan-hardcore`** authorizes:35 - everything **`execute-plan`** authorizes: phase commits **without** pushing36 until all phases are done, then **one** sync/push/CI tail per37 **`execute-plan`** step 5, plus follow-up fixes;38 - **after** the plan is fully executed and the **`execute-plan`** tail39 (`git-push` loop) has completed as that skill describes, **additional**40 commits and changes needed to satisfy the **post-audit** gate below;41 - running the **`audit`** workflow **as part of this skill** even though the42 user message may not contain the substring **`audit`**—this skill **is** the43 explicit request for audit **and** for **implementation fixes** until grades44 reach **A** (overrides **`audit`**’s default “no fixes unless asked” rule for45 this phase only).4647- If **`execute-plan-hardcore`** was only inferred or routed implicitly, stop48 before the first commit or push and explain why—same boundary as49 **`execute-plan`**.5051- At workflow start, state that **`execute-plan-hardcore`** is running: phase52 commits through Part A, **then** one push/CI tail, **then** **audit → fix →53 repeat until A/A/A** (additional commits/pushes only as needed for that54 loop—not per-phase push during Part A).5556## Procedure5758### Part A — Execute the plan (same as `execute-plan`)59601. Read the same primers as **`execute-plan`**61 ([plan workflow](../../../README/Skills/plan-workflow-skills-guide.md),62 [phase-audit rubric](../../../README/Skills/phase-audit-rubric.md)); see also63 [execute-plan/references/index.md](../execute-plan/references/index.md).642. Follow the **`execute-plan`** skill end-to-end: read the plan and linked65 guides/notes, one phase at a time, **`phase-audit`** per phase, plan66 checkboxes, narrow phase commits, then after all phases **`git-push`** (merge,67 push, CI green) per that skill.6869Use the **`execute-plan`**70[SKILL.md](../execute-plan/SKILL.md) as the canonical procedure for Part A.7172### Part B — Hardcore audit gate (after Part A is complete)7374Run only when **all phases** are implemented, the plan reflects reality, and the75**`execute-plan`** push/CI expectations are satisfied (no known failing CI from76this work unless the user explicitly overrides).77781. **Scope** the audit to the **plan execution**: prefer a **`git`**-defined79 slice (e.g. merge base with `origin/main` or the branch point where this plan80 work started → `HEAD`), or the directories/files the plan touched. State the81 scope in the audit report header (same expectation as **`audit`**).82832. **Run `audit`** in full:84 - **Mechanical signals** from repo root, aligned with **`audit`** for this85 repo: **`pytest`** (or `python -m pytest`); **lint** only when the repo86 defines a standard lint command in `pyproject.toml` or docs—otherwise skip87 and note “no configured lint.” When the audited surface includes88 **`kokoro.js/`**, add targeted checks there (e.g. **`npm test`**) per89 **`audit`**.90 - **Depth:** solo vs parallel charters per **`audit`** (when in doubt,91 parallelize).92 - Produce the **`audit`** output template including **Architecture**,93 **Correctness risk**, and **Complexity debt** grades **and** findings.94953. **Pass condition:** **Architecture**, **Correctness risk**, and **Complexity96 debt** are all **A**. (If all three are **A**, overall is **A** per the97 worst-of-three rule in **`audit`**.)98994. **If any of the three grades is below A:**100 - Fix **all** issues that block raising grades to **A** (treat **P0**/**P1**101 first; do not ignore mechanical check failures).102 - Re-run relevant checks; **`git-commit`** (and push if needed) per repo103 conventions so fixes are recorded.104 - **Repeat** from step 2 (re-scope if the diff grew) until **A / A / A**.1051065. **Stuck loop:** If multiple complete **audit** cycles still cannot reach107 **A / A / A** due to a tradeoff that needs product or architecture buy-in,108 **stop**, report grades and the blocker, and **ask the user**—do not spin109 forever.110111## Worktree Rules112113Same as **`execute-plan`**: ignore unrelated dirty files unless they conflict;114do not revert unrelated user work.115116## Boundaries117118- Do not skip Part B after Part A.119- Do not **grade inflate**; **`audit`** rubric applies.120- Do not lower **`audit`** thresholds—**raise** code/test quality until grades121 merit **A**.122123## Relation to Other Skills124125- **`execute-plan`:** Part A is identical in intent; **`execute-plan-hardcore`**126 adds Part B only.127- **`audit`:** Part B is a full **`audit`** pass with fix iterations authorized128 by this skill.129- **`phase-audit`:** Still used **per phase** inside Part A; Part B is **broader**130 **`audit`** after the full execution lands.131132## Canonical Docs133134Start with135[README/Skills/plan-workflow-skills-guide.md](../../../README/Skills/plan-workflow-skills-guide.md)136and137[README/Skills/phase-audit-rubric.md](../../../README/Skills/phase-audit-rubric.md),138then the active plan and linked **`README/Guides`** and **`README/Notes`**.