Adopt staged WORK-RECORDS generation and catch the index up.
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

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:30:34 +01:00
parent c4cedab945
commit 521d3cec4c
4 changed files with 25 additions and 3 deletions

View file

@ -0,0 +1 @@
{"version":1,"repo_slug":"agentic-resources"}

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 ?= agentic-resources
.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

@ -184,3 +184,16 @@ from their authoritative systems.
3. `session_memory/README.md` — current operational capabilities.
4. `docs/DESIGN-session-memory.md` — detailed design and Kaizen correlation.
5. `workplans/` — implementation history and future work.
## 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.

View file

@ -8,7 +8,7 @@
| Kind | ID | Status | Lane | Source |
| --- | --- | --- | --- | --- |
| workplan | ADHOC-2026-08-20 | finished | — | workplans/ADHOC-2026-08-20.md |
| workplan | AGENTIC-WP-ADHOC-2026-08-20 | finished | — | workplans/ADHOC-2026-08-20.md |
| workplan | AGENTIC-WP-0001 | finished | — | workplans/AGENTIC-WP-0001-statehub-bootstrap.md |
| workplan | AGENTIC-WP-0002 | finished | — | workplans/AGENTIC-WP-0002-session-memory-phase0.md |
| workplan | AGENTIC-WP-0003 | finished | — | workplans/AGENTIC-WP-0003-session-memory-phase1.md |
@ -20,8 +20,8 @@
| workplan | AGENTIC-WP-0009 | finished | — | workplans/AGENTIC-WP-0009-session-memory-phase4.md |
| workplan | AGENTIC-WP-0010 | finished | — | workplans/AGENTIC-WP-0010-weekly-retro.md |
| workplan | AGENTIC-WP-0011 | finished | — | workplans/AGENTIC-WP-0011-kaizen-correlation-followup.md |
| task | ADHOC-2026-08-20-T01 | done | — | workplans/ADHOC-2026-08-20.md |
| task | ADHOC-2026-08-20-T02 | done | — | workplans/ADHOC-2026-08-20.md |
| task | AGENTIC-WP-ADHOC-2026-08-20-T01 | done | — | workplans/ADHOC-2026-08-20.md |
| task | AGENTIC-WP-ADHOC-2026-08-20-T02 | done | — | workplans/ADHOC-2026-08-20.md |
| task | AGENTIC-WP-0001-T01 | done | — | workplans/AGENTIC-WP-0001-statehub-bootstrap.md |
| task | AGENTIC-WP-0001-T02 | done | — | workplans/AGENTIC-WP-0001-statehub-bootstrap.md |
| task | AGENTIC-WP-0001-T03 | done | — | workplans/AGENTIC-WP-0001-statehub-bootstrap.md |