Skip to content

unii: add Phase 2 durable storage and checkpoint replay - #77

Closed
pyrex41 wants to merge 9 commits into
cursor/unii-phase0-phase1-8a71from
cursor/unii-phase2-storage-5d00
Closed

pyrex41 wants to merge 9 commits into
cursor/unii-phase0-phase1-8a71from
cursor/unii-phase2-storage-5d00

Conversation

@pyrex41

@pyrex41 pyrex41 commented Oct 9, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • merge the latest lead branch with Reuben’s R1–R6 decisions and updated rule bundle
  • externalize summary-uncertain raw leaf text to content-addressed blobs; physical journals retain hash/size references
  • preserve complete summary-round state, best candidates, provisional lines, outstanding commands, and dispatch intents in checkpoints
  • restore checkpointed in-flight jobs as uncertain without resend, and restore uncertain provisional lines without replaying earlier records
  • retain daily shards, rebuildable indexes, streaming recovery, OS locking, durability ordering, and exhaustive fault injection

Verification

  • luajit unii/test/run.lua --with-upstream — 108 passed, 0 failed, 0 skipped
  • luajit unii/test/network/run.lua — 18 passed, 0 failed, 1 credential-gated smoke skip
  • luajit unii/eval/oracle/spec.lua — 15 passed, 0 failed
  • luajit unii/eval/oracle/generate_fixtures.lua --check — fixtures unchanged

Known gaps

  • backup/restore and blob garbage collection remain unimplemented
  • index metadata remains proportional to history
  • macOS durability behavior is implemented but not CI-tested
Open in Web Open in Cursor 

cursoragent and others added 7 commits October 9, 2026 08:47
Co-authored-by: pyrex41 <pyrex41@users.noreply.github.com>
Co-authored-by: pyrex41 <pyrex41@users.noreply.github.com>
Co-authored-by: pyrex41 <pyrex41@users.noreply.github.com>
Co-authored-by: pyrex41 <pyrex41@users.noreply.github.com>
Co-authored-by: pyrex41 <pyrex41@users.noreply.github.com>
Co-authored-by: pyrex41 <pyrex41@users.noreply.github.com>
Co-authored-by: pyrex41 <pyrex41@users.noreply.github.com>
cursoragent and others added 2 commits October 9, 2026 10:35
Co-authored-by: pyrex41 <pyrex41@users.noreply.github.com>
Co-authored-by: pyrex41 <pyrex41@users.noreply.github.com>
cursor Bot pushed a commit to pyrex41/unii that referenced this pull request Oct 9, 2026
History of shen-lua's unii/ directory from branch
cursor/unii-phase2-storage-5d00 at c9514936241154fc7be151792669fb140e80a87e
(pyrex41/shen-lua#77, which contains the lead branch
cursor/unii-phase0-phase1-8a71 / pyrex41/shen-lua#76, the oracle from
pyrex41/shen-lua#74 and the libcurl adapter from pyrex41/shen-lua#75),
rewritten with git filter-repo --subdirectory-filter unii so the directory
is the repository root. Bare PR references in messages were qualified as
pyrex41/shen-lua#NN.

Co-authored-by: pyrex41 <pyrex41@users.noreply.github.com>

pyrex41 commented Oct 9, 2026

Copy link
Copy Markdown
Owner Author

Superseded: unii moved to its own repo, https://github.com/pyrex41/unii (history preserved). Closing.

@pyrex41 pyrex41 closed this Oct 9, 2026
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.

2 participants