Repository navigation
fix(core): reclaim acknowledged command observations safely - #391
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6c8cf0b94e
ℹ️ 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".
3858e17 to
083a2be
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 083a2be304
ℹ️ 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".
083a2be to
a781579
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
a781579 to
d496653
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
The persistent worker could refuse all future commands after retaining 10,000 observations. Trusted SDK consumers can now acknowledge terminal results after saving or deliberately discarding them, reclaiming their output and result rows while retaining compact IDs and request hashes that prevent replay. Acknowledgements are bounded, atomic and idempotent; running work and unacknowledged results are preserved across restart.
Verified: 60 focused command-owner/custody/server tests, including capacity reclamation at 10,000 rows, replay prevention after restart, atomic rejection, journal migration and cancellation during saturated reclamation. The real SDK example runs, reopens its result and acknowledges it. Formatting, repository lint and core/server Clippy including tests/examples pass; platform CI runs on this PR.
Stacked on #388; prerequisite for #389's session integration. This PR adds the reclamation API and its SDK caller. Session-result persistence must be wired before acknowledging ordinary agent commands. Compact retired identities still grow with history. Does not add filesystem or network containment.