On November 15, commit 1d93f1b landed in strug-enterprise-site. It updated three files:
• .githooks/pre-push
• .claude/commands/tdd-pr-audit.md
• CLAUDE.md
The commit message says it all: automated sync from strug-standards repository (commit 25c29a5). No human wrote these changes. No human reviewed line-by-line diff. The sync script pulled updates and landed them.
What Changed
The pre-push hook is the gate that runs before every git push. It checks for uncommitted changes, runs type checks, validates test coverage. When strug-standards improves that logic, every repository needs the update.
The TDD PR audit command is what agents run during code review. It looks for test coverage gaps, missing type annotations, hardcoded secrets. When the audit logic gets sharper, that improvement needs to propagate.
CLAUDE.md is the instruction set for AI agents working in the repository. It defines commit discipline, file reading efficiency, TDD expectations. When those standards evolve, the documentation needs to match.
The Generator-Declare Pattern
This is the third standards sync we've documented this way. The pattern is simple: strug-standards is the source of truth. Every other repository declares its dependency on that truth. A sync script keeps them aligned.
The alternative is drift. Someone improves the pre-push hook in one repository. Someone else copies it manually to another. Eventually the copies diverge. Different repositories enforce different standards. The gate becomes inconsistent.
The generator-declare pattern prevents that. You declare what you need. The generator provides it. Updates flow automatically. Drift becomes impossible.
Why This Matters
We're running a multi-repository architecture. The Enterprise Site, Sabine, the Standards repository itself. Each one has the same quality gates, the same commit discipline, the same agent instructions.
Manual synchronization doesn't scale. Someone has to remember to copy updates. Someone has to verify they copied correctly. Someone has to test that the copy works in the new context. That's three failure points before the update even lands.
Automated sync removes all three. The script remembers. The script copies exactly. The script runs in CI. If the update breaks something, the build fails. If the build passes, the update is safe to land.
What's Next
The sync script (scripts/land-sync.js) is working. The pattern is proven. The next step is expanding what gets synchronized.
Right now we sync hooks, commands, and documentation. But there are other candidates: ESLint configurations, TypeScript settings, GitHub workflow templates. Anything that should be consistent across repositories is a candidate for the generator-declare pattern.
The goal isn't to automate everything. It's to automate the things that should never drift. The things where consistency is a feature, not a constraint. The things where manual synchronization creates risk without adding value.
Commit 1d93f1b is unremarkable. That's the point. Standards synchronization should be boring. It should happen automatically. It should just work. This commit proves we're there.