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
[MM-06] Make semantic compact validation fail closed #785
MM-06 code contract is complete in commit 16c9a81e.
Implemented:
malformed, private-verifier, source-invalid, provider-shape-invalid, and economically negative compact output now returns failedOpen and retains the original messages
typed maka.semantic_compact_failure diagnostics with stable stage/reason/retryability
exact source-ref, coverage, session, hash, archive, and duplicate validation
current-user preservation plus tool-call/result and signed-thinking structure checks
real timeout enforcement even when a summarizer ignores abort
semantic selection can compact around, but never replace, the current user message
zero/negative provider or net savings are rejected even when configured thresholds are zero
Superseded by #1615 (automatic long-term memory lifecycle, SQLite-based; accepted by maintainers 2026-07-30, PR ① #1770 merged). This MM-06 work item never landed outside draft PR #820 and is replaced by the #1615 design and its LongMemEval/MSC evaluation plan.
Activity
fix(runtime): fail closed on invalid semantic compact (apache#785)
bug-superman commentedon Jul 13, 2026
MM-06 code contract is complete in commit
16c9a81e.Implemented:
failedOpenand retains the original messagesmaka.semantic_compact_failurediagnostics with stable stage/reason/retryabilityValidation:
npm testunder Node 24: passed; desktop 2364/2364npm run typecheck: passedgit diff --check: passedThe continuity compact benchmark remains operator-pending and will be recorded separately.
Astro-Han commentedon Aug 2, 2026
Superseded by #1615 (automatic long-term memory lifecycle, SQLite-based; accepted by maintainers 2026-07-30, PR ① #1770 merged). This MM-06 work item never landed outside draft PR #820 and is replaced by the #1615 design and its LongMemEval/MSC evaluation plan.