Repository navigation
LBA REQ 079
Proven
Deployment / mesh (ADR-0060 -- the append-only consistency proof, roadmap Phase 3)
The system shall admit the mesh transparency log's current tree head only when a consistency proof proves it contains an earlier signed tree head unchanged -- so a fail-closed gate proves the log is APPEND-ONLY (no logged attestation removed or rewritten as it grew).
ADR-0059 records the attestations into a signed Merkle log and proves each is INCLUDED, and calls the log append-only -- but inclusion alone does not prove the log only GROWS: a malicious or buggy log operator could publish a new tree head that silently drops or rewrites an earlier entry, and each inclusion proof against that head would still verify. The RFC-6962 consistency proof (already in the ADR-0022 acg-transparency engine) proves a later tree head extends an earlier one with no entry removed or altered.
-
meshLogHistory.mjsbuilds alogged-collection-history@1binding an EARLIER signed tree head (the log atfirstSize) + the CURRENT signed tree head (the full log) + the RFC-6962 consistency proof between them, over the real attestation entry leaves, by REUSING the ADR-0022signTreeHead/consistencyProof. -
validateHistoryrequires both tree heads to verify against the enrolled log key + share the log identity, the log to have STRICTLY GROWN (firstSize < secondSize), the consistency proof to prove append-only extension (verifyConsistency), and the current tree head to be the real attestation set AND to match the committed LBA-REQ-078 log by Merkle root + size. It fails closed on an unsigned/wrong-key tree head, a non-growing or shrinking log, a consistency proof that does not verify (a rewritten/forked log), a current head that does not match the committed log, or a tampered digest. - The gate
mesh-log-append-onlyproves offline: the selftest (7/7); the committed history re-verifies (both signed tree heads + the consistency proof); the log strictly grew; the current tree head is the committed LBA-REQ-078 log (same Merkle root + size); andmesh-run.ymlruns the append-only step. The enrolled log PUBLIC key is committed; the private key is not.
the verifier + selftest + committed history + log-history key live under
experiments/mesh-fulfillment/ (meshLogHistory.mjs / .selftest.mjs / mesh-run-log-history.json /
mesh-log-history-key.json); the workflow step is in .github/workflows/mesh-run.yml; gate
mesh-log-append-only in verify-local-gates. Inclusion (LBA-REQ-078) + consistency (here) are the full RFC-6962
transparency guarantee for the mesh. Authored under the singular-requirement directive (one shall).
experiments/mesh-fulfillment/meshLogHistory.mjs; experiments/mesh-fulfillment/meshLogHistory.selftest.mjs; experiments/mesh-fulfillment/mesh-run-log-history.json; experiments/mesh-fulfillment/mesh-log-history-key.json; experiments/acg-transparency/transparency-log.mjs; .github/workflows/mesh-run.yml; experiments/verify-local-gates.mjs
Proven