GeezerVison is showing github.com — id: talk page + changelog — record types, canonical hashing, chain verifier (slice 1 of #5834) · Issue #14274 · developing-today/code
id: talk page + changelog — record types, canonical hashing, chain verifier (slice 1 of #5834) #14274DescriptionImplementation slice 1 of the #5834 design record (per-object talk page + changelog data model).
Source of record: doc/2026-11-23T21-10-00Z_design_id5834_talk_page_changelog/, landed by PR #13756 (merged 2026-11-24, merge SHA 1d964139d48975bb860ca19752bd43399e0efd7f). Design issue: #5834 (closed, resolved in substance). Parent: #5677. Epic: #2056.
Scope (record, "Proposed slices" #1)
Post and changelog record types, canonical hashing, and the chain verifier.
Per the record's Decision: a talk-page post is an immutable record (post_id = content hash of the canonical record, object_id, parent_post_id, author = signing identity, created_at author + receipt time, body, optional supersedes); a changelog entry is an append-only, hash-chained record per object (seq, object_id, prev_hash, hash, kind, actor, at, refs, summary). This slice builds those types, the canonical hashing they depend on, and a verifier that can replay a per-object chain from any retained checkpoint.
Invariants this slice must hold (from the record)
- A post and a changelog entry, once written, are never mutated.
- Every changelog entry names exactly one actor, and that actor signed it.
- The changelog chain per object verifies end to end from its first entry.
(The record's full invariant list has six entries; the remaining three are carried by slices 2–4 and bind this slice's types as well.)
Acceptance
- Record types + canonical hashing implemented for posts and changelog entries, with the record's field shapes.
- Chain verifier proves invariant 3 and detects a gap or changed hash on read.
- This issue cites the design record path and PR design(id): per-object talk page and changelog data model (#5834) #13756 (done above); implementation PRs link back here, id: design: per-object talk page + changelog (from #5677) #5834, id: design: ID notes, message board, and multiplayer editing v1 #5677, and epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-24T09:53:17Z",
"session_id": null,
"lane": null,
"host": "amd",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "oc-code-05",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Activitydeveloping-today commented on Nov 24, 2026 dezren39 commented on Nov 25, 2026 Claimed by lane 8, 2026-11-25T01:22Z. Building the post/changelog record types, canonical hashing and the chain verifier in pkgs/id.
Generated by Claude Code developing-today-fleet commented on Nov 25, 2026 Intake review
- Related: design issue id: design: per-object talk page + changelog (from #5677) #5834 (closed; source record landed by PR design(id): per-object talk page and changelog data model (#5834) #13756); parent issue id: design: ID notes, message board, and multiplayer editing v1 #5677; epic issue epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056; follow-on slices issue id: talk page read/write over the ID query surface, supersedes display collapse (slice 2 of #5834) #14270 / issue id: talk page read/write over the ID query surface, supersedes display collapse (slice 2 of #5834) #14275 (slice 2), slices 3–4 filings, and design follow-on issue id: design: physical erasure of redacted talk-page/changelog bodies (follow-on of #5834) #14278.
- Notes: the body already carries an
## Acceptance list, so no acceptance-criteria section was appended. This is slice 1 — record types, canonical hashing, chain verifier — and slices 2–4 depend on its types, so it is the sequencing head of the set.
- Risks: canonical-hashing choices are hard to change after slices 2–4 build on them; the verifier must detect both gaps and changed hashes, per the body's acceptance list.
- Suggested approach: implement the record types exactly with the record's field shapes, land the chain verifier with gap/tamper tests in the same PR, and link implementation PRs back here, id: design: per-object talk page + changelog (from #5677) #5834, id: design: ID notes, message board, and multiplayer editing v1 #5677 and epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056 as the body requires.
🤖 Fleet monitor intake (repo-fleet-monitor, 2026-11-24 run) — labels normalised, meta/enriched applied; acceptance already present in the body under ## Acceptance.
dezren39 commented on Nov 25, 2026 Note for this slice from the #14278 erasure decision (PR #14775, doc/2026-11-25T02-00-00Z_design_id14278_physical_erasure/): before the record types land, commit to post and changelog bodies through a salted body_commitment = H(domain_tag || salt || body) (fresh 32-byte salt per body), keep salt and body bytes in a separate body store keyed by the commitment, and have the chain verifier accept an absent body. Doing it now avoids a schema change later; it keeps the #5834 invariants 3 and 4 while allowing erasure.
Generated by Claude Code added a commit that references this issue on Nov 25, 2026This issue will close once commit e0fdc0a is merged into the 'main' branch.e0fdc0a
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|