@jjchill/probity-rules 0.4.5 → 0.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,54 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.7
4
+
5
+ A judge answer that is not valid JSON is no longer reported as an
6
+ outage (#52), in every preset.
7
+
8
+ - **What went wrong.** The judge sometimes writes its verdict as broken
9
+ JSON: an unescaped `"` or a line break inside `reason`, or an answer
10
+ cut off mid-string. Probity then reports "could not parse verdict",
11
+ and `withJudgeFailureDiagnostics` rewrote that as "returned no
12
+ verdict … an infrastructure failure … retrying … will not help". In
13
+ #52 the judge had in fact denied the write for over-implementation.
14
+ The agent was told the judge was down, and that retrying was
15
+ pointless.
16
+ - **Now:** the wrapper tells the two causes apart.
17
+ - The provider reports it is unavailable (spend limit, quota, rate
18
+ limit, auth), or no AI agent is configured: unchanged. No retry;
19
+ the message still says retrying will not help until the judge is
20
+ back.
21
+ - The judge answered, but not as a valid verdict: it is asked once
22
+ more, and a well-formed second verdict stands. If the second answer
23
+ is still malformed but reads as a deny, the block is reported as
24
+ the policy decision it is, with the judge's reason quoted in full.
25
+ Anything else stays blocked, with the judge's output in full, and
26
+ the message says retrying the same write may succeed.
27
+ - Agents already retry a blocked write, so the automatic retry changes
28
+ what the agent is told, not how many chances the write gets.
29
+ - Tested with scripted verdicts run through Probity's own parser: an
30
+ unescaped quote, a raw line break, a cut-off answer, a malformed
31
+ pass, and prose. The raw output of the #52 answer was not recorded,
32
+ so this is not a replay of it. `hooks/PROBITY.md` now points at the
33
+ `--debug <path>` hook option for capturing such output.
34
+
35
+ ## 0.4.6
36
+
37
+ A TDD judge deny that ends in a bare "Pass." is now judged again (#50).
38
+
39
+ - `withContradictionRetry` (0.4.4, all presets) re-runs the judge once
40
+ when a deny's last sentence concludes the write is allowed. It only
41
+ recognised phrases like "This is permitted." and "should pass". A
42
+ recorded deny ended "Reconsidering: ... It is not
43
+ over-implementation. Pass." and was not retried; the identical write
44
+ passed on the agent's own retry. The pattern now also matches a bare
45
+ verdict word ("Pass.", "Allowed.", optionally after "So," or
46
+ "Verdict:") and a closing "is not over-implementation" or "is not a
47
+ violation". It still ignores "does not pass", "is not permitted",
48
+ and sentences like "the tests pass". The second verdict still
49
+ stands, deny or pass. Tested with scripted verdicts, including the
50
+ recorded #50 reason.
51
+
3
52
  ## 0.4.5
4
53
 
5
54
  The Kotlin and KMP TDD judge no longer blocks a behavior-preserving
@@ -165,24 +165,34 @@ export declare function surfaceRemovedStringUsage(options: {
165
165
  export declare function withContradictionRetry(rule: Rule): Rule;
166
166
  /**
167
167
  * Wraps an AI-validated rule so that a judge that returned no verdict
168
- * — a billing/spend-limit notice, an auth error, empty or non-JSON
169
- * output — is reported as an infrastructure failure instead of reading
170
- * as a policy verdict on the write.
168
+ * is handled by cause, instead of reading as a policy verdict on the
169
+ * write.
171
170
  *
172
171
  * Why: Probity fails closed when it cannot parse the judge's output,
173
172
  * which is correct, but the deny text ("could not parse verdict from
174
- * validator output: You've hit your org's monthly spend limit…") looks
175
- * like a rejection of the change. Agents respond by rewording or
176
- * splitting the write and retrying, which cannot help. The rewritten
177
- * reason names the judge, says the write itself was not judged, and
178
- * points at the fix (restore the provider) and at the deterministic
179
- * paths that never call the judge.
180
- *
181
- * The verdict is unchanged — the write is still blocked. Only the
182
- * reason text of a judge-failure violation is rewritten; genuine
183
- * verdicts and passes pass through untouched. The wrapper keeps the
184
- * wrapped rule's name, so traces and block reports still identify the
185
- * rule that failed.
173
+ * validator output: …") looks like a rejection of the change. There
174
+ * are two different causes, and they need opposite advice:
175
+ *
176
+ * - The provider is unavailable (spend limit, quota, rate limit, auth)
177
+ * or no AI agent is configured. No retry is made; the reason says
178
+ * the write was not judged and that retrying will not help until
179
+ * the judge is back.
180
+ * - The judge answered, but not as a valid verdict (issue #52): an
181
+ * unescaped quote or line break inside `reason`, an answer cut off
182
+ * mid-string, or prose. The judge is asked once more and a
183
+ * well-formed second verdict stands. If the second answer is still
184
+ * malformed but reads as a deny, it is reported as the policy block
185
+ * it is, with the judge's reason quoted in full. Anything else stays
186
+ * blocked, and the reason says retrying the same write may succeed.
187
+ *
188
+ * Agents already retry a blocked write, so the automatic retry changes
189
+ * what the agent is told, not how many chances the write gets. Inside
190
+ * the presets' `withContradictionRetry`, the worst case is three judge
191
+ * calls, and only when both anomalies occur.
192
+ *
193
+ * Genuine verdicts and passes pass through untouched. The wrapper keeps
194
+ * the wrapped rule's name, so traces and block reports still identify
195
+ * the rule that failed.
186
196
  *
187
197
  * @param rule — the AI-validated rule to wrap.
188
198
  * @param options.deterministicPaths — sentence listing the writes this
@@ -1 +1 @@
1
- {"version":3,"file":"gates.d.ts","sourceRoot":"","sources":["../../rules/gates.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAU,IAAI,EAAE,WAAW,EAAc,MAAM,gBAAgB,CAAA;AAE3E;;;;;;;;;;;;GAYG;AAEH,uEAAuE;AACvE,MAAM,MAAM,YAAY,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAA;AAQ7D,iEAAiE;AACjE,wBAAsB,kBAAkB,CACtC,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EACzC,GAAG,EAAE,WAAW,GAAG,SAAS,EAC5B,QAAQ,EAAE,YAAY,EAAE,GACvB,OAAO,CAAC,MAAM,EAAE,CAAC,CAcnB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,EAAE,YAAY,EAOpD,CAAA;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE;IAC/C,QAAQ,EAAE,YAAY,EAAE,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,GAAG,IAAI,CAqBP;AAuBD;;;;;;;;;;;;;;;;;;;;;;;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A0CD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,yBAAyB,CAAC,OAAO,EAAE;IACjD,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,GAAG,IAAI,CA+CP;AAkBD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAYvD;AA+DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,IAAI,EACV,OAAO,GAAE;IAAE,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAAO,GAC5C,IAAI,CAgEN"}
@@ -303,11 +303,18 @@ export function surfaceRemovedStringUsage(options) {
303
303
  };
304
304
  };
305
305
  }
306
- // A deny reason whose last sentence concludes the write is allowed,
307
- // e.g. "... adds only ONE new test. This is permitted." Negated forms
308
- // ("is not permitted") and qualified ones ("permitted, but ...") in an
309
- // earlier clause do not match.
310
- const PERMITTED_CONCLUSION = /\b(?:is|are) (?:permitted|allowed|acceptable|valid)\.?\s*$|\bshould (?:pass|be allowed)\.?\s*$|\bno violation\.?\s*$/i;
306
+ // A deny reason whose last sentence concludes the write is allowed:
307
+ // "... This is permitted." (#45), a bare verdict word such as "Pass."
308
+ // or "Verdict: pass." (#50), or "... is not over-implementation."
309
+ // Negated forms ("is not permitted", "does not pass"), qualified ones
310
+ // ("permitted, but ...") and "the tests pass" do not match.
311
+ const PERMITTED_CONCLUSION = new RegExp([
312
+ String.raw `\b(?:is|are) (?:permitted|allowed|acceptable|valid)\.?\s*$`,
313
+ String.raw `\bshould (?:pass|be allowed)\.?\s*$`,
314
+ String.raw `\bno violation\.?\s*$`,
315
+ String.raw `^(?:so,?\s+|verdict:\s*|therefore,?\s+)?(?:pass(?:es|ed)?|allow(?:ed)?|permitted)\.?\s*$`,
316
+ String.raw `\b(?:is|are) not (?:a violation|over-implementation|under-implementation)\.?\s*$`,
317
+ ].join('|'), 'i');
311
318
  /**
312
319
  * Wraps an AI-validated rule so that a deny whose own reason concludes
313
320
  * the write is permitted is judged once more.
@@ -356,26 +363,75 @@ const JUDGE_FAILURE_REASON = /^(?:could not parse verdict from validator output|
356
363
  // spend/credit limits, quota, rate limits, and auth failures.
357
364
  const PROVIDER_UNAVAILABLE = /spend limit|usage[- ]credits|credit balance|out of credits|quota|rate[- ]limit|too many requests|overloaded|unauthori[sz]ed|authentication|invalid api key|\b(?:401|403|429|529)\b/i;
358
365
  const JUDGE_OUTPUT_EXCERPT = 300;
366
+ // Failures a second judge call can fix: output that was not a valid
367
+ // verdict, or an SDK stream that ended without one. Not retried: a
368
+ // missing AI agent (configuration) and a provider that reports it is
369
+ // unavailable (spend limit, quota, rate limit, auth) — see
370
+ // PROVIDER_UNAVAILABLE.
371
+ const TRANSIENT_JUDGE_FAILURE = /^(?:could not parse verdict from validator output|validator returned unexpected shape|expected string result from validator|no result message received)/;
372
+ const UNPARSED_OUTPUT = /^could not parse verdict from validator output:\s*/;
373
+ function judgeOutput(reason) {
374
+ return reason.replace(JUDGE_FAILURE_REASON, '').replace(/^\s*:/, '').trim();
375
+ }
376
+ function isTransientFailure(reason) {
377
+ return TRANSIENT_JUDGE_FAILURE.test(reason) && !PROVIDER_UNAVAILABLE.test(judgeOutput(reason));
378
+ }
379
+ /**
380
+ * The reason of a deny the judge wrote as broken JSON (an unescaped
381
+ * quote or line break in `reason`, or an answer cut off mid-string),
382
+ * or null when the output does not read as a deny. Anchors on the last
383
+ * `"kind"`, as Probity's own parser takes the verdict from the end.
384
+ */
385
+ function salvagedDenyReason(failureReason) {
386
+ if (!UNPARSED_OUTPUT.test(failureReason))
387
+ return null;
388
+ const output = failureReason.replace(UNPARSED_OUTPUT, '');
389
+ const kinds = [...output.matchAll(/"kind"\s*:\s*"(pass|violation)"/g)];
390
+ const last = kinds.at(-1);
391
+ if (!last || last[1] !== 'violation')
392
+ return null;
393
+ const rest = output.slice(last.index + last[0].length);
394
+ const field = /"reason"\s*:\s*"/.exec(rest);
395
+ if (!field)
396
+ return null;
397
+ const text = rest
398
+ .slice(field.index + field[0].length)
399
+ .replace(/"\s*\}\s*(?:```)?\s*$/, '')
400
+ .replace(/\\n/g, '\n')
401
+ .replace(/\\"/g, '"')
402
+ .trim();
403
+ return text || null;
404
+ }
359
405
  /**
360
406
  * Wraps an AI-validated rule so that a judge that returned no verdict
361
- * — a billing/spend-limit notice, an auth error, empty or non-JSON
362
- * output — is reported as an infrastructure failure instead of reading
363
- * as a policy verdict on the write.
407
+ * is handled by cause, instead of reading as a policy verdict on the
408
+ * write.
364
409
  *
365
410
  * Why: Probity fails closed when it cannot parse the judge's output,
366
411
  * which is correct, but the deny text ("could not parse verdict from
367
- * validator output: You've hit your org's monthly spend limit…") looks
368
- * like a rejection of the change. Agents respond by rewording or
369
- * splitting the write and retrying, which cannot help. The rewritten
370
- * reason names the judge, says the write itself was not judged, and
371
- * points at the fix (restore the provider) and at the deterministic
372
- * paths that never call the judge.
412
+ * validator output: …") looks like a rejection of the change. There
413
+ * are two different causes, and they need opposite advice:
414
+ *
415
+ * - The provider is unavailable (spend limit, quota, rate limit, auth)
416
+ * or no AI agent is configured. No retry is made; the reason says
417
+ * the write was not judged and that retrying will not help until
418
+ * the judge is back.
419
+ * - The judge answered, but not as a valid verdict (issue #52): an
420
+ * unescaped quote or line break inside `reason`, an answer cut off
421
+ * mid-string, or prose. The judge is asked once more and a
422
+ * well-formed second verdict stands. If the second answer is still
423
+ * malformed but reads as a deny, it is reported as the policy block
424
+ * it is, with the judge's reason quoted in full. Anything else stays
425
+ * blocked, and the reason says retrying the same write may succeed.
373
426
  *
374
- * The verdict is unchanged — the write is still blocked. Only the
375
- * reason text of a judge-failure violation is rewritten; genuine
376
- * verdicts and passes pass through untouched. The wrapper keeps the
377
- * wrapped rule's name, so traces and block reports still identify the
378
- * rule that failed.
427
+ * Agents already retry a blocked write, so the automatic retry changes
428
+ * what the agent is told, not how many chances the write gets. Inside
429
+ * the presets' `withContradictionRetry`, the worst case is three judge
430
+ * calls, and only when both anomalies occur.
431
+ *
432
+ * Genuine verdicts and passes pass through untouched. The wrapper keeps
433
+ * the wrapped rule's name, so traces and block reports still identify
434
+ * the rule that failed.
379
435
  *
380
436
  * @param rule — the AI-validated rule to wrap.
381
437
  * @param options.deterministicPaths — sentence listing the writes this
@@ -384,19 +440,47 @@ const JUDGE_OUTPUT_EXCERPT = 300;
384
440
  * working while the provider is down.
385
441
  */
386
442
  export function withJudgeFailureDiagnostics(rule, options = {}) {
443
+ const judge = rule.name || 'rule';
387
444
  const wrapped = async function judgeFailureDiagnostics(action, ctx) {
388
- const result = await rule(action, ctx);
445
+ let result = await rule(action, ctx);
446
+ if (result.kind === 'violation' && isTransientFailure(result.reason ?? '')) {
447
+ result = await rule(action, ctx);
448
+ }
389
449
  if (result.kind !== 'violation')
390
450
  return result;
391
451
  const reason = result.reason ?? '';
392
452
  if (!JUDGE_FAILURE_REASON.test(reason))
393
453
  return result;
394
- const output = reason.replace(JUDGE_FAILURE_REASON, '').replace(/^\s*:/, '').trim();
454
+ const output = judgeOutput(reason);
395
455
  const excerpt = output.length > JUDGE_OUTPUT_EXCERPT
396
456
  ? `${output.slice(0, JUDGE_OUTPUT_EXCERPT)}…`
397
457
  : output;
458
+ if (isTransientFailure(reason)) {
459
+ const denied = salvagedDenyReason(reason);
460
+ if (denied) {
461
+ return {
462
+ ...result,
463
+ reason: `Probity's AI judge (${judge}) denied this write. Its answer was ` +
464
+ 'not valid JSON, so its reason is quoted as written:\n\n' +
465
+ denied,
466
+ };
467
+ }
468
+ const lines = [
469
+ `Probity's AI judge (${judge}) answered twice, but not in the ` +
470
+ 'expected format, so this write was not judged and stays blocked ' +
471
+ '(fail closed). This is usually a one-off formatting slip: ' +
472
+ 'retrying the same write may succeed. If it keeps happening, ' +
473
+ 'check the judge provider (network, model availability).',
474
+ ];
475
+ if (options.deterministicPaths)
476
+ lines.push(options.deterministicPaths);
477
+ // In full (Probity caps it at 4,000 characters): the judge did
478
+ // answer, and its text is the evidence for an issue report.
479
+ lines.push('Do not bypass the hook. Judge output: ' + (output || '(empty)'));
480
+ return { ...result, reason: lines.join('\n\n') };
481
+ }
398
482
  const lines = [
399
- `Probity's AI judge (${rule.name || 'rule'}) returned no verdict, so ` +
483
+ `Probity's AI judge (${judge}) returned no verdict, so ` +
400
484
  'this write was NOT judged — this is an infrastructure failure, not ' +
401
485
  'a policy decision about your change. The write stays blocked ' +
402
486
  '(fail closed). Rewording, splitting, or retrying the same write ' +
@@ -414,7 +498,7 @@ export function withJudgeFailureDiagnostics(rule, options = {}) {
414
498
  lines.push('Do not bypass the hook. Judge output: ' + (excerpt || '(empty)'));
415
499
  return { ...result, reason: lines.join('\n\n') };
416
500
  };
417
- Object.defineProperty(wrapped, 'name', { value: rule.name || 'rule' });
501
+ Object.defineProperty(wrapped, 'name', { value: judge });
418
502
  return wrapped;
419
503
  }
420
504
  //# sourceMappingURL=gates.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"gates.js","sourceRoot":"","sources":["../../rules/gates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAqBhC,SAAS,YAAY,CAAC,OAAe,EAAE,OAAe;IACpD,IAAI,KAAK,GAAG,CAAC,CAAA;IACb,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC;QAAE,KAAK,EAAE,CAAA;IAClD,OAAO,KAAK,CAAA;AACd,CAAC;AAED,iEAAiE;AACjE,MAAM,CAAC,KAAK,UAAU,kBAAkB,CACtC,MAAyC,EACzC,GAA4B,EAC5B,QAAwB;IAExB,MAAM,IAAI,GAAG,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A;QAClD,CAAC;QAED,MAAM,KAAK,GAAG;YACZ,uBAAuB,KAAK,4BAA4B;gBACtD,qEAAqE;gBACrE,+DAA+D;gBAC/D,kEAAkE;gBAClE,wCAAwC;YAC1C,oBAAoB,CAAC,IAAI,CAAC,MAAM,CAAC;gBAC/B,CAAC,CAAC,6DAA6D;oBAC7D,gEAAgE;oBAChE,kEAAkE;oBAClE,yBAAyB;gBAC3B,CAAC,CAAC,gEAAgE;oBAChE,aAAa;SAClB,CAAA;QACD,IAAI,OAAO,CAAC,kBAAkB;YAAE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAA;QACtE,KAAK,CAAC,IAAI,CAAC,wCAAwC,GAAG,CAAC,OAAO,IAAI,SAAS,CAAC,CAAC,CAAA;QAC7E,OAAO,EAAE,GAAG,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAA;IAClD,CAAC,CAAA;IACD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAA;IACxD,OAAO,OAAO,CAAA;AAChB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jjchill/probity-rules",
3
- "version": "0.4.5",
3
+ "version": "0.4.7",
4
4
  "description": "Versioned Probity rule presets and CLI tooling for the agent-skills catalog (test-driven-development, ports-and-adapters, acceptance-testing, spec-test parity, ubiquitous-language) — see hooks/PROBITY.md.",
5
5
  "license": "MIT",
6
6
  "repository": {