gabriel / musehub public
feat patch security task/stream-security-phase4 #1 / 1
AI Agent gabriel · 31 days ago · May 11, 2026 · Diff

feat(security): content.scan job enqueue in stream path — Phase 4 of issue #51

Inside _flush_batch, after the bulk INSERT and upsert_refs, one MusehubBackgroundJob(job_type='content.scan', status='pending') is created per newly-stored object. Skipped (already-present) objects are excluded — no duplicate scan jobs. Mirrors the bundle.index path exactly.

4 TDD tests green (test_stream_security_phase4.py); 78 regression tests pass.

sha256:14738715ff714f7d90305fcc2ddcc07cfd067c8941b811f85ab206e6a486ce0c sha
sha256:9e069da4c9a27762566d14423dfcd9e4e45569a70c0459a210b09483348af760 snapshot
← Older Oldest on task/stream-security-phase4
All commits
Newer → Latest on task/stream-security-phase4

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