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
insertion-normalization: never strip the tail — a final-message duplicate is payload (insertion slice of fork e0f8fcb)
Path-scoped slice of fork commit e0f8fcb: the insertion-normalization
tail guard and its tests. The same commit's output-guard
assistant-terminal invariant (proxy/extensions/output-guard.mjs,
test/output-guard.test.mjs) belongs to the output-guard slice (cnighswonger#278) and
is not part of this PR.
Co-Authored-By: Claude opus-5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: test/insertion-merge-suppression.test.mjs
+38-3Lines changed: 38 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -100,19 +100,54 @@ test("GREEN: the real merged standalone matches the join-hash of its pinned entr
100
100
assert.notEqual(h,null,"the real merged standalone must be recognized as a suppressible duplicate");
101
101
});
102
102
103
-
test("classifyPinned end-to-end: the real merged standalone is suppressed as a new entry, not forwarded twice",()=>{
103
+
test("classifyPinned end-to-end: the real merged standalone is suppressed as a new entry, not forwarded twice (MID-HISTORY — matches the real capture, which had dozens of messages after msg864)",()=>{
assert.equal(result.suppressed,1,"mid-history duplicates are suppressed exactly as before the tail guard");
202
+
assert.equal(result.suppressions[0].index,2);
203
+
});
204
+
158
205
test("classifyPinned: suppression is stable across a THIRD request — CC keeps resending the duplicate, it keeps getting suppressed, with no persisted marker needed",()=>{
0 commit comments