feat
patch
checkout
task/checkout-intent-resumable
#1 / 1
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
+25
~28
−4
symbols
sha256:00afb72fc60136678afe1bb9e3dd9b4fef26834d9735fa7f8652a42d6216a341
snapshot
+25
symbols added
~28
symbols modified
−4
symbols removed
0
dead code introduced
Semantic Changes
57 symbols
−
⚠️ --intent and --resumable belong on muse branch, NOT muse checkout
section ⚠️ --intent and --resumable belong on muse branch, NOT muse checkout L236–252
+
test_ansi_in_intent_sanitized_in_text_output
method
method test_ansi_in_intent_sanitized_in_text_output L1533–1537
+
test_branch_list_json_shows_resumable
method
method test_branch_list_json_shows_resumable L1515–1520
+
test_branch_switched_after_create_with_meta
method
method test_branch_switched_after_create_with_meta L1467–1469
+
test_resumable_stored_in_branch_meta
method
method test_resumable_stored_in_branch_meta L1452–1456
+
test_resumable_without_create_is_error
method
method test_resumable_without_create_is_error L1439–1442
← Older
Oldest on task/checkout-intent-resumable
All commits
Newer →
Latest on task/checkout-intent-resumable
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:6149d0a5458b8728caaa5452b54607ed5bdebd6fd78d88a03fbd391a9cc7054c --body "your comment"
No comments yet. Be the first to start the discussion.