From 579cefdd18707c135838abe4831fb94c1a42cb05 Mon Sep 17 00:00:00 2001 From: tegwick Date: Mon, 19 Oct 2026 13:30:56 +0200 Subject: [PATCH] build: adopt staged work-record generation Retain reviewed owner-generated brief from 2026-10-19 09:26 UTC; fresh read-model refresh refused at repo-goals, so no fresh snapshot claim. Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a15374-f59f-7a31-86d2-d23b5d2ed181 --- .custodian-brief.md | 11 +++++------ .generated-work-records.json | 1 + .generated-work-records.mk | 8 ++++++++ Makefile | 7 +++++++ SCOPE.md | 13 +++++++++++++ WORK-RECORDS.md | 2 +- 6 files changed, 35 insertions(+), 7 deletions(-) create mode 100644 .generated-work-records.json create mode 100644 .generated-work-records.mk create mode 100644 Makefile diff --git a/.custodian-brief.md b/.custodian-brief.md index 3add783..17f7478 100644 --- a/.custodian-brief.md +++ b/.custodian-brief.md @@ -2,19 +2,17 @@ # Custodian Brief — glas-harness **Domain:** infotech -**Last synced:** 2026-10-13 19:30 UTC +**Last synced:** 2026-10-19 09:26 UTC **State Hub:** http://127.0.0.1:8000 *(adjust if running on a remote machine)* ## Active Workstreams ### Versioned Glas profile for the FI daily research brief -Progress: 4/6 done | workplan_id: `1254b220-fd97-5c84-a0e0-ef2de10972c4` +Progress: 5/6 done | workplan_id: `1254b220-fd97-5c84-a0e0-ef2de10972c4` **Open tasks:** -- ! Add the sand-boxer egress sandbox profile `d79ad740` - *(wait: Handoff 744aa305 sent 2026-10-13; await sand-boxer profile.bwrap-fi-research.)* - ! Prove one sandboxed run and mark the profile ready `6faf1b1c` - *(wait: Depends on T02 (sand-boxer egress profile) and the rein-aharness publisher (decision c6f23433).)* + *(wait: Live activation needs sand-boxer owner credential delivery (SAND-WP-0015-T04); publication needs the rein-aharness publisher (decision c6f23433, request 780c78d1).)* ### Governed route for assembly-checkpoint before legacy routing ends Progress: 1/2 done | workplan_id: `8039eefd-47b9-580b-a488-fb9c3da93f50` @@ -45,8 +43,9 @@ Progress: 2/6 done | workplan_id: `170bf1ae-337f-5553-8d1e-03b07100e08f` ## Inbox Hygiene -**Stale unread:** 2 message(s) older than 3 day(s) — triage at session start. +**Stale unread:** 4 message(s) older than 3 day(s) — triage at session start. **Missing thread_id:** 2 unread message(s) lack supersession chains. +- ! rein-aharness: Re: Re: Re: GLAS-WP-0016-T03: tool profile green-research-commit for the FI research brief `6b024762` --- ## MCP Orientation (when available) diff --git a/.generated-work-records.json b/.generated-work-records.json new file mode 100644 index 0000000..bea4534 --- /dev/null +++ b/.generated-work-records.json @@ -0,0 +1 @@ +{"version": 1, "repo_slug": "glas-harness"} diff --git a/.generated-work-records.mk b/.generated-work-records.mk new file mode 100644 index 0000000..795c147 --- /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 ?= glas-harness +.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/Makefile b/Makefile new file mode 100644 index 0000000..e86f78e --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ + +# CUST-WP-0079: explicit staged work-record generation, using the owner renderer. +.PHONY: generated-work-records generated-work-records-check +generated-work-records: ## Generate and stage WORK-RECORDS from staged sources + $(MAKE) --no-print-directory -f .generated-work-records.mk generated-work-records +generated-work-records-check: ## Verify staged index without writes or publication + $(MAKE) --no-print-directory -f .generated-work-records.mk generated-work-records-check diff --git a/SCOPE.md b/SCOPE.md index 2c28818..110f63a 100644 --- a/SCOPE.md +++ b/SCOPE.md @@ -165,3 +165,16 @@ process quiescence was verified. The failed revision-2 rehearsal remains historical evidence. This revision-3 receipt has zero model calls and no credential or owner-configuration reads; it does not prove active credentials, profile readiness or isolation of the actual Custodian interactive assignment. + +## Staged work-record generation — 2026-10-19 + +The repository explicitly opts into the shared staged work-record generator via +`.generated-work-records.json` and its dedicated `.generated-work-records.mk`. +`make generated-work-records` uses the existing State Hub renderer through the +Custodian adapter, stages only `WORK-RECORDS.md`, and refuses unreconciled +unstaged index edits. `make generated-work-records-check` checks without writes. +The shared commit hook retains its generated-only guard and repository-specific +scanner routing; meaningful source commits regenerate the index before any +configured scan. +Generation performs no Hub calls, commits, pushes, credential access or live +changes. Source inventories and other generated artifacts retain their owners. diff --git a/WORK-RECORDS.md b/WORK-RECORDS.md index 5c81da3..ffe8d74 100644 --- a/WORK-RECORDS.md +++ b/WORK-RECORDS.md @@ -83,7 +83,7 @@ | task | GLAS-WP-0015-T02 | done | — | workplans/GLAS-WP-0015-production-dependency-coordination.md | | task | GLAS-WP-0015-T03 | wait | — | workplans/GLAS-WP-0015-production-dependency-coordination.md | | task | GLAS-WP-0016-T01 | done | — | workplans/GLAS-WP-0016-fi-research-brief-profile.md | -| task | GLAS-WP-0016-T02 | wait | — | workplans/GLAS-WP-0016-fi-research-brief-profile.md | +| task | GLAS-WP-0016-T02 | done | — | workplans/GLAS-WP-0016-fi-research-brief-profile.md | | task | GLAS-WP-0016-T03 | done | — | workplans/GLAS-WP-0016-fi-research-brief-profile.md | | task | GLAS-WP-0016-T04 | wait | — | workplans/GLAS-WP-0016-fi-research-brief-profile.md | | task | GLAS-WP-0016-T05 | done | — | workplans/GLAS-WP-0016-fi-research-brief-profile.md |