You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The check verdict as a pure function: given a presented token and the current frontier, return nothing-new | delta (with per-input after-seq positions) | resync (frontier unreachable). A token failing signature/view verification is treated as no token, never an error (§6.5).
Acceptance: unit + property tests — frontier comparison is reflexive/transitive-consistent; a token issued at the current frontier yields nothing-new; an advanced input yields delta naming exactly the advanced inputs; an unreachable frontier yields resync. Oracle: the §6.3 check table in the design record.
Scope: §6 of the #9128 record (doc/2026-11-23_design_id9128_social_app_reference_model.md) as pure logic in id-core: FreshnessToken (view_id / frontier / issued_at / server / signature, canonical-CBOR encoding + ed25519 sign/verify seam per Part A conventions), the Frontier type (per-input list head-seq + tombstone revision, relation checkpoint; component-wise partial order), and the check as a pure function returning nothing-new | delta (per-input after positions) | resync, with a signature/view-failing token treated as no token (§6.5). Unit + property tests against the §6.3 check table. Siblings #13095/#13096 untouched; the frontier types defined here are the seam they build on.
What landed (id-core, new freshness module, pure logic — no I/O/store/clock):
FreshnessToken: view_id (hash of the canonical view definition), frontier, issued_at, server, ed25519 signature over the canonical-CBOR signed fields with the Part A domain-prefixed preimage; full encode/decode with critical-field rejection.
check_freshness: NoToken (absent/forged/foreign/wrong-view — §6.5, never an error) | NothingNew | Delta naming exactly the advanced inputs with the token's after positions | Resync (below the retention floor, beyond current, diverged, changed input set).
Evidence:
Tests: 18 unit tests walking the §6.3 table + 4 proptest properties (reflexivity, transitive consistency, the §6.3 verdict oracle, floor resync).
Sandbox run (completed just before the 2026-11-23 remote-only directive landed mid-task; rustup 1.99.0): freshness 22 passed / 0 failed; full id-core lib 562 passed / 0 failed / 1 ignored; clippy --all-targets clean for freshness.rs; module-reach delta zero.
Remote verification per the directive: cargo test --manifest-path pkgs/id/Cargo.toml -p id-core --lib dispatched on the branch, handle fp_b28e233d8fae833289d8bed22f8981f1 — still queued at placement as of this note (all tiers exhausted at submission; recorded, never dropped). Track: fleet queue session status fp_b28e233d8fae833289d8bed22f8981f1.
Seam for the siblings: #13095/#13096 consume the Frontier/FreshnessToken types defined here; #13096 owns rendering against a pinned (before-date) frontier.
Activity
developing-today commentedon Nov 23, 2026
CODE-4779
dezren39 commentedon Nov 23, 2026
Pickup — xaltha lane taking #13094.
Scope: §6 of the #9128 record (
doc/2026-11-23_design_id9128_social_app_reference_model.md) as pure logic in id-core:FreshnessToken(view_id / frontier / issued_at / server / signature, canonical-CBOR encoding + ed25519 sign/verify seam per Part A conventions), theFrontiertype (per-input list head-seq + tombstone revision, relation checkpoint; component-wise partial order), and the check as a pure function returning nothing-new | delta (per-input after positions) | resync, with a signature/view-failing token treated as no token (§6.5). Unit + property tests against the §6.3 check table. Siblings #13095/#13096 untouched; the frontier types defined here are the seam they build on.feat(id-core): freshness token + frontier check as pure logic (#13094)
dezren39 commentedon Nov 23, 2026
Progress — #13094 landed as PR #13151 (#13151), branch
xaltha/13094-freshness-token@ 71ec29f, says Closes #13094.What landed (id-core, new
freshnessmodule, pure logic — no I/O/store/clock):FreshnessToken: view_id (hash of the canonical view definition), frontier, issued_at, server, ed25519 signature over the canonical-CBOR signed fields with the Part A domain-prefixed preimage; full encode/decode with critical-field rejection.Frontier: per-input marks — list = accepted head sequence (design(id): append-list user-attribute protocol — signed submission, server order, pending queue #9127 §4) + tombstone-set revision (design(id): true-delete + moderation pipeline #9130); relation = projection checkpoint (research(id): triple encoding bake-off — compressed binary vs JSONB vs normalized byte-key maps #9125); component-wise product partial order.check_freshness: NoToken (absent/forged/foreign/wrong-view — §6.5, never an error) | NothingNew | Delta naming exactly the advanced inputs with the token's after positions | Resync (below the retention floor, beyond current, diverged, changed input set).Evidence:
cargo test --manifest-path pkgs/id/Cargo.toml -p id-core --libdispatched on the branch, handlefp_b28e233d8fae833289d8bed22f8981f1— still queued at placement as of this note (all tiers exhausted at submission; recorded, never dropped). Track:fleet queue session status fp_b28e233d8fae833289d8bed22f8981f1.Seam for the siblings: #13095/#13096 consume the
Frontier/FreshnessTokentypes defined here; #13096 owns rendering against a pinned (before-date) frontier.