Skip to content

feat(aer1): verify chain, commitment and workflow timelines (not checked 100 → 49) - #116

Merged
EslaM-X merged 1 commit into
mainfrom
feat/aer1-timelines
Nov 23, 2026
Merged

EslaM-X merged 1 commit into
mainfrom
feat/aer1-timelines

Conversation

@EslaM-X

@EslaM-X EslaM-X commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

The three timeline families leave not_checked and are judged vector by vector against the same pinned corpus. No conformance claim is added; what changes is that the table now covers 94 of 143 vectors instead of 43.

chain v1 — 7/7. Entry digest over the base64-decoded canonical bytes, zero genesis, every link recomputed, close boolean and true only on the last entry.

chain -07 — 28/28. The fortified digest that binds prev_digest, seq, job_id, close, id, tool, provenance_class and the output commitment. Canonical JSON with member names by code point, RFC 8259 escaping with \uXXXX for non-ASCII. That detail is load-bearing: the reference-encoding vector only matches when short escapes are used (\n, not \u000a), and the ax-esc-* vectors break exactly where they should.

commitment — 8/8. Chain must verify, then job, entry count, final entry digest and publication time bind. entry_count: 5.0 is refused even though JSON parses it to 5: the lexeme is the claim, and the corpus says so.

workflow Merkle — 8/8. Both constructions under the declared merkle_version: receipt-id-v0 leaves over the receipt id, seq-output-v1 leaves over seq:output_hash, odd levels duplicating the last digest. An unknown version is a refusal, never a guess.

Table — agree 94, false accepts 0, false rejects 0, not checked 49 (merkle 9, anchor 8, anchored 6, unicode 5, schema-0.4 records 21). Joined kit column unchanged, still zero divergences.

Tests — aer1-timeline-checks.test.mjs runs each whole family plus the specific refusals (tamper, relabel, wrong encoding, fractional count, wrong construction, unknown version). Interop test pins 94/0/0/49 and 7/28/8/8 per family.

Checks locally: timeline + interop + record + doc-numbers + status-truth 30/30, claims audit PASS.

Three families leave not_checked and are now judged vector by vector against
the pinned corpus:

- chain v1 (7): entry digest over the decoded bytes, genesis, links, and close
  true only on the last entry.
- chain -07 (28): the entry digest that binds prev_digest, seq, job_id, close,
  id, tool, provenance_class and the output commitment, serialized as canonical
  JSON (keys by code point, RFC 8259 escaping, non-ASCII as \uXXXX).
- commitment (8): job, length, final entry digest and publication time, with
  the fractional entry_count spelling refused because 5.0 is a different claim
  from 5 even though JSON parses both to 5.
- workflow Merkle (8): both constructions under the declared merkle_version —
  receipt-id-v0 leaves and seq-output-v1 "seq:output_hash" leaves — with the
  odd-level last-duplication rule. An unknown version is a refusal, never a
  guess.

Table: agree 94 (was 43), false accepts 0, false rejects 0, not checked 49 (was
100). Every family gets a test that runs the whole pinned family, so a weak
rule surfaces as a false accept and a strong one as a false reject.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@EslaM-X
EslaM-X merged commit 090181a into main Nov 23, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant