Repository navigation
Promote #31 round-3 fixes into integration/issue-4 - #42
Merged
Merged
Conversation
… draft database (#31, #4) Answers the #33 promotion round-2 findings: - P2-01/P2-02: the approvals file limit is 16 MiB (about 240,000 revocations; tests use a 256 KiB store). Past it a denial is still saved: revocations that remove a row of the last intact file are kept, then that file's own, then the others, newest first; only the oldest revocations of apps without a row are left out, and they stay in effect for the run. Test: a file exactly at the limit, one app's receipt off and then revoke. - P-02 (reversible, pending the user's choice): when drafts.sqlite cannot be opened, agent drafts get busy instead of being accepted into memory, and the tab says so. - Claude P2-02: a speech request whose main-queue block did not run is logged as unconfirmed, not busy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7KnMPqFcfTZ8A1C2qh
…passes silently (#31) Round-2 promotion findings on the manual fixtures: - P2-03: --real-idle asserted clicks == 1 after idle, but since per-app approval (#13) the first pairing is two user actions (receipt on, then approve); 38b3953 added the second count without updating the idle check. The first pairing now asserts exactly two, and the idle check compares against the count before the idle and also asserts that no approval request is waiting and the same single app is still trusted. - P2-04: the SIGKILL restart scenario killed the registered host (the launcher). It now finds the host's one child, checks that the app's connection carries that PID (the probe's "clients" reports it), kills that helper, confirms the host reaped it as a signalled child (exit 71) and that the PID is gone, and reconnects through a new helper. - P2-05: approvals pick the request whose helper PID is the client's own helper (the launcher's child, or the process itself when started directly). The "only one request" fallback is gone, in fs.approve too. - Claude P2-01: run_speech_socket_log.py exits 3 (SKIPPED) when `log` cannot run under a sandbox, printing the requesting PID; --check-log FILE PID checks a captured `log stream` file outside the sandbox (read only) and requires the lines to carry that PID. - Codex P2-06: the log section says the draft and speech lines cover requests that reached the handler, and which earlier refusals are not logged. Agent: Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ved revocation; close SQLite once on a failed open (#31, #4) Answers the round-26 Codex finding: new revocations without a row are saved only up to the limit less an 8 KiB reserve, and a saved revocation is never pushed out by this app's own writes. Receipt and row changes use the reserve, so they always save. Revocations that remove a row are always written. Test: a revocation saved at normal size survives revocations piling up to the soft limit and another app's receipt off. Also: SQLiteDraftStore no longer closes its handle twice when setup fails (deinit runs for a failed init). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7KnMPqFcfTZ8A1C2qh
…t stays (#31) - AgentCatalogTests: a file that exists but is not SQLite (the handle is opened, setup SQL fails) and a path under a regular file both return nil from SQLiteDraftStore, 50 times each, with no crash and the file left byte-identical. Stated in the test: this does not prove the handle is closed once; SQLite rejects a second close quietly here, and the run also passes with `db = nil` removed. - docs P-06: quitting drops helper connections, receipt proofs, this-run approvals of unidentified hosts, the instruction share selection and the closed-draft key memory; drafts stay in drafts.sqlite and registered apps' approvals, revocations and receipt choices in agent-approvals.json. The old line said open drafts and approval records were lost on quit. Agent: Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the file; revocations without a row fill to 1 KiB short of it; exact fit cost (#31) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7KnMPqFcfTZ8A1C2qh
…near the limit (#31) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LJG7KnMPqFcfTZ8A1C2qh
Codex Review Summary: ✅ CompletedThis 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. |
This was referenced Nov 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promotes integration/issue-31 (f06883e, PR #41) into the single promotion candidate integration/issue-4 (#33). See #41 for the changes, the Mac evidence at 888eac7 and both round-29 reviews. In short, Antigravity agrees and Codex disagrees on one near-limit follow-up, which is recorded in #35.
Generated by Claude Code