Skip to content

fix: restore draft slash commands and sandbox defaults - #6684

Merged
M4n5ter merged 2 commits into
rust-previewfrom
fix/new-conversation-settings
Nov 7, 2026
Merged

M4n5ter merged 2 commits into
rust-previewfrom
fix/new-conversation-settings

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Restore slash commands in new conversation drafts.
  • Add the default sandbox policy to General settings for new conversations.
  • Remove incognito mode.

Migration

Stop Maka, then run the migration script against each existing configuration-rust.sqlite.

Verification

  • 144 Workbench tests and 7 focused Rust/UI regressions passed; contracts, typechecks and formatting passed.
  • Migration script verified to preserve other preferences and support reruns.
  • Clippy encounters the known Cargo fork/reqwest issue.

AI use

  • Generative tooling made a substantive contribution

OpenAI Codex: implementation, tests and migration script.

Checklist

  • Tests cover the change and fail without it
  • Format, typecheck and the affected suites pass locally
  • Yes — behavior changes are described above

@M4n5ter
M4n5ter merged commit b2e73dc into rust-preview Nov 7, 2026
15 checks passed
@M4n5ter
M4n5ter deleted the fix/new-conversation-settings branch November 7, 2026 03:55

@Astro-Han Astro-Han left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.

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.

2 participants