Skip to content

Add musafety sandbox workflow and docs#9

Closed
NagyVikt wants to merge 1 commit intomainfrom
agent/sandbox-command-20260410
Closed

Add musafety sandbox workflow and docs#9
NagyVikt wants to merge 1 commit intomainfrom
agent/sandbox-command-20260410

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Summary

  • add a new musafety sandbox command to create isolated agent worktrees while keeping the visible checkout on the base branch
  • update setup prompts/docs/scripts to promote musafety sandbox as the primary safe entrypoint
  • add coverage for sandbox success and non-base guard failure paths

Verification

  • npm test (38/38 passing)

Introducing a first-class `musafety sandbox` command makes the safer workflow
explicit: keep the visible repo on the base branch while creating isolated
agent worktrees for branch-local edits. Documentation, setup scaffolding, and
tests now reinforce this path and prevent accidental off-base sandbox starts.

Constraint: Sandbox creation must preserve current branch expectations for interactive maintainers
Rejected: Keep telling users to call agent-branch-start directly | it flips active branches and is easier to misuse in UI-driven workflows
Confidence: high
Scope-risk: moderate
Reversibility: clean
Directive: Keep README/AI setup prompts aligned with actual CLI commands whenever workflow commands change
Tested: npm test (38/38 passing)
Not-tested: Manual end-to-end run in a live VS Code multi-terminal session
@NagyVikt
Copy link
Copy Markdown
Collaborator Author

Closing as superseded by newer merged PRs (#10, #12, and later main updates). This branch now conflicts with current guardrail logic and would revert current behavior; no unique required changes remain to merge safely.

@NagyVikt NagyVikt closed this Apr 11, 2026
@NagyVikt NagyVikt deleted the agent/sandbox-command-20260410 branch April 20, 2026 07:45
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.

1 participant