Adopt staged WORK-RECORDS generation and catch the index up.

The generated index had drifted from the workplan files. The opt-in lets
the pre-commit hook rebuild WORK-RECORDS.md in the same commit as the
workplan it indexes.

Assistant: grok
Assistant-Session: 01a17f9d-fe9d-7d72-9a22-6304f1a2a790
This commit is contained in:
tegwick 2026-10-28 00:31:02 +01:00
parent 03f94d8372
commit ecd624c6fe
4 changed files with 24 additions and 3 deletions

View file

@ -0,0 +1 @@
{"version":1,"repo_slug":"mail-address-semantics"}

View file

@ -0,0 +1,8 @@
# Explicit opt-in recipe; no environment files or external make includes.
CUSTODIAN_SOURCE ?= /home/worsch/the-custodian
GENERATED_REPO_SLUG ?= mail-address-semantics
.PHONY: generated-work-records generated-work-records-check
generated-work-records:
python3 "$(CUSTODIAN_SOURCE)/scripts/generate_staged_work_records.py" --repo . --repo-slug "$(GENERATED_REPO_SLUG)"
generated-work-records-check:
python3 "$(CUSTODIAN_SOURCE)/scripts/generate_staged_work_records.py" --repo . --repo-slug "$(GENERATED_REPO_SLUG)" --check

View file

@ -114,6 +114,18 @@ delivery stays external.
- Agent instructions: AGENTS.md
- Workplans: workplans/
## Generated work-record index
This repository opts into staged-source WORK-RECORDS.md generation through
`.generated-work-records.json` and the isolated `.generated-work-records.mk`
recipe. `make generated-work-records` reuses the State Hub renderer through
the Custodian adapter; `make generated-work-records-check` verifies byte-exact
agreement with staged Markdown. The pre-commit hook uses the isolated recipe,
preserves unstaged index edits by refusing them, and retains the generated-only
commit guard. It does not contact the hub, alter workplan statuses, or grant
deployment authority. This consumes shared tooling; it does not make this
repository the provider of the generator capability.
## Local orientation brief policy — 2026-10-21
`.custodian-brief.md` is a local, ignored State Hub orientation snapshot. Refreshing

View file

@ -14,7 +14,7 @@
| workplan | MAS-WP-0004 | finished | — | workplans/MAS-WP-0004-postfix-integration-profile.md |
| workplan | MAS-WP-0005 | finished | — | workplans/MAS-WP-0005-spec-errata-v0-1-1.md |
| workplan | MAS-WP-0006 | finished | — | workplans/MAS-WP-0006-address-composer.md |
| workplan | MAS-WP-0007 | backlog | — | workplans/MAS-WP-0007-retire-live-test-environment.md |
| workplan | MAS-WP-0007 | active | — | workplans/MAS-WP-0007-retire-live-test-environment.md |
| workplan | MAS-WP-0008 | finished | — | workplans/MAS-WP-0008-finalize-v0-2.md |
| workplan | MAS-WP-0009 | finished | — | workplans/MAS-WP-0009-declare-v0-2-final.md |
| workplan | MAS-WP-0010 | finished | — | workplans/MAS-WP-0010-mode-reference-implementation.md |
@ -22,7 +22,7 @@
| workplan | MAS-WP-0012 | finished | — | workplans/MAS-WP-0012-single-outbound-path.md |
| workplan | MAS-WP-0013 | finished | — | workplans/MAS-WP-0013-harness-independent-flows.md |
| workplan | MAS-WP-0014 | finished | — | workplans/MAS-WP-0014-finalize-mode-contract.md |
| workplan | MAS-WP-0015 | ready | — | workplans/MAS-WP-0015-wave2-resource-right-sizing.md |
| workplan | MAS-WP-0015 | finished | — | workplans/MAS-WP-0015-wave2-resource-right-sizing.md |
| task | MAS-WP-0001-T01 | done | — | workplans/MAS-WP-0001-statehub-bootstrap.md |
| task | MAS-WP-0001-T02 | done | — | workplans/MAS-WP-0001-statehub-bootstrap.md |
| task | MAS-WP-0001-T03 | done | — | workplans/MAS-WP-0001-statehub-bootstrap.md |
@ -80,4 +80,4 @@
| task | MAS-WP-0013-T02 | done | — | workplans/MAS-WP-0013-harness-independent-flows.md |
| task | MAS-WP-0014-T01 | done | — | workplans/MAS-WP-0014-finalize-mode-contract.md |
| task | MAS-WP-0014-T02 | done | — | workplans/MAS-WP-0014-finalize-mode-contract.md |
| task | MAS-WP-0015-T01 | wait | — | workplans/MAS-WP-0015-wave2-resource-right-sizing.md |
| task | MAS-WP-0015-T01 | done | — | workplans/MAS-WP-0015-wave2-resource-right-sizing.md |