Parent: #5
Problem
Generated registry drift was only detectable if contributors remembered to run the generator manually.
Scope
- add
npm run registry:check to .husky/pre-push
- add
npm run registry:check to .github/workflows/typecheck.yml
Out of scope
- separate registry-specific workflow
- broader CI restructuring
Expected files
.husky/pre-push
.github/workflows/typecheck.yml
- registry check script if needed
Invariants
- run freshness enforcement after API typecheck
- keep existing workflow order otherwise unchanged
- no runtime behavior changes
Validation
npm run registry:check
- pre-push passes on the branch
Parent: #5
Problem
Generated registry drift was only detectable if contributors remembered to run the generator manually.
Scope
npm run registry:checkto.husky/pre-pushnpm run registry:checkto.github/workflows/typecheck.ymlOut of scope
Expected files
.husky/pre-push.github/workflows/typecheck.ymlInvariants
Validation
npm run registry:check