build: compose opt-in work-record generation with shared guards

Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a15374-f59f-7a31-86d2-d23b5d2ed181
This commit is contained in:
tegwick 2026-10-19 11:34:02 +02:00
parent 027b54e49c
commit 05046fb974
6 changed files with 39 additions and 0 deletions

View file

@ -77,3 +77,16 @@ resulting repository revision and normalized event are recorded.
Per-repository Make targets and build pipelines own their generated artifacts.
Repository reconciliation and hook installation do not transfer that ownership
or establish a general generated-file pipeline.
## Staged work-record generator adoption
The tracked `.generated-work-records.json` opts this repository into the shared
pre-commit generation lane. `make generated-work-records` uses the isolated
`.generated-work-records.mk` recipe and the Custodian adapter to render from
staged Markdown with the existing State Hub renderer. `make
generated-work-records-check` verifies the staged result without writes.
Unstaged source edits are preserved; unstaged generated-file edits and unresolved
conflicts stop the commit. The existing generated-only guard and secret scan
remain in place. This adoption covers WORK-RECORDS.md only; other owner indexes
retain their own generators. It makes no schedule or public-release change.