gabriel / muse public
fix BREAKING dev #80 / 100
AI Agent gabriel · 99 days ago · May 27, 2026 · Diff

fix: align read --json schema and drop outdated tests

- read.py: agent_id/model_id/toolchain_id emit null for human commits (not ""); metadata/reviewed_by/test_runs/parent2_commit_id omitted when empty/zero/null - test_show_json_schema.py: updated to match correct null-for-human-commits spec - test_security_symlink.py: remove commits/snapshots from critical-dirs parametrize (both dirs unified into sharded objects/ tree) - test_directories_feature.py: delete .musekeep test (concept removed) and broken tourdeforce integration test (no staging, stale terminology) - test_directory_dimension.py: delete TestDiffDirectories (Phase 2 planned feature, not yet in _DiffJson schema)

sha256:ddd0be8a557fdecec391ed3c1a250b58596b4989d7a12ae6dadd8c0624b44dba sha
+5 ~7 −11 symbols
sha256:bed9bd0792479efa0404c2753d8f92254527c02a032604b64b1c9a61902649c8 snapshot
+5
symbols added
~7
symbols modified
−11
symbols removed
0
dead code introduced
Semantic Changes 23 symbols
docs/demo
out
~ muse/cli/commands/read.py .py 1 symbol modified
~ run
~ tests/test_directories_feature.py .py 2 symbols removed, 1 symbol modified
test_snapshot_includes_musekeep_empty_dir method method test_snapshot_includes_musekeep_empty_dir L938–948
test_status_clean_after_deleting_only_file_in_dir method method test_status_clean_after_deleting_only_file_in_dir L952–976
~ tests/test_directory_dimension.py .py 4 symbols removed
TestDiffDirectories class class TestDiffDirectories L263–295
test_clean_repo_has_empty_directories method method test_clean_repo_has_empty_directories L286–295
test_directories_key_has_expected_subkeys method method test_directories_key_has_expected_subkeys L275–284
test_json_has_directories_key method method test_json_has_directories_key L266–273
~ tests/test_show_json_schema.py .py 5 symbols added, 5 symbols removed, 3 symbols modified
test_II3_agent_id_empty_string_for_human_commit method method test_II3_agent_id_empty_string_for_human_commit L254–261
test_II4_model_id_empty_string_for_human_commit method method test_II4_model_id_empty_string_for_human_commit L263–270
test_II5_toolchain_id_is_string_not_null method method test_II5_toolchain_id_is_string_not_null L272–277
test_I6_reviewed_by_always_list method method test_I6_reviewed_by_always_list L199–204
test_I7_test_runs_always_int method method test_I7_test_runs_always_int L206–211
+ test_II3_agent_id_null_for_human_commit method method test_II3_agent_id_null_for_human_commit L252–259
+ test_II4_model_id_null_for_human_commit method method test_II4_model_id_null_for_human_commit L261–268
+ test_II5_toolchain_id_null_for_human_commit method method test_II5_toolchain_id_null_for_human_commit L270–275
+ test_I6_reviewed_by_absent_when_empty method method test_I6_reviewed_by_absent_when_empty L197–202
+ test_I7_test_runs_absent_when_zero method method test_I7_test_runs_absent_when_zero L204–209

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:ddd0be8a557fdecec391ed3c1a250b58596b4989d7a12ae6dadd8c0624b44dba --body "your comment"