chore(factory): regen-all finalizer for the derived-artifact gate surface (ag-jima #regen-all-finalizer)#602
Merged
Merged
Conversation
… 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-checktargets.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=errorclean;make regen-check→ all 9 gates green on current main.Closes-scenario: ag-jima#regen-all-finalizer
Bounded-context: BC4-Factory
Evidence: scripts/regen-all.sh