Skip to content

chore(factory): regen-all finalizer for the derived-artifact gate surface (ag-jima #regen-all-finalizer)#602

Merged
boshu2 merged 1 commit into
mainfrom
chore/regen-all-finalizer
May 29, 2026
Merged

chore(factory): regen-all finalizer for the derived-artifact gate surface (ag-jima #regen-all-finalizer)#602
boshu2 merged 1 commit into
mainfrom
chore/regen-all-finalizer

Conversation

@boshu2
Copy link
Copy Markdown
Owner

@boshu2 boshu2 commented May 29, 2026

What

A one-command finalizer for the ~8 derived registries/goldens a skill/command addition makes stale.

  • scripts/regen-all.sh — regenerates every derived artifact in dependency order (skill counts → domain-map → SKU registry.json → context-map → embedded skills → COMMANDS.md → cli-surface → codex hashes).
  • scripts/regen-all.sh --check — runs the matching drift validators (no writes) as a pre-push gate.
  • make regen-all / make regen-check targets.

Why

PR #598 (ag-nk67) took 9 CI rounds to merge — zero feature-code failures; every red was a stale derived artifact discovered one CI round at a time (each gate stops at first error, jobs are independent). This composes the existing generators into one local pass so it's caught before the first push. Codex twins stay manual (cannot be auto-authored).

Verification

shellcheck --severity=error clean; make regen-checkall 9 gates green on current main.

Closes-scenario: ag-jima#regen-all-finalizer
Bounded-context: BC4-Factory
Evidence: scripts/regen-all.sh

… surface

scripts/regen-all.sh composes every generator into one pass; --check runs the
drift validators as a pre-push gate. make regen-all / make regen-check wired.
Turns 'add a skill/command' from a multi-round CI scavenger hunt into one command.
Codex twins remain manual. From post-mortem ag-nk67.

ag-jima #regen-all-finalizer
@boshu2 boshu2 enabled auto-merge (squash) May 29, 2026 19:07
@boshu2 boshu2 merged commit ad93211 into main May 29, 2026
14 checks passed
@boshu2 boshu2 deleted the chore/regen-all-finalizer branch May 29, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant