You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
minimize: optional intra-message ddmin after turn-level shrink #34
minimize_genome (packages/mutiny_core/src/mutiny_core/minimize/__init__.py) implements classic ddmin over whole attacker messages (turns). Once a single long turn remains, content is not shrunk further. SYSTEM_DESIGN § minimize is message-oriented; for evidence UX, multi-sentence turns often stay verbose.
Repository evidence
minimize_genome + _partition — turn subsets only
tests/unit/test_minimize.py
Regression artifacts store full conversation: list[str] (regress/__init__.py)
Why it matters
Smaller permanent regressions → clearer FAIL→PASS diffs and less secret surface in conversation text.
Proposed direction
After turn-level ddmin succeeds, optionally run a second-phase shrink on each remaining message (e.g. sentence/paragraph partitions or binary split of content) with the same re-exec gate (_interesting / same rule ids). Feature-flag or parameter intra_message: bool = False default off for behavior compatibility.
Acceptance criteria
Default behavior unchanged when flag off
When enabled, can reduce character length while still reproducing target violations
Unit tests with a multi-sentence single-turn violating fixture
Opened PR #145 adding optional intra-message ddmin after turn-level shrinking. Every accepted deletion preserves all target violations through re-execution. Default behavior remains unchanged. All 771 tests and seven CI checks pass.
Activity
BasilZafar11 commentedon Nov 10, 2026
Opened PR #145 adding optional intra-message ddmin after turn-level shrinking. Every accepted deletion preserves all target violations through re-execution. Default behavior remains unchanged. All 771 tests and seven CI checks pass.
#145