Repository navigation
fix(core): keep Auto permission decisions unattended - #446
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: e0d716a2a8
ℹ️ 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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3b4331a9ff
ℹ️ 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".
|
@codex review Please review current head b37944e. The Full-root allowlist finding is fixed: explicit flags seed Full and Auto roots before spawning bounded Auto write children. The real headless Full/Auto-child regression failed before and passes after; 161 targeted tests and strict qq/qq-core Clippy pass. All three prior findings are addressed with replies and resolved threads. Please check authority propagation, root mode handling and mandatory child supervision. |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. 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". |
|
@codex review Current head 513c443 only refreshes two existing sleep-inventory line locations after adding the reviewed headless fixture; no test sleep, runtime behavior or ceiling changed. Correctly bound repository lint passes (66/66). Prior functional head b37944e has a clean Codex review and passed 161 targeted tests plus strict Clippy. All findings are resolved. Please provide final current-head review. |
…aits # Conflicts: # xtask/src/legacy-sleeps.txt
513c443 to
a3d373f
Compare
|
@codex review Rebased onto current main and aligned the dependency stack. Please review the current head against its current base. |
|
Codex Review: Didn't find any major issues. 🎉 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". |
|
@codex review Please review current head |
|
Codex Review: Didn't find any major issues. Keep it up! 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". |
…nreachable trust prompt (#476) * refactor(tui): delete the unreachable project trust prompt Since #446 every startup path ignores untrusted project configuration instead of failing with TrustRequired, so the TUI never received pending trust. Remove Mode::Trust and its resolver, RuntimeFactory::resolve_trust and process-scoped trust, and the ProcessTrust/TrustChanged/TrustDeclaration machinery that only served the prompt. qq trust, qq doctor, qq init and qq config sources keep their behaviour. crates/qq-tui/src/effect.rs returns to its pre-#161 contents because #161 added only the trust effect. QQ-Allow-Revert: crates/qq-tui/src/effect.rs * docs: describe unattended Auto, sandbox requirements and task tools Help text, the /approval picker, README and the user guide still described held Auto calls, the classifier as the gate, y/a/w prompts, and the TUI trust prompt. Rewrite them for the shipped behaviour, document what the shell sandbox needs on each OS and the task-workspace limits, list task_commit, task_push and task_pr, and fix stale design notes (tools.md, architecture.md PR #375 row, ADR-0050 status). Update the verify-qq skill in both copies.
Auto now executes within its existing authority or returns a denial without opening a human permission prompt. Write children retain internal review; missing reviewers, abstentions and timeouts deny the call. CLI allowlists are stored before dispatch and cannot resolve a child’s internal supervision. Task startup withholds untrusted project authority without stopping for project approval or recording trust.
Verified 146 approval/delegation, 29 client-state, 129 configuration and two runtime cache tests. All eight failures found in the broader local test run were addressed with focused steering/headless reruns; the new grant test covers restart persistence, idempotence, capacity and child refusal. Formatting, lint (66 legacy sleeps) and strict Clippy pass. The real Linux CLI read/wrote Rust code, compiled/tested it through the durable worker, preserved an outside-workspace guard, and continued with an allowed alternative without permission prompts. Fresh CI is still required; the earlier failed local check receipt is preserved.
Review fixes: write children inherit only explicit human grants, while current ancestor checks and mandatory supervision remain in force. Explicit CLI/config seeds promote colliding reviewer rows to human authority, including at the grant cap. Regression coverage includes denial before network dispatch, revocation after child creation, and promotion surviving a database restart. Both new regressions failed before the production fix; current head
b37944eepasses 161 selected headless/approval/delegation tests, strict qq/qq-core Clippy and formatting. Full roots also seed their explicit flags before Auto children inherit them; the real Full/Auto-child regression failed before and passes after. All three review threads are addressed and resolved. Current-head CI and Codex review are running.Final inventory-only head
513c443frefreshes two existing test-sleep locations shifted by the new fixture. Repository lint passes (66/66); no sleep or limit changed. Functional headb37944eereceived a clean Codex review. Fresh current-head CI and final review are pending.