From 8a1b32ccf6b0f55816f876dfb6123b88742541e5 Mon Sep 17 00:00:00 2001 From: tegwick Date: Wed, 28 Oct 2026 00:31:09 +0100 Subject: [PATCH] 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 --- .generated-work-records.json | 1 + .generated-work-records.mk | 8 ++++++++ SCOPE.md | 14 +++++++++++++- WORK-RECORDS.md | 6 +++--- 4 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 .generated-work-records.json create mode 100644 .generated-work-records.mk diff --git a/.generated-work-records.json b/.generated-work-records.json new file mode 100644 index 0000000..63d2452 --- /dev/null +++ b/.generated-work-records.json @@ -0,0 +1 @@ +{"version":1,"repo_slug":"qonto-assistant"} diff --git a/.generated-work-records.mk b/.generated-work-records.mk new file mode 100644 index 0000000..71edf88 --- /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 ?= qonto-assistant +.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 e45f1fd..a19d720 100644 --- a/SCOPE.md +++ b/SCOPE.md @@ -52,7 +52,19 @@ client. 2. `specs/ArchitectureBlueprint.md` — how 3. `research/2026-07-21-mcp-gateway-and-governed-domain-assistant.md` — why this shape 4. `workplans/` — what to do next -5. `AGENTS.md` — State Hub protocol +5. `AGENTS.md` — State Hub protocol + +## 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 diff --git a/WORK-RECORDS.md b/WORK-RECORDS.md index 0f36bae..4cbc58b 100644 --- a/WORK-RECORDS.md +++ b/WORK-RECORDS.md @@ -15,7 +15,7 @@ | workplan | QONTO-WP-0003 | finished | — | workplans/QONTO-WP-0003-mcp-surface.md | | workplan | QONTO-WP-0004 | finished | — | workplans/QONTO-WP-0004-security-hardening-and-scale-to-zero.md | | workplan | QONTO-WP-0005 | finished | — | workplans/QONTO-WP-0005-audit-deny-stream-completeness.md | -| workplan | QONTO-WP-0006 | blocked | — | workplans/QONTO-WP-0006-canonical-cadence-adoption.md | +| workplan | QONTO-WP-0006 | active | — | workplans/QONTO-WP-0006-canonical-cadence-adoption.md | | task | QONTO-WP-ADHOC-2026-07-21-T01 | done | — | workplans/ADHOC-2026-07-21.md | | task | QONTO-WP-ADHOC-2026-07-21-T02 | done | — | workplans/ADHOC-2026-07-21.md | | task | QONTO-WP-ADHOC-2026-09-05-T01 | done | — | workplans/ADHOC-2026-09-05.md | @@ -49,5 +49,5 @@ | task | QONTO-WP-0005-T02 | done | — | workplans/QONTO-WP-0005-audit-deny-stream-completeness.md | | task | QONTO-WP-0005-T03 | done | — | workplans/QONTO-WP-0005-audit-deny-stream-completeness.md | | task | QONTO-WP-0006-T01 | done | — | workplans/QONTO-WP-0006-canonical-cadence-adoption.md | -| task | QONTO-WP-0006-T02 | wait | — | workplans/QONTO-WP-0006-canonical-cadence-adoption.md | -| task | QONTO-WP-0006-T03 | wait | — | workplans/QONTO-WP-0006-canonical-cadence-adoption.md | +| task | QONTO-WP-0006-T02 | done | — | workplans/QONTO-WP-0006-canonical-cadence-adoption.md | +| task | QONTO-WP-0006-T03 | progress | — | workplans/QONTO-WP-0006-canonical-cadence-adoption.md |