[SLICE 05][CORE-B] Implement append-only semantic commit protocol and immutable full-IR persistence #26

Open
opened 2026-09-08 01:57:01 +00:00 by nsaspy · 0 comments
Owner

Parent epic: #13
Depends on: #22
Refines: #6
Upstream IR: prolog-rlm#392

Goal

Persist validated semantic packages as immutable canonical history while preserving every material IR distinction and exact source/compiler lineage.

Implement:

  • semantic object/assertion/event/commit identities as separate records;
  • atomic append of one projection generation;
  • idempotency key + canonical digest conflict semantics;
  • full #392 constructor persistence without per-domain schema redesign;
  • lifecycle events for assert/supersede/retract/invalidate/conflict/corroborate;
  • explicit valid-time and known/transaction-time fields;
  • unknown/incompatible IR schema quarantine;
  • namespace isolation and provenance linkage.

Acceptance

Round-trip every major semantic class; same package retry is idempotent; same idempotency key/different digest hard-fails; correction never mutates old record; source/compiler/projection/commit identities remain independently inspectable.

Parent epic: #13 Depends on: #22 Refines: #6 Upstream IR: prolog-rlm#392 ## Goal Persist validated semantic packages as immutable canonical history while preserving every material IR distinction and exact source/compiler lineage. Implement: - semantic object/assertion/event/commit identities as separate records; - atomic append of one projection generation; - idempotency key + canonical digest conflict semantics; - full #392 constructor persistence without per-domain schema redesign; - lifecycle events for assert/supersede/retract/invalidate/conflict/corroborate; - explicit valid-time and known/transaction-time fields; - unknown/incompatible IR schema quarantine; - namespace isolation and provenance linkage. ## Acceptance Round-trip every major semantic class; same package retry is idempotent; same idempotency key/different digest hard-fails; correction never mutates old record; source/compiler/projection/commit identities remain independently inspectable.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nsaspy/symbolic-memory#26
No description provided.