Skip to content

[Feature]: Per-project default directory and independent permissions for floating workspace #12247

Description

@AmethystLiang

Problem or use case

The floating workspace tends toward a single shared default directory (app/user folder). Users want different projects to open floating terminals in different default paths (for example docs or materials folders). Separately, when YOLO / elevated agent permissions are enabled globally, the floating workspace inherits them — risky if the model misunderstands and deletes files outside the intended tree.

Requests:

  • Per-project default floating directory
  • Independent YOLO / agent permissions for the floating workspace (not forced to match the main workspace)

Related: resuming a session does not re-enter the floating workspace — #11640.

Proposed solution

  1. Per-project (or per-repo) default cwd for floating terminals / markdown, not only a global floating directory
  2. Independent permission / YOLO policy for the floating workspace (safer default; opt-in elevated)
  3. Keep existing pickers (pickFloatingWorkspaceDirectory, getFloatingTerminalCwd) but bind defaults to project context

Alternatives or additional context

Workaround today: re-pick directory each time; keep YOLO off in floating. Please include Orca version and OS if you hit related bugs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions