Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 32 additions & 7 deletions .github/workflows/actions.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ workflows:
'.github/workflows/estate-rules.yml':
- 'actions/checkout@v7.0.1'
'.github/workflows/governance.yml':
- 'metadatastician/standards@b3ce78e1a8cb24b33fde5c9da6a7c09486efda78'
- 'metadatastician/standards@fe57d352f0b1a50e5cb07b4aac2581caf355388e'
'.github/workflows/groove-check.yml':
- 'actions/checkout@v7.0.1'
'.github/workflows/guix-policy.yml':
Expand All @@ -43,7 +43,7 @@ workflows:
'.github/workflows/labels.yml': []
'.github/workflows/lock-sync-gate.yml': []
'.github/workflows/main-estate-audit.yml':
- 'hyperpolymath/cicd-suite@55556cf5ba71ba744695861503c13148d3915a5d'
- 'hyperpolymath/cicd-suite@2dbe6e9c2da71fbce336079f8e016c2de0b90111'
'.github/workflows/mirror.yml':
- 'metadatastician/standards@b3ce78e1a8cb24b33fde5c9da6a7c09486efda78'
'.github/workflows/ossf-best-practices.yml':
Expand Down Expand Up @@ -210,19 +210,25 @@ dependencies:
commit: 'sha1-0f8e8c99d88aeb3fbfd523f1ef2c6f762d10d64d'
owner_id: 75048950
repo_id: 623796603
'hyperpolymath/cicd-suite@0da816c05ae7486671d863e07935f93981c0c2d5':
'hyperpolymath/cicd-suite@c519c4520afbfe48f16aceb0706d7cfb1d649994':
ref: 'main'
commit: 'sha1-0da816c05ae7486671d863e07935f93981c0c2d5'
commit: 'sha1-c519c4520afbfe48f16aceb0706d7cfb1d649994'
owner_id: 6759885
repo_id: 1326697643
'hyperpolymath/cicd-suite@55556cf5ba71ba744695861503c13148d3915a5d':
'hyperpolymath/cicd-suite@2dbe6e9c2da71fbce336079f8e016c2de0b90111':
ref: 'main'
commit: 'sha1-55556cf5ba71ba744695861503c13148d3915a5d'
commit: 'sha1-2dbe6e9c2da71fbce336079f8e016c2de0b90111'
owner_id: 6759885
repo_id: 1326697643
uses:
- 'hyperpolymath/cicd-suite@3c2d4028d7203097f3c54106556e20947f9e04ef'
- 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
- 'hyperpolymath/cicd-suite@0da816c05ae7486671d863e07935f93981c0c2d5'
- 'hyperpolymath/cicd-suite@c519c4520afbfe48f16aceb0706d7cfb1d649994'
'hyperpolymath/cicd-suite@3c2d4028d7203097f3c54106556e20947f9e04ef':
ref: 'main'
commit: 'sha1-3c2d4028d7203097f3c54106556e20947f9e04ef'
owner_id: 6759885
repo_id: 1326697643
'hyperpolymath/smtp-notify-action@v0.5.0':
ref: 'v0.5.0'
commit: 'sha1-c1c9fa07992a02c1fd3d67a0dc1b08cccb852aef'
Expand All @@ -247,6 +253,25 @@ dependencies:
- 'oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6'
- 'swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6'
- 'webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555'
'metadatastician/standards@fe57d352f0b1a50e5cb07b4aac2581caf355388e':
ref: 'main'
commit: 'sha1-fe57d352f0b1a50e5cb07b4aac2581caf355388e'
owner_id: 297579217
repo_id: 1116521501
uses:
- 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
- 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
- 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9'
- 'denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed'
- 'dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8'
- 'editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393'
- 'erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124'
- 'github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63'
- 'goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406'
- 'ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e'
- 'oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6'
- 'swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6'
- 'webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555'
'ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e':
ref: 'v2.5.0'
commit: 'sha1-fa7117db83c52d787ae5a89f350999701505d78e'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/governance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ permissions:

jobs:
governance:
uses: metadatastician/standards/.github/workflows/governance-reusable.yml@b3ce78e1a8cb24b33fde5c9da6a7c09486efda78
uses: metadatastician/standards/.github/workflows/governance-reusable.yml@fe57d352f0b1a50e5cb07b4aac2581caf355388e
5 changes: 4 additions & 1 deletion .github/workflows/main-estate-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ on:

jobs:
call-estate-audit:
uses: hyperpolymath/cicd-suite/.github/workflows/main-estate-audit.yml@55556cf5ba71ba744695861503c13148d3915a5d # cicd-suite MAIN (branch-reachable): remote-form callee — 27 full-SHA refs, de-onboarded; witnessed cross-repo in rsr runs 35282081912 + 35283168495 (jobs spawn; gates audit THIS repo). Prior f9e173a pin (via #137) = deleted PR head: pull-ref-only reachability -> 0-job creation rejection; its onboarded @main/tag form was separately proven startup_failure cross-repo (35280642055). Repin on callee updates; never to PR-head commits.
uses: hyperpolymath/cicd-suite/.github/workflows/main-estate-audit.yml@2dbe6e9c2da71fbce336079f8e016c2de0b90111
with:
# Includes the frame FFI implementation and all its local Zig imports.
zig-ffi-paths: examples/atoma/frame-v1/src
20 changes: 6 additions & 14 deletions atoma_chora.deed
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
; equal canon.lock [canon.artifacts]; canon.lock [canon.lockstep].order is
; spine-adopts-then-canon-releases, so this clause moves FIRST.
(canon
:version "2.1.2"
:version "2.1.4"
:criteria-sha256 "6a5aa8857bd0d0d58ef48827938ca17c251b6b854dacf59d306388d61694d82a"
:gates-sha256 "e70efd2f53c9445e30da4baf770366f04a4a84ffd844a01426e587e565b53e6a"
:gates-sha256 "2f31f46d4753432e0aa8c9c28f339e18e062c98dc6e6ef4ecbb76993cf37638b"
:lockstep-since "2026-09-17"
; A canon change this repo cannot satisfy is a change made in the WRONG
; ORDER, not a rejected change: land the spine's adoption first, then the
Expand Down Expand Up @@ -199,8 +199,8 @@
(manifest
:version "0.1.0"
:last-updated "2026-11-07"
:project "Atoma"
:purpose "Canonical RSR (Rhodium Standard Repository) template — governance, CI/CD, machine-readable metadata, ABI/FFI seam and formal-verification scaffolding that hyperpolymath projects are instantiated from."
:project "atoma"
:purpose "Experimental verification of a closed Zig subset, with source-bound obligations, model proofs and explicit replay/refinement limits."
(agent :name CLAUDE :role "proofs, compilers, repo-local implementation, CI/CD, formal verification, Rust/Idris2/Zig")
(agent :name CHATGPT :role "prose, papers, publication review, standards docs, outreach drafts, letters")
(agent :name GEMINI :role "estate audits, cross-repo sweeps, long-context triage, pattern detection")
Expand Down Expand Up @@ -1044,16 +1044,8 @@
"Axis 1 priority governs resource allocation"
"Axis 2 type governs commit categorisation"
"Axis 3 focus governs audit depth")))
; rsr-profile — this repo's declared RSR v2.0 capabilities.
; Written by just repo-init on 2026-11-07. The template's maximal
; profile was replaced at mint: declare only what this tree carries.
(rsr-profile
:version "1.0.0"
:spec "rsr-criteria-v2"
:declares-against "2.1.1-draft"
; UNASSIGNED: declare capabilities (or a preset) — see standards
; .machine_readable/template-capability-gates.toml
:capabilities ())
(rsr-profile :version "1.0.0" :spec "rsr-criteria-v2" :declares-against "2.1.4-draft"
:capabilities ("bash" "zig" "cli" "library" "formal-proofs"))
; variant — provenance contract (ADR-0002 shape; ADR-0003 use).
; Records what this repo was minted from, for re-templating tooling and
; the drift gate (scripts/check-variant-drift.sh). The mint renders
Expand Down
6 changes: 3 additions & 3 deletions build/container/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# ──────────────────────────────────────────────────────────────────────
# Primary application service
# ──────────────────────────────────────────────────────────────────────
"atoma": {
atoma: {
build: {
context: "..",
dockerfile: "build/container/Containerfile",
Expand Down Expand Up @@ -74,7 +74,7 @@
"rokur-audit:/var/log/rokur",
],
depends_on: {
"atoma": {
atoma: {
condition: "service_healthy",
},
},
Expand Down Expand Up @@ -128,7 +128,7 @@
},
},
volumes: {
"atoma-data": null,
atoma-data: null,
rokur-audit: null,
},
}
30 changes: 30 additions & 0 deletions docs/audit/2026-11-07-soundness-sprint.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,33 @@ job-aware closure check are recorded distinctly; a global pass is not claimed.
The existing SonarCloud project is `hyperpolymath_zigprove` (Atoma's previous
name); the local scanner configuration now targets that project rather than
the template's project.

== Remaining inherited gate repairs after PR 3

PR 3 was merged on 2026-11-07 while its inherited gate repairs were still
being evaluated. The following follow-up uses the actual failure evidence:

* Governance's old allowlist snapshot did not recognise the standards
repository transfer. Pin its reusable to reviewed main commit `fe57d352`.
* Adopt the canon's 2.1.4 identity and gate-table hash; the criteria hash is
unchanged. This is a declared audit target, not a conformance certificate.
* Pin the merged canonical FFI-scope repair from cicd-suite PR 93 at
`2dbe6e9c`. Declare the frame implementation and its local import closure
as the FFI scope. The CLI remains outside that lexical FFI rule.
* Repair the map staleness control in the canonical template (PR 294), with
the same change here. It now creates its own tracked/deleted fixture and
checks both index and worktree behavior instead of depending on archetypes/.
* Correct the folded manifest's repository identity and purpose, and declare
the demonstrated core capabilities instead of leaving the profile unassigned.

The native RSR applicability reader was also run, using its validated DEED
AST. It found retained template packaging/interface/release scaffolding that
does not match the declared core capabilities. That is recorded maintenance
debt, not hidden by declaring every possible capability. Broad RSR qualification
remains unearned; structural `just validate-rsr` is a different, weaker check.
Packaging/profile reconciliation is a follow-up before an experimental release.

Local lock closure and placeholder validation pass. The full local mint test
could not start without uuidgen: apt-listbugs refused the available Debian
uuid-runtime package (bug 1126894), and the refusal was not overridden.
Hosted Ubuntu CI supplies that tool and must establish the complete mint result.
13 changes: 11 additions & 2 deletions tests/e2e/use_template_mint_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,18 @@ g -C "$C" diff --quiet -- docs/architecture/REPOSITORY-MAP.adoc \
# commit, after a removal), reproduces the stale map lintel shipped.
SM="$work/stale-map"
use_template "$SM"
(cd "$SM" && rm -rf archetypes && bash scripts/gen-repo-map.sh . >/dev/null)
grep -q '^| `archetypes' "$SM/docs/architecture/REPOSITORY-MAP.adoc" \
# Create the control explicitly: minted descendants no longer carry archetypes/.
# The assertion must test index staleness, not assume a template-only directory.
printf 'map staleness control\n' > "$SM/map-staleness-control.txt"
g -C "$SM" add map-staleness-control.txt
rm "$SM/map-staleness-control.txt"
(cd "$SM" && bash scripts/gen-repo-map.sh . >/dev/null)
grep -qF 'map-staleness-control.txt' "$SM/docs/architecture/REPOSITORY-MAP.adoc" \
|| fail 'control: index mode no longer shows the pre-commit staleness; this check is vacuous'
(cd "$SM" && bash scripts/gen-repo-map.sh --worktree . >/dev/null)
if grep -qF 'map-staleness-control.txt' "$SM/docs/architecture/REPOSITORY-MAP.adoc"; then
fail 'control: worktree mode retained a deleted source'
fi
pass "the committed map is fresh (the index-mode control reproduces lintel's stale map)"

(cd "$C" && env -u GITHUB_REPOSITORY bash scripts/check-no-placeholders.sh .) > "$work/ph.log" 2>&1 \
Expand Down
6 changes: 3 additions & 3 deletions tests/workflows/governance_policy_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ console.log("PASS: unrestricted pull requests coexist with filtered pushes and m
// The replacement must still invoke the shared policy, at a locked revision.
// Derive that revision from the call so legitimate pin updates need no edit.
const use = governance.jobs.governance.uses;
const match = /^hyperpolymath\/standards\/\.github\/workflows\/governance-reusable\.yml@([a-f0-9]{40})$/.exec(use);
const match = /^(metadatastician|hyperpolymath)\/standards\/\.github\/workflows\/governance-reusable\.yml@([a-f0-9]{40})$/.exec(use);
assert.ok(match, "governance must invoke the standards reusable workflow at a full SHA");
const dependency = `hyperpolymath/standards@${match[1]}`;
const dependency = `${match[1]}/standards@${match[2]}`;
assert.deepEqual(lock.workflows[".github/workflows/governance.yml"], [dependency],
"governance's lock record must match its reusable workflow call");
assert.equal(lock.dependencies[dependency]?.commit, `sha1-${match[1]}`,
assert.equal(lock.dependencies[dependency]?.commit, `sha1-${match[2]}`,
"the governance pin must have a corresponding locked dependency commit");
console.log("PASS: governance delegates to the locked standards policy");
JS
Loading