test: phase 3 commit guard alignment for muse resolve (issue #8)
Verified that the commit guard at commit.py:305 reads conflict_paths (the mutable list) not original_conflict_paths — guard is already correct.
Added 20 integration tests across four classes: - TestCommitGuardReadsConflictPaths: unit-level guard verification - TestResolvePathThenCommit: resolve_path primitive → commit flow - TestResolveSymbolThenCommit: resolve_symbol primitive → commit flow - TestResolveCliThenCommitCli: full CLI end-to-end including --json and --all
sha256:5e60c0960248c6b0fd1b21ebdd84bac6f243b0605281a340f066b88b8cd5f9e9
sha
+45
symbols
sha256:2102012427723078411288468fc0c2d2a7d4b882ff43675036f13f05c837487d
snapshot
+45
symbols added
0
dead code introduced
Semantic Changes
45 symbols
+
test_commit_blocked_message_mentions_conflict
method
method test_commit_blocked_message_mentions_conflict L96–104
+
test_commit_blocked_while_conflict_paths_nonempty
method
method test_commit_blocked_while_conflict_paths_nonempty L86–94
+
test_commit_succeeds_when_conflict_paths_empty
method
method test_commit_succeeds_when_conflict_paths_empty L106–114
+
test_original_conflict_paths_does_not_block_commit
method
method test_original_conflict_paths_does_not_block_commit L116–130
+
test_merge_state_absent_after_full_flow
method
method test_merge_state_absent_after_full_flow L294–302
+
test_resolve_cli_all_then_commit_succeeds
method
method test_resolve_cli_all_then_commit_succeeds L261–270
+
test_resolve_cli_already_resolved_exits_zero
method
method test_resolve_cli_already_resolved_exits_zero L287–292
+
test_resolve_cli_file_then_commit_succeeds
method
method test_resolve_cli_file_then_commit_succeeds L239–248
+
test_resolve_cli_no_merge_in_progress_exits_nonzero
method
method test_resolve_cli_no_merge_in_progress_exits_nonzero L281–285
+
test_resolve_cli_symbol_then_commit_succeeds
method
method test_resolve_cli_symbol_then_commit_succeeds L250–259
+
test_merge_state_cleared_after_commit
method
method test_merge_state_cleared_after_commit L173–179
+
test_original_conflict_paths_preserved_until_commit
method
method test_original_conflict_paths_preserved_until_commit L181–188
+
test_resolve_all_paths_unblocks_commit
method
method test_resolve_all_paths_unblocks_commit L159–171
+
test_resolve_path_partial_still_blocks
method
method test_resolve_path_partial_still_blocks L146–157
+
test_symbol_level_conflicts_cleared_by_resolve_path
method
method test_symbol_level_conflicts_cleared_by_resolve_path L190–198
+
test_resolve_all_symbols_unblocks_commit
method
method test_resolve_all_symbols_unblocks_commit L224–231
+
test_resolve_symbol_partial_still_blocks
method
method test_resolve_symbol_partial_still_blocks L216–222
+
test_resolve_symbol_unblocks_commit_when_last
method
method test_resolve_symbol_unblocks_commit_when_last L206–214
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:5e60c0960248c6b0fd1b21ebdd84bac6f243b0605281a340f066b88b8cd5f9e9 --body "your comment"
No comments yet. Be the first to start the discussion.