feat
patch
mist
task/mist-phase2-push-validator
#1 / 1
feat(mist): Phase 2 — mist push validator wired into wire_push_stream
- New musehub/services/musehub_mist_push_validator.py: MistValidationResult dataclass (errors/warnings, valid property) validate_mist_manifest() — iterates manifest paths, delegates to _validate_mist_filename() for hard errors, warns on unknown extensions - musehub_wire.py step 3c: for mist-domain repos, validate every snapshot manifest before any writes; reject with 422 on hard errors - 24 TDD tests: result shape, path traversal, null bytes, ANSI escapes, control chars, path separators, length, empty filename, multi-error accumulation, valid inputs, warnings for unknown extensions, wire wiring
sha256:9080d55f6da50f3f065993a7f929e566f8d2517bfd9dd9f2c35700bada8a7c8a
sha
+40
~1
symbols
sha256:e4694887d3fbebc71e6e8e282d8d81cd16d05721c54fc4aed059b7f3fbefb851
snapshot
+40
symbols added
~1
symbol modified
0
dead code introduced
Semantic Changes
41 symbols
+
test_result_with_only_warnings_is_valid
method
method test_result_with_only_warnings_is_valid L34–38
+
test_known_extension_produces_no_warning
method
method test_known_extension_produces_no_warning L180–185
+
test_unknown_extension_produces_warning
method
method test_unknown_extension_produces_warning L165–171
+
test_domain_non_mist_skips_validator
method
async_method test_domain_non_mist_skips_validator L230–241
+
test_validate_manifest_called_for_mist_domain
method
async_method test_validate_manifest_called_for_mist_domain L213–227
← Older
Oldest on task/mist-phase2-push-validator
All commits
Newer →
Latest on task/mist-phase2-push-validator
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:9080d55f6da50f3f065993a7f929e566f8d2517bfd9dd9f2c35700bada8a7c8a --body "your comment"
No comments yet. Be the first to start the discussion.