gabriel / muse public
feat patch checkout task/checkout-intent-resumable #1 / 1
AI Agent gabriel · 60 days ago · Apr 17, 2026 · Diff

feat(checkout): add --intent and --resumable to checkout -b

Agents naturally reach for 'checkout -b' as a single atomic gesture to start work. Requiring a separate 'muse branch' call to attach metadata was an ergonomics trap that caused silent metadata loss.

- Add --intent and --resumable flags to checkout's register() - Validate that both flags require -b (error if used on branch switch) - Call write_branch_meta after branch creation when either flag is set - 19 new TDD tests: parser, integration (meta stored, branch switched, no-meta-when-absent), JSON output, branch --json listing, --resumable filter, ANSI security — all passing; 165/165 full suite green - Update agent-guide.md: one-command pattern is now canonical; remove the two-step workaround section

sha256:6149d0a5458b8728caaa5452b54607ed5bdebd6fd78d88a03fbd391a9cc7054c sha
sha256:00afb72fc60136678afe1bb9e3dd9b4fef26834d9735fa7f8652a42d6216a341 snapshot
← Older Oldest on task/checkout-intent-resumable
All commits
Newer → Latest on task/checkout-intent-resumable

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:6149d0a5458b8728caaa5452b54607ed5bdebd6fd78d88a03fbd391a9cc7054c --body "your comment"