Skip to content

feat(store): persist inventory and operations - #10

Open
polaz wants to merge 12 commits into
mainfrom
feat/#9-store
Open

polaz wants to merge 12 commits into
mainfrom
feat/#9-store

Conversation

@polaz

@polaz polaz commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add embedded disk-backed current inventory, independent source freshness and native graph relations without automatic application history.
  • Persist operation intent, audit, retry checkpoints and durable work atomically, with target lease fencing and conservative crash/restore behavior.
  • Add bounded discovery previews, admission and resumable cleanup, with real disk tests and workspace CI integration.

Testing

Validated on macOS aarch64 with disk regression tests, storage compilation, Clippy, formatting and smoke/reopen. CI runs the full workspace, doc, bare-metal policy and Rust/TypeScript/Chromium interoperability gates on Linux.

Limitations

Logical application budgets do not establish a physical database-file cap. Physical reclamation, multi-node runtime and combined identity-provider restore remain unqualified. The pinned Git dependency graph includes an upstream C build helper. This host library is not an installable application or an authorization/executor implementation.

Closes #9

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-24T20:59:24.479731Z 8017d5d New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: abf86011cb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/omloom-store/src/disk/operations.rs Outdated
Comment thread crates/omloom-store/src/disk/operations.rs
Comment thread crates/omloom-store/src/disk/operations.rs
polaz added 3 commits October 24, 2026 23:37
Add a resumable operation-ID cursor and a disk regression that reaches later work after unresolved entries and reopen.
Reject replacement of provider task identity and cover atomic refusal, repeated evidence and reopen in a disk regression.
Reserve terminal detail and recovery audit capacity at admission. Keep recovery leases renewable under full quotas and release reservation charges atomically on settlement. Add disk regressions for admission refusal, full row/byte/total budgets, takeover and concurrent reservations.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1f91b02b33

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/omloom-store/src/disk/operations.rs Outdated
Comment thread crates/omloom-store/src/disk/operations.rs Outdated
Comment thread crates/omloom-store/src/disk/lifecycle.rs
polaz added 3 commits October 24, 2026 23:53
Allow the next operation to claim a settled target before the old expiry while preserving epoch fencing. Cover immediate reuse and reopen in a disk regression.
Separate monotonic effect knowledge from operation success. Accept confirmed partial failures and attention states, reject contradictory evidence, and cover direct and recovered results in a disk regression.
Use a host-supplied backup input ceiling independently of logical application quotas. Cover a host-wide backup larger than the unchanged Omloom policy and reject oversized input before creating destination files.
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.

feat(store): persist inventory and operations

1 participant