Skip to content

docs(evolve): bake fix-and-repush discipline into the /evolve skill (ag-j4l1 #evolve-discipline-references)#615

Merged
boshu2 merged 2 commits into
mainfrom
docs/ag-j4l1-evolve-discipline
May 30, 2026
Merged

docs(evolve): bake fix-and-repush discipline into the /evolve skill (ag-j4l1 #evolve-discipline-references)#615
boshu2 merged 2 commits into
mainfrom
docs/ag-j4l1-evolve-discipline

Conversation

@boshu2
Copy link
Copy Markdown
Owner

@boshu2 boshu2 commented May 30, 2026

What

Promotes this session's hard-won fix-and-repush discipline — which lived only in the session-only cron prompt (expires in 7 days) — into the durable /evolve skill, so every future autonomous run inherits it.

How

Dog-fooding

Built one-shot through its own documented discipline: codex twin hash refreshed for evolve, the 7 pre-existing codex drifts reverted, manifest surgically rebuilt to the evolve delta only. No inventory/count files touched (correct — adds references, not a skill).

Evidence

  • tests/scripts/evolve-discipline-references.bats4/4 (locks both reference links + the two new gate-hygiene subsections)
  • heal.sh --strict skills/evolve → clean
  • validate-codex-generated-artifacts.sh --scope worktree → pass

(Companion: ag-cw2y wired the skill-builder scaffold; ag-ekyq added the registry surface; this bakes the operator-side runtime guidance into /evolve.)

Closes-scenario: ag-j4l1#evolve-discipline-references
Bounded-context: BC2-Validation
Evidence: skills/evolve/references/new-skill-landing.md

…ll (ag-j4l1)

Promotes this session's throwaway cron-prompt discipline into the durable skill
so every future run inherits it (the cron prompt is session-only).

- NEW references/new-skill-landing.md: the SIX derived surfaces a new/modified
  skill must regenerate in one shot (registry.json being the most-missed), with
  the regen-all.sh shortcut + the manual codex-twin/SKILL-TIERS steps.
- gate-hygiene.md +2 subsections: pre-push diff-scope check (catches half-staged
  commits + conflict-resolution collateral deletions) and pre-existing-vs-mine
  red triage (mkdocs-strict + the 7 codex artifact drifts).
- SKILL.md links both from Step 4.5 + the References list (heal --strict clean).

Built one-shot through its own discipline: codex twin hash refreshed for evolve,
7 pre-existing drifts reverted, manifest rebuilt to the evolve delta only.

Closes-scenario: ag-j4l1#evolve-discipline-references
Bounded-context: BC2-Validation
Evidence: tests/scripts/evolve-discipline-references.bats (4/4); heal --strict skills/evolve clean; validate-codex-generated-artifacts --scope worktree pass
contracts-sync + correctness(ubuntu) were red on a stale registry.json — the
evolve skill's content hash shifted when its SKILL.md/references changed.
Ran generate-registry.sh (80 skills, 162 SKU capabilities); --check now OK.

Fittingly, this is the exact lesson the PR documents (registry.json is the
most-missed surface) — caught and fixed via the very discipline being baked in.

ag-j4l1
@boshu2 boshu2 merged commit 8a4e78f into main May 30, 2026
14 checks passed
@boshu2 boshu2 deleted the docs/ag-j4l1-evolve-discipline branch May 30, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant