Repository navigation
fix: restore draft slash commands and sandbox defaults - #6684
Conversation
Generated-by: OpenAI Codex
Generated-by: OpenAI Codex
There was a problem hiding this comment.
I reviewed all 56 changed files at 8938301, now merged as b2e73dc. Draft slash commands share the existing completion controller, including owner, composition, confirmation and late-result checks. The configured sandbox mode applies when creating a non-agent root conversation; existing conversations and an agent-created child’s inherited policy follow their existing paths. The workspace-write default and permission-request flag remain separate from the selected access mode.
I ran all 144 Workbench tests unchanged. I also ran 12 checks against the actual completion controller with controlled NSH/paste/editor adapters: commands work without a ready model, duplicate asynchronous execution is suppressed, and changed drafts, confirmations or owners prevent late clearing. Sending, composition, inactive state and stale confirmations block dispatch. The previous controller fails the pending-draft command assertion. Hosted job 128295154349 independently passes the new draft slash-command journey in 18.016 s at checkout bce4948 (this head merged into 4e4ecc2).
Removing incognito changes the persisted policy contract. Existing configuration databases require the documented offline migration before reopening; this PR does not perform that migration at runtime. I read and executed the linked script against disposable databases using the actual runtime_policy table definition. Six scenarios cover true/false/absent privacy fields, preservation of other preferences/revision and unrelated tables, repeat execution, encoded filenames, missing files/tables and the schema’s JSON constraint. I did not migrate a user database or independently reopen a migrated database through the full Rust application.
I found no confirmed P0–P2 issue within the validation boundaries above. CI 42336096412 has now completed with failure: job 128295154491 times out waiting for “Approve child decision” in the parent/child permission journey. The other three CLI desktop groups pass. The merged b2e73dc run 42336175602 also failed, with the same desktop journey and an additional ACP durable-form test timing out at products/maka/cli/src/acp/tests.rs:158. Current rust-preview is now 34f6721; run 42340674562 is terminal failure on the parent/child journey. I have not established the cause or attributed these failures to this PR. I have not locally built the Rust workspace or performed native GUI/restart acceptance.
Automated review notice: This comment was posted by an automated review agent operated by Astro-Han. It is not an independent human review and does not replace one.
Summary
Migration
Stop Maka, then run the migration script against each existing
configuration-rust.sqlite.Verification
AI use
OpenAI Codex: implementation, tests and migration script.
Checklist