Repository navigation
chore(rsr): customise scaffolding to cicd-squabbler identity + fix governance gates - #4
Merged
Merged
Conversation
…vernance gates
The repo was instantiated from rsr-template-repo but its machine-readable
substrate was never customised, failing 4 governance checks. This completes
the scaffolding (verified locally where possible; external validate-actions
confirmed on CI):
- root-allow.txt: allowlist the Rust/SPARK layout (Cargo.toml/Cargo.lock,
crates/, spark/, RSR-PHILOSOPHY.adoc). `check-root-shape.sh` now passes
(only gitignored target/ remains) — fixes estate-rules / K9 root-shape.
- SPDX: add `# SPDX-License-Identifier: MPL-2.0` to 6 headerless .a2ml manifests.
- Placeholder substitution across .a2ml: fill {{CURRENT_YEAR}}/{{AUTHOR}}/
{{OWNER}}/{{AUTHOR_EMAIL}}/{{CURRENT_DATE}}/{{PROJECT_*}} with the real
values. Legitimate sentinel references ({{PLACEHOLDER}} in drift-check
reject-lists / template-usage comments) are intentionally kept.
- Identity: STATE.a2ml rewritten to cicd-squabbler's real state (engine +
SPARK invariant + CLI real; GitHub App an honest stub); ANCHOR/0-AI-MANIFEST
identity fields + CLAUDE.md identity block synced to CLADE (uuid
38bec2ed-…, born 2026-06-29). CLAUDE.md hand-synced (generator needs nickel).
- sonar-project.properties: projectKey -> hyperpolymath_cicd-squabbler.
- openssf: fill .github/SECURITY.md tokens; contact = the maintainer email.
The PGP section is removed rather than fabricated (no invented fingerprint —
the template's own guidance is "remove PGP if you don't use it").
Not changed: the broad, legitimate rsr-template-repo references (drift-check,
template-origin notes) are kept; CLADE registration into gv-clade-index is a
separate owner action; repo-wide Hypatia findings are pre-existing/out of scope.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_012MpYSh6Wy8YMBH2E3qVyT7
…t-allow) Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_012MpYSh6Wy8YMBH2E3qVyT7
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Context
cicd-squabbler was instantiated from
rsr-template-repobut its machine-readable substrate + CLAUDE.md were never customised — so it self-identified asrsr-template-repo. This is the scaffolding-completion pass: it fixes the repo-identity leak and the repo-specific governance gates. It does not (and should not) attempt to hand-fix the template-derived validator failures that a freshly-instantiated RSR repo is simply born with — those are a solutions-at-source problem inrsr-template-repoand/or owner-domain (see below).Genuinely fixed by this PR (green on CI, HEAD
8be7d40)STATE.a2mlrewritten to cicd-squabbler's real observed state (engine + SPARK invariant + CLI real; GitHub App webhook is an honest stub);ANCHOR.a2ml/0-AI-MANIFEST.a2mlidentity fields + theCLAUDE.mdidentity block synced toCLADE.a2ml(uuid38bec2ed-…, born 2026-06-29). CLAUDE.md hand-synced becausejust claude-mdneedsnickel(not installed)..machine_readable/root-allow.txtnow allowlists the Rust/SPARK layout (Cargo.toml,Cargo.lock,crates/,spark/,RSR-PHILOSOPHY.adoc); the estate-rules root-check passes (it now advances to a later, template rule — see below).sonar-project.propertiesprojectKey →hyperpolymath_cicd-squabbler; the SonarCloud Code Analysis check is green and the quality gate passed (0 new issues)..github/SECURITY.mdtokens filled (contact = maintainer email); PGP section removed rather than fabricated (no invented fingerprint)..a2mlfiles I touched.check(cargo fmt + clippy -D warnings + build + test), CodeQL, Hypatia, panic-attack, Patch Bridge, Groove-manifest, eclexiaiser, empty-linter, dogfooding-summary: all green.Still red — pre-existing / template-derived / owner-domain (NOT this PR's changes)
Ground-truthed from the failing job logs on
8be7d40. None of these were introduced here, and each is best fixed at source rather than by hand-patching this instance:AI-MANIFEST.a2mlfiles (wholedocs/,src/,verification/tree); 29 lack the now-required identity field. I authored ~6; the failing bulk are template defaults I never touched.rsr-template-repo(add identity field to template manifests) — solutions-at-source..k9.ncl/.k9files missing theK9!magic-number line + pedigreename. Template defaults, not repo-specific.rsr-template-repo(fix template k9 files).zigstring → "replaced by zig-unified-api-adapter", catching template workflow boilerplate (container/Containerfile,e2e.yml,release.yml). This contradicts the estate's own Zig-default language policy — flagging, not auto-editing (doctrine #4/#6).sonar-scannerand needs aSONAR_TOKENsecret not set for it; the official SonarCloud check + quality gate already pass.Recommendation
Merge on the repo-identity + repo-specific-gate value (which is real and green), and track the four template/owner items separately — the A2ML + K9 failures are a genuine "a fresh RSR repo is born red on the estate's own validators" finding that wants fixing in
rsr-template-repo, not per-instance.Generated by Claude Code