diff --git a/.generated-work-records.json b/.generated-work-records.json new file mode 100644 index 0000000..f87089b --- /dev/null +++ b/.generated-work-records.json @@ -0,0 +1 @@ +{"version":1,"repo_slug":"sbom-nexus"} diff --git a/.generated-work-records.mk b/.generated-work-records.mk new file mode 100644 index 0000000..610a7fa --- /dev/null +++ b/.generated-work-records.mk @@ -0,0 +1,8 @@ +# Explicit opt-in recipe; no environment files or external make includes. +CUSTODIAN_SOURCE ?= /home/worsch/the-custodian +GENERATED_REPO_SLUG ?= sbom-nexus +.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 diff --git a/SCOPE.md b/SCOPE.md index 6287128..057ec27 100644 --- a/SCOPE.md +++ b/SCOPE.md @@ -33,6 +33,18 @@ compatibility, SQLite development, PostgreSQL runtime/migrations, and a proven history importer. `SBOM-WP-0002` owns deployment, external caller cutover, and production stabilization. +## 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 diff --git a/WORK-RECORDS.md b/WORK-RECORDS.md index 3383e60..d1877bd 100644 --- a/WORK-RECORDS.md +++ b/WORK-RECORDS.md @@ -11,7 +11,7 @@ | workplan | SBOM-WP-0001 | finished | — | workplans/SBOM-WP-0001-bootstrap-and-state-hub-extraction.md | | workplan | SBOM-WP-0003 | finished | — | workplans/SBOM-WP-0003-controlled-source-and-replay.md | | workplan | SBOM-WP-0004 | finished | — | workplans/SBOM-WP-0004-database-lease-rotation.md | -| workplan | SBOM-WP-0005 | ready | — | workplans/SBOM-WP-0005-wave2-resource-right-sizing.md | +| workplan | SBOM-WP-0005 | finished | — | workplans/SBOM-WP-0005-wave2-resource-right-sizing.md | | task | SBOM-WP-0001-T01 | done | — | workplans/SBOM-WP-0001-bootstrap-and-state-hub-extraction.md | | task | SBOM-WP-0001-T02 | done | — | workplans/SBOM-WP-0001-bootstrap-and-state-hub-extraction.md | | task | SBOM-WP-0001-T03 | done | — | workplans/SBOM-WP-0001-bootstrap-and-state-hub-extraction.md | @@ -24,5 +24,5 @@ | task | SBOM-WP-0004-T01 | done | — | workplans/SBOM-WP-0004-database-lease-rotation.md | | task | SBOM-WP-0004-T02 | done | — | workplans/SBOM-WP-0004-database-lease-rotation.md | | task | SBOM-WP-0004-T03 | done | — | workplans/SBOM-WP-0004-database-lease-rotation.md | -| task | SBOM-WP-0005-T01 | wait | — | workplans/SBOM-WP-0005-wave2-resource-right-sizing.md | +| task | SBOM-WP-0005-T01 | done | — | workplans/SBOM-WP-0005-wave2-resource-right-sizing.md | | intake | SBOM-IN-0001 | open | — | intakes/intakes.md |