build: adopt staged work-record index generation
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a15374-f59f-7a31-86d2-d23b5d2ed181
This commit is contained in:
parent
95a862bd5d
commit
d0893253eb
4 changed files with 29 additions and 0 deletions
1
.generated-work-records.json
Normal file
1
.generated-work-records.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":1,"repo_slug":"railiance-telemetry"}
|
||||
8
.generated-work-records.mk
Normal file
8
.generated-work-records.mk
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Explicit opt-in recipe; no environment files or external make includes.
|
||||
CUSTODIAN_SOURCE ?= /home/worsch/the-custodian
|
||||
GENERATED_REPO_railiance-telemetry ?= railiance-telemetry
|
||||
.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_railiance-telemetry)"
|
||||
generated-work-records-check:
|
||||
python3 "$(CUSTODIAN_SOURCE)/scripts/generate_staged_work_records.py" --repo . --repo-slug "$(GENERATED_REPO_railiance-telemetry)" --check
|
||||
7
Makefile
Normal file
7
Makefile
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
# CUST-WP-0079-T05: staged-source generation; hook uses the isolated recipe.
|
||||
.PHONY: generated-work-records generated-work-records-check
|
||||
generated-work-records:
|
||||
$(MAKE) --no-print-directory -f .generated-work-records.mk generated-work-records
|
||||
generated-work-records-check:
|
||||
$(MAKE) --no-print-directory -f .generated-work-records.mk generated-work-records-check
|
||||
13
SCOPE.md
13
SCOPE.md
|
|
@ -115,3 +115,16 @@ title: Private assurance signal contract and Prometheus mapping
|
|||
description: Validate bounded producer-owned assurance states and observation times, with a local SQLite reference receiver and scripts/prometheus_export.py plus rules/platform-assurance.json for the selected Prometheus package. See docs/prometheus-mapping.md. Package transport, rule loading and acknowledged external delivery are not established by local exporter tests; do not deploy the SQLite reference as a parallel monitoring plane.
|
||||
keywords: [telemetry, assurance, prometheus, signal, freshness, alerting, contract]
|
||||
```
|
||||
|
||||
|
||||
## 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 and existing security checks. 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue