Commit 7694d58
chore(registry): pre-commit drift guard + document 2026-06-03 session (#368)
Wrap-up for the 2026-06-03 registry + workflow session (#356, #366, #363
all merged).
## Config update — anti-drift guard
`hooks/pre-commit` now runs `bash scripts/build-registry.sh --check`
(only where the generator exists, so the shared estate hook is safe
elsewhere). If a tracked file under a spec home — or `STATE.a2ml` —
changes without regenerating the derived registry/topology, the commit
is blocked locally with a fix hint, **instead of** red-ing
`registry-verify` on `main`.
> This is the local backstop for the failure mode that reded `main`
three times this session (spec-home edits, including in-home
`.github/workflows/*`, merged without `build-registry.sh`). The
remaining estate-side piece — making `registry-verify` a **required**
check — is noted as follow-up.
## Documentation
- `STATE.a2ml`: new `[session-history-2026-06-03]` block (PRs
#356/#366/#363, the external-pointer registry + HYP-S006 capabilities,
and the two open follow-ups); `last-updated`/`maintenance-status`
refreshed; `version` 0.2.0 → 0.3.0.
- `TOPOLOGY.md`: regenerated from the updated `STATE.a2ml` (derived
file, not hand-edited).
- `CHANGELOG.md`: **intentionally untouched** — it's generated from
conventional commits by `changelog-reusable.yml`; the merged
`feat(registry)`/`fix(ci)` commits flow in automatically.
## Verification
- `build-registry.sh --check` → **OK** (green).
- `bash -n hooks/pre-commit` → syntax OK.
- `REGISTRY.a2ml` unchanged (STATE isn't a spec home; only
`TOPOLOGY.md`'s `last-updated` moved).
https://claude.ai/code/session_0178nMYCNXgotTeekePkoUjd
---
_Generated by [Claude
Code](https://claude.ai/code/session_0178nMYCNXgotTeekePkoUjd)_
Co-authored-by: Claude <noreply@anthropic.com>1 parent 33a82ee commit 7694d58
3 files changed
Lines changed: 39 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
45 | 62 | | |
46 | 63 | | |
47 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
77 | 94 | | |
78 | 95 | | |
79 | 96 | | |
| |||
0 commit comments