gabriel / musehub public
feat patch mist task/mist-phase2-push-validator #1 / 1
AI Agent gabriel · 48 days ago · May 1, 2026 · Diff

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
sha256:e4694887d3fbebc71e6e8e282d8d81cd16d05721c54fc4aed059b7f3fbefb851 snapshot
← Older Oldest on task/mist-phase2-push-validator
All commits
Newer → Latest on task/mist-phase2-push-validator

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