Skip to content

LBA REQ 079

github-actions[bot] edited this page Nov 19, 2026 · 2 revisions

LBA-REQ-079: The append-only consistency proof (the mesh transparency log only grows)

Status

Proven

Area

Deployment / mesh (ADR-0060 -- the append-only consistency proof, roadmap Phase 3)

Statement

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).

Rationale

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.

Acceptance Criteria

  • meshLogHistory.mjs builds a logged-collection-history@1 binding an EARLIER signed tree head (the log at firstSize) + 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-0022 signTreeHead / consistencyProof.
  • validateHistory requires 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-only proves 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); and mesh-run.yml runs the append-only step. The enrolled log PUBLIC key is committed; the private key is not.

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

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).

TestID

T-079

CodeRef

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

RTM Status

Proven

Clone this wiki locally