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
17 changes: 14 additions & 3 deletions .github/workflows/actions.lock
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,10 @@ workflows:
- 'actions/upload-pages-artifact@v5.0.0'
- 'haskell-actions/setup@v2.12.1'
'.github/workflows/proven-tests.yml':
- 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
- 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
- 'oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6'
- 'actions/cache@v6.1.0'
- 'actions/checkout@v7.0.1'
- 'actions/upload-artifact@v7.0.2'
- 'oven-sh/setup-bun@v2.2.0'
'.github/workflows/push-email-notify.yml':
- 'hyperpolymath/smtp-notify-action@v0.5.1'
'.github/workflows/quality.yml':
Expand Down Expand Up @@ -142,6 +143,11 @@ dependencies:
commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9'
owner_id: 44036562
repo_id: 192625955
'actions/upload-artifact@v7.0.2':
ref: 'v7.0.2'
commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9'
owner_id: 44036562
repo_id: 192625955
'actions/upload-pages-artifact@v5.0.0':
ref: 'v5.0.0'
commit: 'sha1-fc324d3547104276b827a68afc52ff2a11cc49c9'
Expand Down Expand Up @@ -199,6 +205,11 @@ dependencies:
commit: 'sha1-0c5077e51419868618aeaa5fe8019c62421857d6'
owner_id: 108928776
repo_id: 512644635
'oven-sh/setup-bun@v2.2.0':
ref: 'v2.2.0'
commit: 'sha1-0c5077e51419868618aeaa5fe8019c62421857d6'
owner_id: 108928776
repo_id: 512644635
'sonarsource/sonarqube-scan-action@v8.5.0':
ref: 'v8.5.0'
commit: 'sha1-59202af334b4ba7b5db01b701b8e79f8b3bef0f4'
Expand Down
34 changes: 31 additions & 3 deletions .github/workflows/proven-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
NICKEL_SHA256: '9cba4dd65ae9915ec61f73033aafcff307a377665a83fd8f530df086763318cb'
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
uses: actions/checkout@v7.0.1
with:
persist-credentials: false

Expand All @@ -44,7 +44,7 @@ jobs:
git -C "$RUNNER_TEMP/standards" checkout -q FETCH_HEAD

- name: Set up Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
uses: oven-sh/setup-bun@v2.2.0
# PROOF-POLICY 8.5.1: the receipt must read, and the grade it records must
# be the grade the canon reader derives (re-anchoring plan WO 1.5). The
# canon pin above (8e48b1c) predates the reader, so the reader has its own
Expand Down Expand Up @@ -74,6 +74,34 @@ jobs:
# reader re-derives every grade from the home repositories' receipts at
# their pinned commits (fetched, digest-checked). The check fails if the
# committed view is stale (re-anchoring plan WO 2.2).
- name: Build and test an isolated registry preview
env:
MATHESIS_STANDARDS: ${{ runner.temp }}/receipt-reader
run: |
set -euo pipefail
preview="$RUNNER_TEMP/registry-preview"
source="$RUNNER_TEMP/registry-preview-source"
mkdir -p "$preview" "$source"
git rev-parse HEAD > "$preview/source-commit.txt"
git archive HEAD | tar -x -C "$source"
cd "$source"
sha256sum scripts/registry/*.mjs tests/registry/*.mjs docs/atlas/claims/*.jsonl > "$preview/inputs.sha256"
bun scripts/registry/claims-registry.mjs build 2>&1 | tee "$preview/build.log"
cp docs/atlas/generated/registry.adoc "$preview/registry.adoc"
cp docs/atlas/generated/bridges.adoc "$preview/bridges.adoc"
cp docs/theory/generated/index.adoc "$preview/theory-index.adoc"
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
bun scripts/registry/claims-registry.mjs check 2>&1 | tee "$preview/check.log"
bun test tests/registry/ 2>&1 | tee "$preview/tests.log"
sha256sum --check --quiet "$preview/inputs.sha256"
- name: Retain registry preview and regression evidence
if: always()
uses: actions/upload-artifact@v7.0.2
with:
name: registry-preview
path: ${{ runner.temp }}/registry-preview/
if-no-files-found: error
# The real checkout is untouched by preview generation: a stale committed
# view still fails this gate, even when the isolated preview passed.
- name: Mathesis claims registry derivation and tests
env:
# The canon reader checked out above, at the pin the registry checks.
Expand Down Expand Up @@ -121,7 +149,7 @@ jobs:

- name: Cache pinned ijson-jcs and panic-attack binaries
id: cache-ijson
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
uses: actions/cache@v6.1.0
with:
path: |
~/.cargo/bin/ijson-jcs
Expand Down
1 change: 1 addition & 0 deletions docs/atlas/claims/claims.jsonl
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@
{"agda":{"module":"ResourceAlgebra.Instances.Evidence","names":["Evidence","Evidence-dioid","Evidence-ordered","Evidence-annihilating","≼→≤","≤→≼","≼-proven","⊓e-lowerˡ","⊓e-lowerʳ","⊓e-greatest"]},"claim":"E-1","id":"hyperpolymath/resource-algebra#E-1","kind":"theorem","receipt":{"path":"verification/receipts/resource-algebra-proofs_praxis.deed","sha256":"735d0044f9783c1d7fcc5443ee347e6987dd92007d4b19f36eb1705c9d4e88a7"},"repo":"hyperpolymath/resource-algebra","source_commit":"c31bf1a9ae9d186674c7ed79c6c9b018a1d59c2b","statement":"`Evidence`, the PROOF-POLICY §5 statuses as a chain (open-row < tested-only < argued < proven-with-postulates < proven), is a `ResourceAlgebra`, `IsDioid`, `IsOrdered` and `IsAnnihilating`, with ⊕ the stronger and ⊗ the weaker status; ⊗ is the meet of `≼`.","status_doc":"docs/status/PROOF-STATUS.adoc"}
{"agda":{"module":"ResourceAlgebra.Ledger","names":["eff-≼-own","eff-≼-dep","eff-≼-reach"]},"claim":"E-2","id":"hyperpolymath/resource-algebra#E-2","kind":"theorem","receipt":{"path":"verification/receipts/resource-algebra-proofs_praxis.deed","sha256":"735d0044f9783c1d7fcc5443ee347e6987dd92007d4b19f36eb1705c9d4e88a7"},"repo":"hyperpolymath/resource-algebra","source_commit":"c31bf1a9ae9d186674c7ed79c6c9b018a1d59c2b","statement":"Soundness: a ledger row's derived status is no stronger than its own evidence, than any row it depends on, or than any row it reaches through dependencies.","status_doc":"docs/status/PROOF-STATUS.adoc"}
{"agda":{"module":"ResourceAlgebra.Ledger","names":["Respects","eff-respects","restrict","eff-greatest"]},"claim":"E-3","id":"hyperpolymath/resource-algebra#E-3","kind":"theorem","receipt":{"path":"verification/receipts/resource-algebra-proofs_praxis.deed","sha256":"735d0044f9783c1d7fcc5443ee347e6987dd92007d4b19f36eb1705c9d4e88a7"},"repo":"hyperpolymath/resource-algebra","source_commit":"c31bf1a9ae9d186674c7ed79c6c9b018a1d59c2b","statement":"Maximality: the derived status respects the ledger, and every respectful assignment is below it row by row, so it is the strongest status the ledger supports.","status_doc":"docs/status/PROOF-STATUS.adoc"}
{"agda":null,"claim":"ABI-LC-D1","id":"hyperpolymath/proven#ABI-LC-D1","kind":"demonstration","receipt":{"path":"verification/receipts/lifecycle-20261125/engineering.json","sha256":"653e399024a61d3d990cc31f1e25f052ffbe9ce26b5c84d51f9c80b642992643"},"repo":"hyperpolymath/proven","source_commit":"4ac09e36c6b710099b4ceadb26066a83d949dd8f","statement":"The production Idris lifecycle policy reaches the Linux x86_64 static and shared libraries through the Zig/RefC bridge; actual C and Rust callers observe the specified initialization, shutdown and readiness behavior, and a corrupted generated lifecycle reply is rejected with readiness false.","status_doc":"docs/status/LIFECYCLE-PROOF-STATUS.adoc"}
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
14 changes: 8 additions & 6 deletions docs/atlas/generated/registry.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ assigned (§8.5). A grade is not a discharge (§8.4): `PWG-3` theorems still
owe their Rocq and Lean legs. Status of this slice: accepted in
link:../../decisions/0004-claims-registry.adoc[ADR 0004], ratified by the owner.

Census: 0 at `PWG-1`, 5 at `PWG-2ii`, 31 at `PWG-2i`, 0 at `PWG-3`, 12 `ungraded`, of 48 theorems. 5 demonstrations and assumptions are listed and not graded.
Census: 0 at `PWG-1`, 5 at `PWG-2ii`, 31 at `PWG-2i`, 0 at `PWG-3`, 12 `ungraded`, of 48 theorems. 6 demonstrations and assumptions are listed and not graded.

[cols="2,1,1,4,3",options="header"]
|===
Expand All @@ -26,6 +26,8 @@ Census: 0 at `PWG-1`, 5 at `PWG-2ii`, 31 at `PWG-2i`, 0 at `PWG-3`, 12 `ungraded

|https://github.com/hyperpolymath/mathesis/blob/10f9f46ff7e1c8a0433164bc8bf6d8f30842fd4c/docs/status/PROOF-STATUS.adoc[hyperpolymath/mathesis#THY-1] at `10f9f46ff7e1`; the receipt describes `8c55804163fd` |theorem |`PWG-2ii` |In a dependency graph whose edges are guarded by features closed under Horn rules, and by an arbitrary per-target condition, a node unreachable with every feature requested is unreachable under any request, on each target (`Cargo.absent-under-all-features`). The general form is `Monotone.reach-mono`: reachability over a monotone family of edge sets is monotone. (`FeatureReachability`: `Cargo.absent-under-all-features`, `Monotone.reach-mono`) |the reader derives PWG-2ii from the legs and receipts at `8c55804163fd`

|https://github.com/hyperpolymath/proven/blob/4ac09e36c6b710099b4ceadb26066a83d949dd8f/docs/status/LIFECYCLE-PROOF-STATUS.adoc[hyperpolymath/proven#ABI-LC-D1] at `4ac09e36c6b7`; the receipt describes `8da3131d19ef` |demonstration |`ungraded` |The production Idris lifecycle policy reaches the Linux x86_64 static and shared libraries through the Zig/RefC bridge; actual C and Rust callers observe the specified initialization, shutdown and readiness behavior, and a corrupted generated lifecycle reply is rejected with readiness false. |demonstration, not a theorem (§8.1); engineering identity, declared source binding and evidence digests checked; execution and source correspondence not re-proved

|https://github.com/hyperpolymath/resource-algebra/blob/c31bf1a9ae9d186674c7ed79c6c9b018a1d59c2b/docs/status/PROOF-STATUS.adoc[hyperpolymath/resource-algebra#C-1] at `c31bf1a9ae9d`; the receipt describes `15fa113c7427` |theorem |`PWG-2i` |`ResourceAlgebra`: alternatives form an idempotent commutative monoid and sequencing a monoid. (`ResourceAlgebra.Core`: `ResourceAlgebra`, `IsAltMonoid.unitʳ`) |the reader derives PWG-2i from the legs and receipts at `15fa113c7427`

|https://github.com/hyperpolymath/resource-algebra/blob/c31bf1a9ae9d186674c7ed79c6c9b018a1d59c2b/docs/status/PROOF-STATUS.adoc[hyperpolymath/resource-algebra#C-2] at `c31bf1a9ae9d`; the receipt describes `15fa113c7427` |theorem |`PWG-2i` |The relation `≼` induced by ⊕ is a partial order. `𝟘` is least and `⊕` is its join. (`ResourceAlgebra.Core`: `≼-refl`, `≼-trans`, `≼-antisym`, `𝟘-least`, `⊕-upperˡ`, `⊕-upperʳ`, `⊕-least`) |the reader derives PWG-2i from the legs and receipts at `15fa113c7427`
Expand Down Expand Up @@ -94,19 +96,19 @@ Census: 0 at `PWG-1`, 5 at `PWG-2ii`, 31 at `PWG-2i`, 0 at `PWG-3`, 12 `ungraded

|https://github.com/hyperpolymath/secret-types/blob/4ed067220f1357b37f7d54c5ae0690ff35b292bd/PROOF-STATUS.adoc[hyperpolymath/secret-types#N-3] at `4ed067220f13` |theorem |`ungraded` |Confinement: under a secret program counter the public variable is unchanged, loops included (`SecretTypes.Noninterference`: `confine`) |the canon reader refuses the receipt: claim "N-1" records :pwg PWG-1, but its legs and receipts support PWG-2ii (PROOF-POLICY §8.2, §8.4)

|https://github.com/hyperpolymath/secret-types/blob/4ed067220f1357b37f7d54c5ae0690ff35b292bd/PROOF-STATUS.adoc[hyperpolymath/secret-types#N-4] at `4ed067220f13` |demonstration |`ungraded` |The typing side-condition is load-bearing: an explicit and an implicit flow are each refused and each actually leaks |demonstration, not a theorem (§8.1)
|https://github.com/hyperpolymath/secret-types/blob/4ed067220f1357b37f7d54c5ae0690ff35b292bd/PROOF-STATUS.adoc[hyperpolymath/secret-types#N-4] at `4ed067220f13` |demonstration |`ungraded` |The typing side-condition is load-bearing: an explicit and an implicit flow are each refused and each actually leaks |demonstration, not a theorem (§8.1); the canon reader refuses the receipt: claim "N-1" records :pwg PWG-1, but its legs and receipts support PWG-2ii (PROOF-POLICY §8.2, §8.4)

|https://github.com/hyperpolymath/secret-types/blob/4ed067220f1357b37f7d54c5ae0690ff35b292bd/PROOF-STATUS.adoc[hyperpolymath/secret-types#N-5] at `4ed067220f13` |demonstration |`ungraded` |Termination-insensitivity is real, not vacuous: a well-typed program spins on one secret and stops on another |demonstration, not a theorem (§8.1)
|https://github.com/hyperpolymath/secret-types/blob/4ed067220f1357b37f7d54c5ae0690ff35b292bd/PROOF-STATUS.adoc[hyperpolymath/secret-types#N-5] at `4ed067220f13` |demonstration |`ungraded` |Termination-insensitivity is real, not vacuous: a well-typed program spins on one secret and stops on another |demonstration, not a theorem (§8.1); the canon reader refuses the receipt: claim "N-1" records :pwg PWG-1, but its legs and receipts support PWG-2ii (PROOF-POLICY §8.2, §8.4)

|https://github.com/hyperpolymath/secret-types/blob/4ed067220f1357b37f7d54c5ae0690ff35b292bd/PROOF-STATUS.adoc[hyperpolymath/secret-types#N-6] at `4ed067220f13` |demonstration |`ungraded` |Laws census: generic TINI uses exactly the two upper-bound laws and the observer's down-closure (law-ablation certificate) |demonstration, not a theorem (§8.1)
|https://github.com/hyperpolymath/secret-types/blob/4ed067220f1357b37f7d54c5ae0690ff35b292bd/PROOF-STATUS.adoc[hyperpolymath/secret-types#N-6] at `4ed067220f13` |demonstration |`ungraded` |Laws census: generic TINI uses exactly the two upper-bound laws and the observer's down-closure (law-ablation certificate) |demonstration, not a theorem (§8.1); the canon reader refuses the receipt: claim "N-1" records :pwg PWG-1, but its legs and receipts support PWG-2ii (PROOF-POLICY §8.2, §8.4)

|https://github.com/hyperpolymath/secret-types/blob/4ed067220f1357b37f7d54c5ae0690ff35b292bd/PROOF-STATUS.adoc[hyperpolymath/secret-types#N-7] at `4ed067220f13` |theorem |`ungraded` |TINI over the Lattice record: for every variable set with decidable equality, lattice, labelling and down-closed observer, two finishing runs of a well-typed command from stores agreeing on what the observer sees end agreeing on it (`SecretTypes.Noninterference.Generic`: `tini`) |the canon reader refuses the receipt: claim "N-1" records :pwg PWG-1, but its legs and receipts support PWG-2ii (PROOF-POLICY §8.2, §8.4)

|https://github.com/hyperpolymath/secret-types/blob/4ed067220f1357b37f7d54c5ae0690ff35b292bd/PROOF-STATUS.adoc[hyperpolymath/secret-types#N-8] at `4ed067220f13` |theorem |`ungraded` |Each census law is necessary: dropping an upper-bound law or observer down-closure admits a well-typed leaking program; transitivity is necessary for principal observers (`SecretTypes.Countermodels`: `NoUpper₁.refutes`, `NoUpper₂.refutes`, `NoDownClosure.refutes`, `NoTrans.refutes`) |the canon reader refuses the receipt: claim "N-1" records :pwg PWG-1, but its legs and receipts support PWG-2ii (PROOF-POLICY §8.2, §8.4)

|https://github.com/hyperpolymath/secret-types/blob/4ed067220f1357b37f7d54c5ae0690ff35b292bd/PROOF-STATUS.adoc[hyperpolymath/secret-types#N-9] at `4ed067220f13` |theorem |`ungraded` |If an observer sees finishing versus not finishing, termination-sensitive noninterference is false for the current typing rules (`SecretTypes.Noninterference.OutcomeVisibility`: `termination-sensitive-fails`) |the canon reader refuses the receipt: claim "N-1" records :pwg PWG-1, but its legs and receipts support PWG-2ii (PROOF-POLICY §8.2, §8.4)

|https://github.com/metadatastician/lintel/blob/d7bdc21a1264f08d7b4368f5d5dadc163630a1bc/docs/status/PROOF-STATUS.adoc[metadatastician/lintel#A-1] at `d7bdc21a1264` |assumption |`ungraded` |Non-collusion: no party holds both the proxy and the target role (the gap is proved: collusion-gap) |assumption, not a theorem (§8.1)
|https://github.com/metadatastician/lintel/blob/d7bdc21a1264f08d7b4368f5d5dadc163630a1bc/docs/status/PROOF-STATUS.adoc[metadatastician/lintel#A-1] at `d7bdc21a1264` |assumption |`ungraded` |Non-collusion: no party holds both the proxy and the target role (the gap is proved: collusion-gap) |assumption, not a theorem (§8.1); the canon reader refuses the receipt: line 12: identity field :repo-uuid carries a #u5 literal; write #uuid"<v8 id>" or #u8"domain:name" (owner ruling Q2, CHORA-SPEC 7.1)

|https://github.com/metadatastician/lintel/blob/d7bdc21a1264f08d7b4368f5d5dadc163630a1bc/docs/status/PROOF-STATUS.adoc[metadatastician/lintel#L-1] at `d7bdc21a1264` |theorem |`ungraded` |A lattice, not just a poset: ⊑ is a decidable partial order, ⊔ and ⊓ are least upper and greatest lower bounds, anyone is least and no-one greatest (`Lintel.Lattice`: `⊑-refl`, `⊑-trans`, `⊑-antisym`, `⊔-upper₁`, `⊔-upper₂`, `⊔-least`, `⊓-lower₁`, `⊓-lower₂`, `⊓-greatest`, `anyone-least`, `no-one-greatest`, `no-one-⋢-anyone`, `_⊑?_`) |the canon reader refuses the receipt: line 12: identity field :repo-uuid carries a #u5 literal; write #uuid"<v8 id>" or #u8"domain:name" (owner ruling Q2, CHORA-SPEC 7.1)

Expand All @@ -116,7 +118,7 @@ Census: 0 at `PWG-1`, 5 at `PWG-2ii`, 31 at `PWG-2i`, 0 at `PWG-3`, 12 `ungraded

|https://github.com/metadatastician/lintel/blob/d7bdc21a1264f08d7b4368f5d5dadc163630a1bc/docs/status/PROOF-STATUS.adoc[metadatastician/lintel#L-4] at `d7bdc21a1264` |theorem |`ungraded` |Address and query name each reach their own role; composed, only the client may observe them (`Lintel.Lattice`: `address-to-proxy`, `qname-to-target`, `link`, `link-confined`) |the canon reader refuses the receipt: line 12: identity field :repo-uuid carries a #u5 literal; write #uuid"<v8 id>" or #u8"domain:name" (owner ruling Q2, CHORA-SPEC 7.1)

|https://github.com/metadatastician/lintel/blob/d7bdc21a1264f08d7b4368f5d5dadc163630a1bc/docs/status/PROOF-STATUS.adoc[metadatastician/lintel#L-5] at `d7bdc21a1264` |demonstration |`ungraded` |The typechecker refuses the self-defeating compositions and accepts the client's |demonstration, not a theorem (§8.1)
|https://github.com/metadatastician/lintel/blob/d7bdc21a1264f08d7b4368f5d5dadc163630a1bc/docs/status/PROOF-STATUS.adoc[metadatastician/lintel#L-5] at `d7bdc21a1264` |demonstration |`ungraded` |The typechecker refuses the self-defeating compositions and accepts the client's |demonstration, not a theorem (§8.1); the canon reader refuses the receipt: line 12: identity field :repo-uuid carries a #u5 literal; write #uuid"<v8 id>" or #u8"domain:name" (owner ruling Q2, CHORA-SPEC 7.1)

|https://github.com/metadatastician/lintel/blob/d7bdc21a1264f08d7b4368f5d5dadc163630a1bc/docs/status/PROOF-STATUS.adoc[metadatastician/lintel#L-6] at `d7bdc21a1264` |theorem |`ungraded` |tini holds at this lattice over the address, the query name and the client's local state, for each role's observer and for any two roles observing together (`Lintel.Instance`: `tini-per-role`, `tini-coalition`) |the canon reader refuses the receipt: line 12: identity field :repo-uuid carries a #u5 literal; write #uuid"<v8 id>" or #u8"domain:name" (owner ruling Q2, CHORA-SPEC 7.1)

Expand Down
Loading
Loading