agenr 0.13.3 → 0.13.4

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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.13.4] - 2026-03-23
4
+
5
+ ### Surgeon
6
+
7
+ - **Tightened completion gating thresholds.** Final completion now requires 75% budget usage (was 25%). Phase completion requires 75% (was 50%). Safety valve raised to 5 rejections (was 3). Continuation attempts raised to 5 (was 3). These changes force the surgeon to work through substantially more of the corpus before accepting completion.
8
+
3
9
  ## [0.13.3] - 2026-03-23
4
10
 
5
11
  ### Surgeon
package/dist/cli-main.js CHANGED
@@ -23196,9 +23196,9 @@ var COMPLETE_PASS_SCHEMA = Type2.Object({
23196
23196
  observations: Type2.Array(Type2.String()),
23197
23197
  recommendations: Type2.Array(Type2.String())
23198
23198
  });
23199
- var FINAL_COMPLETION_MIN_BUDGET_USED_FRACTION = 0.25;
23200
- var PHASE_COMPLETION_MIN_BUDGET_USED_FRACTION = 0.5;
23201
- var SAFETY_VALVE_REJECTION_LIMIT = 3;
23199
+ var FINAL_COMPLETION_MIN_BUDGET_USED_FRACTION = 0.75;
23200
+ var PHASE_COMPLETION_MIN_BUDGET_USED_FRACTION = 0.75;
23201
+ var SAFETY_VALVE_REJECTION_LIMIT = 5;
23202
23202
  var LARGE_CORPUS_PROACTIVE_SCAN_THRESHOLD = 200;
23203
23203
  function isCompletionPhase(value) {
23204
23204
  return value === "contradictions" || value === "dedup" || value === "retirement";
@@ -25216,7 +25216,7 @@ async function captureBrainHealthSnapshot(db) {
25216
25216
  // src/modules/surgeon/application/workflow.ts
25217
25217
  var USER_ABORT_ERROR = "Run aborted by user (SIGINT).";
25218
25218
  var USER_ABORT_SUMMARY = "Run aborted by user.";
25219
- var MAX_CONTINUATION_ATTEMPTS = 3;
25219
+ var MAX_CONTINUATION_ATTEMPTS = 5;
25220
25220
  var LOW_BUDGET_FRACTION = 0.1;
25221
25221
  var SHALLOW_RUN_WARNING_BUDGET_USED_FRACTION = 0.5;
25222
25222
  function resolveRunBudget(options, config) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agenr",
3
- "version": "0.13.3",
3
+ "version": "0.13.4",
4
4
  "openclaw": {
5
5
  "extensions": [
6
6
  "dist/edge/openclaw/index.js"