Skip to content

Commit 125a920

Browse files
Merge pull request #572 from corbitsdev/cl-6789-scrub-stop-policy-commentary-retracted-claims-and-threshold
Scrub stop-policy commentary: retracted claims and threshold contradictions
2 parents 7c50a41 + 1e850e0 commit 125a920

1 file changed

Lines changed: 14 additions & 13 deletions

File tree

src/subagent/stop-policy.ts

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -219,22 +219,23 @@ export function detectToolFingerprintThrash(
219219
// signal, whereas mere silence during a long autonomous stretch is not.
220220
//
221221
// Threshold justification: 100 is a judgment call, not a measured value.
222-
// turns-since-last-genuine-operator-message was never separately measured —
223-
// an earlier round of this PR cited a scan of it ("358-session/428-run",
224-
// then "428 runs" in a later revision, the two numbers already disagreeing
225-
// with each other) that has no corresponding script or output anywhere in
226-
// the tree. That claim was fabricated and is retracted; do not restate it.
222+
// turns-since-last-genuine-operator-message has never been separately
223+
// measured. An earlier claim that it had been was fabricated and is
224+
// retracted — do not restate it, and do not invent a replacement
225+
// justification in its place.
227226
//
228-
// The only real measurement we have is scripts/tool-fingerprint-forensics.ts,
227+
// The nearest real measurement is scripts/tool-fingerprint-forensics.ts,
229228
// which measures a related but different quantity — consecutive
230229
// tool-only-turn streaks, reset by narration — p50 3, p90 8, p99 16, max 28
231-
// across 328 local sessions with a tool-only run. It is not directly
232-
// applicable here since narration does not reset this counter, but it is
233-
// the only forensic data point available, and 100 sits well above every
234-
// percentile of it, which is the informal basis for treating 100 as
235-
// generous headroom. Revisit if this backstop turns out to fire during
236-
// legitimate long autonomous stretches, or if turns-since-user-message is
237-
// ever actually measured.
230+
// across 328 local sessions with a tool-only run. It does not directly apply
231+
// here (narration does not reset this counter, so the distributions are not
232+
// comparable), but it is the only forensic data point on hand, and 100 sits
233+
// well above every percentile of it, which is the informal basis for
234+
// treating 100 as generous headroom.
235+
//
236+
// src/subagent/intervention-log.ts now records every stop and nudge with its
237+
// measured value beside the threshold it crossed. If this number is ever
238+
// wrong, that log — not another guess — is how to find out.
238239
export const TURNS_SINCE_USER_MESSAGE_BACKSTOP = 100;
239240

240241
// CL-5893: cap on how many times a successful leaf task completion may

0 commit comments

Comments
 (0)