@staix/agent-hub 0.15.0 → 0.17.0

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.
Files changed (104) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/README.md +12 -8
  3. package/docs/agent-notes/README.md +4 -0
  4. package/docs/agent-notes/adapters.md +24 -8
  5. package/docs/agent-notes/budget.md +4 -2
  6. package/docs/agent-notes/daemon.md +11 -4
  7. package/docs/agent-notes/local-worker.md +2 -2
  8. package/docs/agent-notes/tasks.md +15 -3
  9. package/docs/agent-notes/tests.md +8 -3
  10. package/docs/dogfood.md +18 -6
  11. package/docs/events.md +1 -1
  12. package/docs/memory.md +78 -10
  13. package/docs/operations.md +160 -47
  14. package/docs/quickstart.md +13 -5
  15. package/docs/roles.md +1 -0
  16. package/docs/sdlc.md +11 -11
  17. package/docs/security.md +94 -22
  18. package/docs/smoke.md +58 -6
  19. package/docs/specs/2026-09-19-agent-hub-design.md +124 -12
  20. package/docs/specs/2026-09-20-upgrade-recovery-design.md +3 -1
  21. package/docs/verification/2026-10-24-always-ask-adapters.md +52 -0
  22. package/docs/verification/2026-10-24-amem-runtime.md +69 -0
  23. package/docs/verification/2026-10-24-codex-0164-reviewer-isolation.md +55 -0
  24. package/docs/verification/2026-10-24-delivery-holds-ac8.md +264 -0
  25. package/docs/verification/2026-10-24-hardcoded-values.md +2108 -0
  26. package/docs/verification/2026-10-25-0.16.0.md +82 -0
  27. package/docs/verification/2026-10-25-0.17.0.md +74 -0
  28. package/docs/verification/2026-10-25-codex-0164-reviewer-tool-call.md +52 -0
  29. package/docs/verification/2026-10-25-kimi-231-reviewer-compat.md +48 -0
  30. package/docs/verification/2026-10-25-kimi-usage-ac11.md +48 -0
  31. package/docs/verification/2026-10-25-qwen-dual-output-hub-e2e.md +23 -0
  32. package/docs/verification/2026-10-25-qwen-dual-output-t0.md +20 -0
  33. package/docs/verification/2026-10-25-reviewer-no-verdict-diagnostics.md +35 -0
  34. package/docs/verified.json +30 -18
  35. package/package.json +2 -2
  36. package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
  37. package/plugins/agent-hub/server.js +3421 -2176
  38. package/src/adapters/acp.ts +5 -2
  39. package/src/adapters/codex-appserver.ts +69 -1
  40. package/src/adapters/codex-review-isolation.ts +10 -1
  41. package/src/adapters/compat.ts +9 -4
  42. package/src/adapters/conformance/enrollment.ts +18 -4
  43. package/src/adapters/conformance/factories.ts +4 -1
  44. package/src/adapters/conformance/kit.ts +11 -0
  45. package/src/adapters/definitions/builtin-metadata.ts +3 -3
  46. package/src/adapters/definitions/native-cli-entry-qwen.ts +32 -4
  47. package/src/adapters/definitions/native-cli-preview-qwen.ts +9 -1
  48. package/src/adapters/definitions/native-factories.ts +8 -0
  49. package/src/adapters/definitions/native-recovery.ts +8 -0
  50. package/src/adapters/definitions/qwen.ts +7 -4
  51. package/src/adapters/local-worker.ts +5 -4
  52. package/src/adapters/qwen-dual.ts +578 -0
  53. package/src/adapters/registry-types.ts +6 -2
  54. package/src/adapters/registry.ts +9 -1
  55. package/src/adapters/reviewer-mcp.ts +12 -6
  56. package/src/adapters/reviewer-print.ts +100 -17
  57. package/src/cli/console-state.ts +20 -2
  58. package/src/cli/console-symbols.ts +3 -2
  59. package/src/cli/console-usage.ts +5 -2
  60. package/src/cli/console.ts +5 -1
  61. package/src/cli/help.ts +7 -5
  62. package/src/cli/identity.ts +3 -1
  63. package/src/cli/main.ts +44 -10
  64. package/src/cli/memory.ts +119 -7
  65. package/src/cli/output.ts +12 -4
  66. package/src/cli/upgrade.ts +4 -3
  67. package/src/hub/action-class.ts +211 -17
  68. package/src/hub/action-enforce.ts +13 -5
  69. package/src/hub/action-policy.ts +19 -8
  70. package/src/hub/ask.ts +16 -4
  71. package/src/hub/board.ts +86 -31
  72. package/src/hub/budget-notes.ts +65 -0
  73. package/src/hub/budget.ts +42 -10
  74. package/src/hub/bus.ts +1 -1
  75. package/src/hub/code-facts.ts +56 -16
  76. package/src/hub/conductor.ts +5 -2
  77. package/src/hub/config-apply.ts +7 -0
  78. package/src/hub/control-client.ts +1 -1
  79. package/src/hub/daemon.ts +384 -71
  80. package/src/hub/envelope.ts +1 -1
  81. package/src/hub/events.ts +2 -2
  82. package/src/hub/hub-tools.ts +3 -3
  83. package/src/hub/kimi-usage.ts +12 -0
  84. package/src/hub/lifecycle.ts +10 -5
  85. package/src/hub/memory-code-head.ts +44 -0
  86. package/src/hub/memory-code-overlay.ts +119 -0
  87. package/src/hub/memory-plan-guard.ts +11 -27
  88. package/src/hub/memory-stale-anchors.ts +159 -0
  89. package/src/hub/memory-symbols.ts +74 -0
  90. package/src/hub/planning.ts +10 -4
  91. package/src/hub/read-tools.ts +21 -3
  92. package/src/hub/sdlc.ts +34 -0
  93. package/src/hub/settings.ts +17 -2
  94. package/src/hub/settled-roles.ts +15 -3
  95. package/src/hub/task-sweep.ts +25 -3
  96. package/src/hub/tasks.ts +378 -76
  97. package/src/hub/token-window.ts +15 -2
  98. package/src/hub/window-kind.ts +13 -0
  99. package/src/local/tools.ts +5 -5
  100. package/src/memory/brief.ts +66 -16
  101. package/src/memory/capture.ts +26 -40
  102. package/src/memory/client.ts +137 -65
  103. package/src/memory/recall.ts +13 -22
  104. package/src/ui/index.html +100 -18
@@ -0,0 +1,2108 @@
1
+ # Hardcoded operational constants inventory
2
+
3
+ Generated by `bun scripts/inventory-hardcoded-values.ts`. Re-run from the repository root; do not edit the tables by hand.
4
+
5
+ Scope: module-level numeric and duration constants, plus inline numeric thresholds, in `src/` and executable TypeScript, JavaScript, Python and shell files under `scripts/`. The generator reports candidates mechanically; `scripts/inventory-hardcoded-values.classifications.json` records the code-reviewed decision for every item and any missing key fails the run. Keys use file, enclosing context, kind, name, value and occurrence; line and column are display-only. A generator self-check inserts a line above `src/hub/tasks.ts` and requires identical keys. `operational` items are candidates for the later area PRs. Safety floors and contracts stay fixed; test seams remain injectable.
6
+
7
+ ## Counts
8
+
9
+ | Classification | Items |
10
+ | --- | ---: |
11
+ | operational | 877 |
12
+ | safety floor | 445 |
13
+ | contract | 454 |
14
+ | test seam | 76 |
15
+ | **total** | **1852** |
16
+
17
+ ## Follow-up areas
18
+
19
+ | Area | Operational items | All items |
20
+ | --- | ---: | ---: |
21
+ | tasks/routing | 109 | 268 |
22
+ | bus/delivery | 21 | 59 |
23
+ | recovery/upgrade waits | 58 | 117 |
24
+ | adapters/handshakes | 96 | 232 |
25
+ | model relay/inference | 95 | 169 |
26
+ | UI/console | 498 | 1007 |
27
+
28
+ ## Inventory
29
+
30
+ | Location | Kind | Name | Value | Unit | Controls | Area | Classification |
31
+ | --- | --- | --- | ---: | --- | --- | --- | --- |
32
+ | scripts/agent-compat-step.sh:13:15 | inline | `head` | `1` | lines | 3) if head -1 "$report" \| grep -q '^Published agent CLI versions ahead of their verified set'; then echo "ahead=true" >> "$out" | UI/console | contract |
33
+ | scripts/agent-compat-watch.ts:10:112 | inline | `AbortSignal.timeout` | `15_000` | ms | AbortSignal.timeout | UI/console | operational |
34
+ | scripts/agent-compat-watch.ts:18:52 | inline | `new Date().toISOString().slice` | `10` | characters | new Date().toISOString().slice | UI/console | contract |
35
+ | scripts/amem/baseline.ts:13:7 | constant | `DAY_MS` | `86400000` | ms | DAY_MS | UI/console | contract |
36
+ | scripts/amem/baseline.ts:52:114 | inline | `new Date(DAY_START + i * DAY_MS).toISOString().slice` | `10` | characters | new Date(DAY_START + i * DAY_MS).toISOString().slice | UI/console | contract |
37
+ | scripts/amem/baseline.ts:53:13 | inline | `days` | `14` | days | days | UI/console | contract |
38
+ | scripts/amem/baseline.ts:53:29 | inline | `min` | `0` | count | min | UI/console | contract |
39
+ | scripts/amem/baseline.ts:53:45 | inline | `max` | `13` | count | max | UI/console | contract |
40
+ | scripts/amem/scale-bench.ts:22:97 | inline | `limit` | `50` | count | limit | UI/console | operational |
41
+ | scripts/benchmarks/evaluate.py:28:25 | inline | `len` | `7` | count | if len(sys.argv) != 7: | UI/console | contract |
42
+ | scripts/benchmarks/evaluate.py:49:117 | inline | `len` | `2` | count | if not isinstance(repo, str) or not isinstance(task, int) or not isinstance(features, list) or len(features) != 2: | UI/console | contract |
43
+ | scripts/benchmarks/evaluate.py:123:81 | inline | `timeout` | `180` | seconds | result_obj = test_solo(repo, task, *features, patch=patch_path, timeout=180, backend="docker", dataset_dir=dataset) | UI/console | operational |
44
+ | scripts/benchmarks/ledger.py:580:140 | inline | `slice` | `200` | characters | for frag in sorted(f for f in mine["frags"] if f not in final): lost_frags.append({"agent": agent, "path": path, "fragment": frag[:200]}) | UI/console | safety floor |
45
+ | scripts/benchmarks/native-pi-qwen.ts:152:198 | inline | `minimum` | `1` | count | minimum | adapters/handshakes | contract |
46
+ | scripts/benchmarks/native-pi-qwen.ts:152:238 | inline | `minimum` | `1` | count | minimum | adapters/handshakes | contract |
47
+ | scripts/benchmarks/native-pi-qwen.ts:199:45 | inline | `entries.length > 32` | `32` | count | entries.length > 32 | adapters/handshakes | safety floor |
48
+ | scripts/benchmarks/native-pi-qwen.ts:446:38 | inline | `this.calls.size > 128` | `128` | count | this.calls.size > 128 | adapters/handshakes | operational |
49
+ | scripts/benchmarks/native-pi-qwen.ts:697:64 | inline | `reason.slice` | `300` | characters | reason.slice | adapters/handshakes | safety floor |
50
+ | scripts/benchmarks/native-pi-qwen.ts:727:43 | inline | `state.quietMs >= 1000` | `1000` | ms | state.quietMs >= 1000 | adapters/handshakes | operational |
51
+ | scripts/benchmarks/native-pi-qwen.ts:802:7 | constant | `ACTIVE_TRACE_CAP` | `4096` | count | ACTIVE_TRACE_CAP | adapters/handshakes | operational |
52
+ | scripts/benchmarks/native-pi-qwen.ts:1099:115 | inline | `opts.timeoutMs ?? 60_000` | `60_000` | ms | opts.timeoutMs ?? 60_000 | adapters/handshakes | test seam |
53
+ | scripts/benchmarks/native-pi-qwen.ts:1101:78 | inline | `stderr.slice` | `300` | characters | stderr.slice | adapters/handshakes | safety floor |
54
+ | scripts/benchmarks/native-pi-qwen.ts:1129:89 | inline | `String(s.reason).slice` | `200` | characters | String(s.reason).slice | adapters/handshakes | safety floor |
55
+ | scripts/benchmarks/native-pi-qwen.ts:1138:62 | inline | `timeoutMs` | `180_000` | ms | timeoutMs | adapters/handshakes | test seam |
56
+ | scripts/benchmarks/native-pi-qwen.ts:1142:75 | inline | `stderr.slice` | `300` | characters | stderr.slice | adapters/handshakes | safety floor |
57
+ | scripts/benchmarks/native-pi-qwen.ts:1242:127 | inline | `qv.slice` | `80` | characters | qv.slice | adapters/handshakes | safety floor |
58
+ | scripts/benchmarks/native-pi-qwen.ts:1367:149 | inline | `max_tokens` | `20` | tokens | max_tokens | adapters/handshakes | operational |
59
+ | scripts/benchmarks/native-pi-qwen.ts:1367:185 | inline | `AbortSignal.timeout` | `30_000` | ms | AbortSignal.timeout | adapters/handshakes | operational |
60
+ | scripts/benchmarks/native-pi-qwen.ts:1387:44 | inline | `batchMs` | `0` | ms | batchMs | adapters/handshakes | operational |
61
+ | scripts/benchmarks/native-pi-qwen.ts:1395:77 | inline | `String(a.text).slice` | `4000` | characters | String(a.text).slice | adapters/handshakes | safety floor |
62
+ | scripts/benchmarks/native-pi-qwen.ts:1417:131 | inline | `qv.slice` | `80` | characters | qv.slice | adapters/handshakes | safety floor |
63
+ | scripts/benchmarks/native-pi-qwen.ts:1438:121 | inline | `contextWindow` | `262144` | unitless | contextWindow | adapters/handshakes | operational |
64
+ | scripts/benchmarks/native-pi-qwen.ts:1438:140 | inline | `maxTokens` | `4096` | tokens | maxTokens | adapters/handshakes | operational |
65
+ | scripts/benchmarks/native-pi-qwen.ts:1442:48 | inline | `watchdogMs` | `300_000` | ms | watchdogMs | adapters/handshakes | operational |
66
+ | scripts/benchmarks/native-pi-qwen.ts:1472:87 | inline | `String(a.text).slice` | `4000` | characters | String(a.text).slice | adapters/handshakes | safety floor |
67
+ | scripts/benchmarks/native-pi-qwen.ts:1502:33 | inline | `watchdogMs` | `300_000` | ms | watchdogMs | adapters/handshakes | operational |
68
+ | scripts/benchmarks/native-pi-qwen.ts:1509:89 | inline | `qwenUsageDiagnostics.length < 32` | `32` | characters | qwenUsageDiagnostics.length < 32 | adapters/handshakes | operational |
69
+ | scripts/benchmarks/native-pi-qwen.ts:1510:75 | inline | `clean(s).slice` | `500` | characters | clean(s).slice | adapters/handshakes | safety floor |
70
+ | scripts/benchmarks/native-pi-qwen.ts:1515:137 | inline | `a.text.length <= 4000` | `4000` | characters | a.text.length <= 4000 | adapters/handshakes | safety floor |
71
+ | scripts/benchmarks/native-pi-qwen.ts:1523:99 | inline | `clean(req.title).slice` | `900` | characters | clean(req.title).slice | adapters/handshakes | safety floor |
72
+ | scripts/benchmarks/native-pi-qwen.ts:1557:47 | inline | `Bun.sleep` | `25` | ms | Bun.sleep | adapters/handshakes | operational |
73
+ | scripts/benchmarks/native-pi-qwen.ts:1585:115 | inline | `clean(String(u.title ?? )).slice` | `350` | characters | clean(String(u.title ?? )).slice | adapters/handshakes | safety floor |
74
+ | scripts/benchmarks/native-pi-qwen.ts:1603:37 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | adapters/handshakes | operational |
75
+ | scripts/benchmarks/native-pi-qwen.ts:1665:33 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | adapters/handshakes | operational |
76
+ | scripts/benchmarks/native-pi-qwen.ts:1684:99 | inline | `String(e).slice` | `200` | characters | String(e).slice | adapters/handshakes | safety floor |
77
+ | scripts/benchmarks/native-pi-qwen.ts:1691:105 | inline | `String(e).slice` | `200` | characters | String(e).slice | adapters/handshakes | safety floor |
78
+ | scripts/benchmarks/native-pi-qwen.ts:1706:113 | inline | `String(e).slice` | `200` | characters | String(e).slice | adapters/handshakes | safety floor |
79
+ | scripts/benchmarks/native-pi-qwen.ts:1715:151 | inline | `String(e).slice` | `200` | characters | String(e).slice | adapters/handshakes | safety floor |
80
+ | scripts/benchmarks/native-pi-qwen.ts:1746:125 | inline | `error.replace(/(token\|secret\|api[_-]?key)(\s*[:=]\s*)[^\s,;]+/gi, $1$2[redacted]).slice` | `300` | characters | error.replace(/(token\|secret\|api[_-]?key)(\s*[:=]\s*)[^\s,;]+/gi, $1$2[redacted]).slice | adapters/handshakes | safety floor |
81
+ | scripts/benchmarks/native-pi-qwen.ts:1779:678 | inline | `String(e).slice` | `300` | characters | String(e).slice | adapters/handshakes | safety floor |
82
+ | scripts/benchmarks/native-pi-qwen.ts:1784:110 | inline | `String(e).slice` | `300` | characters | String(e).slice | adapters/handshakes | safety floor |
83
+ | scripts/benchmarks/native.ts:55:92 | inline | `timeoutMs` | `180_000` | ms | timeoutMs | UI/console | test seam |
84
+ | scripts/benchmarks/native.ts:58:67 | inline | `detail.slice` | `350` | characters | detail.slice | UI/console | safety floor |
85
+ | scripts/benchmarks/native.ts:126:108 | inline | `Bun.sleep` | `250` | ms | Bun.sleep | UI/console | operational |
86
+ | scripts/benchmarks/native.ts:144:68 | inline | `ms` | `90000` | unitless | ms | UI/console | test seam |
87
+ | scripts/benchmarks/native.ts:150:21 | inline | `Bun.sleep` | `250` | ms | Bun.sleep | UI/console | operational |
88
+ | scripts/benchmarks/native.ts:281:50 | inline | `regularBytes` | `16 * 1024 * 1024` | bytes | regularBytes | UI/console | safety floor |
89
+ | scripts/benchmarks/native.ts:396:119 | inline | `refreshInterval` | `1` | ms | refreshInterval | UI/console | operational |
90
+ | scripts/benchmarks/native.ts:408:188 | inline | `watchdog_ms` | `360000` | ms | watchdog_ms | UI/console | operational |
91
+ | scripts/benchmarks/native.ts:408:206 | inline | `batch_ms` | `0` | ms | batch_ms | UI/console | operational |
92
+ | scripts/benchmarks/native.ts:408:220 | inline | `batch_max` | `1` | count | batch_max | UI/console | operational |
93
+ | scripts/benchmarks/native.ts:408:251 | inline | `release_after_min` | `0` | minutes | release_after_min | UI/console | operational |
94
+ | scripts/benchmarks/native.ts:408:336 | inline | `poll_min` | `1` | minutes | poll_min | UI/console | operational |
95
+ | scripts/benchmarks/native.ts:526:249 | inline | `setTimeout` | `60000` | ms | setTimeout | UI/console | operational |
96
+ | scripts/benchmarks/native.ts:536:140 | inline | `setTimeout` | `30000` | ms | setTimeout | UI/console | operational |
97
+ | scripts/benchmarks/native.ts:594:44 | inline | `Date.now() - settled > 5000` | `5000` | unitless | Date.now() - settled > 5000 | UI/console | operational |
98
+ | scripts/benchmarks/native.ts:613:29 | inline | `Bun.sleep` | `300` | ms | Bun.sleep | UI/console | operational |
99
+ | scripts/benchmarks/native.ts:659:54 | inline | `Math.min` | `30000` | ms | Math.min | UI/console | operational |
100
+ | scripts/benchmarks/native.ts:659:61 | inline | `Math.min` | `300000` | ms | Math.min | UI/console | operational |
101
+ | scripts/benchmarks/native.ts:662:75 | inline | `Date.now() - waitCaptureAt >= 5000` | `5000` | ms | Date.now() - waitCaptureAt >= 5000 | UI/console | operational |
102
+ | scripts/benchmarks/native.ts:671:92 | inline | `String(e).slice` | `200` | characters | String(e).slice | UI/console | safety floor |
103
+ | scripts/benchmarks/native.ts:677:195 | inline | `out.trim().slice` | `200` | characters | out.trim().slice | UI/console | safety floor |
104
+ | scripts/benchmarks/native.ts:677:261 | inline | `String(e).slice` | `200` | characters | String(e).slice | UI/console | safety floor |
105
+ | scripts/benchmarks/native.ts:680:190 | inline | `String(e).slice` | `200` | characters | String(e).slice | UI/console | safety floor |
106
+ | scripts/benchmarks/native.ts:718:155 | inline | `String(e).slice` | `200` | characters | String(e).slice | UI/console | safety floor |
107
+ | scripts/benchmarks/native.ts:726:78 | inline | `String(e).slice` | `200` | characters | String(e).slice | UI/console | safety floor |
108
+ | scripts/benchmarks/native.ts:741:216 | inline | `String(e).slice` | `200` | characters | String(e).slice | UI/console | safety floor |
109
+ | scripts/benchmarks/native.ts:758:947 | inline | `String(error).replace(/(token\|secret\|api[_-]?key)(\s*[:=]\s*)[^\s,;]+/ig, $1$2[redacted]).slice` | `300` | characters | String(error).replace(/(token\|secret\|api[_-]?key)(\s*[:=]\s*)[^\s,;]+/ig, $1$2[redacted]).slice | UI/console | safety floor |
110
+ | scripts/benchmarks/native.ts:781:54 | inline | `regularBytes` | `16 * 1024 * 1024` | bytes | regularBytes | UI/console | safety floor |
111
+ | scripts/benchmarks/native.ts:801:53 | inline | `i.toString().padStart` | `2` | unitless | i.toString().padStart | UI/console | contract |
112
+ | scripts/benchmarks/peer-bus-mcp.py:20:133 | inline | `slice` | `4000` | characters | req = urllib.request.Request(os.environ["AGENTHUB_PILOT_TOOL_URL"], data=json.dumps({"text": str(args.get("text", ""))[:4000]}).encode(), headers={"Authorization": "Bearer " + os.environ["AGENTHUB_PILOT_TOOL_TOKEN"], "Content-Type": "application/json"}) | UI/console | safety floor |
113
+ | scripts/benchmarks/peer-bus-mcp.py:21:49 | inline | `timeout` | `5` | seconds | urllib.request.urlopen(req, timeout=5).read() | UI/console | operational |
114
+ | scripts/benchmarks/probe-qwen-usage.ts:41:61 | inline | `watchdogMs` | `60_000` | ms | watchdogMs | UI/console | operational |
115
+ | scripts/benchmarks/probe-qwen-usage.ts:43:63 | inline | `observations.length < 32` | `32` | characters | observations.length < 32 | UI/console | operational |
116
+ | scripts/benchmarks/probe-qwen-usage.ts:50:132 | inline | `timeoutMs` | `15_000` | ms | timeoutMs | UI/console | operational |
117
+ | scripts/benchmarks/probe-qwen-usage.ts:55:33 | inline | `deadline` | `65_000` | ms | deadline | UI/console | operational |
118
+ | scripts/benchmarks/probe-qwen-usage.ts:56:92 | inline | `Bun.sleep` | `50` | ms | Bun.sleep | UI/console | operational |
119
+ | scripts/benchmarks/runner.py:143:109 | inline | `slice` | `300` | characters | if run.get("teardown_errors"): return ("teardown errors: "+"; ".join(map(str,run["teardown_errors"])))[:300] | UI/console | safety floor |
120
+ | scripts/benchmarks/runner.py:150:161 | inline | `slice` | `300` | characters | if run.get("cleanup_complete") is not True: return ("cleanup incomplete or unknown: "+"; ".join(map(str,(run.get("cleanup") or {}).get("reasons") or [])))[:300] | UI/console | safety floor |
121
+ | scripts/benchmarks/runner.py:179:58 | inline | `len` | `2` | count | if not isinstance(prompts,list) or len(prompts)!=2 or any(not re.fullmatch(r"[0-9a-f]{64}",str(x)) for x in prompts): raise BenchError("missing feature prompt digests") | UI/console | contract |
122
+ | scripts/benchmarks/runner.py:360:30 | inline | `len` | `3` | count | complete = sum(len(u) == 3 for u in observations) | UI/console | contract |
123
+ | scripts/benchmarks/runner.py:491:147 | inline | `slice` | `5` | characters | rows.append({"case":case,"arm":arm,"status":"unavailable","reason":"changes outside the guarded source dirs: "+", ".join(outside[:5]),"pass":None,**v3extra}); continue | UI/console | safety floor |
124
+ | scripts/benchmarks/runner.py:590:131 | inline | `len` | `2` | count | out={"schema":SCHEMA,"manifest_sha256":grade["manifest_sha256"],"cohort":cohort["cases"],"controls_passed":len(control_rows)==2*len(cohort["cases"]) and all(x.get("check_passed") is True and x.get("observed")==x.get("expected") for x in control_rows),"arms":by_arm,"features":[{"id":f"{c['repo']}:{c['task']}:{f}","repo":c["repo"],"task":c["task"],"feature":f} for i in cohort["cases"] for c in [m["cases"][i]] for f in c["features"]],"claims":"convenience sample only; no leaderboard or isolated-coop parity claim"} | UI/console | contract |
125
+ | scripts/benchmarks/study_audit.py:120:72 | inline | `timeout` | `30` | seconds | input=queries, capture_output=True, timeout=30) | UI/console | operational |
126
+ | scripts/benchmarks/study_audit.py:129:27 | inline | `len` | `2` | count | if len(fields) != 2 or fields[0] != b"blob" or not fields[1].isdigit(): | UI/console | contract |
127
+ | scripts/benchmarks/study_audit.py:137:95 | inline | `timeout` | `30` | seconds | blobs = subprocess.run(command + ["--batch"], input=queries, capture_output=True, timeout=30) | UI/console | operational |
128
+ | scripts/benchmarks/study_audit.py:144:38 | inline | `len` | `3` | count | if end < 0 or len(fields) != 3 or fields[1] != b"blob" or fields[2] != str(length).encode(): | UI/console | contract |
129
+ | scripts/benchmarks/study_audit.py:156:39 | inline | `len` | `64` | count | if len(_VERIFIED_SOURCE_TREES) >= 64: | UI/console | safety floor |
130
+ | scripts/benchmarks/study_audit.py:167:24 | inline | `len` | `1` | count | if len(entries) != 1: | UI/console | contract |
131
+ | scripts/benchmarks/study_audit.py:244:52 | inline | `len` | `2` | count | checks["controls"] &= len(ctrl) == 2 and {x.get("mode") for x in ctrl} == {"base", "oracle"} | UI/console | contract |
132
+ | scripts/benchmarks/study_audit.py:679:32 | inline | `limit` | `4 * 1024 * 1024` | bytes | def _coverage_read(path, limit=4 * 1024 * 1024): | UI/console | test seam |
133
+ | scripts/benchmarks/study_supervisor.py:46:1 | constant | `PROGRESS_INTERVAL_S` | `15.0` | seconds | PROGRESS_INTERVAL_S = 15.0 # progress.json refresh while a child runs; also the liveness cadence | UI/console | operational |
134
+ | scripts/benchmarks/study_supervisor.py:47:1 | constant | `STALE_AFTER_S` | `120.0` | seconds | STALE_AFTER_S = 120.0 # status: a running study whose progress is older is stalled, never live | UI/console | operational |
135
+ | scripts/benchmarks/study_supervisor.py:48:1 | constant | `CANCEL_SETTLE_S` | `900.0` | seconds | CANCEL_SETTLE_S = 900.0 # a native child's finally-block restoration may outlast one attempt's teardown | UI/console | operational |
136
+ | scripts/benchmarks/study_supervisor.py:49:1 | constant | `FALLBACK_SETTLE_S` | `10.0` | seconds | FALLBACK_SETTLE_S = 10.0 # a SIGKILLed group dies at once | UI/console | operational |
137
+ | scripts/benchmarks/study_supervisor.py:50:1 | constant | `RECOVERY_TIMEOUT_S` | `300.0` | seconds | RECOVERY_TIMEOUT_S = 300.0 # one bounded restore.ts attempt per unrestored cohort | UI/console | operational |
138
+ | scripts/benchmarks/study_supervisor.py:90:84 | inline | `timeout` | `5` | seconds | env={**os.environ, "LC_ALL": "C", "TZ": "UTC"}, timeout=5) | UI/console | operational |
139
+ | scripts/benchmarks/study_supervisor.py:127:40 | inline | `timeout` | `5` | seconds | self.proc.wait(timeout=5) | UI/console | operational |
140
+ | scripts/benchmarks/study_supervisor.py:163:47 | inline | `timeout` | `0.2` | seconds | return self.proc.wait(timeout=0.2) | UI/console | operational |
141
+ | scripts/benchmarks/study_supervisor.py:344:106 | inline | `timeout` | `60` | seconds | p = subprocess.run([str(x) for x in cmd], cwd=REPO, capture_output=True, text=True, env=env, timeout=60) | UI/console | operational |
142
+ | scripts/benchmarks/study_supervisor.py:612:14 | inline | `slice` | `1` | characters | if argv[:1] == ["status"]: | UI/console | contract |
143
+ | scripts/benchmarks/teardown.ts:53:192 | inline | `timeout` | `5_000` | ms | timeout | UI/console | operational |
144
+ | scripts/benchmarks/teardown.ts:79:171 | inline | `timeout` | `20_000` | ms | timeout | UI/console | operational |
145
+ | scripts/benchmarks/teardown.ts:94:189 | inline | `timeout` | `10_000` | ms | timeout | UI/console | operational |
146
+ | scripts/benchmarks/teardown.ts:220:141 | inline | `settleMs` | `10_000` | ms | settleMs | UI/console | test seam |
147
+ | scripts/benchmarks/teardown.ts:220:161 | inline | `fallbackMs` | `4_000` | ms | fallbackMs | UI/console | test seam |
148
+ | scripts/benchmarks/teardown.ts:277:29 | inline | `settleFor` | `bounds.fallbackMs / 2` | ms | settleFor | UI/console | operational |
149
+ | scripts/benchmarks/teardown.ts:301:29 | inline | `settleFor` | `bounds.fallbackMs / 2` | ms | settleFor | UI/console | operational |
150
+ | scripts/benchmarks/teardown.ts:513:38 | inline | `regularBytes` | `256 * 1024` | bytes | regularBytes | UI/console | safety floor |
151
+ | scripts/benchmarks/teardown.ts:534:100 | inline | `resets < 1e12` | `1e12` | ms | resets < 1e12 | UI/console | contract |
152
+ | scripts/benchmarks/teardown.ts:534:116 | inline | `resetsMs` | `1000` | ms | resetsMs | UI/console | contract |
153
+ | scripts/benchmarks/teardown.ts:556:102 | inline | `boundMs` | `1500` | ms | boundMs | UI/console | test seam |
154
+ | scripts/benchmarks/teardown.ts:565:34 | inline | `Math.min` | `25` | ms | Math.min | UI/console | operational |
155
+ | scripts/check-citations.ts:5:31 | inline | `statSync(document).size > 256 * 1024` | `256 * 1024` | count | statSync(document).size > 256 * 1024 | UI/console | safety floor |
156
+ | scripts/check-citations.ts:5:75 | inline | `statSync(bibliography).size > 4 * 1024 * 1024` | `4 * 1024 * 1024` | count | statSync(bibliography).size > 4 * 1024 * 1024 | UI/console | safety floor |
157
+ | scripts/check-docs.mjs:20:209 | inline | `timeout` | `2000` | ms | timeout | UI/console | operational |
158
+ | scripts/check-docs.mjs:46:24 | inline | `entries.length > 4096` | `4096` | count | entries.length > 4096 | UI/console | safety floor |
159
+ | scripts/check-docs.mjs:62:89 | inline | `info.size > 4 * 1024 * 1024` | `4 * 1024 * 1024` | count | info.size > 4 * 1024 * 1024 | UI/console | safety floor |
160
+ | scripts/check-memory-consumer-parity.ts:60:90 | inline | `timeout` | `15_000` | ms | timeout | UI/console | operational |
161
+ | scripts/check-roles.ts:7:87 | inline | `file.slice` | `-3` | characters | file.slice | UI/console | contract |
162
+ | scripts/check.sh:20:36 | inline | `AHUB_CHECK_LOCK_WAIT_S` | `1800` | seconds | wait_s=${AHUB_CHECK_LOCK_WAIT_S:-1800} | UI/console | test seam |
163
+ | scripts/check.sh:28:11 | inline | `sleep` | `5` | seconds | sleep 5; waited=$((waited + 5)) | UI/console | operational |
164
+ | scripts/check.sh:95:70 | inline | `bun test --timeout` | `20000` | ms | GIT_CONFIG_GLOBAL=/dev/null TERM=xterm-256color bun test --timeout 20000 ${test_args[@]+"${test_args[@]}"} & | UI/console | operational |
165
+ | scripts/check.sh:97:57 | inline | `AHUB_CHECK_HANG_S` | `960` | seconds | scripts/hang-watch.sh "$test_pid" "${AHUB_CHECK_HANG_S:-960}" & | UI/console | test seam |
166
+ | scripts/ci-gates.mjs:54:69 | inline | `value[key].length > 100` | `100` | count | value[key].length > 100 | UI/console | contract |
167
+ | scripts/ci-reuse.mjs:11:31 | inline | `deadline` | `60_000` | ms | deadline | UI/console | operational |
168
+ | scripts/hang-watch.sh:23:21 | inline | `sample` | `3` | seconds | sample "$pid" 3 -file "$report" >/dev/null 2>&1 \|\| echo "check: sample failed" >&2 | UI/console | operational |
169
+ | scripts/hang-watch.sh:24:73 | inline | `head` | `120` | lines | sed -n '/Call graph:/,/Total number in stack/p' "$report" \| head -120 >&2 | UI/console | safety floor |
170
+ | scripts/hang-watch.sh:30:32 | inline | `termination attempts` | `10` | count | for _ in 1 2 3 4 5 6 7 8 9 10; do running \|\| exit 0; sleep 1; done | UI/console | operational |
171
+ | scripts/hang-watch.sh:30:64 | inline | `sleep` | `1` | seconds | for _ in 1 2 3 4 5 6 7 8 9 10; do running \|\| exit 0; sleep 1; done | UI/console | operational |
172
+ | scripts/hang-watch.sh:34:9 | inline | `sleep` | `1` | seconds | sleep 1 | UI/console | operational |
173
+ | scripts/overlaps.ts:36:38 | inline | `iso.slice` | `10` | characters | iso.slice | UI/console | contract |
174
+ | scripts/overlaps.ts:38:35 | inline | `d.toISOString().slice` | `10` | characters | d.toISOString().slice | UI/console | contract |
175
+ | scripts/pii-screen-eval.ts:14:14 | constant | `RECALL_BOUND` | `0.9` | unitless | RECALL_BOUND | UI/console | operational |
176
+ | scripts/pii-screen-eval.ts:49:56 | inline | `ms.at` | `-1` | count | ms.at | UI/console | contract |
177
+ | scripts/pii-screen-eval.ts:82:81 | inline | `new Date().toISOString().slice` | `10` | port | new Date().toISOString().slice | UI/console | contract |
178
+ | scripts/seeded-check.ts:65:77 | inline | `setTimeout` | `70_000` | ms | setTimeout | UI/console | operational |
179
+ | scripts/seeded-check.ts:72:27 | inline | `output.length > 2_000_000` | `2_000_000` | characters | output.length > 2_000_000 | UI/console | safety floor |
180
+ | scripts/seeded-check.ts:72:89 | inline | `output.slice` | `2_000_000` | characters | output.slice | UI/console | safety floor |
181
+ | scripts/seeded-check.ts:102:42 | inline | `count > 64` | `64` | count | count > 64 | UI/console | safety floor |
182
+ | scripts/smoke-acp.ts:19:63 | inline | `setTimeout` | `120_000` | ms | setTimeout | UI/console | operational |
183
+ | scripts/smoke-codex-hub.ts:7:119 | inline | `m.line.slice` | `160` | characters | m.line.slice | UI/console | safety floor |
184
+ | scripts/smoke-codex-hub.ts:17:123 | inline | `JSON.stringify(m.params).slice` | `140` | characters | JSON.stringify(m.params).slice | UI/console | safety floor |
185
+ | scripts/smoke-codex-hub.ts:22:62 | inline | `ms` | `180_000` | unitless | ms | UI/console | test seam |
186
+ | scripts/smoke-codex-hub.ts:22:196 | inline | `Bun.sleep` | `250` | ms | Bun.sleep | UI/console | operational |
187
+ | scripts/smoke-codex-hub.ts:26:17 | inline | `Bun.sleep` | `6000` | ms | Bun.sleep | UI/console | operational |
188
+ | scripts/smoke-codex-hub.ts:35:114 | inline | `events.find((e) => e.t === envelope && e.env.from === codex).env.body.slice` | `160` | characters | events.find((e) => e.t === envelope && e.env.from === codex).env.body.slice | UI/console | safety floor |
189
+ | scripts/smoke-codex-hub.ts:38:56 | inline | `Bun.sleep` | `300` | ms | Bun.sleep | UI/console | operational |
190
+ | scripts/smoke-codex-hub.ts:41:56 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | UI/console | operational |
191
+ | scripts/smoke-codex-hub.ts:42:17 | inline | `Bun.sleep` | `2500` | ms | Bun.sleep | UI/console | operational |
192
+ | scripts/smoke-codex-hub.ts:48:95 | inline | `answer.body.trim().split(\n).slice` | `-2` | characters | answer.body.trim().split(\n).slice | UI/console | operational |
193
+ | scripts/smoke-codex-hub.ts:48:117 | inline | `answer.body.trim().split(\n).slice(-2).join( \| ).slice` | `-120` | characters | answer.body.trim().split(\n).slice(-2).join( \| ).slice | UI/console | safety floor |
194
+ | scripts/smoke-codex.ts:27:113 | inline | `JSON.stringify(m.params).slice` | `300` | characters | JSON.stringify(m.params).slice | UI/console | safety floor |
195
+ | scripts/smoke-codex.ts:33:60 | inline | `setTimeout` | `120_000` | ms | setTimeout | UI/console | operational |
196
+ | scripts/smoke-conductor.ts:31:56 | inline | `option(--timeout-s) ?? 1800` | `1800` | ms | option(--timeout-s) ?? 1800 | UI/console | operational |
197
+ | scripts/smoke-conductor.ts:32:58 | inline | `timeoutSeconds < 60` | `60` | ms | timeoutSeconds < 60 | UI/console | operational |
198
+ | scripts/smoke-conductor.ts:32:81 | inline | `timeoutSeconds > 1800` | `1800` | ms | timeoutSeconds > 1800 | UI/console | operational |
199
+ | scripts/smoke-conductor.ts:116:6 | inline | `setInterval` | `250` | ms | setInterval | UI/console | operational |
200
+ | scripts/smoke-conductor.ts:119:81 | inline | `Bun.sleep` | `3000` | ms | Bun.sleep | UI/console | operational |
201
+ | scripts/smoke-conductor.ts:127:63 | inline | `terminalText(err \|\| out).slice` | `1000` | characters | terminalText(err \|\| out).slice | UI/console | safety floor |
202
+ | scripts/smoke-conductor.ts:135:187 | inline | `Bun.sleep` | `1000` | ms | Bun.sleep | UI/console | operational |
203
+ | scripts/smoke-conductor.ts:159:131 | inline | `statSync(transcript).size > 32 * 1024 * 1024` | `32 * 1024 * 1024` | count | statSync(transcript).size > 32 * 1024 * 1024 | UI/console | safety floor |
204
+ | scripts/smoke-conductor.ts:245:41 | inline | `approval_wait_s` | `5` | seconds | approval_wait_s | UI/console | operational |
205
+ | scripts/smoke-conductor.ts:246:126 | inline | `unaccepted_min` | `60` | minutes | unaccepted_min | UI/console | operational |
206
+ | scripts/smoke-conductor.ts:246:140 | inline | `idle_min` | `60` | minutes | idle_min | UI/console | operational |
207
+ | scripts/smoke-conductor.ts:246:156 | inline | `review_min` | `60` | minutes | review_min | UI/console | operational |
208
+ | scripts/smoke-conductor.ts:247:73 | inline | `timeout_s` | `300` | seconds | timeout_s | UI/console | operational |
209
+ | scripts/smoke-conductor.ts:320:25 | inline | `Bun.sleep` | `250` | ms | Bun.sleep | UI/console | operational |
210
+ | scripts/smoke-conductor.ts:366:144 | inline | `terminalText((error as Error).message).slice` | `1000` | characters | terminalText((error as Error).message).slice | UI/console | safety floor |
211
+ | scripts/smoke-ollama.ts:19:90 | inline | `max_tokens` | `128` | tokens | max_tokens | UI/console | operational |
212
+ | scripts/smoke-ollama.ts:20:33 | inline | `AbortSignal.timeout` | `120_000` | ms | AbortSignal.timeout | UI/console | operational |
213
+ | scripts/smoke-pi-route.ts:23:292 | inline | `contextWindow` | `8192` | unitless | contextWindow | UI/console | operational |
214
+ | scripts/smoke-pi-route.ts:23:329 | inline | `contextWindow` | `8192` | unitless | contextWindow | UI/console | operational |
215
+ | scripts/smoke-pi-route.ts:23:336 | inline | `contextWindow` | `262144` | unitless | contextWindow | UI/console | operational |
216
+ | scripts/smoke-pi-route.ts:23:355 | inline | `maxTokens` | `128` | tokens | maxTokens | UI/console | operational |
217
+ | scripts/smoke-pi-route.ts:23:486 | inline | `watchdogMs` | `120_000` | ms | watchdogMs | UI/console | operational |
218
+ | scripts/smoke-pi-route.ts:28:33 | inline | `deadline` | `120_000` | ms | deadline | UI/console | operational |
219
+ | scripts/smoke-pi-route.ts:29:96 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | UI/console | operational |
220
+ | scripts/smoke-recovery-09-10.ts:22:7 | constant | `timeoutMs` | `45000` | ms | timeoutMs | UI/console | operational |
221
+ | scripts/smoke-recovery-09-10.ts:42:29 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | UI/console | operational |
222
+ | scripts/smoke-recovery-09-10.ts:57:37 | inline | `deadline` | `15_000` | ms | deadline | UI/console | operational |
223
+ | scripts/smoke-recovery-09-10.ts:63:25 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | UI/console | operational |
224
+ | scripts/smoke-recovery-09-10.ts:147:33 | inline | `deadline` | `180_000` | ms | deadline | UI/console | operational |
225
+ | scripts/smoke-recovery-09-10.ts:155:21 | inline | `Bun.sleep` | `250` | ms | Bun.sleep | UI/console | operational |
226
+ | src/adapters/acp-owned-group.ts:18:7 | constant | `READ_MS` | `1000` | ms | READ_MS | adapters/handshakes | operational |
227
+ | src/adapters/acp-owned-group.ts:62:61 | inline | `killMs > 10_000` | `10_000` | ms | killMs > 10_000 | adapters/handshakes | operational |
228
+ | src/adapters/acp-quota.ts:12:43 | inline | `windowMins` | `300` | minutes | windowMins | adapters/handshakes | operational |
229
+ | src/adapters/acp.ts:135:7 | constant | `HANDSHAKE_MS` | `30000` | ms | HANDSHAKE_MS | adapters/handshakes | operational |
230
+ | src/adapters/acp.ts:137:7 | constant | `TOOL_INPUT_CAP` | `64` | characters | TOOL_INPUT_CAP | adapters/handshakes | safety floor |
231
+ | src/adapters/acp.ts:138:7 | constant | `TOOL_CEILING_MS` | `30 * 60000` | ms | TOOL_CEILING_MS | adapters/handshakes | operational |
232
+ | src/adapters/acp.ts:220:110 | inline | `this.activityPending.text.length + item.text.length > 4096` | `4096` | characters | this.activityPending.text.length + item.text.length > 4096 | adapters/handshakes | operational |
233
+ | src/adapters/acp.ts:223:69 | inline | `setTimeout` | `50` | ms | setTimeout | adapters/handshakes | operational |
234
+ | src/adapters/acp.ts:516:200 | inline | `activityText(title).replace(/[\p{Cc}\p{Cf}\p{Zl}\p{Zp}]/gu, ).slice` | `80` | characters | activityText(title).replace(/[\p{Cc}\p{Cf}\p{Zl}\p{Zp}]/gu, ).slice | adapters/handshakes | safety floor |
235
+ | src/adapters/acp.ts:705:31 | inline | `full.length > 600` | `600` | characters | full.length > 600 | adapters/handshakes | safety floor |
236
+ | src/adapters/acp.ts:706:72 | inline | `full.slice` | `600` | characters | full.slice | adapters/handshakes | safety floor |
237
+ | src/adapters/acp.ts:721:107 | inline | `Math.max` | `10` | ms | Math.max | adapters/handshakes | operational |
238
+ | src/adapters/acp.ts:721:120 | inline | `Math.min` | `30_000` | ms | Math.min | adapters/handshakes | operational |
239
+ | src/adapters/adapter-api.ts:2:14 | constant | `ADAPTER_API` | `1` | unitless | ADAPTER_API | adapters/handshakes | contract |
240
+ | src/adapters/agy/entry.ts:59:80 | inline | `timeout` | `5000` | ms | timeout | adapters/handshakes | operational |
241
+ | src/adapters/agy/hooks.ts:14:119 | inline | `value.transcriptPath.length > 4096` | `4096` | characters | value.transcriptPath.length > 4096 | adapters/handshakes | safety floor |
242
+ | src/adapters/agy/hooks.ts:15:110 | inline | `value.workspacePaths.length > 32` | `32` | count | value.workspacePaths.length > 32 | adapters/handshakes | safety floor |
243
+ | src/adapters/agy/hooks.ts:16:87 | inline | `path.length <= 4096` | `4096` | characters | path.length <= 4096 | adapters/handshakes | safety floor |
244
+ | src/adapters/agy/hooks.ts:19:124 | inline | `call.name.length > 128` | `128` | characters | call.name.length > 128 | adapters/handshakes | safety floor |
245
+ | src/adapters/agy/hooks.ts:58:17 | inline | `cap` | `4 * 1024 * 1024` | count | cap | adapters/handshakes | safety floor |
246
+ | src/adapters/agy/hooks.ts:59:23 | inline | `window` | `64 * 1024` | unitless | window | adapters/handshakes | operational |
247
+ | src/adapters/agy/hooks.ts:59:59 | inline | `Math.min` | `window * 2` | unitless | Math.min | adapters/handshakes | operational |
248
+ | src/adapters/channel-peer.ts:39:99 | inline | `this.attachmentWaiters.length >= 64` | `64` | ms | this.attachmentWaiters.length >= 64 | adapters/handshakes | safety floor |
249
+ | src/adapters/claude-channel.ts:91:7 | constant | `MAX_RECONNECT_DELAY_MS` | `30000` | ms | MAX_RECONNECT_DELAY_MS | adapters/handshakes | operational |
250
+ | src/adapters/claude-channel.ts:103:7 | constant | `HELD_CLOSE` | `4000` | unitless | HELD_CLOSE | adapters/handshakes | contract |
251
+ | src/adapters/claude-channel.ts:105:7 | constant | `INBOX_CAP` | `200` | count | INBOX_CAP | adapters/handshakes | safety floor |
252
+ | src/adapters/claude-channel.ts:256:55 | inline | `Math.min` | `1000` | ms | Math.min | adapters/handshakes | operational |
253
+ | src/adapters/claude-channel.ts:256:62 | inline | `2 ** Math.max(attempt, 0)` | `2` | ms | 2 ** Math.max(attempt, 0) | adapters/handshakes | operational |
254
+ | src/adapters/claude-channel.ts:317:53 | inline | `Math.min` | `1000` | ms | Math.min | adapters/handshakes | operational |
255
+ | src/adapters/claude-channel.ts:317:60 | inline | `2 ** Math.max(attempt, 0)` | `2` | ms | 2 ** Math.max(attempt, 0) | adapters/handshakes | operational |
256
+ | src/adapters/claude-channel.ts:333:44 | inline | `tries < 2` | `2` | unitless | tries < 2 | adapters/handshakes | operational |
257
+ | src/adapters/claude-channel.ts:333:86 | inline | `setTimeout` | `1000` | ms | setTimeout | adapters/handshakes | operational |
258
+ | src/adapters/claude-channel.ts:401:104 | inline | `args.tool_use_id.length > 256` | `256` | characters | args.tool_use_id.length > 256 | adapters/handshakes | contract |
259
+ | src/adapters/claude-channel.ts:424:92 | inline | `res.pollingAdvice.count >= 3` | `3` | count | res.pollingAdvice.count >= 3 | adapters/handshakes | contract |
260
+ | src/adapters/claude-channel.ts:424:212 | inline | `res.pollingAdvice.minutes <= 10` | `10` | count | res.pollingAdvice.minutes <= 10 | adapters/handshakes | contract |
261
+ | src/adapters/claude-implementer.ts:57:107 | inline | `maxFrameBytes` | `4096` | bytes | maxFrameBytes | adapters/handshakes | safety floor |
262
+ | src/adapters/claude-implementer.ts:57:129 | inline | `maxOutputBytes` | `4096` | bytes | maxOutputBytes | adapters/handshakes | safety floor |
263
+ | src/adapters/claude-implementer.ts:59:91 | inline | `setTimeout` | `3000` | ms | setTimeout | adapters/handshakes | operational |
264
+ | src/adapters/claude-print-child.ts:45:49 | inline | `options.maxFrameBytes ?? 256 * 1024` | `256 * 1024` | count | options.maxFrameBytes ?? 256 * 1024 | adapters/handshakes | safety floor |
265
+ | src/adapters/claude-print-child.ts:45:101 | inline | `options.maxOutputBytes ?? 4 * 1024 * 1024` | `4 * 1024 * 1024` | count | options.maxOutputBytes ?? 4 * 1024 * 1024 | adapters/handshakes | safety floor |
266
+ | src/adapters/claude-print.ts:49:7 | constant | `DIFF_CAP` | `100000` | characters | DIFF_CAP | adapters/handshakes | safety floor |
267
+ | src/adapters/claude-print.ts:57:224 | inline | `timeout` | `15_000` | ms | timeout | adapters/handshakes | operational |
268
+ | src/adapters/codex-appserver.ts:174:78 | inline | `launchId.length <= 128` | `128` | characters | launchId.length <= 128 | adapters/handshakes | safety floor |
269
+ | src/adapters/codex-appserver.ts:316:42 | inline | `this.opts.steerTimeoutMs ?? 10_000` | `10_000` | ms | this.opts.steerTimeoutMs ?? 10_000 | adapters/handshakes | operational |
270
+ | src/adapters/codex-appserver.ts:355:116 | inline | `this.opts.steerTimeoutMs ?? 10_000` | `10_000` | ms | this.opts.steerTimeoutMs ?? 10_000 | adapters/handshakes | operational |
271
+ | src/adapters/codex-appserver.ts:448:23 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | adapters/handshakes | operational |
272
+ | src/adapters/codex-appserver.ts:621:34 | inline | `link.approvalIds.size >= 1024` | `1024` | count | link.approvalIds.size >= 1024 | adapters/handshakes | safety floor |
273
+ | src/adapters/codex-appserver.ts:635:77 | inline | `Math.max` | `10` | ms | Math.max | adapters/handshakes | operational |
274
+ | src/adapters/codex-appserver.ts:635:90 | inline | `Math.min` | `30_000` | ms | Math.min | adapters/handshakes | operational |
275
+ | src/adapters/codex-appserver.ts:678:84 | inline | `this.opts.usagePollMs ?? 600_000` | `600_000` | ms | this.opts.usagePollMs ?? 600_000 | adapters/handshakes | operational |
276
+ | src/adapters/codex-appserver.ts:691:115 | inline | `setTimeout` | `30_000` | ms | setTimeout | adapters/handshakes | operational |
277
+ | src/adapters/codex-appserver.ts:705:47 | inline | `setTimeout` | `30_000` | ms | setTimeout | adapters/handshakes | operational |
278
+ | src/adapters/codex-review-isolation.ts:16:7 | constant | `CAP` | `128 * 1024` | count | CAP | adapters/handshakes | safety floor |
279
+ | src/adapters/codex-review-isolation.ts:16:25 | constant | `MAX_SERVERS` | `64` | count | MAX_SERVERS | adapters/handshakes | safety floor |
280
+ | src/adapters/codex-review-isolation.ts:20:22 | inline | `names.length > 64` | `64` | count | names.length > 64 | adapters/handshakes | safety floor |
281
+ | src/adapters/codex-review-isolation.ts:20:46 | inline | `segments.length > 64` | `64` | count | segments.length > 64 | adapters/handshakes | safety floor |
282
+ | src/adapters/codex-review-isolation.ts:23:55 | inline | `source.length > 256` | `256` | characters | source.length > 256 | adapters/handshakes | safety floor |
283
+ | src/adapters/codex-review-isolation.ts:43:57 | inline | `segment.length > 256` | `256` | characters | segment.length > 256 | adapters/handshakes | safety floor |
284
+ | src/adapters/codex-review-isolation.ts:84:27 | inline | `configured.length > 64` | `64` | characters | configured.length > 64 | adapters/handshakes | safety floor |
285
+ | src/adapters/codex-review-isolation.ts:162:21 | inline | `rows.length > 512` | `512` | count | rows.length > 512 | adapters/handshakes | safety floor |
286
+ | src/adapters/codex-review-isolation.ts:190:42 | inline | `deadline` | `12_000` | ms | deadline | adapters/handshakes | operational |
287
+ | src/adapters/codex-review-isolation.ts:201:102 | inline | `Math.max` | `1` | ms | Math.max | adapters/handshakes | operational |
288
+ | src/adapters/codex-review-isolation.ts:201:114 | inline | `Math.min` | `2000` | ms | Math.min | adapters/handshakes | operational |
289
+ | src/adapters/codex-review-isolation.ts:205:68 | inline | `termMs` | `100` | ms | termMs | adapters/handshakes | safety floor |
290
+ | src/adapters/codex-review-isolation.ts:205:81 | inline | `killMs` | `500` | ms | killMs | adapters/handshakes | safety floor |
291
+ | src/adapters/codex-review-isolation.ts:221:77 | inline | `ctx.privatePaths.length > 128` | `128` | count | ctx.privatePaths.length > 128 | adapters/handshakes | safety floor |
292
+ | src/adapters/compat.ts:28:48 | inline | `text.length <= 64` | `64` | characters | text.length <= 64 | adapters/handshakes | safety floor |
293
+ | src/adapters/compat.ts:101:7 | constant | `MAX_TRUST` | `64` | count | MAX_TRUST | adapters/handshakes | safety floor |
294
+ | src/adapters/compat.ts:104:7 | constant | `MAX_BYTES` | `64 * 1024` | bytes | MAX_BYTES | adapters/handshakes | safety floor |
295
+ | src/adapters/configured-acp.ts:29:47 | inline | `max` | `4096` | count | max | adapters/handshakes | safety floor |
296
+ | src/adapters/configured-acp.ts:53:42 | inline | `Object.keys(declarations).length > 64` | `64` | characters | Object.keys(declarations).length > 64 | adapters/handshakes | safety floor |
297
+ | src/adapters/conformance/acp.ts:61:36 | inline | `permissionModeTimeoutMs` | `40` | ms | permissionModeTimeoutMs | adapters/handshakes | test seam |
298
+ | src/adapters/conformance/kit.ts:7:33 | inline | `deadline` | `5000` | ms | deadline | adapters/handshakes | test seam |
299
+ | src/adapters/conformance/kit.ts:8:65 | inline | `Bun.sleep` | `10` | ms | Bun.sleep | adapters/handshakes | test seam |
300
+ | src/adapters/conformance/local-pi.ts:90:109 | inline | `expect((await event({ type: agent_start, generation: 3, sessionId: saved-session })).status).toBe` | `200` | ms | expect((await event({ type: agent_start, generation: 3, sessionId: saved-session })).status).toBe | adapters/handshakes | contract |
301
+ | src/adapters/definitions/native-cli-entry-jcode.ts:32:40 | inline | `setTimeout` | `200` | ms | setTimeout | adapters/handshakes | operational |
302
+ | src/adapters/definitions/native-cli-jcode-mcp.ts:13:82 | inline | `stat.size > 256 * 1024` | `256 * 1024` | count | stat.size > 256 * 1024 | adapters/handshakes | safety floor |
303
+ | src/adapters/definitions/native-cli-jcode-mcp.ts:55:119 | inline | `timeout` | `3000` | ms | timeout | adapters/handshakes | operational |
304
+ | src/adapters/definitions/native-cli-jcode-mcp.ts:89:82 | inline | `info.size > 256 * 1024` | `256 * 1024` | count | info.size > 256 * 1024 | adapters/handshakes | safety floor |
305
+ | src/adapters/definitions/native-cli-jcode-mcp.ts:95:59 | inline | `open.size > 256 * 1024` | `256 * 1024` | count | open.size > 256 * 1024 | adapters/handshakes | safety floor |
306
+ | src/adapters/definitions/native-cli-preview-claude.ts:29:58 | inline | `launch.args.slice` | `2` | characters | launch.args.slice | adapters/handshakes | contract |
307
+ | src/adapters/definitions/native-config-defaults.ts:11:143 | inline | `max_steps` | `30` | count | max_steps | adapters/handshakes | contract |
308
+ | src/adapters/definitions/native-config-defaults.ts:12:112 | inline | `max_steps` | `30` | count | max_steps | adapters/handshakes | contract |
309
+ | src/adapters/definitions/native-config-policy.ts:6:176 | inline | `v.number` | `1` | count | v.number | adapters/handshakes | contract |
310
+ | src/adapters/definitions/native-config-policy.ts:6:179 | inline | `v.number` | `1_000_000` | count | v.number | adapters/handshakes | contract |
311
+ | src/adapters/definitions/native-config-policy.ts:9:171 | inline | `v.number` | `1` | count | v.number | adapters/handshakes | contract |
312
+ | src/adapters/definitions/native-config-policy.ts:9:174 | inline | `v.number` | `1_000_000` | count | v.number | adapters/handshakes | contract |
313
+ | src/adapters/definitions/native-config-policy.ts:12:126 | inline | `v.number` | `0` | ms | v.number | adapters/handshakes | contract |
314
+ | src/adapters/definitions/native-config-policy.ts:12:129 | inline | `v.number` | `119999` | ms | v.number | adapters/handshakes | contract |
315
+ | src/adapters/definitions/native-policy-aux.ts:65:35 | inline | `st.size > 1024 * 1024` | `1024 * 1024` | count | st.size > 1024 * 1024 | adapters/handshakes | safety floor |
316
+ | src/adapters/definitions/native-policy-aux.ts:127:75 | inline | `value.length <= 4096` | `4096` | characters | value.length <= 4096 | adapters/handshakes | safety floor |
317
+ | src/adapters/external-metadata.ts:5:7 | constant | `MAX_MODULES` | `16` | count | MAX_MODULES | adapters/handshakes | safety floor |
318
+ | src/adapters/external-module-scan.ts:54:17 | inline | `depth > 128` | `128` | count | depth > 128 | adapters/handshakes | safety floor |
319
+ | src/adapters/external-module-scan.ts:71:17 | inline | `depth > 128` | `128` | count | depth > 128 | adapters/handshakes | safety floor |
320
+ | src/adapters/external-modules.ts:16:7 | constant | `MAX_MODULES` | `16` | count | MAX_MODULES | adapters/handshakes | safety floor |
321
+ | src/adapters/external-modules.ts:16:25 | constant | `MAX_MODULE_BYTES` | `2 * 1024 * 1024` | bytes | MAX_MODULE_BYTES | adapters/handshakes | safety floor |
322
+ | src/adapters/external-modules.ts:26:33 | inline | `text` | `4096` | unitless | text | adapters/handshakes | safety floor |
323
+ | src/adapters/external-modules.ts:106:15 | inline | `depth > 12` | `12` | count | depth > 12 | adapters/handshakes | safety floor |
324
+ | src/adapters/external-modules.ts:196:7 | constant | `MODULE_IMPORT_TIMEOUT_MS` | `2000` | ms | MODULE_IMPORT_TIMEOUT_MS | adapters/handshakes | safety floor |
325
+ | src/adapters/jcode.ts:53:65 | inline | `before.size > 32 * 1024 * 1024` | `32 * 1024 * 1024` | count | before.size > 32 * 1024 * 1024 | adapters/handshakes | safety floor |
326
+ | src/adapters/jcode.ts:80:7 | constant | `STEER_TIMEOUT_MS` | `5000` | ms | STEER_TIMEOUT_MS | adapters/handshakes | operational |
327
+ | src/adapters/jcode.ts:109:27 | inline | `buffer.length > 1024 * 1024` | `1024 * 1024` | characters | buffer.length > 1024 * 1024 | adapters/handshakes | safety floor |
328
+ | src/adapters/jcode.ts:140:169 | inline | `timeout` | `10_000` | ms | timeout | adapters/handshakes | operational |
329
+ | src/adapters/jcode.ts:160:79 | inline | `timeoutMs` | `10_000` | ms | timeoutMs | adapters/handshakes | test seam |
330
+ | src/adapters/jcode.ts:222:114 | inline | `setTimeout` | `30_000` | ms | setTimeout | adapters/handshakes | operational |
331
+ | src/adapters/jcode.ts:259:174 | inline | `setTimeout` | `3000` | ms | setTimeout | adapters/handshakes | operational |
332
+ | src/adapters/kimi-review.ts:32:37 | inline | `limit` | `262_144` | count | limit | adapters/handshakes | safety floor |
333
+ | src/adapters/kimi-review.ts:37:15 | inline | `depth > 4` | `4` | count | depth > 4 | adapters/handshakes | safety floor |
334
+ | src/adapters/kimi-review.ts:40:53 | inline | `Object.keys(value).length <= 32` | `32` | characters | Object.keys(value).length <= 32 | adapters/handshakes | safety floor |
335
+ | src/adapters/kimi-review.ts:91:37 | inline | `setTimeout` | `5_000` | ms | setTimeout | adapters/handshakes | operational |
336
+ | src/adapters/kimi-review.ts:94:94 | inline | `text.length > 4096` | `4096` | characters | text.length > 4096 | adapters/handshakes | safety floor |
337
+ | src/adapters/kimi-review.ts:100:95 | inline | `graceMs` | `10_000` | ms | graceMs | adapters/handshakes | test seam |
338
+ | src/adapters/kimi-review.ts:105:114 | inline | `Bun.sleep` | `50` | ms | Bun.sleep | adapters/handshakes | operational |
339
+ | src/adapters/kimi-wire-usage.ts:67:7 | constant | `MAX_AGENTS` | `256` | count | MAX_AGENTS | adapters/handshakes | safety floor |
340
+ | src/adapters/kimi-wire-usage.ts:69:7 | constant | `LINE_CAP` | `64 * 1024` | bytes | LINE_CAP | adapters/handshakes | safety floor |
341
+ | src/adapters/kimi-wire-usage.ts:70:7 | constant | `INDEX_CAP` | `16 * 1024 * 1024` | bytes | INDEX_CAP | adapters/handshakes | safety floor |
342
+ | src/adapters/kimi-wire-usage.ts:71:7 | constant | `DEFAULT_CHUNK` | `1024 * 1024` | bytes | DEFAULT_CHUNK | adapters/handshakes | operational |
343
+ | src/adapters/kimi-wire-usage.ts:78:7 | constant | `PRINT_HEAD` | `64` | unitless | PRINT_HEAD | adapters/handshakes | contract |
344
+ | src/adapters/kimi-wire-usage.ts:78:24 | constant | `PRINT_TAIL` | `256` | unitless | PRINT_TAIL | adapters/handshakes | contract |
345
+ | src/adapters/kimi-wire-usage.ts:267:42 | inline | `buffer.subarray` | `256` | unitless | buffer.subarray | adapters/handshakes | safety floor |
346
+ | src/adapters/kimi-wire-usage.ts:300:146 | inline | `createHash(sha256).update(this.sessionId).update(\0).update(agent).update(\0).update(String(offset)).digest(hex).slice` | `32` | characters | createHash(sha256).update(this.sessionId).update(\0).update(agent).update(\0).update(String(offset)).digest(hex).slice | adapters/handshakes | contract |
347
+ | src/adapters/local-worker.ts:56:7 | constant | `HISTORY_CHARS` | `100000` | unitless | HISTORY_CHARS | adapters/handshakes | operational |
348
+ | src/adapters/local-worker.ts:58:7 | constant | `TURN_CHARS` | `120000` | unitless | TURN_CHARS | adapters/handshakes | operational |
349
+ | src/adapters/local-worker.ts:113:137 | inline | `maxTokens ?? 2048` | `2048` | tokens | maxTokens ?? 2048 | adapters/handshakes | operational |
350
+ | src/adapters/local-worker.ts:204:119 | inline | `e.message.slice` | `200` | characters | e.message.slice | adapters/handshakes | safety floor |
351
+ | src/adapters/local-worker.ts:267:104 | inline | `setInterval` | `30_000` | ms | setInterval | adapters/handshakes | operational |
352
+ | src/adapters/local-worker.ts:482:59 | inline | `(m.content?.length ?? 0) > 200` | `200` | characters | (m.content?.length ?? 0) > 200 | adapters/handshakes | operational |
353
+ | src/adapters/pi.ts:62:7 | constant | `TERMINAL_OWNER_MAX_AGE_MS` | `1000` | ms | TERMINAL_OWNER_MAX_AGE_MS | adapters/handshakes | operational |
354
+ | src/adapters/pi.ts:182:42 | inline | `this.waitRpc` | `15_000` | ms | this.waitRpc | adapters/handshakes | operational |
355
+ | src/adapters/pi.ts:303:12 | inline | `setTimeout` | `10` | ms | setTimeout | adapters/handshakes | operational |
356
+ | src/adapters/pi.ts:330:105 | inline | `expiresAt` | `30_000` | unitless | expiresAt | adapters/handshakes | operational |
357
+ | src/adapters/pi.ts:367:77 | inline | `idleTimeout` | `60` | seconds | idleTimeout | adapters/handshakes | operational |
358
+ | src/adapters/pi.ts:367:101 | inline | `maxRequestBodySize` | `2_000_000` | bytes | maxRequestBodySize | adapters/handshakes | safety floor |
359
+ | src/adapters/pi.ts:417:51 | inline | `this.waitRpc` | `15_000` | ms | this.waitRpc | adapters/handshakes | operational |
360
+ | src/adapters/pi.ts:490:234 | inline | `this.opts.stopGraceMs ?? 5_000` | `5_000` | ms | this.opts.stopGraceMs ?? 5_000 | adapters/handshakes | test seam |
361
+ | src/adapters/pi.ts:524:229 | inline | `this.opts.stopGraceMs ?? 5_000` | `5_000` | ms | this.opts.stopGraceMs ?? 5_000 | adapters/handshakes | test seam |
362
+ | src/adapters/pi.ts:533:46 | inline | `this.opts.stopGraceMs ?? 5_000` | `5_000` | ms | this.opts.stopGraceMs ?? 5_000 | adapters/handshakes | test seam |
363
+ | src/adapters/pi.ts:539:70 | inline | `Bun.sleep` | `50` | ms | Bun.sleep | adapters/handshakes | operational |
364
+ | src/adapters/pi.ts:550:64 | inline | `Bun.sleep` | `50` | ms | Bun.sleep | adapters/handshakes | operational |
365
+ | src/adapters/pi.ts:583:33 | inline | `deadline` | `2_000` | ms | deadline | adapters/handshakes | operational |
366
+ | src/adapters/pi.ts:584:62 | inline | `Bun.sleep` | `50` | ms | Bun.sleep | adapters/handshakes | operational |
367
+ | src/adapters/pi.ts:588:62 | inline | `Bun.sleep` | `50` | ms | Bun.sleep | adapters/handshakes | operational |
368
+ | src/adapters/pi.ts:752:108 | inline | `event.toolCallId.length <= 512` | `512` | characters | event.toolCallId.length <= 512 | adapters/handshakes | contract |
369
+ | src/adapters/pi.ts:758:41 | inline | `this.abortedToolIds.size >= 64` | `64` | count | this.abortedToolIds.size >= 64 | adapters/handshakes | safety floor |
370
+ | src/adapters/pi.ts:780:112 | inline | `event.id.length <= 100` | `100` | characters | event.id.length <= 100 | adapters/handshakes | safety floor |
371
+ | src/adapters/pi.ts:782:33 | inline | `this.usageSeen.size > 1000` | `1000` | count | this.usageSeen.size > 1000 | adapters/handshakes | safety floor |
372
+ | src/adapters/pi.ts:845:10 | inline | `setTimeout` | `30_000` | ms | setTimeout | adapters/handshakes | operational |
373
+ | src/adapters/pi.ts:853:377 | inline | `setTimeout` | `30_000` | ms | setTimeout | adapters/handshakes | operational |
374
+ | src/adapters/pi.ts:895:62 | inline | `setInterval` | `500` | ms | setInterval | adapters/handshakes | operational |
375
+ | src/adapters/registry.ts:123:87 | inline | `roles.length <= 4` | `4` | characters | roles.length <= 4 | adapters/handshakes | contract |
376
+ | src/adapters/reviewer-mcp.ts:15:7 | constant | `BODY_CAP` | `256 * 1024` | characters | BODY_CAP | adapters/handshakes | safety floor |
377
+ | src/adapters/reviewer-mcp.ts:15:30 | constant | `RESULT_CAP` | `4 * 1024 * 1024` | bytes | RESULT_CAP | adapters/handshakes | safety floor |
378
+ | src/adapters/reviewer-mcp.ts:77:87 | inline | `sanitize(failure.message).slice` | `4000` | characters | sanitize(failure.message).slice | adapters/handshakes | safety floor |
379
+ | src/adapters/reviewer-print.ts:343:93 | inline | `setInterval` | `100` | ms | setInterval | adapters/handshakes | operational |
380
+ | src/cli/agents.ts:15:94 | inline | `timeout` | `10_000` | ms | timeout | UI/console | operational |
381
+ | src/cli/agy-mcp.ts:29:7 | constant | `MAX_CONFIG_BYTES` | `256 * 1024` | bytes | MAX_CONFIG_BYTES | UI/console | safety floor |
382
+ | src/cli/agy-mcp.ts:60:75 | inline | `value.length > 4096` | `4096` | characters | value.length > 4096 | UI/console | safety floor |
383
+ | src/cli/agy-mcp.ts:117:93 | inline | `timeout` | `5` | ms | timeout | UI/console | operational |
384
+ | src/cli/agy-mcp.ts:232:96 | inline | `timeout` | `3000` | ms | timeout | UI/console | operational |
385
+ | src/cli/bench.ts:59:54 | inline | `Math.min` | `200` | ms | Math.min | UI/console | operational |
386
+ | src/cli/bench.ts:59:68 | inline | `Math.max` | `1` | ms | Math.max | UI/console | operational |
387
+ | src/cli/bench.ts:62:54 | inline | `killMs` | `500` | ms | killMs | UI/console | operational |
388
+ | src/cli/bench.ts:130:137 | inline | `paths.slice` | `5` | characters | paths.slice | UI/console | safety floor |
389
+ | src/cli/bench.ts:130:168 | inline | `paths.length > 5` | `5` | count | paths.length > 5 | UI/console | safety floor |
390
+ | src/cli/bench.ts:147:46 | inline | `opts.settleMs ?? 600_000` | `600_000` | ms | opts.settleMs ?? 600_000 | UI/console | operational |
391
+ | src/cli/bench.ts:162:35 | inline | `opts.pollMs ?? 2000` | `2000` | ms | opts.pollMs ?? 2000 | UI/console | test seam |
392
+ | src/cli/bench.ts:165:33 | inline | `opts.pollMs ?? 2000` | `2000` | ms | opts.pollMs ?? 2000 | UI/console | test seam |
393
+ | src/cli/bench.ts:190:60 | inline | `new Date(io.now()).toISOString().slice` | `10` | characters | new Date(io.now()).toISOString().slice | UI/console | contract |
394
+ | src/cli/bench.ts:190:107 | inline | `randomUUID().slice` | `8` | characters | randomUUID().slice | UI/console | contract |
395
+ | src/cli/bench.ts:244:114 | inline | `commit.slice` | `12` | characters | commit.slice | UI/console | contract |
396
+ | src/cli/bench.ts:246:103 | inline | `commit.slice` | `12` | characters | commit.slice | UI/console | contract |
397
+ | src/cli/bench.ts:246:130 | inline | `now.out.slice` | `12` | characters | now.out.slice | UI/console | contract |
398
+ | src/cli/bench.ts:246:169 | inline | `commit.slice` | `12` | characters | commit.slice | UI/console | contract |
399
+ | src/cli/bench.ts:265:76 | inline | `opts.setupTimeoutMs ?? 300_000` | `300_000` | ms | opts.setupTimeoutMs ?? 300_000 | UI/console | operational |
400
+ | src/cli/bench.ts:282:20 | inline | `deadline` | `started + task.timeout_s * 1000` | ms | deadline | UI/console | contract |
401
+ | src/cli/bench.ts:293:35 | inline | `opts.pollMs ?? 2000` | `2000` | ms | opts.pollMs ?? 2000 | UI/console | test seam |
402
+ | src/cli/bench.ts:295:77 | inline | `opts.verifyTimeoutMs ?? 600_000` | `600_000` | ms | opts.verifyTimeoutMs ?? 600_000 | UI/console | test seam |
403
+ | src/cli/completion.ts:46:25 | inline | `parts.length >= 3` | `3` | count | parts.length >= 3 | UI/console | contract |
404
+ | src/cli/console-config.ts:103:102 | inline | `(current.text + key.replace(/[\x00-\x1f\x7f]/g, )).slice` | `4000` | characters | (current.text + key.replace(/[\x00-\x1f\x7f]/g, )).slice | UI/console | safety floor |
405
+ | src/cli/console-review.ts:8:7 | constant | `MAX_TITLE` | `40` | count | MAX_TITLE | UI/console | safety floor |
406
+ | src/cli/console-review.ts:15:80 | inline | `text.slice` | `3` | characters | text.slice | UI/console | contract |
407
+ | src/cli/console-state.ts:457:73 | inline | `cap` | `1000` | count | cap | UI/console | test seam |
408
+ | src/cli/console-state.ts:622:51 | inline | `[...s.history, input].slice` | `-100` | characters | [...s.history, input].slice | UI/console | operational |
409
+ | src/cli/console-state.ts:637:88 | inline | `args.length < (lock.prefix[1] === plan ? 6 : 5)` | `6` | count | args.length < (lock.prefix[1] === plan ? 6 : 5) | UI/console | contract |
410
+ | src/cli/console-state.ts:637:92 | inline | `args.length < (lock.prefix[1] === plan ? 6 : 5)` | `5` | count | args.length < (lock.prefix[1] === plan ? 6 : 5) | UI/console | contract |
411
+ | src/cli/console-state.ts:640:49 | inline | `[...s.history, input].slice` | `-100` | characters | [...s.history, input].slice | UI/console | operational |
412
+ | src/cli/console-state.ts:883:7 | constant | `NOTICE_MS` | `10000` | ms | NOTICE_MS | UI/console | operational |
413
+ | src/cli/console-state.ts:949:24 | inline | `Math.max` | `24` | count | Math.max | UI/console | contract |
414
+ | src/cli/console-state.ts:972:24 | inline | `Math.max` | `24` | count | Math.max | UI/console | contract |
415
+ | src/cli/console-state.ts:1060:142 | inline | `text.slice` | `5` | characters | text.slice | UI/console | contract |
416
+ | src/cli/console-state.ts:1132:156 | inline | `Math.max` | `0` | lines | Math.max | UI/console | contract |
417
+ | src/cli/console-state.ts:1132:172 | inline | `Math.max` | `6` | lines | Math.max | UI/console | contract |
418
+ | src/cli/console-state.ts:1168:31 | inline | `Math.max` | `1` | count | Math.max | UI/console | contract |
419
+ | src/cli/console-state.ts:1168:96 | inline | `Math.min` | `3` | count | Math.min | UI/console | contract |
420
+ | src/cli/console-state.ts:1175:50 | inline | `wrap(info, columns).slice` | `2` | characters | wrap(info, columns).slice | UI/console | safety floor |
421
+ | src/cli/console-state.ts:1201:50 | inline | `rowsOf?.[0] ?? [span(peer ${s.peerFilter ?? all} kind ${s.kindFilter ?? all}, info)]` | `0` | unitless | rowsOf?.[0] ?? [span(peer ${s.peerFilter ?? all} kind ${s.kindFilter ?? all}, info)] | UI/console | contract |
422
+ | src/cli/console-symbols.ts:11:7 | constant | `MAX_LINES` | `40` | lines | MAX_LINES | UI/console | safety floor |
423
+ | src/cli/console-symbols.ts:33:161 | inline | `task.codeSymbols.head.slice` | `8` | characters | task.codeSymbols.head.slice | UI/console | contract |
424
+ | src/cli/console-usage.ts:67:50 | inline | `lastResets` | `3` | unitless | lastResets | UI/console | safety floor |
425
+ | src/cli/console.ts:125:66 | inline | `pendingStream.length > 1000` | `1000` | characters | pendingStream.length > 1000 | UI/console | operational |
426
+ | src/cli/console.ts:159:85 | inline | `lines.at` | `-1` | lines | lines.at | UI/console | contract |
427
+ | src/cli/console.ts:202:111 | inline | `limit` | `1000` | count | limit | UI/console | operational |
428
+ | src/cli/console.ts:288:147 | inline | `response.key.length > 160` | `160` | characters | response.key.length > 160 | UI/console | contract |
429
+ | src/cli/console.ts:299:151 | inline | `(Array.isArray(response.lines) ? response.lines : []).map(String).slice` | `40` | lines | (Array.isArray(response.lines) ? response.lines : []).map(String).slice | UI/console | safety floor |
430
+ | src/cli/console.ts:350:109 | inline | `(diagnostic + terminalText(text)).slice` | `-2000` | characters | (diagnostic + terminalText(text)).slice | UI/console | safety floor |
431
+ | src/cli/console.ts:377:290 | inline | `[...(state.attentionMessages ?? []), { id: msg.e.env.id, peer: msg.e.env.from, important: msg.e.env.priority === important, since: msg.e.env.ts }].slice` | `-1000` | characters | [...(state.attentionMessages ?? []), { id: msg.e.env.id, peer: msg.e.env.from, important: msg.e.env.priority === important, since: msg.e.env.ts }].slice | UI/console | operational |
432
+ | src/cli/console.ts:420:204 | inline | `(edit.text + terminalText(text.replace(/\x1b\[20[01]~/g, )).replace(/[\r\n]/g, )).slice` | `1000` | characters | (edit.text + terminalText(text.replace(/\x1b\[20[01]~/g, )).replace(/[\r\n]/g, )).slice | UI/console | safety floor |
433
+ | src/cli/console.ts:441:177 | inline | `setInterval` | `1000` | ms | setInterval | UI/console | operational |
434
+ | src/cli/console.ts:442:60 | inline | `Math.max` | `2000` | ms | Math.max | UI/console | operational |
435
+ | src/cli/console.ts:442:84 | inline | `options.pollMs ?? 4000` | `4000` | ms | options.pollMs ?? 4000 | UI/console | operational |
436
+ | src/cli/facts-hook.ts:62:92 | inline | `timeoutMs` | `2000` | ms | timeoutMs | UI/console | test seam |
437
+ | src/cli/help.ts:174:7 | constant | `DESCRIPTION` | `34` | unitless | DESCRIPTION | UI/console | contract |
438
+ | src/cli/identity-audit.ts:8:7 | constant | `MAX_FILES` | `256` | count | MAX_FILES | UI/console | safety floor |
439
+ | src/cli/identity-audit.ts:9:7 | constant | `MAX_BYTES` | `64 * 1024` | bytes | MAX_BYTES | UI/console | safety floor |
440
+ | src/cli/identity-audit.ts:10:7 | constant | `MAX_ROW_BYTES` | `512` | bytes | MAX_ROW_BYTES | UI/console | safety floor |
441
+ | src/cli/identity-audit.ts:16:63 | inline | `row.command.length <= 64` | `64` | characters | row.command.length <= 64 | UI/console | safety floor |
442
+ | src/cli/init.ts:69:153 | inline | `timeout` | `3000` | ms | timeout | UI/console | operational |
443
+ | src/cli/init.ts:72:158 | inline | `timeout` | `3000` | ms | timeout | UI/console | operational |
444
+ | src/cli/init.ts:166:146 | inline | `timeout` | `3000` | ms | timeout | UI/console | operational |
445
+ | src/cli/init.ts:169:105 | inline | `timeout` | `3000` | ms | timeout | UI/console | operational |
446
+ | src/cli/init.ts:173:148 | inline | `timeout` | `3000` | ms | timeout | UI/console | operational |
447
+ | src/cli/kimi-mcp.ts:37:118 | inline | `timeout` | `3000` | ms | timeout | UI/console | operational |
448
+ | src/cli/launch.ts:132:42 | inline | `deadline` | `250` | ms | deadline | UI/console | operational |
449
+ | src/cli/launch.ts:147:60 | inline | `setTimeout` | `25` | ms | setTimeout | UI/console | operational |
450
+ | src/cli/launch.ts:247:34 | inline | `Buffer.alloc` | `4` | bytes | Buffer.alloc | UI/console | contract |
451
+ | src/cli/launch.ts:300:117 | inline | `tee.original?.refreshInterval ?? 10` | `10` | ms | tee.original?.refreshInterval ?? 10 | UI/console | operational |
452
+ | src/cli/launch.ts:329:179 | inline | `timeout` | `5` | ms | timeout | UI/console | operational |
453
+ | src/cli/main.ts:280:36 | inline | `timeoutMs` | `3000` | ms | timeoutMs | UI/console | test seam |
454
+ | src/cli/main.ts:414:70 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | UI/console | operational |
455
+ | src/cli/main.ts:423:66 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | UI/console | operational |
456
+ | src/cli/main.ts:447:88 | inline | `message.replace(/[\p{Cc}\p{Cf}]/gu, ).replace(/\s+/g, ).trim().slice` | `512` | characters | message.replace(/[\p{Cc}\p{Cf}]/gu, ).replace(/\s+/g, ).trim().slice | UI/console | safety floor |
457
+ | src/cli/main.ts:459:102 | inline | `timeoutMs ?? (op === github_import ? 60_000 : 30_000)` | `60_000` | ms | timeoutMs ?? (op === github_import ? 60_000 : 30_000) | UI/console | operational |
458
+ | src/cli/main.ts:459:111 | inline | `timeoutMs ?? (op === github_import ? 60_000 : 30_000)` | `30_000` | ms | timeoutMs ?? (op === github_import ? 60_000 : 30_000) | UI/console | operational |
459
+ | src/cli/main.ts:776:38 | inline | `reason.length > 500` | `500` | characters | reason.length > 500 | UI/console | safety floor |
460
+ | src/cli/main.ts:868:73 | inline | `timeout` | `10_000` | ms | timeout | UI/console | operational |
461
+ | src/cli/main.ts:1114:97 | inline | `request` | `2` | unitless | request | UI/console | operational |
462
+ | src/cli/main.ts:1114:126 | inline | `id` | `2` | unitless | id | UI/console | operational |
463
+ | src/cli/main.ts:1140:148 | inline | `resetsInMs` | `2` | ms | resetsInMs | UI/console | contract |
464
+ | src/cli/main.ts:1162:141 | inline | `args.length >= 4` | `4` | count | args.length >= 4 | UI/console | contract |
465
+ | src/cli/main.ts:1165:41 | inline | `args.length >= 3` | `3` | count | args.length >= 3 | UI/console | contract |
466
+ | src/cli/main.ts:1169:48 | inline | `args.length >= 4` | `4` | count | args.length >= 4 | UI/console | contract |
467
+ | src/cli/main.ts:1262:162 | inline | `timeout` | `2000` | ms | timeout | UI/console | operational |
468
+ | src/cli/main.ts:1276:119 | inline | `size > 128 * 1024` | `128 * 1024` | count | size > 128 * 1024 | UI/console | safety floor |
469
+ | src/cli/main.ts:1306:34 | inline | `args.length > 34` | `34` | count | args.length > 34 | UI/console | contract |
470
+ | src/cli/main.ts:1328:189 | inline | `args.length < 5` | `5` | count | args.length < 5 | UI/console | contract |
471
+ | src/cli/main.ts:1332:25 | inline | `args.length > 2` | `2` | count | args.length > 2 | UI/console | contract |
472
+ | src/cli/main.ts:1342:117 | inline | `args.length < 4` | `4` | count | args.length < 4 | UI/console | contract |
473
+ | src/cli/main.ts:1350:142 | inline | `rawReason.length > 2048` | `2048` | characters | rawReason.length > 2048 | UI/console | contract |
474
+ | src/cli/main.ts:1377:79 | inline | `args.length > 2` | `2` | count | args.length > 2 | UI/console | contract |
475
+ | src/cli/main.ts:1469:123 | inline | `e.text.slice` | `150` | characters | e.text.slice | UI/console | safety floor |
476
+ | src/cli/main.ts:1501:29 | inline | `positional.length > 2` | `2` | characters | positional.length > 2 | UI/console | contract |
477
+ | src/cli/main.ts:1552:60 | inline | `args.length > 2` | `2` | count | args.length > 2 | UI/console | contract |
478
+ | src/cli/main.ts:1601:88 | inline | `result.rejected.slice` | `100` | characters | result.rejected.slice | UI/console | safety floor |
479
+ | src/cli/main.ts:1601:147 | inline | `String(row.key).slice` | `160` | characters | String(row.key).slice | UI/console | safety floor |
480
+ | src/cli/main.ts:1601:184 | inline | `String(row.reason).slice` | `1000` | characters | String(row.reason).slice | UI/console | safety floor |
481
+ | src/cli/main.ts:1603:125 | inline | `confirmation.token.length > 256` | `256` | characters | confirmation.token.length > 256 | UI/console | safety floor |
482
+ | src/cli/main.ts:1603:225 | inline | `confirmation.keys.length > 200` | `200` | count | confirmation.keys.length > 200 | UI/console | contract |
483
+ | src/cli/main.ts:1603:313 | inline | `key.length > 160` | `160` | characters | key.length > 160 | UI/console | contract |
484
+ | src/cli/main.ts:1609:67 | inline | `Buffer.byteLength(JSON.stringify(result), utf8) > 131_072` | `131_072` | bytes | Buffer.byteLength(JSON.stringify(result), utf8) > 131_072 | UI/console | safety floor |
485
+ | src/cli/main.ts:1625:128 | inline | `AbortSignal.timeout` | `30_000` | ms | AbortSignal.timeout | UI/console | operational |
486
+ | src/cli/main.ts:1631:90 | inline | `result.rejected.slice` | `100` | characters | result.rejected.slice | UI/console | safety floor |
487
+ | src/cli/main.ts:1631:149 | inline | `String(row.key).slice` | `160` | characters | String(row.key).slice | UI/console | safety floor |
488
+ | src/cli/main.ts:1631:186 | inline | `String(row.reason).slice` | `1000` | characters | String(row.reason).slice | UI/console | safety floor |
489
+ | src/cli/main.ts:1671:208 | inline | `row.min ?? 0` | `0` | count | row.min ?? 0 | UI/console | contract |
490
+ | src/cli/main.ts:1775:27 | inline | `groups.length < 2` | `2` | characters | groups.length < 2 | UI/console | contract |
491
+ | src/cli/main.ts:1868:103 | inline | `flags[i]!.slice` | `40` | characters | flags[i]!.slice | UI/console | safety floor |
492
+ | src/cli/main.ts:1874:43 | inline | `limit >= 1` | `1` | count | limit >= 1 | UI/console | contract |
493
+ | src/cli/main.ts:1923:73 | inline | `hub.request` | `1000` | unitless | hub.request | UI/console | operational |
494
+ | src/cli/main.ts:1941:78 | inline | `Number(one[--limit]) \|\| 20` | `20` | count | Number(one[--limit]) \|\| 20 | UI/console | operational |
495
+ | src/cli/main.ts:2109:85 | inline | `args.length > 3` | `3` | count | args.length > 3 | UI/console | contract |
496
+ | src/cli/memory.ts:45:139 | inline | `profile.generation.slice` | `8` | characters | profile.generation.slice | UI/console | contract |
497
+ | src/cli/memory.ts:55:16 | inline | `days` | `90` | days | days | UI/console | operational |
498
+ | src/cli/memory.ts:57:83 | inline | `/^[1-9][0-9]*$/.test` | `2` | unitless | /^[1-9][0-9]*$/.test | UI/console | contract |
499
+ | src/cli/memory.ts:60:22 | inline | `cutoffMs` | `(opts.now ?? Date.now)() - days * 24 * 3600_000` | ms | cutoffMs | UI/console | contract |
500
+ | src/cli/memory.ts:61:91 | inline | `Math.abs(cutoffMs) > 8_640_000_000_000_000` | `8_640_000_000_000_000` | ms | Math.abs(cutoffMs) > 8_640_000_000_000_000 | UI/console | contract |
501
+ | src/cli/memory.ts:88:63 | inline | `ttlMs` | `(loadConfigSafe(cwd)?.memory.short_ttl_days ?? 14) * 24 * 3600_000` | ms | ttlMs | UI/console | operational |
502
+ | src/cli/memory.ts:88:110 | inline | `loadConfigSafe(cwd)?.memory.short_ttl_days ?? 14` | `14` | days | loadConfigSafe(cwd)?.memory.short_ttl_days ?? 14 | UI/console | operational |
503
+ | src/cli/memory.ts:200:170 | inline | `timeout` | `1000` | ms | timeout | UI/console | operational |
504
+ | src/cli/models-setup.ts:16:63 | inline | `AbortSignal.timeout` | `30 * 60_000` | ms | AbortSignal.timeout | UI/console | operational |
505
+ | src/cli/models-setup.ts:20:87 | inline | `result.error.slice` | `200` | characters | result.error.slice | UI/console | safety floor |
506
+ | src/cli/models-setup.ts:31:80 | inline | `AbortSignal.timeout` | `10_000` | ms | AbortSignal.timeout | UI/console | operational |
507
+ | src/cli/output.ts:43:131 | inline | `String(id).slice` | `8` | characters | String(id).slice | UI/console | contract |
508
+ | src/cli/output.ts:75:128 | inline | `characters(split.at(-1)!).filter(unit => width(unit) > 0).length < 3` | `3` | characters | characters(split.at(-1)!).filter(unit => width(unit) > 0).length < 3 | UI/console | contract |
509
+ | src/cli/output.ts:76:44 | inline | `split.slice` | `-2` | characters | split.slice | UI/console | contract |
510
+ | src/cli/output.ts:126:85 | inline | `columns > 80` | `80` | unitless | columns > 80 | UI/console | contract |
511
+ | src/cli/output.ts:126:116 | inline | `pathFloor` | `12` | unitless | pathFloor | UI/console | contract |
512
+ | src/cli/output.ts:132:102 | inline | `text` | `0` | unitless | text | UI/console | operational |
513
+ | src/cli/output.ts:132:119 | inline | `text` | `1` | unitless | text | UI/console | operational |
514
+ | src/cli/output.ts:132:144 | inline | `tone` | `1` | unitless | tone | UI/console | operational |
515
+ | src/cli/output.ts:283:82 | inline | `characters(next).slice` | `9` | characters | characters(next).slice | UI/console | contract |
516
+ | src/cli/recovery-guidance.ts:89:173 | inline | `[...new Set(recorded.filter((peer): peer is string => typeof peer === string && /^[a-z][a-z0-9-]{0,31}$/.test(peer) && !base.includes(peer)))].slice` | `64` | characters | [...new Set(recorded.filter((peer): peer is string => typeof peer === string && /^[a-z][a-z0-9-]{0,31}$/.test(peer) && !base.includes(peer)))].slice | recovery/upgrade waits | contract |
517
+ | src/cli/recovery-package.ts:15:23 | inline | `next.length > 2_000_000` | `2_000_000` | characters | next.length > 2_000_000 | recovery/upgrade waits | safety floor |
518
+ | src/cli/recovery-package.ts:16:23 | inline | `next.slice` | `-2_000_000` | characters | next.slice | recovery/upgrade waits | safety floor |
519
+ | src/cli/recovery-package.ts:21:100 | inline | `options.timeoutMs ?? 60_000` | `60_000` | ms | options.timeoutMs ?? 60_000 | recovery/upgrade waits | operational |
520
+ | src/cli/recovery-package.ts:22:61 | inline | `setTimeout` | `(options.timeoutMs ?? 60_000) + 3000` | ms | setTimeout | recovery/upgrade waits | operational |
521
+ | src/cli/recovery-package.ts:22:83 | inline | `options.timeoutMs ?? 60_000` | `60_000` | ms | options.timeoutMs ?? 60_000 | recovery/upgrade waits | operational |
522
+ | src/cli/recovery-package.ts:110:128 | inline | `timeoutMs` | `30_000` | ms | timeoutMs | recovery/upgrade waits | operational |
523
+ | src/cli/recovery-package.ts:121:99 | inline | `timeoutMs` | `30_000` | ms | timeoutMs | recovery/upgrade waits | operational |
524
+ | src/cli/recovery-package.ts:153:115 | inline | `timeoutMs` | `180_000` | ms | timeoutMs | recovery/upgrade waits | operational |
525
+ | src/cli/sdlc-release-guard.ts:14:72 | inline | `value.length <= 4096` | `4096` | characters | value.length <= 4096 | tasks/routing | safety floor |
526
+ | src/cli/sdlc-release-guard.ts:20:73 | inline | `value.length <= 4096` | `4096` | characters | value.length <= 4096 | tasks/routing | safety floor |
527
+ | src/cli/sdlc-release-guard.ts:24:61 | inline | `argv.length > 128` | `128` | characters | argv.length > 128 | tasks/routing | safety floor |
528
+ | src/cli/sdlc-release-guard.ts:24:131 | inline | `word.length <= 4096` | `4096` | characters | word.length <= 4096 | tasks/routing | safety floor |
529
+ | src/cli/sdlc-release-guard.ts:29:24 | inline | `parts.length > 2` | `2` | count | parts.length > 2 | tasks/routing | contract |
530
+ | src/cli/sdlc-release-guard.ts:69:22 | inline | `lines.length > 128` | `128` | lines | lines.length > 128 | tasks/routing | safety floor |
531
+ | src/cli/settings-edit.ts:55:23 | inline | `argv.length > 2` | `2` | characters | argv.length > 2 | UI/console | contract |
532
+ | src/cli/statusline-tee.ts:57:90 | inline | `timeout` | `5000` | ms | timeout | UI/console | operational |
533
+ | src/cli/terminal-recovery.ts:178:7 | constant | `MAX_WAIT_MS` | `10 * 60 * 1000` | ms | MAX_WAIT_MS | recovery/upgrade waits | operational |
534
+ | src/cli/terminal-recovery.ts:179:14 | constant | `MAX_COMMAND_MS` | `30000` | ms | MAX_COMMAND_MS | recovery/upgrade waits | operational |
535
+ | src/cli/terminal-recovery.ts:181:7 | constant | `EXIT_SLICE_MS` | `5000` | ms | EXIT_SLICE_MS | recovery/upgrade waits | operational |
536
+ | src/cli/terminal-recovery.ts:183:7 | constant | `MAP_POLL_MS` | `1000` | ms | MAP_POLL_MS | recovery/upgrade waits | operational |
537
+ | src/cli/terminal-recovery.ts:222:66 | inline | `argv.slice` | `2` | characters | argv.slice | recovery/upgrade waits | contract |
538
+ | src/cli/terminal-recovery.ts:239:88 | inline | `argv.slice` | `2` | characters | argv.slice | recovery/upgrade waits | contract |
539
+ | src/cli/terminal-recovery.ts:472:61 | inline | `JSON.stringify(value).length > 32 * 1024` | `32 * 1024` | characters | JSON.stringify(value).length > 32 * 1024 | recovery/upgrade waits | safety floor |
540
+ | src/cli/terminal-recovery.ts:473:101 | inline | `value.launchId.length > 128` | `128` | characters | value.launchId.length > 128 | recovery/upgrade waits | safety floor |
541
+ | src/cli/terminal-recovery.ts:473:141 | inline | `value.launcherSignature.length > 256` | `256` | characters | value.launcherSignature.length > 256 | recovery/upgrade waits | safety floor |
542
+ | src/cli/terminal-recovery.ts:808:113 | inline | `timeout` | `0` | ms | timeout | recovery/upgrade waits | contract |
543
+ | src/cli/terminal-recovery.ts:829:75 | inline | `timeoutMs` | `600_000` | ms | timeoutMs | recovery/upgrade waits | test seam |
544
+ | src/cli/terminal-recovery.ts:838:35 | inline | `deadline` | `5000` | ms | deadline | recovery/upgrade waits | operational |
545
+ | src/cli/terminal-recovery.ts:842:23 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | recovery/upgrade waits | operational |
546
+ | src/cli/terminal-recovery.ts:854:127 | inline | `timeoutMs` | `600_000` | ms | timeoutMs | recovery/upgrade waits | test seam |
547
+ | src/cli/terminal-recovery.ts:928:32 | inline | `Math.max` | `1` | ms | Math.max | recovery/upgrade waits | operational |
548
+ | src/cli/terminal-recovery.ts:941:77 | inline | `timeoutMs` | `600_000` | ms | timeoutMs | recovery/upgrade waits | test seam |
549
+ | src/cli/upgrade-interactive.ts:116:100 | inline | `peer.state.padEnd` | `7` | unitless | peer.state.padEnd | recovery/upgrade waits | contract |
550
+ | src/cli/upgrade-interactive.ts:116:139 | inline | `KINDS[peerKind(p, peer)].padEnd` | `8` | unitless | KINDS[peerKind(p, peer)].padEnd | recovery/upgrade waits | contract |
551
+ | src/cli/upgrade-interactive.ts:165:83 | inline | `clock(io) - lastWaitAt >= 60_000` | `60_000` | ms | clock(io) - lastWaitAt >= 60_000 | recovery/upgrade waits | operational |
552
+ | src/cli/upgrade-interactive.ts:174:59 | inline | `clock(io) - lastWaitAt >= 60_000` | `60_000` | ms | clock(io) - lastWaitAt >= 60_000 | recovery/upgrade waits | operational |
553
+ | src/cli/upgrade-interactive.ts:259:80 | inline | `reason.slice` | `500` | characters | reason.slice | recovery/upgrade waits | safety floor |
554
+ | src/cli/upgrade-interactive.ts:287:112 | inline | `reason.slice` | `500` | characters | reason.slice | recovery/upgrade waits | safety floor |
555
+ | src/cli/upgrade-labels.ts:17:42 | inline | `ms < 90_000` | `90_000` | unitless | ms < 90_000 | recovery/upgrade waits | contract |
556
+ | src/cli/upgrade-labels.ts:17:99 | inline | `ms < 5_400_000` | `5_400_000` | unitless | ms < 5_400_000 | recovery/upgrade waits | contract |
557
+ | src/cli/upgrade-labels.ts:27:75 | inline | `lines.push` | `0` | lines | lines.push | recovery/upgrade waits | operational |
558
+ | src/cli/upgrade-presentation.ts:35:28 | inline | `Math.max` | `0` | unitless | Math.max | recovery/upgrade waits | contract |
559
+ | src/cli/upgrade-presentation.ts:36:17 | inline | `seconds < 60` | `60` | unitless | seconds < 60 | recovery/upgrade waits | contract |
560
+ | src/cli/upgrade-presentation.ts:38:17 | inline | `minutes < 60` | `60` | count | minutes < 60 | recovery/upgrade waits | contract |
561
+ | src/cli/upgrade-presentation.ts:39:76 | inline | `minutes % 60` | `60` | count | minutes % 60 | recovery/upgrade waits | contract |
562
+ | src/cli/upgrade-presentation.ts:39:89 | inline | `String(minutes % 60).padStart` | `2` | count | String(minutes % 60).padStart | recovery/upgrade waits | contract |
563
+ | src/cli/upgrade-presentation.ts:171:40 | inline | `points.length > 512` | `512` | characters | points.length > 512 | recovery/upgrade waits | safety floor |
564
+ | src/cli/upgrade-presentation.ts:171:65 | inline | `points.slice` | `509` | characters | points.slice | recovery/upgrade waits | safety floor |
565
+ | src/cli/upgrade-runtime.ts:26:7 | constant | `UNMANAGED_RECONNECT_WAIT_MS` | `90000` | ms | UNMANAGED_RECONNECT_WAIT_MS | recovery/upgrade waits | operational |
566
+ | src/cli/upgrade-runtime.ts:28:7 | constant | `RECONNECT_WAIT_MS` | `600000` | ms | RECONNECT_WAIT_MS | recovery/upgrade waits | operational |
567
+ | src/cli/upgrade-runtime.ts:65:72 | inline | `timeoutMs` | `610_000` | ms | timeoutMs | recovery/upgrade waits | operational |
568
+ | src/cli/upgrade-runtime.ts:79:7 | constant | `RECOVERY_CONTROL_TIMEOUT_MS` | `30000` | ms | RECOVERY_CONTROL_TIMEOUT_MS | recovery/upgrade waits | operational |
569
+ | src/cli/upgrade-runtime.ts:231:166 | inline | `(Array.isArray(response.recovery?.blockers) ? response.recovery.blockers : []).filter((b: unknown): b is string => typeof b === string).slice` | `20` | ms | (Array.isArray(response.recovery?.blockers) ? response.recovery.blockers : []).filter((b: unknown): b is string => typeof b === string).slice | recovery/upgrade waits | safety floor |
570
+ | src/cli/upgrade-runtime.ts:231:200 | inline | `b.slice` | `200` | ms | b.slice | recovery/upgrade waits | safety floor |
571
+ | src/cli/upgrade-runtime.ts:248:69 | inline | `timeoutMs` | `10_000` | ms | timeoutMs | recovery/upgrade waits | operational |
572
+ | src/cli/upgrade-runtime.ts:393:106 | inline | `timeoutMs` | `180_000` | ms | timeoutMs | recovery/upgrade waits | operational |
573
+ | src/cli/upgrade-runtime.ts:412:61 | inline | `waitForIdle` | `120_000` | unitless | waitForIdle | recovery/upgrade waits | operational |
574
+ | src/cli/upgrade-runtime.ts:510:45 | inline | `waitForIdle` | `120_000` | unitless | waitForIdle | recovery/upgrade waits | operational |
575
+ | src/cli/upgrade-runtime.ts:562:32 | inline | `Math.min` | `1000` | ms | Math.min | recovery/upgrade waits | operational |
576
+ | src/cli/upgrade-runtime.ts:579:28 | inline | `Math.min` | `1000` | ms | Math.min | recovery/upgrade waits | operational |
577
+ | src/cli/upgrade-runtime.ts:583:125 | inline | `timeoutMs` | `3000` | ms | timeoutMs | recovery/upgrade waits | operational |
578
+ | src/cli/upgrade-runtime.ts:698:49 | inline | `waitForIdle` | `600_000` | unitless | waitForIdle | recovery/upgrade waits | operational |
579
+ | src/cli/upgrade-runtime.ts:955:23 | inline | `sleep` | `1000` | ms | sleep | recovery/upgrade waits | operational |
580
+ | src/cli/upgrade-runtime.ts:973:151 | inline | `timeoutMs` | `180_000` | ms | timeoutMs | recovery/upgrade waits | operational |
581
+ | src/cli/upgrade.ts:111:7 | constant | `MAX_RECOVERY_DELEGATIONS` | `256` | count | MAX_RECOVERY_DELEGATIONS | recovery/upgrade waits | safety floor |
582
+ | src/cli/upgrade.ts:565:105 | inline | `idleTimeoutMs` | `600_000` | ms | idleTimeoutMs | recovery/upgrade waits | test seam |
583
+ | src/cli/upgrade.ts:751:43 | inline | `deadline` | `30_000` | ms | deadline | recovery/upgrade waits | operational |
584
+ | src/cli/watch.ts:7:58 | inline | `new Date(item.at).toISOString().slice` | `19` | characters | new Date(item.at).toISOString().slice | UI/console | contract |
585
+ | src/hub/action-class.ts:7:7 | constant | `LIMIT` | `16384` | count | LIMIT | UI/console | safety floor |
586
+ | src/hub/action-class.ts:25:21 | inline | `++count > 64` | `64` | count | ++count > 64 | UI/console | safety floor |
587
+ | src/hub/action-class.ts:163:41 | inline | `words.length + outputs.length > 256` | `256` | characters | words.length + outputs.length > 256 | UI/console | safety floor |
588
+ | src/hub/action-class.ts:313:67 | inline | `text.slice` | `256` | characters | text.slice | UI/console | safety floor |
589
+ | src/hub/action-class.ts:439:39 | inline | `cwd.size >= 128` | `128` | count | cwd.size >= 128 | UI/console | safety floor |
590
+ | src/hub/action-class.ts:444:25 | inline | `cwd.size >= 128` | `128` | count | cwd.size >= 128 | UI/console | safety floor |
591
+ | src/hub/action-class.ts:454:58 | inline | `depth < 2` | `2` | count | depth < 2 | UI/console | safety floor |
592
+ | src/hub/action-class.ts:498:117 | inline | `words[0] ?? ` | `0` | unitless | words[0] ?? | UI/console | safety floor |
593
+ | src/hub/action-class.ts:518:107 | inline | `words.length > 2` | `2` | characters | words.length > 2 | UI/console | contract |
594
+ | src/hub/action-class.ts:533:49 | inline | `tool.length > 128` | `128` | characters | tool.length > 128 | UI/console | safety floor |
595
+ | src/hub/action-class.ts:542:102 | inline | `value.length <= 256` | `256` | characters | value.length <= 256 | UI/console | safety floor |
596
+ | src/hub/action-enforce.ts:87:67 | inline | `limits[key] > 1` | `1` | count | limits[key] > 1 | adapters/handshakes | safety floor |
597
+ | src/hub/action-policy.ts:5:77 | inline | `destroy` | `3` | unitless | destroy | UI/console | safety floor |
598
+ | src/hub/action-policy.ts:5:98 | inline | `external-write` | `5` | unitless | external-write | UI/console | safety floor |
599
+ | src/hub/action-policy.ts:5:110 | inline | `install` | `2` | unitless | install | UI/console | safety floor |
600
+ | src/hub/action-policy.ts:117:114 | inline | `sanitize(view.title).replace(/[\p{Cc}\p{Cf}]/gu, ).slice` | `160` | characters | sanitize(view.title).replace(/[\p{Cc}\p{Cf}]/gu, ).slice | UI/console | safety floor |
601
+ | src/hub/action-policy.ts:121:82 | inline | `full.length > 512` | `512` | characters | full.length > 512 | UI/console | safety floor |
602
+ | src/hub/action-policy.ts:121:102 | inline | `full.slice` | `512` | characters | full.slice | UI/console | safety floor |
603
+ | src/hub/action-policy.ts:123:73 | inline | `full.length <= 512` | `512` | characters | full.length <= 512 | UI/console | safety floor |
604
+ | src/hub/activity.ts:4:7 | constant | `TEXT_CAP` | `4096` | characters | TEXT_CAP | UI/console | safety floor |
605
+ | src/hub/activity.ts:16:78 | inline | `u.locations.slice` | `12` | characters | u.locations.slice | UI/console | safety floor |
606
+ | src/hub/activity.ts:19:67 | inline | `u.content.slice` | `12` | characters | u.content.slice | UI/console | operational |
607
+ | src/hub/activity.ts:24:68 | inline | `activityText(c.content.text).split(\n).slice` | `-8` | characters | activityText(c.content.text).split(\n).slice | UI/console | operational |
608
+ | src/hub/activity.ts:29:112 | inline | `u.entries.slice` | `32` | characters | u.entries.slice | UI/console | operational |
609
+ | src/hub/activity.ts:36:43 | inline | `maxItems` | `500` | count | maxItems | UI/console | test seam |
610
+ | src/hub/activity.ts:36:76 | inline | `maxBytes` | `256 * 1024` | bytes | maxBytes | UI/console | test seam |
611
+ | src/hub/ask.ts:46:7 | constant | `EVIDENCE_CHARS` | `6000` | unitless | EVIDENCE_CHARS | UI/console | operational |
612
+ | src/hub/ask.ts:47:7 | constant | `ITEM_CHARS` | `300` | unitless | ITEM_CHARS | UI/console | operational |
613
+ | src/hub/ask.ts:48:7 | constant | `MAX_TASKS` | `25` | count | MAX_TASKS | UI/console | operational |
614
+ | src/hub/ask.ts:49:7 | constant | `LOG_TAIL_BYTES` | `256 * 1024` | bytes | LOG_TAIL_BYTES | UI/console | operational |
615
+ | src/hub/ask.ts:110:75 | inline | `thisRunsLog(d.logFile).filter((l) => hit(l) > 0).slice` | `-12` | characters | thisRunsLog(d.logFile).filter((l) => hit(l) > 0).slice | UI/console | operational |
616
+ | src/hub/ask.ts:117:42 | inline | `l.slice` | `10` | characters | l.slice | UI/console | operational |
617
+ | src/hub/ask.ts:117:61 | inline | `l.slice` | `23` | characters | l.slice | UI/console | contract |
618
+ | src/hub/ask.ts:117:108 | inline | `l.slice` | `25` | characters | l.slice | UI/console | operational |
619
+ | src/hub/ask.ts:128:36 | inline | `row.id.slice` | `12` | characters | row.id.slice | UI/console | contract |
620
+ | src/hub/ask.ts:173:37 | inline | `timeoutMs` | `45_000` | ms | timeoutMs | UI/console | operational |
621
+ | src/hub/ask.ts:176:31 | inline | `raw.slice` | `2000` | characters | raw.slice | UI/console | operational |
622
+ | src/hub/ask.ts:183:148 | inline | `invented.slice` | `3` | characters | invented.slice | UI/console | operational |
623
+ | src/hub/bench.ts:40:91 | inline | `t.timeout_s < 10` | `10` | seconds | t.timeout_s < 10 | UI/console | operational |
624
+ | src/hub/bench.ts:40:111 | inline | `t.timeout_s > 86_400` | `86_400` | seconds | t.timeout_s > 86_400 | UI/console | operational |
625
+ | src/hub/bench.ts:149:14 | constant | `MIN_ATTEMPTS` | `5` | count | MIN_ATTEMPTS | UI/console | operational |
626
+ | src/hub/bench.ts:156:87 | inline | `resamples` | `1000` | unitless | resamples | UI/console | test seam |
627
+ | src/hub/bench.ts:188:128 | inline | `String(r.header.suiteHash ?? ).slice` | `12` | characters | String(r.header.suiteHash ?? ).slice | UI/console | contract |
628
+ | src/hub/bench.ts:194:61 | inline | `ms < 120_000` | `120_000` | unitless | ms < 120_000 | UI/console | operational |
629
+ | src/hub/bench.ts:195:94 | inline | `String(m.attempts).padStart` | `8` | count | String(m.attempts).padStart | UI/console | operational |
630
+ | src/hub/bench.ts:195:188 | inline | `${m.pass}/${m.fail}/${m.timeout}/${m.error}.padStart` | `11` | ms | ${m.pass}/${m.fail}/${m.timeout}/${m.error}.padStart | UI/console | operational |
631
+ | src/hub/bench.ts:195:335 | inline | `num(m.tokensMedian).padStart` | `10` | tokens | num(m.tokensMedian).padStart | UI/console | operational |
632
+ | src/hub/bench.ts:196:54 | inline | `attempts.padStart` | `8` | count | attempts.padStart | UI/console | operational |
633
+ | src/hub/bench.ts:196:188 | inline | `tokens p50.padStart` | `10` | tokens | tokens p50.padStart | UI/console | operational |
634
+ | src/hub/board.ts:39:14 | constant | `OUTCOMES_KEPT_MS` | `7 * 24 * 3600000` | ms | OUTCOMES_KEPT_MS | tasks/routing | operational |
635
+ | src/hub/board.ts:98:47 | inline | `value.length > 32` | `32` | characters | value.length > 32 | tasks/routing | contract |
636
+ | src/hub/board.ts:106:221 | inline | `failure.head.length > 300` | `300` | characters | failure.head.length > 300 | tasks/routing | contract |
637
+ | src/hub/board.ts:106:262 | inline | `Buffer.byteLength(failure.head) > 1200` | `1200` | bytes | Buffer.byteLength(failure.head) > 1200 | tasks/routing | contract |
638
+ | src/hub/board.ts:365:168 | inline | `value.task < 1` | `1` | unitless | value.task < 1 | tasks/routing | contract |
639
+ | src/hub/board.ts:367:149 | inline | `cause.turns! < 1` | `1` | unitless | cause.turns! < 1 | tasks/routing | contract |
640
+ | src/hub/board.ts:368:160 | inline | `cause.dependency < 1` | `1` | unitless | cause.dependency < 1 | tasks/routing | contract |
641
+ | src/hub/board.ts:369:105 | inline | `cause.refusals.length > 64` | `64` | characters | cause.refusals.length > 64 | tasks/routing | contract |
642
+ | src/hub/board.ts:420:142 | inline | `maxNits` | `64` | count | maxNits | tasks/routing | contract |
643
+ | src/hub/board.ts:512:156 | inline | `parts.length < 2` | `2` | count | parts.length < 2 | tasks/routing | contract |
644
+ | src/hub/board.ts:512:176 | inline | `parts.length > 8` | `8` | count | parts.length > 8 | tasks/routing | contract |
645
+ | src/hub/budget.ts:57:69 | inline | `stale_min` | `30` | minutes | stale_min | UI/console | operational |
646
+ | src/hub/budget.ts:57:83 | inline | `poll_min` | `10` | minutes | poll_min | UI/console | operational |
647
+ | src/hub/budget.ts:57:109 | inline | `checkpoint_timeout_s` | `90` | seconds | checkpoint_timeout_s | UI/console | operational |
648
+ | src/hub/budget.ts:57:146 | inline | `wait_max_min` | `0` | minutes | wait_max_min | UI/console | operational |
649
+ | src/hub/budget.ts:64:85 | inline | `/^(\S+) window at /.exec(reason)?.[1] ?? unknown` | `1` | unitless | /^(\S+) window at /.exec(reason)?.[1] ?? unknown | UI/console | operational |
650
+ | src/hub/budget.ts:95:7 | constant | `HYSTERESIS` | `0.1` | unitless | HYSTERESIS | UI/console | operational |
651
+ | src/hub/budget.ts:97:7 | constant | `RESET_DROP` | `0.5` | unitless | RESET_DROP | UI/console | operational |
652
+ | src/hub/budget.ts:103:7 | constant | `RESET_JITTER_MS` | `15 * 60000` | ms | RESET_JITTER_MS | UI/console | operational |
653
+ | src/hub/budget.ts:108:7 | constant | `FALLBACK_WINDOW_MINS` | `300` | minutes | FALLBACK_WINDOW_MINS | UI/console | operational |
654
+ | src/hub/budget.ts:177:110 | inline | `this.db.query(INSERT INTO budget_pauses (peer, since, resets_at, reason, summary, handed_off, moved) VALUES (?, ?, ?, ?, ?, ?, ?)) .run` | `1` | unitless | this.db.query(INSERT INTO budget_pauses (peer, since, resets_at, reason, summary, handed_off, moved) VALUES (?, ?, ?, ?, ?, ?, ?)) .run | UI/console | operational |
655
+ | src/hub/budget.ts:177:114 | inline | `this.db.query(INSERT INTO budget_pauses (peer, since, resets_at, reason, summary, handed_off, moved) VALUES (?, ?, ?, ?, ?, ?, ?)) .run` | `0` | unitless | this.db.query(INSERT INTO budget_pauses (peer, since, resets_at, reason, summary, handed_off, moved) VALUES (?, ?, ?, ?, ?, ?, ?)) .run | UI/console | operational |
656
+ | src/hub/budget.ts:426:66 | inline | `Math.max` | `0` | minutes | Math.max | UI/console | operational |
657
+ | src/hub/bus.ts:78:51 | inline | `retryMs` | `1000` | ms | retryMs | bus/delivery | test seam |
658
+ | src/hub/bus.ts:78:67 | inline | `batchMax` | `3` | count | batchMax | bus/delivery | test seam |
659
+ | src/hub/bus.ts:78:79 | inline | `batchMs` | `15_000` | ms | batchMs | bus/delivery | test seam |
660
+ | src/hub/bus.ts:78:97 | inline | `queueCap` | `200` | count | queueCap | bus/delivery | test seam |
661
+ | src/hub/bus.ts:101:7 | constant | `SEEN_CAP` | `2048` | count | SEEN_CAP | bus/delivery | operational |
662
+ | src/hub/bus.ts:102:7 | constant | `MAX_ATTEMPTS` | `3` | count | MAX_ATTEMPTS | bus/delivery | operational |
663
+ | src/hub/bus.ts:105:7 | constant | `DIGEST_MAX` | `10` | count | DIGEST_MAX | bus/delivery | operational |
664
+ | src/hub/bus.ts:108:7 | constant | `PULL_BUDGET_BYTES` | `64 * 1024` | bytes | PULL_BUDGET_BYTES | bus/delivery | operational |
665
+ | src/hub/bus.ts:109:7 | constant | `NOTES_KEPT` | `10` | unitless | NOTES_KEPT | bus/delivery | operational |
666
+ | src/hub/bus.ts:185:55 | inline | `batchMax < 1` | `1` | count | batchMax < 1 | bus/delivery | contract |
667
+ | src/hub/bus.ts:185:71 | inline | `batchMax > 2_147_483_647` | `2_147_483_647` | count | batchMax > 2_147_483_647 | bus/delivery | contract |
668
+ | src/hub/bus.ts:186:63 | inline | `batchMs > 2_147_483_647` | `2_147_483_647` | ms | batchMs > 2_147_483_647 | bus/delivery | contract |
669
+ | src/hub/bus.ts:187:55 | inline | `queueCap < 1` | `1` | count | queueCap < 1 | bus/delivery | contract |
670
+ | src/hub/bus.ts:187:71 | inline | `queueCap > 2_147_483_647` | `2_147_483_647` | count | queueCap > 2_147_483_647 | bus/delivery | contract |
671
+ | src/hub/bus.ts:361:35 | inline | `timeoutMs` | `5_000` | ms | timeoutMs | bus/delivery | test seam |
672
+ | src/hub/bus.ts:365:17 | inline | `delay` | `1` | ms | delay | bus/delivery | operational |
673
+ | src/hub/bus.ts:372:24 | inline | `Math.min` | `delay * 2` | ms | Math.min | bus/delivery | operational |
674
+ | src/hub/bus.ts:372:35 | inline | `Math.min` | `50` | ms | Math.min | bus/delivery | operational |
675
+ | src/hub/bus.ts:616:98 | inline | `backlog.length > 64` | `64` | characters | backlog.length > 64 | bus/delivery | safety floor |
676
+ | src/hub/bus.ts:892:31 | inline | `this.withdrawn.size > 256` | `256` | count | this.withdrawn.size > 256 | bus/delivery | operational |
677
+ | src/hub/bus.ts:1222:67 | inline | `reason.replace(/\s+/g, ).slice` | `300` | characters | reason.replace(/\s+/g, ).slice | bus/delivery | safety floor |
678
+ | src/hub/check-runner.ts:13:7 | constant | `DAY` | `86400000` | ms | DAY | UI/console | operational |
679
+ | src/hub/check-runner.ts:14:7 | constant | `MAX_OUTPUT` | `1048576` | bytes | MAX_OUTPUT | UI/console | safety floor |
680
+ | src/hub/check-runner.ts:70:28 | inline | `lines.slice` | `-40` | characters | lines.slice | UI/console | safety floor |
681
+ | src/hub/check-runner.ts:71:43 | inline | `lines.length > 40` | `40` | lines | lines.length > 40 | UI/console | operational |
682
+ | src/hub/check-runner.ts:71:77 | inline | `Buffer.byteLength(result) > 4096` | `4096` | bytes | Buffer.byteLength(result) > 4096 | UI/console | operational |
683
+ | src/hub/check-runner.ts:81:68 | inline | `Math.max` | `1` | ms | Math.max | UI/console | operational |
684
+ | src/hub/check-runner.ts:81:80 | inline | `Math.min` | `600_000` | ms | Math.min | UI/console | operational |
685
+ | src/hub/check-runner.ts:81:110 | inline | `options.timeoutMs ?? 15_000` | `15_000` | ms | options.timeoutMs ?? 15_000 | UI/console | test seam |
686
+ | src/hub/check-runner.ts:85:138 | inline | `(stdout + data.toString()).slice` | `-1_048_576` | characters | (stdout + data.toString()).slice | UI/console | operational |
687
+ | src/hub/check-runner.ts:118:72 | inline | `setInterval` | `60_000` | ms | setInterval | UI/console | operational |
688
+ | src/hub/check-runner.ts:125:151 | inline | `timeout` | `15_000` | ms | timeout | UI/console | operational |
689
+ | src/hub/check-runner.ts:152:70 | inline | `timeoutMs` | `15_000` | ms | timeoutMs | UI/console | operational |
690
+ | src/hub/check-runner.ts:166:105 | inline | `version.stdout.trim().slice` | `80` | characters | version.stdout.trim().slice | UI/console | operational |
691
+ | src/hub/check-runner.ts:177:122 | inline | `request.files.length > 32` | `32` | count | request.files.length > 32 | UI/console | operational |
692
+ | src/hub/check-runner.ts:179:30 | inline | `this.entries.size >= 3` | `3` | count | this.entries.size >= 3 | UI/console | safety floor |
693
+ | src/hub/check-runner.ts:183:76 | inline | `duration_ms` | `0` | ms | duration_ms | UI/console | operational |
694
+ | src/hub/check-runner.ts:224:60 | inline | `this.options.lockWaitMs ?? 1_800_000` | `1_800_000` | ms | this.options.lockWaitMs ?? 1_800_000 | UI/console | operational |
695
+ | src/hub/check-runner.ts:243:207 | inline | `this.options.lockPollMs ?? 10_000` | `10_000` | ms | this.options.lockPollMs ?? 10_000 | UI/console | operational |
696
+ | src/hub/check-runner.ts:253:26 | inline | `entries.length > 100_000` | `100_000` | count | entries.length > 100_000 | UI/console | safety floor |
697
+ | src/hub/check-runner.ts:281:185 | inline | `timeout` | `15_000` | ms | timeout | UI/console | operational |
698
+ | src/hub/check-runner.ts:284:41 | inline | `bytes > 512 * 1024 * 1024` | `512 * 1024 * 1024` | bytes | bytes > 512 * 1024 * 1024 | UI/console | operational |
699
+ | src/hub/check-runner.ts:298:21 | inline | `++count > 100_000` | `100_000` | count | ++count > 100_000 | UI/console | operational |
700
+ | src/hub/check-runner.ts:311:37 | inline | `size > 1024 * 1024 * 1024` | `1024 * 1024 * 1024` | count | size > 1024 * 1024 * 1024 | UI/console | safety floor |
701
+ | src/hub/check-runner.ts:323:69 | inline | `stat.size > 64 * 1024 * 1024` | `64 * 1024 * 1024` | count | stat.size > 64 * 1024 * 1024 | UI/console | operational |
702
+ | src/hub/check-runner.ts:340:32 | inline | `Math.max` | `1` | ms | Math.max | UI/console | operational |
703
+ | src/hub/check-runner.ts:340:44 | inline | `Math.min` | `600_000` | ms | Math.min | UI/console | operational |
704
+ | src/hub/check-runner.ts:340:79 | inline | `this.options.timeoutMs ?? 600_000` | `600_000` | ms | this.options.timeoutMs ?? 600_000 | UI/console | operational |
705
+ | src/hub/check-runner.ts:349:54 | inline | `limit` | `15_000` | count | limit | UI/console | operational |
706
+ | src/hub/check-runner.ts:454:68 | inline | `setTimeout` | `5` | ms | setTimeout | UI/console | operational |
707
+ | src/hub/check-runner.ts:490:100 | inline | `name.slice` | `-5` | characters | name.slice | UI/console | operational |
708
+ | src/hub/check-runner.ts:495:32 | inline | `name.slice` | `-5` | characters | name.slice | UI/console | operational |
709
+ | src/hub/checks.ts:33:7 | constant | `TAIL_LINES` | `40` | lines | TAIL_LINES | tasks/routing | safety floor |
710
+ | src/hub/checks.ts:34:7 | constant | `TAIL_CHARS` | `4000` | unitless | TAIL_CHARS | tasks/routing | safety floor |
711
+ | src/hub/checks.ts:35:7 | constant | `KEEP_CHARS` | `64 * 1024` | unitless | KEEP_CHARS | tasks/routing | safety floor |
712
+ | src/hub/checks.ts:37:7 | constant | `DRAIN_MS` | `500` | ms | DRAIN_MS | tasks/routing | operational |
713
+ | src/hub/checks.ts:39:7 | constant | `KILL_GRACE_MS` | `1000` | ms | KILL_GRACE_MS | tasks/routing | operational |
714
+ | src/hub/child-process.ts:71:35 | inline | `attempt < 2` | `2` | unitless | attempt < 2 | adapters/handshakes | operational |
715
+ | src/hub/child-process.ts:73:93 | inline | `timeout` | `10_000` | ms | timeout | adapters/handshakes | operational |
716
+ | src/hub/child-process.ts:85:35 | inline | `attempt < 2` | `2` | unitless | attempt < 2 | adapters/handshakes | operational |
717
+ | src/hub/child-process.ts:88:57 | inline | `setTimeout` | `10_000` | ms | setTimeout | adapters/handshakes | operational |
718
+ | src/hub/child-process.ts:136:61 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | adapters/handshakes | operational |
719
+ | src/hub/child-process.ts:203:89 | inline | `setTimeout` | `1_000` | ms | setTimeout | adapters/handshakes | operational |
720
+ | src/hub/child-process.ts:278:35 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | adapters/handshakes | operational |
721
+ | src/hub/child-process.ts:278:78 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | adapters/handshakes | operational |
722
+ | src/hub/child-process.ts:313:23 | inline | `Bun.sleep` | `50` | ms | Bun.sleep | adapters/handshakes | operational |
723
+ | src/hub/claude-launch-proof.ts:21:39 | inline | `stat.size > 16 * 1024` | `16 * 1024` | count | stat.size > 16 * 1024 | UI/console | operational |
724
+ | src/hub/claude-launch-proof.ts:22:32 | inline | `Buffer.alloc` | `16 * 1024 + 1` | bytes | Buffer.alloc | UI/console | operational |
725
+ | src/hub/claude-launch-proof.ts:24:17 | inline | `count > 16 * 1024` | `16 * 1024` | count | count > 16 * 1024 | UI/console | operational |
726
+ | src/hub/claude-launch-proof.ts:26:118 | inline | `row.launchId.length > 128` | `128` | characters | row.launchId.length > 128 | UI/console | operational |
727
+ | src/hub/claude-launch-proof.ts:28:78 | inline | `row.executionCwd.length <= 4096` | `4096` | characters | row.executionCwd.length <= 4096 | UI/console | operational |
728
+ | src/hub/code-facts.ts:27:7 | constant | `MAX_OUTPUT` | `256 * 1024` | bytes | MAX_OUTPUT | model relay/inference | safety floor |
729
+ | src/hub/code-facts.ts:27:32 | constant | `MAX_SYMBOLS` | `256` | count | MAX_SYMBOLS | model relay/inference | operational |
730
+ | src/hub/code-facts.ts:27:51 | constant | `MAX_FILES` | `4096` | count | MAX_FILES | model relay/inference | operational |
731
+ | src/hub/code-facts.ts:27:69 | constant | `MAX_TREE_BYTES` | `32 * 1024 * 1024` | bytes | MAX_TREE_BYTES | model relay/inference | safety floor |
732
+ | src/hub/code-facts.ts:29:33 | inline | `cap` | `512` | count | cap | model relay/inference | safety floor |
733
+ | src/hub/code-facts.ts:42:81 | inline | `++count>4096` | `4096` | count | ++count>4096 | model relay/inference | safety floor |
734
+ | src/hub/code-facts.ts:42:102 | inline | `stack.length>16` | `16` | unitless | stack.length>16 | model relay/inference | safety floor |
735
+ | src/hub/code-facts.ts:62:165 | inline | `a.at.length<9` | `9` | unitless | a.at.length<9 | model relay/inference | contract |
736
+ | src/hub/code-facts.ts:62:235 | inline | `a.base_sha.length<9` | `9` | unitless | a.base_sha.length<9 | model relay/inference | contract |
737
+ | src/hub/code-facts.ts:90:73 | inline | `termMs` | `50` | ms | termMs | model relay/inference | operational |
738
+ | src/hub/code-facts.ts:90:83 | inline | `killMs` | `500` | ms | killMs | model relay/inference | operational |
739
+ | src/hub/code-facts.ts:96:121 | inline | `timeout` | `5000` | ms | timeout | model relay/inference | operational |
740
+ | src/hub/code-facts.ts:104:20 | inline | `keys.length>128` | `128` | count | keys.length>128 | model relay/inference | operational |
741
+ | src/hub/code-facts.ts:120:74 | inline | `Bun.sleep` | `500` | ms | Bun.sleep | model relay/inference | operational |
742
+ | src/hub/code-facts.ts:122:61 | inline | `termMs` | `50` | ms | termMs | model relay/inference | operational |
743
+ | src/hub/code-facts.ts:122:71 | inline | `killMs` | `500` | ms | killMs | model relay/inference | operational |
744
+ | src/hub/code-facts.ts:127:46 | inline | `Math.max` | `1` | ms | Math.max | model relay/inference | operational |
745
+ | src/hub/code-facts.ts:127:57 | inline | `Math.min` | `5000` | ms | Math.min | model relay/inference | operational |
746
+ | src/hub/code-facts.ts:127:88 | inline | `this.options.timeoutMs ?? 5000` | `5000` | ms | this.options.timeoutMs ?? 5000 | model relay/inference | operational |
747
+ | src/hub/code-facts.ts:131:70 | inline | `control.length>64` | `64` | unitless | control.length>64 | model relay/inference | operational |
748
+ | src/hub/code-facts.ts:156:188 | inline | `timeout` | `5000` | ms | timeout | model relay/inference | operational |
749
+ | src/hub/code-facts.ts:160:33 | inline | `bytes.indexOf` | `10` | bytes | bytes.indexOf | model relay/inference | contract |
750
+ | src/hub/code-facts.ts:162:17 | inline | `size>4*1024*1024` | `4*1024*1024` | count | size>4*1024*1024 | model relay/inference | safety floor |
751
+ | src/hub/code-facts.ts:189:24 | inline | `this.cache.size>128` | `128` | count | this.cache.size>128 | model relay/inference | safety floor |
752
+ | src/hub/code-facts.ts:201:177 | inline | `node.children.length>32` | `32` | unitless | node.children.length>32 | model relay/inference | operational |
753
+ | src/hub/code-facts.ts:207:63 | inline | `v.defs<1` | `1` | unitless | v.defs<1 | model relay/inference | contract |
754
+ | src/hub/code-facts.ts:207:227 | inline | `includes` | `0` | unitless | includes | model relay/inference | contract |
755
+ | src/hub/code-facts.ts:207:229 | inline | `includes` | `1` | unitless | includes | model relay/inference | operational |
756
+ | src/hub/code-facts.ts:222:58 | inline | `depth` | `1` | count | depth | model relay/inference | contract |
757
+ | src/hub/cohorts.ts:20:14 | constant | `MAX_REQUESTS` | `3` | count | MAX_REQUESTS | UI/console | operational |
758
+ | src/hub/cohorts.ts:22:14 | constant | `RETRY_MS` | `2000` | ms | RETRY_MS | UI/console | operational |
759
+ | src/hub/cohorts.ts:109:39 | inline | `all.length < 2` | `2` | characters | all.length < 2 | UI/console | operational |
760
+ | src/hub/config-apply.ts:112:73 | inline | `v.length > 16_384` | `16_384` | characters | v.length > 16_384 | UI/console | contract |
761
+ | src/hub/config-apply.ts:113:23 | inline | `min` | `0` | count | min | UI/console | test seam |
762
+ | src/hub/config-apply.ts:117:72 | inline | `v.length > 1024` | `1024` | characters | v.length > 1024 | UI/console | contract |
763
+ | src/hub/config-apply.ts:133:32 | inline | `number` | `2_147_483_647 / 1000` | unitless | number | UI/console | contract |
764
+ | src/hub/config-apply.ts:133:80 | inline | `number` | `2_147_483_647 / 60_000` | count | number | UI/console | contract |
765
+ | src/hub/config-apply.ts:151:26 | inline | `number` | `2_147_483_647` | ms | number | UI/console | contract |
766
+ | src/hub/config-apply.ts:152:127 | inline | `number` | `0` | unitless | number | UI/console | contract |
767
+ | src/hub/config-apply.ts:152:130 | inline | `number` | `1000` | unitless | number | UI/console | contract |
768
+ | src/hub/config-apply.ts:156:21 | inline | `number` | `1` | count | number | UI/console | contract |
769
+ | src/hub/config-apply.ts:156:24 | inline | `number` | `100_000` | count | number | UI/console | contract |
770
+ | src/hub/config-apply.ts:156:57 | inline | `number` | `0` | ms | number | UI/console | contract |
771
+ | src/hub/config-apply.ts:156:60 | inline | `number` | `2_147_483_647` | ms | number | UI/console | contract |
772
+ | src/hub/config-apply.ts:156:94 | inline | `number` | `1` | count | number | UI/console | contract |
773
+ | src/hub/config-apply.ts:156:97 | inline | `number` | `1_000_000` | count | number | UI/console | contract |
774
+ | src/hub/config-apply.ts:157:77 | inline | `number` | `1_000_000` | tokens | number | UI/console | contract |
775
+ | src/hub/config-apply.ts:157:118 | inline | `number` | `10_000` | unitless | number | UI/console | contract |
776
+ | src/hub/config-apply.ts:158:28 | inline | `number` | `1` | days | number | UI/console | contract |
777
+ | src/hub/config-apply.ts:158:31 | inline | `number` | `3650` | days | number | UI/console | contract |
778
+ | src/hub/config-apply.ts:158:70 | inline | `number` | `0` | minutes | number | UI/console | contract |
779
+ | src/hub/config-apply.ts:158:73 | inline | `number` | `1440` | minutes | number | UI/console | contract |
780
+ | src/hub/config-apply.ts:164:82 | inline | `number` | `0` | seconds | number | UI/console | contract |
781
+ | src/hub/config-apply.ts:164:85 | inline | `number` | `2_147_483_647 / 1000` | seconds | number | UI/console | contract |
782
+ | src/hub/config-apply.ts:165:172 | inline | `number` | `0` | minutes | number | UI/console | contract |
783
+ | src/hub/config-apply.ts:167:62 | inline | `number` | `1` | count | number | UI/console | contract |
784
+ | src/hub/config-apply.ts:167:65 | inline | `number` | `100_000` | count | number | UI/console | contract |
785
+ | src/hub/config-apply.ts:167:106 | inline | `number` | `1` | count | number | UI/console | contract |
786
+ | src/hub/config-apply.ts:167:109 | inline | `number` | `10_000_000` | count | number | UI/console | contract |
787
+ | src/hub/config-apply.ts:169:144 | inline | `number` | `65535` | port | number | UI/console | contract |
788
+ | src/hub/config-apply.ts:170:27 | inline | `number` | `1` | unitless | number | UI/console | contract |
789
+ | src/hub/config-apply.ts:170:103 | inline | `number` | `1` | count | number | UI/console | contract |
790
+ | src/hub/config-apply.ts:170:106 | inline | `number` | `1024` | count | number | UI/console | contract |
791
+ | src/hub/config-apply.ts:171:105 | inline | `number` | `0` | minutes | number | UI/console | contract |
792
+ | src/hub/config-apply.ts:171:132 | inline | `number` | `0` | count | number | UI/console | contract |
793
+ | src/hub/config-apply.ts:171:135 | inline | `number` | `32` | count | number | UI/console | contract |
794
+ | src/hub/config-apply.ts:172:95 | inline | `number` | `0` | unitless | number | UI/console | contract |
795
+ | src/hub/config-apply.ts:182:42 | inline | `number` | `0` | minutes | number | UI/console | contract |
796
+ | src/hub/config-apply.ts:182:67 | inline | `number` | `0` | minutes | number | UI/console | contract |
797
+ | src/hub/config-apply.ts:182:126 | inline | `number` | `0` | seconds | number | UI/console | contract |
798
+ | src/hub/config-apply.ts:183:55 | inline | `number` | `1` | count | number | UI/console | contract |
799
+ | src/hub/config-apply.ts:247:143 | inline | `[classes, stay_switch, signals, constraints, hub_routes, max_switch_prefill_tokens].includes` | `1` | tokens | [classes, stay_switch, signals, constraints, hub_routes, max_switch_prefill_tokens].includes | UI/console | contract |
800
+ | src/hub/config-edit-host.ts:49:7 | constant | `REASON_BYTES` | `400` | bytes | REASON_BYTES | UI/console | safety floor |
801
+ | src/hub/config-edit-host.ts:84:54 | inline | `configBackups(host.stateDir).slice` | `10` | characters | configBackups(host.stateDir).slice | UI/console | operational |
802
+ | src/hub/config-edit.ts:22:14 | constant | `MAX_EDIT_SETS` | `16` | count | MAX_EDIT_SETS | UI/console | operational |
803
+ | src/hub/config-edit.ts:23:14 | constant | `MAX_VALUE_BYTES` | `16 * 1024` | bytes | MAX_VALUE_BYTES | UI/console | safety floor |
804
+ | src/hub/config-edit.ts:24:79 | inline | `config.local.json` | `1024 * 1024` | unitless | config.local.json | UI/console | safety floor |
805
+ | src/hub/config-edit.ts:24:105 | inline | `sdlc.toml` | `64 * 1024` | unitless | sdlc.toml | UI/console | safety floor |
806
+ | src/hub/config-edit.ts:25:14 | constant | `BACKUPS_KEPT` | `5` | unitless | BACKUPS_KEPT | UI/console | operational |
807
+ | src/hub/config-edit.ts:30:137 | inline | `sha(JSON.stringify(canonical(value))).slice` | `16` | characters | sha(JSON.stringify(canonical(value))).slice | UI/console | contract |
808
+ | src/hub/config-edit.ts:73:81 | inline | `entry.path.length > 6` | `6` | characters | entry.path.length > 6 | UI/console | contract |
809
+ | src/hub/config-edit.ts:265:86 | inline | `sha(plan.before).slice` | `8` | characters | sha(plan.before).slice | UI/console | contract |
810
+ | src/hub/config-reload.ts:24:7 | constant | `MAX_CONFIG_BYTES` | `1024 * 1024` | bytes | MAX_CONFIG_BYTES | UI/console | safety floor |
811
+ | src/hub/config-reload.ts:46:84 | inline | `Object.keys(v).length > 256` | `256` | characters | Object.keys(v).length > 256 | UI/console | operational |
812
+ | src/hub/config-reload.ts:50:93 | inline | `v.length > 4096` | `4096` | characters | v.length > 4096 | UI/console | operational |
813
+ | src/hub/config-reload.ts:51:51 | inline | `min` | `1` | count | min | UI/console | contract |
814
+ | src/hub/config-reload.ts:57:41 | inline | `v.length > 128` | `128` | characters | v.length > 128 | UI/console | safety floor |
815
+ | src/hub/config-reload.ts:59:86 | inline | `v.length > 256` | `256` | characters | v.length > 256 | UI/console | contract |
816
+ | src/hub/config-reload.ts:59:141 | inline | `x.length > 4096` | `4096` | characters | x.length > 4096 | UI/console | contract |
817
+ | src/hub/config-reload.ts:62:17 | inline | `depth > 16` | `16` | count | depth > 16 | UI/console | operational |
818
+ | src/hub/config-reload.ts:63:49 | inline | `v.length > 16_384` | `16_384` | characters | v.length > 16_384 | UI/console | operational |
819
+ | src/hub/config-reload.ts:66:49 | inline | `v.length > 1024` | `1024` | characters | v.length > 1024 | UI/console | safety floor |
820
+ | src/hub/config-reload.ts:70:20 | inline | `min` | `1` | count | min | UI/console | contract |
821
+ | src/hub/config-tier.ts:40:92 | inline | `part.length > 64` | `64` | characters | part.length > 64 | UI/console | safety floor |
822
+ | src/hub/conflicts.ts:60:72 | inline | `String(r.title).slice` | `100` | characters | String(r.title).slice | UI/console | operational |
823
+ | src/hub/context-window.ts:28:69 | inline | `stale_min` | `30` | minutes | stale_min | UI/console | operational |
824
+ | src/hub/context-window.ts:35:66 | inline | `cfg.gate > 1` | `1` | unitless | cfg.gate > 1 | UI/console | operational |
825
+ | src/hub/context-window.ts:42:147 | inline | `reading.used > 1` | `1` | unitless | reading.used > 1 | UI/console | operational |
826
+ | src/hub/control-client.ts:11:14 | constant | `PROTOCOL` | `16` | unitless | PROTOCOL | recovery/upgrade waits | contract |
827
+ | src/hub/control-client.ts:21:17 | inline | `backoff` | `250` | ms | backoff | recovery/upgrade waits | operational |
828
+ | src/hub/control-client.ts:26:37 | inline | `includes` | `1006` | unitless | includes | recovery/upgrade waits | contract |
829
+ | src/hub/control-client.ts:30:26 | inline | `Math.min` | `1000` | ms | Math.min | recovery/upgrade waits | operational |
830
+ | src/hub/control-client.ts:30:42 | inline | `Math.min` | `2` | ms | Math.min | recovery/upgrade waits | operational |
831
+ | src/hub/control-client.ts:73:97 | inline | `status.controlPort > 65535` | `65535` | port | status.controlPort > 65535 | recovery/upgrade waits | contract |
832
+ | src/hub/control-client.ts:113:62 | inline | `timeoutMs` | `3000` | ms | timeoutMs | recovery/upgrade waits | test seam |
833
+ | src/hub/control-client.ts:170:53 | inline | `timeoutMs` | `30_000` | ms | timeoutMs | recovery/upgrade waits | test seam |
834
+ | src/hub/cost-governance.ts:32:34 | inline | `tasks.length > 500` | `500` | characters | tasks.length > 500 | UI/console | operational |
835
+ | src/hub/cost-governance.ts:32:54 | inline | `prs.length > 200` | `200` | characters | prs.length > 200 | UI/console | operational |
836
+ | src/hub/cost-governance.ts:34:33 | inline | `prs.slice` | `200` | characters | prs.slice | UI/console | operational |
837
+ | src/hub/cost-governance.ts:41:39 | inline | `tasks.slice` | `500` | characters | tasks.slice | UI/console | operational |
838
+ | src/hub/cost-governance.ts:54:57 | inline | `pr.ciRuns.slice` | `100` | characters | pr.ciRuns.slice | UI/console | operational |
839
+ | src/hub/cost-governance.ts:55:53 | inline | `run.id < 1` | `1` | unitless | run.id < 1 | UI/console | contract |
840
+ | src/hub/cost-governance.ts:55:110 | inline | `run.attempt < 1` | `1` | unitless | run.attempt < 1 | UI/console | contract |
841
+ | src/hub/cost-governance.ts:55:129 | inline | `run.attempt > 10_000` | `10_000` | unitless | run.attempt > 10_000 | UI/console | safety floor |
842
+ | src/hub/cost-governance.ts:56:61 | inline | `attempts.get(run.id) ?? 0` | `0` | count | attempts.get(run.id) ?? 0 | UI/console | operational |
843
+ | src/hub/cost-governance.ts:58:41 | inline | `pr.ciRuns.length > 100` | `100` | characters | pr.ciRuns.length > 100 | UI/console | operational |
844
+ | src/hub/cost-governance.ts:61:126 | inline | `[...attempts.values()].reduce` | `0` | count | [...attempts.values()].reduce | UI/console | operational |
845
+ | src/hub/daemon.ts:247:14 | inline | `batch_max` | `3` | count | batch_max | UI/console | operational |
846
+ | src/hub/daemon.ts:248:13 | inline | `batch_ms` | `15_000` | ms | batch_ms | UI/console | operational |
847
+ | src/hub/daemon.ts:249:14 | inline | `queue_cap` | `200` | count | queue_cap | UI/console | operational |
848
+ | src/hub/daemon.ts:250:43 | inline | `inject_tokens` | `2000` | tokens | inject_tokens | UI/console | operational |
849
+ | src/hub/daemon.ts:250:62 | inline | `brief_items` | `8` | unitless | brief_items | UI/console | operational |
850
+ | src/hub/daemon.ts:253:46 | inline | `approval_wait_s` | `30` | seconds | approval_wait_s | UI/console | operational |
851
+ | src/hub/daemon.ts:259:125 | inline | `contextWindow` | `8192` | unitless | contextWindow | UI/console | operational |
852
+ | src/hub/daemon.ts:259:147 | inline | `maxInputTokens` | `6000` | tokens | maxInputTokens | UI/console | operational |
853
+ | src/hub/daemon.ts:259:164 | inline | `maxTokens` | `2048` | tokens | maxTokens | UI/console | operational |
854
+ | src/hub/daemon.ts:259:186 | inline | `maxConcurrency` | `1` | count | maxConcurrency | UI/console | operational |
855
+ | src/hub/daemon.ts:262:27 | inline | `timeout_s` | `120` | seconds | timeout_s | UI/console | operational |
856
+ | src/hub/daemon.ts:263:31 | inline | `release_after_min` | `30` | minutes | release_after_min | UI/console | operational |
857
+ | src/hub/daemon.ts:265:24 | inline | `timeout_s` | `600` | seconds | timeout_s | UI/console | operational |
858
+ | src/hub/daemon.ts:273:43 | inline | `min_reviews` | `5` | count | min_reviews | UI/console | operational |
859
+ | src/hub/daemon.ts:426:117 | inline | `maxInputTokens` | `16_000` | tokens | maxInputTokens | UI/console | operational |
860
+ | src/hub/daemon.ts:426:136 | inline | `maxTokens` | `2048` | tokens | maxTokens | UI/console | operational |
861
+ | src/hub/daemon.ts:462:55 | inline | `wait_max_min` | `30` | minutes | wait_max_min | UI/console | operational |
862
+ | src/hub/daemon.ts:721:69 | inline | `sanitize(row.key).slice` | `160` | characters | sanitize(row.key).slice | UI/console | operational |
863
+ | src/hub/daemon.ts:721:105 | inline | `sanitize(row.reason).slice` | `1200` | characters | sanitize(row.reason).slice | UI/console | operational |
864
+ | src/hub/daemon.ts:812:51 | inline | `opts.researchGraceMs ?? 10_000` | `10_000` | ms | opts.researchGraceMs ?? 10_000 | UI/console | test seam |
865
+ | src/hub/daemon.ts:1044:39 | inline | `delayMs` | `10 * 60_000` | ms | delayMs | UI/console | operational |
866
+ | src/hub/daemon.ts:1082:107 | inline | `ttlMs` | `(config.memory.short_ttl_days ?? 14) * 24 * 3600_000` | ms | ttlMs | UI/console | operational |
867
+ | src/hub/daemon.ts:1082:140 | inline | `config.memory.short_ttl_days ?? 14` | `14` | days | config.memory.short_ttl_days ?? 14 | UI/console | operational |
868
+ | src/hub/daemon.ts:1096:160 | inline | `publicStatus.generation.slice` | `8` | characters | publicStatus.generation.slice | UI/console | operational |
869
+ | src/hub/daemon.ts:1127:62 | inline | `v.id.slice` | `8` | characters | v.id.slice | UI/console | contract |
870
+ | src/hub/daemon.ts:1127:163 | inline | `${v.title ? ${v.title}: : }${v.text}.replace(/\s+/g, ).slice` | `160` | characters | ${v.title ? ${v.title}: : }${v.text}.replace(/\s+/g, ).slice | UI/console | operational |
871
+ | src/hub/daemon.ts:1133:59 | inline | `g.id.slice` | `8` | characters | g.id.slice | UI/console | contract |
872
+ | src/hub/daemon.ts:1133:213 | inline | `g.lease.holder.slice` | `8` | characters | g.lease.holder.slice | UI/console | operational |
873
+ | src/hub/daemon.ts:1133:336 | inline | `m.slice` | `8` | characters | m.slice | UI/console | operational |
874
+ | src/hub/daemon.ts:1149:73 | inline | `Date.parse(g.lease.until!) - Date.now() > DEFAULT_LEASE_MS / 2` | `DEFAULT_LEASE_MS / 2` | ms | Date.parse(g.lease.until!) - Date.now() > DEFAULT_LEASE_MS / 2 | UI/console | operational |
875
+ | src/hub/daemon.ts:1170:71 | inline | `${v.title ?? }\n${v.text}.slice` | `1500` | characters | ${v.title ?? }\n${v.text}.slice | UI/console | operational |
876
+ | src/hub/daemon.ts:1170:164 | inline | `${c.title ?? }\n${c.text}.slice` | `600` | characters | ${c.title ?? }\n${c.text}.slice | UI/console | operational |
877
+ | src/hub/daemon.ts:1209:214 | inline | `recallMemoryLines` | `30` | lines | recallMemoryLines | UI/console | operational |
878
+ | src/hub/daemon.ts:1235:26 | inline | `attempt` | `0` | unitless | attempt | UI/console | operational |
879
+ | src/hub/daemon.ts:1276:26 | inline | `approvalAgeMs` | `(config.conductor?.approval_wait_s ?? 30) * 1000` | ms | approvalAgeMs | UI/console | operational |
880
+ | src/hub/daemon.ts:1276:64 | inline | `config.conductor?.approval_wait_s ?? 30` | `30` | seconds | config.conductor?.approval_wait_s ?? 30 | UI/console | operational |
881
+ | src/hub/daemon.ts:1307:99 | inline | `config.checks.timeout_s >= 1` | `1` | seconds | config.checks.timeout_s >= 1 | UI/console | operational |
882
+ | src/hub/daemon.ts:1307:137 | inline | `Math.min` | `3600` | ms | Math.min | UI/console | operational |
883
+ | src/hub/daemon.ts:1307:145 | inline | `checkTimeoutS` | `600` | ms | checkTimeoutS | UI/console | operational |
884
+ | src/hub/daemon.ts:1355:88 | inline | `createHash(sha256).update(realPath(opts.cwd)).digest(hex).slice` | `24` | characters | createHash(sha256).update(realPath(opts.cwd)).digest(hex).slice | UI/console | contract |
885
+ | src/hub/daemon.ts:1364:35 | inline | `checkBindings.size > 200` | `200` | count | checkBindings.size > 200 | UI/console | operational |
886
+ | src/hub/daemon.ts:1464:110 | inline | `wipLimit` | `1` | count | wipLimit | UI/console | operational |
887
+ | src/hub/daemon.ts:1494:32 | inline | `reviewSymbols.size > 64` | `64` | count | reviewSymbols.size > 64 | UI/console | operational |
888
+ | src/hub/daemon.ts:1579:270 | inline | `p.trace.at(-1)!.replace(/^ {2}unknown: /, ).slice` | `200` | characters | p.trace.at(-1)!.replace(/^ {2}unknown: /, ).slice | UI/console | operational |
889
+ | src/hub/daemon.ts:1579:338 | inline | `p.trace.slice(1).map((l) => l.trim()).slice` | `10` | characters | p.trace.slice(1).map((l) => l.trim()).slice | UI/console | operational |
890
+ | src/hub/daemon.ts:1619:134 | inline | `instanceId.slice` | `8` | characters | instanceId.slice | UI/console | contract |
891
+ | src/hub/daemon.ts:1643:129 | inline | `instanceId.slice` | `8` | characters | instanceId.slice | UI/console | contract |
892
+ | src/hub/daemon.ts:1711:104 | inline | `Date.now() - o.at > 60_000` | `60_000` | unitless | Date.now() - o.at > 60_000 | UI/console | operational |
893
+ | src/hub/daemon.ts:1711:122 | inline | `factsFor(peer).pending(peer).filter((o) => !o.done && Date.now() - o.at > 60_000).length >= 3` | `3` | characters | factsFor(peer).pending(peer).filter((o) => !o.done && Date.now() - o.at > 60_000).length >= 3 | UI/console | operational |
894
+ | src/hub/daemon.ts:1723:93 | inline | `factsFor(peer).pending(peer).filter((o) => !o.done).length >= 3` | `3` | characters | factsFor(peer).pending(peer).filter((o) => !o.done).length >= 3 | UI/console | operational |
895
+ | src/hub/daemon.ts:1755:33 | inline | `injected.size > 512` | `512` | count | injected.size > 512 | UI/console | operational |
896
+ | src/hub/daemon.ts:1871:55 | inline | `setTimeout` | `config.budget.checkpoint_timeout_s * 1000` | ms | setTimeout | UI/console | contract |
897
+ | src/hub/daemon.ts:1902:208 | inline | `trimToTokens` | `800` | tokens | trimToTokens | UI/console | operational |
898
+ | src/hub/daemon.ts:1910:218 | inline | `Math.abs(Date.now() - at) > 1000` | `1000` | unitless | Math.abs(Date.now() - at) > 1000 | UI/console | operational |
899
+ | src/hub/daemon.ts:1972:147 | inline | `(error as Error).message.slice` | `120` | characters | (error as Error).message.slice | UI/console | operational |
900
+ | src/hub/daemon.ts:2001:145 | inline | `Math.max` | `0` | unitless | Math.max | UI/console | operational |
901
+ | src/hub/daemon.ts:2030:49 | inline | `opts.snapshotBurstMs ?? 250` | `250` | ms | opts.snapshotBurstMs ?? 250 | UI/console | operational |
902
+ | src/hub/daemon.ts:2031:56 | inline | `Math.max` | `1` | unitless | Math.max | UI/console | operational |
903
+ | src/hub/daemon.ts:2031:68 | inline | `Math.min` | `250` | unitless | Math.min | UI/console | operational |
904
+ | src/hub/daemon.ts:2031:87 | inline | `ms` | `250` | unitless | ms | UI/console | operational |
905
+ | src/hub/daemon.ts:2193:128 | inline | `hubTokenWindows.set` | `5 * 3_600_000` | unitless | hubTokenWindows.set | UI/console | operational |
906
+ | src/hub/daemon.ts:2225:36 | inline | `retainedCliAudits.size > 4096` | `4096` | count | retainedCliAudits.size > 4096 | UI/console | operational |
907
+ | src/hub/daemon.ts:2268:8 | inline | `setInterval` | `1000` | ms | setInterval | UI/console | operational |
908
+ | src/hub/daemon.ts:2269:38 | inline | `setInterval` | `30_000` | ms | setInterval | UI/console | operational |
909
+ | src/hub/daemon.ts:2270:34 | inline | `setInterval` | `10_000` | ms | setInterval | UI/console | operational |
910
+ | src/hub/daemon.ts:2284:105 | inline | `sanitize((error as Error).message).slice` | `160` | characters | sanitize((error as Error).message).slice | UI/console | safety floor |
911
+ | src/hub/daemon.ts:2285:29 | inline | `opts.bandsEveryMs ?? 300_000` | `300_000` | ms | opts.bandsEveryMs ?? 300_000 | UI/console | test seam |
912
+ | src/hub/daemon.ts:2291:8 | inline | `setInterval` | `5_000` | ms | setInterval | UI/console | operational |
913
+ | src/hub/daemon.ts:2293:84 | inline | `setInterval` | `30_000` | ms | setInterval | UI/console | operational |
914
+ | src/hub/daemon.ts:2309:8 | inline | `setInterval` | `5_000` | ms | setInterval | UI/console | operational |
915
+ | src/hub/daemon.ts:2320:10 | inline | `setInterval` | `sweep.interval_s * 1000` | ms | setInterval | UI/console | operational |
916
+ | src/hub/daemon.ts:2391:127 | inline | `JSON.stringify(v).slice` | `60` | characters | JSON.stringify(v).slice | UI/console | operational |
917
+ | src/hub/daemon.ts:2449:37 | inline | `deadline` | `25_000` | ms | deadline | UI/console | operational |
918
+ | src/hub/daemon.ts:2459:154 | inline | `Math.min` | `15_000` | ms | Math.min | UI/console | operational |
919
+ | src/hub/daemon.ts:2479:101 | inline | `a.files.length > 32` | `32` | count | a.files.length > 32 | UI/console | safety floor |
920
+ | src/hub/daemon.ts:2517:234 | inline | `a.delivery_id.length > 256` | `256` | characters | a.delivery_id.length > 256 | UI/console | safety floor |
921
+ | src/hub/daemon.ts:2580:127 | inline | `a.reason.length > 2000` | `2000` | characters | a.reason.length > 2000 | UI/console | safety floor |
922
+ | src/hub/daemon.ts:2581:139 | inline | `a.superseded_by.length > 2000` | `2000` | characters | a.superseded_by.length > 2000 | UI/console | safety floor |
923
+ | src/hub/daemon.ts:2634:81 | inline | `a.release.length > 100` | `100` | characters | a.release.length > 100 | UI/console | safety floor |
924
+ | src/hub/daemon.ts:2749:224 | inline | `String(view.detail).slice` | `1000` | characters | String(view.detail).slice | UI/console | safety floor |
925
+ | src/hub/daemon.ts:2841:89 | inline | `setInterval` | `1_000` | ms | setInterval | UI/console | operational |
926
+ | src/hub/daemon.ts:2858:79 | inline | `Date.now() - since < config.budget.stale_min * 60_000` | `60_000` | minutes | Date.now() - since < config.budget.stale_min * 60_000 | UI/console | operational |
927
+ | src/hub/daemon.ts:2989:60 | inline | `setInterval` | `2000` | ms | setInterval | UI/console | operational |
928
+ | src/hub/daemon.ts:3236:40 | inline | `Date.now() - since < limit * 60_000` | `60_000` | count | Date.now() - since < limit * 60_000 | UI/console | operational |
929
+ | src/hub/daemon.ts:3241:68 | inline | `setInterval` | `60_000` | ms | setInterval | UI/console | operational |
930
+ | src/hub/daemon.ts:3256:34 | inline | `recentConflicts.length > 12` | `12` | characters | recentConflicts.length > 12 | UI/console | operational |
931
+ | src/hub/daemon.ts:3347:27 | inline | `mine[0] && tasks.silentFor(mine[0].id)` | `0` | unitless | mine[0] && tasks.silentFor(mine[0].id) | UI/console | operational |
932
+ | src/hub/daemon.ts:3347:54 | inline | `id` | `0` | unitless | id | UI/console | operational |
933
+ | src/hub/daemon.ts:3384:79 | inline | `retryAfter` | `30_000` | unitless | retryAfter | UI/console | operational |
934
+ | src/hub/daemon.ts:3449:27 | inline | `uiEvents.length > 200` | `200` | characters | uiEvents.length > 200 | UI/console | operational |
935
+ | src/hub/daemon.ts:3617:166 | inline | `sanitize(e.reason ?? delivery retries exhausted).replace(/\s+/g, ).slice` | `300` | characters | sanitize(e.reason ?? delivery retries exhausted).replace(/\s+/g, ).slice | UI/console | operational |
936
+ | src/hub/daemon.ts:3627:171 | inline | `e.env.body.slice` | `200` | characters | e.env.body.slice | UI/console | operational |
937
+ | src/hub/daemon.ts:3645:49 | inline | `setTimeout` | `5000` | ms | setTimeout | UI/console | operational |
938
+ | src/hub/daemon.ts:3693:38 | inline | `randomUUID().slice` | `8` | characters | randomUUID().slice | UI/console | contract |
939
+ | src/hub/daemon.ts:3699:51 | inline | `opts.permissionTimeoutMs ?? approvalTimeoutS * 1000` | `approvalTimeoutS * 1000` | ms | opts.permissionTimeoutMs ?? approvalTimeoutS * 1000 | UI/console | operational |
940
+ | src/hub/daemon.ts:3726:36 | inline | `Math.max` | `0` | ms | Math.max | UI/console | operational |
941
+ | src/hub/daemon.ts:3813:49 | inline | `watchOpening.get(peer) ?? 0` | `0` | unitless | watchOpening.get(peer) ?? 0 | UI/console | operational |
942
+ | src/hub/daemon.ts:3992:62 | inline | `setTimeout` | `30_000` | ms | setTimeout | UI/console | operational |
943
+ | src/hub/daemon.ts:4238:47 | inline | `usagePollMs` | `60_000` | ms | usagePollMs | UI/console | operational |
944
+ | src/hub/daemon.ts:4319:256 | inline | `config.mlx.contextWindow ?? 8192` | `8192` | unitless | config.mlx.contextWindow ?? 8192 | UI/console | operational |
945
+ | src/hub/daemon.ts:4319:399 | inline | `maxTokens` | `8192` | tokens | maxTokens | UI/console | operational |
946
+ | src/hub/daemon.ts:4319:439 | inline | `config.mlx.maxTokens ?? 2048` | `2048` | tokens | config.mlx.maxTokens ?? 2048 | UI/console | operational |
947
+ | src/hub/daemon.ts:4319:445 | inline | `Math.min` | `8192` | tokens | Math.min | UI/console | operational |
948
+ | src/hub/daemon.ts:4319:503 | inline | `config.mlx.maxTokens ?? 2048` | `2048` | tokens | config.mlx.maxTokens ?? 2048 | UI/console | operational |
949
+ | src/hub/daemon.ts:4319:511 | inline | `maxTokens` | `8192` | tokens | maxTokens | UI/console | operational |
950
+ | src/hub/daemon.ts:4569:38 | inline | `reviewPolicies.size >= 64` | `64` | count | reviewPolicies.size >= 64 | UI/console | operational |
951
+ | src/hub/daemon.ts:4582:102 | inline | `sanitize(reason).slice` | `300` | characters | sanitize(reason).slice | UI/console | operational |
952
+ | src/hub/daemon.ts:4583:69 | inline | `sanitize(reason).slice` | `1000` | characters | sanitize(reason).slice | UI/console | operational |
953
+ | src/hub/daemon.ts:4593:153 | inline | `sanitize(error.message).slice` | `1000` | characters | sanitize(error.message).slice | UI/console | safety floor |
954
+ | src/hub/daemon.ts:4736:45 | inline | `runs.slice` | `20` | characters | runs.slice | UI/console | operational |
955
+ | src/hub/daemon.ts:4737:154 | inline | `rs[0]!.header.suiteHash.slice` | `8` | characters | rs[0]!.header.suiteHash.slice | UI/console | contract |
956
+ | src/hub/daemon.ts:4752:39 | inline | `max` | `200` | count | max | UI/console | safety floor |
957
+ | src/hub/daemon.ts:4756:35 | inline | `hops` | `2` | count | hops | UI/console | operational |
958
+ | src/hub/daemon.ts:4756:39 | inline | `hops` | `1` | count | hops | UI/console | operational |
959
+ | src/hub/daemon.ts:4759:250 | inline | `limit` | `50` | count | limit | UI/console | operational |
960
+ | src/hub/daemon.ts:4760:229 | inline | `v.text.slice` | `600` | characters | v.text.slice | UI/console | operational |
961
+ | src/hub/daemon.ts:4764:56 | inline | `goals.slice` | `50` | characters | goals.slice | UI/console | operational |
962
+ | src/hub/daemon.ts:4801:63 | inline | `limit` | `100` | count | limit | UI/console | operational |
963
+ | src/hub/daemon.ts:4973:28 | inline | `key.length > 160` | `160` | characters | key.length > 160 | UI/console | operational |
964
+ | src/hub/daemon.ts:5002:105 | inline | `guarded.length > 200` | `200` | characters | guarded.length > 200 | UI/console | safety floor |
965
+ | src/hub/daemon.ts:5121:129 | inline | `sanitize(error instanceof Error ? error.message : configuration reload could not be confirmed).slice` | `600` | characters | sanitize(error instanceof Error ? error.message : configuration reload could not be confirmed).slice | UI/console | operational |
966
+ | src/hub/daemon.ts:5157:140 | inline | `tasks.wipLimit` | `2` | count | tasks.wipLimit | UI/console | operational |
967
+ | src/hub/daemon.ts:5261:242 | inline | `setTimeout` | `100` | ms | setTimeout | UI/console | operational |
968
+ | src/hub/daemon.ts:5389:72 | inline | `open.filter((task) => !tasks.isPii(task)).slice` | `20` | characters | open.filter((task) => !tasks.isPii(task)).slice | UI/console | operational |
969
+ | src/hub/daemon.ts:5437:199 | inline | `sanitize((error as Error).message).slice` | `300` | characters | sanitize((error as Error).message).slice | UI/console | operational |
970
+ | src/hub/daemon.ts:5455:91 | inline | `liveIssues.length > 32` | `32` | characters | liveIssues.length > 32 | UI/console | operational |
971
+ | src/hub/daemon.ts:5474:74 | inline | `a.to.length > 32` | `32` | characters | a.to.length > 32 | UI/console | operational |
972
+ | src/hub/daemon.ts:5546:84 | inline | `maxLeaseMs` | `10 * 60_000` | ms | maxLeaseMs | UI/console | operational |
973
+ | src/hub/daemon.ts:5601:103 | inline | `msg.operationId.length > 128` | `128` | characters | msg.operationId.length > 128 | UI/console | operational |
974
+ | src/hub/daemon.ts:5677:120 | inline | `setTimeout` | `0` | ms | setTimeout | UI/console | operational |
975
+ | src/hub/daemon.ts:5868:74 | inline | `msg.launchId.length <= 128` | `128` | characters | msg.launchId.length <= 128 | UI/console | operational |
976
+ | src/hub/daemon.ts:5916:174 | inline | `Math.max` | `10` | ms | Math.max | UI/console | operational |
977
+ | src/hub/daemon.ts:5916:187 | inline | `Math.min` | `1000` | ms | Math.min | UI/console | operational |
978
+ | src/hub/daemon.ts:5954:91 | inline | `msg.reason.length > 2000` | `2000` | characters | msg.reason.length > 2000 | UI/console | operational |
979
+ | src/hub/daemon.ts:5970:70 | inline | `msg.id.length > 256` | `256` | characters | msg.id.length > 256 | UI/console | operational |
980
+ | src/hub/daemon.ts:5975:231 | inline | `msg.reason.length > 2000` | `2000` | characters | msg.reason.length > 2000 | UI/console | operational |
981
+ | src/hub/daemon.ts:5994:115 | inline | `sanitize(msg.reason).replace(/\s+/g, ).trim().slice` | `300` | characters | sanitize(msg.reason).replace(/\s+/g, ).trim().slice | UI/console | safety floor |
982
+ | src/hub/daemon.ts:6128:45 | inline | `deadline` | `2000` | ms | deadline | UI/console | operational |
983
+ | src/hub/daemon.ts:6129:27 | inline | `delay` | `5` | ms | delay | UI/console | operational |
984
+ | src/hub/daemon.ts:6140:58 | inline | `Math.min` | `50` | ms | Math.min | UI/console | operational |
985
+ | src/hub/daemon.ts:6140:62 | inline | `Math.min` | `delay * 2` | ms | Math.min | UI/console | operational |
986
+ | src/hub/daemon.ts:6167:71 | inline | `msg.tool.slice` | `64` | characters | msg.tool.slice | UI/console | operational |
987
+ | src/hub/daemon.ts:6169:103 | inline | `msg.toolUseId.slice` | `128` | characters | msg.toolUseId.slice | UI/console | operational |
988
+ | src/hub/daemon.ts:6170:103 | inline | `msg.sessionId.slice` | `128` | characters | msg.sessionId.slice | UI/console | operational |
989
+ | src/hub/daemon.ts:6281:78 | inline | `Bun.sleep` | `0` | ms | Bun.sleep | UI/console | operational |
990
+ | src/hub/daemon.ts:6342:131 | inline | `msg.owners.filter((o: unknown): o is string => typeof o === string).slice` | `20` | characters | msg.owners.filter((o: unknown): o is string => typeof o === string).slice | UI/console | operational |
991
+ | src/hub/daemon.ts:6402:119 | inline | `(msg.liveIssues ?? []).length > 32` | `32` | characters | (msg.liveIssues ?? []).length > 32 | UI/console | operational |
992
+ | src/hub/daemon.ts:6439:48 | inline | `selected.slice` | `100` | characters | selected.slice | UI/console | operational |
993
+ | src/hub/daemon.ts:6444:92 | inline | `selected.length > 100` | `100` | characters | selected.length > 100 | UI/console | operational |
994
+ | src/hub/daemon.ts:6586:215 | inline | `screenMemory(memoryStore!.list({ project: memoryProject, limit: Number.MAX_SAFE_INTEGER })).map((v) => [v, score(v)] as const).filter(([, n]) => n > 0).sort((a, b) => b[1] - a[1]).slice` | `6` | characters | screenMemory(memoryStore!.list({ project: memoryProject, limit: Number.MAX_SAFE_INTEGER })).map((v) => [v, score(v)] as const).filter(([, n]) => n > 0).sort((a, b) => b[1] - a[1]).slice | UI/console | operational |
995
+ | src/hub/daemon.ts:6587:154 | inline | `screenMemory(memoryStore!.related(memoryProject, [...new Set(hits.flatMap((v) => v.about))], Number.MAX_SAFE_INTEGER)).slice` | `6` | characters | screenMemory(memoryStore!.related(memoryProject, [...new Set(hits.flatMap((v) => v.about))], Number.MAX_SAFE_INTEGER)).slice | UI/console | operational |
996
+ | src/hub/daemon.ts:6590:29 | inline | `chain.at` | `-1` | unitless | chain.at | UI/console | operational |
997
+ | src/hub/daemon.ts:6603:78 | inline | `String(msg.question).slice` | `80` | characters | String(msg.question).slice | UI/console | operational |
998
+ | src/hub/daemon.ts:6604:126 | inline | `String(msg.question).slice` | `300` | characters | String(msg.question).slice | UI/console | operational |
999
+ | src/hub/daemon.ts:6604:217 | inline | `res.evidence.map((e) => e.id).join(, ).slice` | `600` | characters | res.evidence.map((e) => e.id).join(, ).slice | UI/console | operational |
1000
+ | src/hub/daemon.ts:6649:102 | inline | `(msg.limit as number) >= 1` | `1` | count | (msg.limit as number) >= 1 | UI/console | operational |
1001
+ | src/hub/daemon.ts:6663:133 | inline | `(error as Error).message.slice` | `120` | characters | (error as Error).message.slice | UI/console | operational |
1002
+ | src/hub/daemon.ts:6673:113 | inline | `setTimeout` | `0` | ms | setTimeout | UI/console | operational |
1003
+ | src/hub/daemon.ts:6761:28 | inline | `opts.orphanWatchMs ?? 10_000` | `10_000` | ms | opts.orphanWatchMs ?? 10_000 | UI/console | test seam |
1004
+ | src/hub/daemon.ts:6777:51 | inline | `setTimeout` | `100` | ms | setTimeout | UI/console | operational |
1005
+ | src/hub/daemon.ts:6780:52 | inline | `interval` | `100` | ms | interval | UI/console | operational |
1006
+ | src/hub/daemon.ts:6792:48 | inline | `setInterval` | `10 * 60_000` | ms | setInterval | UI/console | operational |
1007
+ | src/hub/daemon.ts:6793:54 | inline | `config.memory.sync_interval_min ?? 10` | `10` | minutes | config.memory.sync_interval_min ?? 10 | UI/console | operational |
1008
+ | src/hub/daemon.ts:6795:54 | inline | `setTimeout` | `5_000` | ms | setTimeout | UI/console | operational |
1009
+ | src/hub/daemon.ts:6796:63 | inline | `setInterval` | `60_000` | ms | setInterval | UI/console | operational |
1010
+ | src/hub/db-timeout.ts:3:14 | constant | `HUB_DB_BUSY_TIMEOUT_MS` | `3000` | ms | HUB_DB_BUSY_TIMEOUT_MS | UI/console | operational |
1011
+ | src/hub/deferred-hub.ts:4:14 | constant | `MAX_DEFERRED_HUB` | `2048` | count | MAX_DEFERRED_HUB | bus/delivery | safety floor |
1012
+ | src/hub/deferred-hub.ts:21:21 | inline | `text` | `256` | unitless | text | bus/delivery | safety floor |
1013
+ | src/hub/deferred-hub.ts:21:46 | inline | `text` | `256` | unitless | text | bus/delivery | safety floor |
1014
+ | src/hub/deferred-hub.ts:22:57 | inline | `env.body.length > 1_000_000` | `1_000_000` | characters | env.body.length > 1_000_000 | bus/delivery | safety floor |
1015
+ | src/hub/deferred-hub.ts:27:50 | inline | `env.to.length > 256` | `256` | characters | env.to.length > 256 | bus/delivery | safety floor |
1016
+ | src/hub/deferred-hub.ts:27:90 | inline | `text` | `256` | unitless | text | bus/delivery | safety floor |
1017
+ | src/hub/deferred-hub.ts:35:88 | inline | `refs.paths.length > 256` | `256` | count | refs.paths.length > 256 | bus/delivery | safety floor |
1018
+ | src/hub/deliverable-files.ts:29:7 | constant | `CHUNK` | `1024 * 1024` | bytes | CHUNK | UI/console | operational |
1019
+ | src/hub/deliverable-files.ts:47:99 | inline | `(error as Error).message.replace(path, the path).slice` | `160` | characters | (error as Error).message.replace(path, the path).slice | UI/console | safety floor |
1020
+ | src/hub/deliverables.ts:13:10 | inline | `count` | `16` | count | count | tasks/routing | operational |
1021
+ | src/hub/deliverables.ts:15:14 | inline | `fileBytes` | `256 * 1024 * 1024` | bytes | fileBytes | tasks/routing | operational |
1022
+ | src/hub/deliverables.ts:17:15 | inline | `totalBytes` | `512 * 1024 * 1024` | bytes | totalBytes | tasks/routing | operational |
1023
+ | src/hub/deliverables.ts:18:14 | inline | `pathChars` | `512` | unitless | pathChars | tasks/routing | operational |
1024
+ | src/hub/deliverables.ts:19:16 | inline | `formatChars` | `32` | unitless | formatChars | tasks/routing | contract |
1025
+ | src/hub/deliverables.ts:20:17 | inline | `versionChars` | `64` | unitless | versionChars | tasks/routing | operational |
1026
+ | src/hub/deliverables.ts:53:87 | inline | `extra[0]!.slice` | `32` | characters | extra[0]!.slice | tasks/routing | operational |
1027
+ | src/hub/deliverables.ts:84:88 | inline | `createHash(sha256).update(${format}\0${path}).digest(hex).slice` | `12` | characters | createHash(sha256).update(${format}\0${path}).digest(hex).slice | tasks/routing | operational |
1028
+ | src/hub/delivery-hints.ts:13:31 | inline | `result.rows.length >= 32` | `32` | count | result.rows.length >= 32 | bus/delivery | safety floor |
1029
+ | src/hub/delivery-hints.ts:23:112 | inline | `held.rows.length > 32` | `32` | count | held.rows.length > 32 | bus/delivery | safety floor |
1030
+ | src/hub/delivery-hints.ts:23:240 | inline | `Buffer.byteLength(JSON.stringify(held), utf8) > 4096` | `4096` | bytes | Buffer.byteLength(JSON.stringify(held), utf8) > 4096 | bus/delivery | safety floor |
1031
+ | src/hub/delivery-hints.ts:24:130 | inline | `row.id.length > 256` | `256` | characters | row.id.length > 256 | bus/delivery | safety floor |
1032
+ | src/hub/delivery-hints.ts:24:305 | inline | `sender.length > 256` | `256` | characters | sender.length > 256 | bus/delivery | safety floor |
1033
+ | src/hub/delivery-journal.ts:20:14 | constant | `MAX_ENVELOPE_BODY` | `1000000` | count | MAX_ENVELOPE_BODY | bus/delivery | contract |
1034
+ | src/hub/delivery-journal.ts:21:7 | constant | `SCHEMA_VERSION` | `1` | unitless | SCHEMA_VERSION | bus/delivery | contract |
1035
+ | src/hub/delivery-journal.ts:22:3 | constant | `TERMINAL_CAP` | `2048` | count | TERMINAL_CAP | bus/delivery | operational |
1036
+ | src/hub/delivery-journal.ts:23:3 | constant | `MAX_ROWS` | `100000` | count | MAX_ROWS | bus/delivery | safety floor |
1037
+ | src/hub/delivery-journal.ts:24:3 | constant | `MAX_JSON` | `20 * 1024 * 1024` | bytes | MAX_JSON | bus/delivery | contract |
1038
+ | src/hub/delivery-journal.ts:75:51 | inline | `max` | `4096` | count | max | bus/delivery | safety floor |
1039
+ | src/hub/delivery-journal.ts:76:51 | inline | `value.length < 1` | `1` | characters | value.length < 1 | bus/delivery | contract |
1040
+ | src/hub/delivery-journal.ts:83:9 | inline | `min` | `0` | count | min | bus/delivery | contract |
1041
+ | src/hub/delivery-journal.ts:144:36 | inline | `Object.keys(queues).length > 4096` | `4096` | characters | Object.keys(queues).length > 4096 | bus/delivery | safety floor |
1042
+ | src/hub/delivery-journal.ts:147:43 | inline | `list` | `2048` | unitless | list | bus/delivery | safety floor |
1043
+ | src/hub/delivery-journal.ts:608:53 | inline | `Math.max` | `1` | unitless | Math.max | bus/delivery | contract |
1044
+ | src/hub/dogfood-read.ts:10:14 | constant | `DOGFOOD_BYTE_CAP` | `16 * 1024 * 1024` | count | DOGFOOD_BYTE_CAP | UI/console | safety floor |
1045
+ | src/hub/dogfood-read.ts:11:7 | constant | `MAX_TASKS` | `500` | count | MAX_TASKS | UI/console | operational |
1046
+ | src/hub/dogfood-read.ts:11:24 | constant | `MAX_PRS` | `16` | count | MAX_PRS | UI/console | operational |
1047
+ | src/hub/dogfood-read.ts:11:38 | constant | `MAX_CI_HEADS` | `8` | count | MAX_CI_HEADS | UI/console | operational |
1048
+ | src/hub/dogfood-read.ts:11:56 | constant | `MAX_CI_READS` | `32` | count | MAX_CI_READS | UI/console | operational |
1049
+ | src/hub/dogfood-read.ts:20:45 | inline | `cap < 1` | `1` | count | cap < 1 | UI/console | operational |
1050
+ | src/hub/dogfood-read.ts:72:30 | inline | `history.length > 4096` | `4096` | characters | history.length > 4096 | UI/console | operational |
1051
+ | src/hub/dogfood-read.ts:94:74 | inline | `rows.slice` | `10000` | characters | rows.slice | UI/console | operational |
1052
+ | src/hub/dogfood-read.ts:94:133 | inline | `rows.slice` | `10000` | characters | rows.slice | UI/console | operational |
1053
+ | src/hub/dogfood-read.ts:94:199 | inline | `rows.length<=10000` | `10000` | count | rows.length<=10000 | UI/console | operational |
1054
+ | src/hub/dogfood-read.ts:98:149 | inline | `value.nodes.length <= 100` | `100` | count | value.nodes.length <= 100 | UI/console | safety floor |
1055
+ | src/hub/dogfood-read.ts:102:40 | inline | `deadline` | `20000` | ms | deadline | UI/console | operational |
1056
+ | src/hub/dogfood-read.ts:104:48 | inline | `timeout ?? 5000` | `5000` | ms | timeout ?? 5000 | UI/console | operational |
1057
+ | src/hub/dogfood-read.ts:104:102 | inline | `cap ?? 128*1024` | `128*1024` | count | cap ?? 128*1024 | UI/console | operational |
1058
+ | src/hub/dogfood-read.ts:110:32 | inline | `list.length < 100` | `100` | characters | list.length < 100 | UI/console | operational |
1059
+ | src/hub/dogfood-read.ts:117:68 | inline | `r.pull_requests.length <= 100` | `100` | characters | r.pull_requests.length <= 100 | UI/console | operational |
1060
+ | src/hub/dogfood-read.ts:132:90 | inline | `part.workflow_runs.length>100` | `100` | unitless | part.workflow_runs.length>100 | UI/console | operational |
1061
+ | src/hub/dogfood-read.ts:138:32 | inline | `collected.length>100` | `100` | unitless | collected.length>100 | UI/console | operational |
1062
+ | src/hub/dogfood-read.ts:175:34 | inline | `dogfoodLines` | `128*1024` | lines | dogfoodLines | UI/console | safety floor |
1063
+ | src/hub/dogfood-read.ts:194:32 | inline | `line.slice` | `24` | characters | line.slice | UI/console | operational |
1064
+ | src/hub/dogfood.ts:99:36 | inline | `Math.min` | `14` | unitless | Math.min | UI/console | operational |
1065
+ | src/hub/dogfood.ts:99:49 | inline | `Math.max` | `0` | unitless | Math.max | UI/console | operational |
1066
+ | src/hub/dogfood.ts:162:85 | inline | `JSON.stringify` | `2` | unitless | JSON.stringify | UI/console | contract |
1067
+ | src/hub/envelope.ts:23:14 | constant | `MAX_HOP` | `3` | count | MAX_HOP | bus/delivery | contract |
1068
+ | src/hub/envelope.ts:45:52 | inline | `hop` | `0` | unitless | hop | bus/delivery | contract |
1069
+ | src/hub/envelope.ts:121:98 | inline | `Array.from(note from ${from} [${kind}]: ${text.replace(/\s+/g, ).trim()}).slice` | `300` | characters | Array.from(note from ${from} [${kind}]: ${text.replace(/\s+/g, ).trim()}).slice | bus/delivery | safety floor |
1070
+ | src/hub/events.ts:9:14 | constant | `EVENTS_SCHEMA` | `1` | unitless | EVENTS_SCHEMA | UI/console | contract |
1071
+ | src/hub/execution-budget.ts:55:40 | inline | `input.id.length > 200` | `200` | characters | input.id.length > 200 | model relay/inference | operational |
1072
+ | src/hub/facts.ts:24:7 | constant | `MAX_BYTES` | `256 * 1024` | bytes | MAX_BYTES | model relay/inference | safety floor |
1073
+ | src/hub/facts.ts:26:7 | constant | `HASHED_BYTES` | `64 * 1024 * 1024` | bytes | HASHED_BYTES | model relay/inference | safety floor |
1074
+ | src/hub/facts.ts:40:7 | constant | `RACY_MS` | `2000` | ms | RACY_MS | model relay/inference | operational |
1075
+ | src/hub/facts.ts:41:7 | constant | `RACY_HASH_MAX_BYTES` | `4 * 1024 * 1024` | bytes | RACY_HASH_MAX_BYTES | model relay/inference | operational |
1076
+ | src/hub/facts.ts:42:7 | constant | `RACY_BURST_BYTES` | `16 * 1024 * 1024` | bytes | RACY_BURST_BYTES | model relay/inference | operational |
1077
+ | src/hub/facts.ts:44:14 | constant | `MAX_LINES` | `60` | lines | MAX_LINES | model relay/inference | operational |
1078
+ | src/hub/facts.ts:46:7 | constant | `READ_LINES` | `2000` | lines | READ_LINES | model relay/inference | operational |
1079
+ | src/hub/facts.ts:47:7 | constant | `READ_LINE_CHARS` | `2000` | unitless | READ_LINE_CHARS | model relay/inference | operational |
1080
+ | src/hub/facts.ts:49:7 | constant | `TOUCHED_KEPT` | `64` | unitless | TOUCHED_KEPT | model relay/inference | operational |
1081
+ | src/hub/facts.ts:50:7 | constant | `TRANSITIONS_KEPT` | `64` | unitless | TRANSITIONS_KEPT | model relay/inference | operational |
1082
+ | src/hub/facts.ts:52:7 | constant | `EXPANDED_KEPT` | `200` | unitless | EXPANDED_KEPT | model relay/inference | operational |
1083
+ | src/hub/facts.ts:54:7 | constant | `NAMES_SHOWN` | `20` | unitless | NAMES_SHOWN | model relay/inference | operational |
1084
+ | src/hub/facts.ts:55:7 | constant | `OFFERS_KEPT` | `8` | unitless | OFFERS_KEPT | model relay/inference | operational |
1085
+ | src/hub/facts.ts:226:182 | inline | `timeout` | `3000` | ms | timeout | model relay/inference | operational |
1086
+ | src/hub/facts.ts:311:68 | inline | `[...(files.get(file) ?? []), Date.now()].slice` | `-16` | characters | [...(files.get(file) ?? []), Date.now()].slice | model relay/inference | operational |
1087
+ | src/hub/facts.ts:548:30 | inline | `this.before.size > 256` | `256` | count | this.before.size > 256 | model relay/inference | safety floor |
1088
+ | src/hub/github-import.ts:6:131 | inline | `value.length<=100` | `100` | characters | value.length<=100 | UI/console | operational |
1089
+ | src/hub/github-import.ts:11:36 | inline | `deadline` | `10_000` | ms | deadline | UI/console | operational |
1090
+ | src/hub/github-import.ts:12:366 | inline | `new TextEncoder().encode(result.stdout).length>2*1024*1024` | `2*1024*1024` | characters | new TextEncoder().encode(result.stdout).length>2*1024*1024 | UI/console | operational |
1091
+ | src/hub/github-import.ts:18:65 | inline | `raw.length>33` | `33` | unitless | raw.length>33 | UI/console | safety floor |
1092
+ | src/hub/github-import.ts:21:194 | inline | `row.title.length>300` | `300` | characters | row.title.length>300 | UI/console | operational |
1093
+ | src/hub/github-import.ts:21:243 | inline | `row.body.length>8000` | `8000` | characters | row.body.length>8000 | UI/console | operational |
1094
+ | src/hub/github-import.ts:27:33 | inline | `issues.slice` | `32` | characters | issues.slice | UI/console | operational |
1095
+ | src/hub/github-import.ts:27:59 | inline | `issues.length>32` | `32` | unitless | issues.length>32 | UI/console | operational |
1096
+ | src/hub/hub-tools.ts:33:41 | inline | `maxItems` | `16` | count | maxItems | UI/console | contract |
1097
+ | src/hub/hub-tools.ts:38:28 | inline | `maxItems` | `64` | count | maxItems | UI/console | contract |
1098
+ | src/hub/hub-tools.ts:41:52 | inline | `maxLength` | `96` | characters | maxLength | UI/console | contract |
1099
+ | src/hub/hub-tools.ts:44:54 | inline | `maxLength` | `512` | characters | maxLength | UI/console | contract |
1100
+ | src/hub/hub-tools.ts:46:59 | inline | `maxLength` | `2048` | characters | maxLength | UI/console | contract |
1101
+ | src/hub/hub-tools.ts:50:142 | inline | `minimum` | `0` | count | minimum | UI/console | contract |
1102
+ | src/hub/hub-tools.ts:50:154 | inline | `maximum` | `8` | count | maximum | UI/console | contract |
1103
+ | src/hub/hub-tools.ts:54:37 | inline | `maxItems` | `32` | count | maxItems | UI/console | contract |
1104
+ | src/hub/hub-tools.ts:54:77 | inline | `maxLength` | `512` | characters | maxLength | UI/console | contract |
1105
+ | src/hub/hub-tools.ts:55:37 | inline | `maxItems` | `32` | count | maxItems | UI/console | contract |
1106
+ | src/hub/hub-tools.ts:55:77 | inline | `maxLength` | `512` | characters | maxLength | UI/console | contract |
1107
+ | src/hub/hub-tools.ts:88:336 | inline | `maxItems` | `32` | count | maxItems | UI/console | contract |
1108
+ | src/hub/hub-tools.ts:93:394 | inline | `minimum` | `0` | count | minimum | UI/console | contract |
1109
+ | src/hub/hub-tools.ts:93:637 | inline | `minimum` | `1` | count | minimum | UI/console | contract |
1110
+ | src/hub/hub-tools.ts:93:719 | inline | `minimum` | `0` | count | minimum | UI/console | contract |
1111
+ | src/hub/hub-tools.ts:93:772 | inline | `minimum` | `0` | count | minimum | UI/console | contract |
1112
+ | src/hub/hub-tools.ts:93:784 | inline | `maximum` | `3` | count | maximum | UI/console | contract |
1113
+ | src/hub/hub-tools.ts:93:836 | inline | `minimum` | `1` | count | minimum | UI/console | contract |
1114
+ | src/hub/hub-tools.ts:93:893 | inline | `minimum` | `1` | count | minimum | UI/console | contract |
1115
+ | src/hub/hub-tools.ts:93:941 | inline | `minimum` | `1` | count | minimum | UI/console | contract |
1116
+ | src/hub/hub-tools.ts:93:979 | inline | `maxItems` | `64` | count | maxItems | UI/console | contract |
1117
+ | src/hub/hub-tools.ts:93:1037 | inline | `minimum` | `1` | count | minimum | UI/console | contract |
1118
+ | src/hub/hub-tools.ts:94:279 | inline | `minimum` | `0` | count | minimum | UI/console | contract |
1119
+ | src/hub/hub-tools.ts:95:377 | inline | `minimum` | `0` | count | minimum | UI/console | contract |
1120
+ | src/hub/hub-tools.ts:95:475 | inline | `minItems` | `2` | count | minItems | UI/console | contract |
1121
+ | src/hub/hub-tools.ts:95:488 | inline | `maxItems` | `8` | count | maxItems | UI/console | contract |
1122
+ | src/hub/hub-tools.ts:95:580 | inline | `maxLength` | `300` | characters | maxLength | UI/console | contract |
1123
+ | src/hub/hub-tools.ts:95:624 | inline | `maxLength` | `8000` | characters | maxLength | UI/console | contract |
1124
+ | src/hub/hub-tools.ts:95:690 | inline | `maxItems` | `64` | count | maxItems | UI/console | contract |
1125
+ | src/hub/hub-tools.ts:95:748 | inline | `minimum` | `1` | count | minimum | UI/console | contract |
1126
+ | src/hub/hub-tools.ts:95:794 | inline | `maxItems` | `8` | count | maxItems | UI/console | contract |
1127
+ | src/hub/hub-tools.ts:95:851 | inline | `minimum` | `0` | count | minimum | UI/console | contract |
1128
+ | src/hub/hub-tools.ts:96:187 | inline | `minimum` | `1` | count | minimum | UI/console | contract |
1129
+ | src/hub/hub-tools.ts:97:287 | inline | `minimum` | `0` | count | minimum | UI/console | contract |
1130
+ | src/hub/hub-tools.ts:99:248 | inline | `minimum` | `0` | count | minimum | UI/console | contract |
1131
+ | src/hub/hub-tools.ts:99:300 | inline | `minimum` | `1` | count | minimum | UI/console | contract |
1132
+ | src/hub/hub-tools.ts:100:231 | inline | `minimum` | `0` | count | minimum | UI/console | contract |
1133
+ | src/hub/hub-tools.ts:100:314 | inline | `minimum` | `1` | count | minimum | UI/console | contract |
1134
+ | src/hub/hub-tools.ts:101:243 | inline | `minimum` | `0` | count | minimum | UI/console | contract |
1135
+ | src/hub/hub-tools.ts:106:280 | inline | `minimum` | `0` | count | minimum | UI/console | contract |
1136
+ | src/hub/hub-tools.ts:109:743 | inline | `maxItems` | `64` | count | maxItems | UI/console | contract |
1137
+ | src/hub/hub-tools.ts:109:824 | inline | `maxItems` | `16` | count | maxItems | UI/console | contract |
1138
+ | src/hub/hub-tools.ts:109:940 | inline | `maxItems` | `32` | count | maxItems | UI/console | contract |
1139
+ | src/hub/hub-tools.ts:109:1128 | inline | `maxItems` | `8` | count | maxItems | UI/console | contract |
1140
+ | src/hub/hub-tools.ts:113:350 | inline | `minimum` | `1` | count | minimum | UI/console | contract |
1141
+ | src/hub/hub-tools.ts:113:362 | inline | `maximum` | `20` | count | maximum | UI/console | contract |
1142
+ | src/hub/hub-tools.ts:114:233 | inline | `maxItems` | `8` | count | maxItems | UI/console | contract |
1143
+ | src/hub/hub-tools.ts:114:272 | inline | `minLength` | `6` | count | minLength | UI/console | contract |
1144
+ | src/hub/hub-tools.ts:114:286 | inline | `maxLength` | `64` | characters | maxLength | UI/console | contract |
1145
+ | src/hub/hub-tools.ts:115:268 | inline | `maxItems` | `8` | count | maxItems | UI/console | contract |
1146
+ | src/hub/hub-tools.ts:115:321 | inline | `maxLength` | `200` | characters | maxLength | UI/console | contract |
1147
+ | src/hub/hub-tools.ts:115:405 | inline | `enum` | `2` | unitless | enum | UI/console | contract |
1148
+ | src/hub/hub-tools.ts:115:446 | inline | `minimum` | `1` | count | minimum | UI/console | contract |
1149
+ | src/hub/hub-tools.ts:115:458 | inline | `maximum` | `120` | count | maximum | UI/console | contract |
1150
+ | src/hub/hub-tools.ts:122:238 | inline | `minimum` | `0` | count | minimum | UI/console | contract |
1151
+ | src/hub/hub-tools.ts:125:243 | inline | `minimum` | `0` | count | minimum | UI/console | contract |
1152
+ | src/hub/hub-tools.ts:144:47 | inline | `value.length > 256` | `256` | characters | value.length > 256 | UI/console | contract |
1153
+ | src/hub/inbox-polling.ts:20:31 | inline | `streak.reads.length < 3` | `3` | characters | streak.reads.length < 3 | UI/console | operational |
1154
+ | src/hub/inference.ts:16:86 | inline | `digest_min_items` | `5` | count | digest_min_items | model relay/inference | operational |
1155
+ | src/hub/inference.ts:16:107 | inline | `digest_min_chars` | `8000` | count | digest_min_chars | model relay/inference | operational |
1156
+ | src/hub/inference.ts:21:7 | constant | `TIMEOUT_MS` | `8000` | ms | TIMEOUT_MS | model relay/inference | operational |
1157
+ | src/hub/inference.ts:22:7 | constant | `BACKOFF_MS` | `5 * 60000` | ms | BACKOFF_MS | model relay/inference | operational |
1158
+ | src/hub/inference.ts:23:7 | constant | `SUMMARY_CAP` | `1500` | count | SUMMARY_CAP | model relay/inference | safety floor |
1159
+ | src/hub/inference.ts:60:99 | inline | `this.backOff` | `1000` | ms | this.backOff | model relay/inference | contract |
1160
+ | src/hub/inference.ts:67:79 | inline | `why.slice` | `120` | characters | why.slice | model relay/inference | safety floor |
1161
+ | src/hub/inference.ts:101:90 | inline | `e.body.slice` | `4000` | characters | e.body.slice | model relay/inference | safety floor |
1162
+ | src/hub/inference.ts:105:152 | inline | `e.id.slice` | `8` | characters | e.id.slice | model relay/inference | contract |
1163
+ | src/hub/inference.ts:123:46 | inline | `title.slice` | `500` | characters | title.slice | model relay/inference | safety floor |
1164
+ | src/hub/inference.ts:123:76 | inline | `detail.slice` | `2000` | characters | detail.slice | model relay/inference | safety floor |
1165
+ | src/hub/inference.ts:184:7 | constant | `SCREEN_TIMEOUT_MS` | `8000` | ms | SCREEN_TIMEOUT_MS | model relay/inference | operational |
1166
+ | src/hub/inference.ts:186:7 | constant | `DEVICE_SHARE` | `0.6` | unitless | DEVICE_SHARE | model relay/inference | operational |
1167
+ | src/hub/inference.ts:192:14 | constant | `SCREEN_MAX_BYTES` | `6000` | bytes | SCREEN_MAX_BYTES | model relay/inference | safety floor |
1168
+ | src/hub/inference.ts:236:82 | inline | `max_tokens` | `32` | tokens | max_tokens | model relay/inference | operational |
1169
+ | src/hub/inference.ts:254:75 | inline | `max_tokens` | `32` | tokens | max_tokens | model relay/inference | operational |
1170
+ | src/hub/instance-execution.ts:14:7 | constant | `GIT_BUDGET_MS` | `5000` | ms | GIT_BUDGET_MS | adapters/handshakes | operational |
1171
+ | src/hub/instance-execution.ts:14:29 | constant | `GIT_OUTPUT_BYTES` | `1024 * 1024` | bytes | GIT_OUTPUT_BYTES | adapters/handshakes | safety floor |
1172
+ | src/hub/instances.ts:24:14 | constant | `MAX_JCODE_INSTANCES` | `8` | count | MAX_JCODE_INSTANCES | UI/console | operational |
1173
+ | src/hub/instances.ts:29:7 | constant | `MAX_INSTANCES` | `64` | count | MAX_INSTANCES | UI/console | operational |
1174
+ | src/hub/kimi-usage.ts:9:14 | constant | `KIMI_WINDOW_MS` | `5 * 3600000` | ms | KIMI_WINDOW_MS | UI/console | contract |
1175
+ | src/hub/kimi-usage.ts:11:7 | constant | `FLOOR_SLACK_MS` | `1000` | ms | FLOOR_SLACK_MS | UI/console | operational |
1176
+ | src/hub/kimi-usage.ts:12:7 | constant | `PASSES` | `16` | unitless | PASSES | UI/console | operational |
1177
+ | src/hub/lifecycle-schema.ts:9:100 | inline | `ControlClient.connect` | `1000` | unitless | ControlClient.connect | UI/console | operational |
1178
+ | src/hub/lifecycle-schema.ts:16:69 | inline | `stages.length > 32` | `32` | characters | stages.length > 32 | UI/console | contract |
1179
+ | src/hub/lifecycle.ts:23:68 | inline | `timeoutMs` | `3000` | ms | timeoutMs | recovery/upgrade waits | test seam |
1180
+ | src/hub/lifecycle.ts:97:32 | inline | `SHUTDOWN_DEADLINE_MS` | `15_000` | ms | SHUTDOWN_DEADLINE_MS | recovery/upgrade waits | operational |
1181
+ | src/hub/lifecycle.ts:114:37 | inline | `attempt < 100` | `100` | unitless | attempt < 100 | recovery/upgrade waits | operational |
1182
+ | src/hub/lifecycle.ts:173:35 | inline | `deadline` | `12_000` | ms | deadline | recovery/upgrade waits | operational |
1183
+ | src/hub/lifecycle.ts:178:23 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | recovery/upgrade waits | operational |
1184
+ | src/hub/lifecycle.ts:210:33 | inline | `deadline` | `10_000` | ms | deadline | recovery/upgrade waits | operational |
1185
+ | src/hub/lifecycle.ts:217:21 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | recovery/upgrade waits | operational |
1186
+ | src/hub/limits.ts:15:63 | inline | `sender_per_min` | `0` | minutes | sender_per_min | bus/delivery | operational |
1187
+ | src/hub/limits.ts:15:80 | inline | `pair_per_min` | `0` | minutes | pair_per_min | bus/delivery | operational |
1188
+ | src/hub/limits.ts:15:123 | inline | `repeat_window_s` | `0` | seconds | repeat_window_s | bus/delivery | operational |
1189
+ | src/hub/limits.ts:17:63 | inline | `sender_per_min` | `12` | minutes | sender_per_min | bus/delivery | operational |
1190
+ | src/hub/limits.ts:17:81 | inline | `pair_per_min` | `6` | minutes | pair_per_min | bus/delivery | operational |
1191
+ | src/hub/limits.ts:17:104 | inline | `important_per_hour` | `6` | hours | important_per_hour | bus/delivery | operational |
1192
+ | src/hub/limits.ts:17:124 | inline | `repeat_window_s` | `120` | seconds | repeat_window_s | bus/delivery | operational |
1193
+ | src/hub/limits.ts:47:46 | inline | `now - last < this.cfg.repeat_window_s * 1000` | `this.cfg.repeat_window_s * 1000` | seconds | now - last < this.cfg.repeat_window_s * 1000 | bus/delivery | operational |
1194
+ | src/hub/limits.ts:51:30 | inline | `this.recent.size > 1000` | `1000` | count | this.recent.size > 1000 | bus/delivery | operational |
1195
+ | src/hub/limits.ts:51:87 | inline | `now - at >= this.cfg.repeat_window_s * 1000` | `this.cfg.repeat_window_s * 1000` | seconds | now - at >= this.cfg.repeat_window_s * 1000 | bus/delivery | operational |
1196
+ | src/hub/listen.ts:6:24 | inline | `attempt` | `0` | unitless | attempt | UI/console | operational |
1197
+ | src/hub/main-checkout.ts:10:158 | inline | `timeout` | `3000` | ms | timeout | tasks/routing | operational |
1198
+ | src/hub/manager.ts:17:7 | constant | `MANAGER_OWNER_DB_BUSY_TIMEOUT_MS` | `5000` | ms | MANAGER_OWNER_DB_BUSY_TIMEOUT_MS | recovery/upgrade waits | operational |
1199
+ | src/hub/manager.ts:30:7 | constant | `CONTROL_TIMEOUT` | `3000` | ms | CONTROL_TIMEOUT | recovery/upgrade waits | operational |
1200
+ | src/hub/manager.ts:34:87 | inline | `error.message.slice` | `300` | characters | error.message.slice | recovery/upgrade waits | safety floor |
1201
+ | src/hub/manager.ts:72:76 | inline | `status.port > 65535` | `65535` | port | status.port > 65535 | recovery/upgrade waits | contract |
1202
+ | src/hub/manager.ts:161:25 | inline | `nominalMs` | `10_000` | ms | nominalMs | recovery/upgrade waits | operational |
1203
+ | src/hub/manager.ts:180:78 | inline | `maxRequestBodySize` | `1024` | bytes | maxRequestBodySize | recovery/upgrade waits | safety floor |
1204
+ | src/hub/manager.ts:207:33 | inline | `options.orphanWatchMs ?? 10_000` | `10_000` | ms | options.orphanWatchMs ?? 10_000 | recovery/upgrade waits | test seam |
1205
+ | src/hub/manager.ts:251:33 | inline | `deadline` | `8000` | ms | deadline | recovery/upgrade waits | operational |
1206
+ | src/hub/manager.ts:262:54 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | recovery/upgrade waits | operational |
1207
+ | src/hub/manager.ts:274:73 | inline | `Bun.sleep` | `25` | ms | Bun.sleep | recovery/upgrade waits | operational |
1208
+ | src/hub/manager.ts:291:21 | inline | `Bun.sleep` | `25` | ms | Bun.sleep | recovery/upgrade waits | operational |
1209
+ | src/hub/memory-candidates.ts:16:39 | inline | `bytes(JSON.stringify(result)) > 8192` | `8192` | bytes | bytes(JSON.stringify(result)) > 8192 | UI/console | safety floor |
1210
+ | src/hub/memory-candidates.ts:28:51 | inline | `bytes(input) < 6` | `6` | bytes | bytes(input) < 6 | UI/console | safety floor |
1211
+ | src/hub/memory-candidates.ts:28:71 | inline | `bytes(input) > 64` | `64` | bytes | bytes(input) > 64 | UI/console | safety floor |
1212
+ | src/hub/memory-candidates.ts:30:19 | inline | `id.length < 6` | `6` | characters | id.length < 6 | UI/console | contract |
1213
+ | src/hub/memory-candidates.ts:97:108 | inline | `[field]` | `1` | unitless | [field] | UI/console | safety floor |
1214
+ | src/hub/memory-fail.ts:1:14 | constant | `REMEMBER_TEXT_MAX_BYTES` | `4000` | bytes | REMEMBER_TEXT_MAX_BYTES | UI/console | safety floor |
1215
+ | src/hub/memory-observations.ts:25:36 | inline | `this.pending.size > 2048` | `2048` | count | this.pending.size > 2048 | UI/console | safety floor |
1216
+ | src/hub/memory-profile-check.ts:59:94 | inline | `value.home.length > 4096` | `4096` | characters | value.home.length > 4096 | UI/console | safety floor |
1217
+ | src/hub/memory-stale-anchors.ts:6:14 | constant | `MEMORY_STALE_SCAN_LIMIT` | `256` | count | MEMORY_STALE_SCAN_LIMIT | UI/console | safety floor |
1218
+ | src/hub/memory-stale-anchors.ts:7:7 | constant | `PAGE` | `64` | count | PAGE | UI/console | operational |
1219
+ | src/hub/memory-stale-anchors.ts:7:18 | constant | `NODE_SCAN_LIMIT` | `256` | count | NODE_SCAN_LIMIT | UI/console | safety floor |
1220
+ | src/hub/memory-staleness.ts:8:14 | constant | `STALENESS_MAX_PROBES` | `32` | count | STALENESS_MAX_PROBES | UI/console | safety floor |
1221
+ | src/hub/memory-staleness.ts:29:32 | inline | `path.length > 4096` | `4096` | characters | path.length > 4096 | UI/console | safety floor |
1222
+ | src/hub/memory-symbols.ts:8:14 | constant | `MEMORY_SYMBOL_LIMIT` | `16` | count | MEMORY_SYMBOL_LIMIT | UI/console | safety floor |
1223
+ | src/hub/memory-symbols.ts:9:14 | constant | `MEMORY_SYMBOL_START_BUDGET_MS` | `2000` | ms | MEMORY_SYMBOL_START_BUDGET_MS | UI/console | operational |
1224
+ | src/hub/path-policy.ts:8:43 | inline | `raw.length > 64` | `64` | characters | raw.length > 64 | UI/console | safety floor |
1225
+ | src/hub/path-policy.ts:8:105 | inline | `p.length > 200` | `200` | characters | p.length > 200 | UI/console | safety floor |
1226
+ | src/hub/path-policy.ts:9:79 | inline | `(p.match(/[?*]/g)?.length ?? 0) > 16` | `16` | characters | (p.match(/[?*]/g)?.length ?? 0) > 16 | UI/console | safety floor |
1227
+ | src/hub/path-policy.ts:33:19 | inline | `hops` | `0` | count | hops | UI/console | safety floor |
1228
+ | src/hub/path-policy.ts:33:30 | inline | `hops <= 40` | `40` | count | hops <= 40 | UI/console | safety floor |
1229
+ | src/hub/path-policy.ts:58:27 | inline | `budget.entries >= 4096` | `4096` | unitless | budget.entries >= 4096 | UI/console | safety floor |
1230
+ | src/hub/path-policy.ts:60:29 | inline | `budget.entries >= 4096` | `4096` | unitless | budget.entries >= 4096 | UI/console | safety floor |
1231
+ | src/hub/path-policy.ts:134:45 | inline | `budget.entries >= 4096` | `4096` | unitless | budget.entries >= 4096 | UI/console | safety floor |
1232
+ | src/hub/path-policy.ts:135:17 | inline | `depth > 32` | `32` | count | depth > 32 | UI/console | safety floor |
1233
+ | src/hub/path-policy.ts:135:63 | inline | `budget.entries > 4096` | `4096` | unitless | budget.entries > 4096 | UI/console | safety floor |
1234
+ | src/hub/path-policy.ts:140:49 | inline | `budget.entries >= 4096` | `4096` | unitless | budget.entries >= 4096 | UI/console | safety floor |
1235
+ | src/hub/path-policy.ts:141:32 | inline | `++budget.entries > 4096` | `4096` | unitless | ++budget.entries > 4096 | UI/console | safety floor |
1236
+ | src/hub/path-policy.ts:162:23 | inline | `path.length > 4096` | `4096` | characters | path.length > 4096 | UI/console | safety floor |
1237
+ | src/hub/path-policy.ts:165:31 | inline | `entries` | `0` | unitless | entries | UI/console | safety floor |
1238
+ | src/hub/peers.ts:54:14 | constant | `DEFAULT_WATCHDOG_MS` | `300000` | ms | DEFAULT_WATCHDOG_MS | bus/delivery | operational |
1239
+ | src/hub/peers.ts:78:49 | inline | `ms > 2_147_483_647` | `2_147_483_647` | unitless | ms > 2_147_483_647 | bus/delivery | contract |
1240
+ | src/hub/permission-payload.ts:14:45 | inline | `full.length > 600` | `600` | characters | full.length > 600 | adapters/handshakes | safety floor |
1241
+ | src/hub/permission-payload.ts:14:65 | inline | `full.slice` | `600` | characters | full.slice | adapters/handshakes | safety floor |
1242
+ | src/hub/plan-conformance.ts:12:55 | inline | `raw.length > 1000` | `1000` | characters | raw.length > 1000 | UI/console | safety floor |
1243
+ | src/hub/plan-conformance.ts:22:226 | inline | `evidence.paths.length > 1000` | `1000` | count | evidence.paths.length > 1000 | UI/console | operational |
1244
+ | src/hub/plan-conformance.ts:37:77 | inline | `planPaths.length > 1000` | `1000` | count | planPaths.length > 1000 | UI/console | operational |
1245
+ | src/hub/plan-conformance.ts:53:17 | inline | `depth > 64` | `64` | count | depth > 64 | UI/console | safety floor |
1246
+ | src/hub/planning.ts:5:14 | constant | `BACKLOG_SPLIT_SCREEN_TIMEOUT_MS` | `8000` | ms | BACKLOG_SPLIT_SCREEN_TIMEOUT_MS | tasks/routing | operational |
1247
+ | src/hub/planning.ts:23:98 | inline | `Object.keys(input).length > 64` | `64` | characters | Object.keys(input).length > 64 | tasks/routing | operational |
1248
+ | src/hub/planning.ts:55:51 | inline | `value.length > 64` | `64` | characters | value.length > 64 | tasks/routing | operational |
1249
+ | src/hub/ports.ts:6:14 | constant | `BASE_PORT` | `4600` | port | BASE_PORT | recovery/upgrade waits | contract |
1250
+ | src/hub/ports.ts:7:14 | constant | `STRIDE` | `10` | unitless | STRIDE | recovery/upgrade waits | contract |
1251
+ | src/hub/ports.ts:9:14 | constant | `CONTROL` | `0` | unitless | CONTROL | recovery/upgrade waits | contract |
1252
+ | src/hub/ports.ts:10:14 | constant | `CODEX_APP` | `1` | unitless | CODEX_APP | recovery/upgrade waits | contract |
1253
+ | src/hub/ports.ts:11:14 | constant | `CODEX_PROXY` | `2` | unitless | CODEX_PROXY | recovery/upgrade waits | contract |
1254
+ | src/hub/ports.ts:13:14 | constant | `SWITCHYARD` | `3` | unitless | SWITCHYARD | recovery/upgrade waits | contract |
1255
+ | src/hub/ports.ts:27:22 | inline | `attempt` | `0` | unitless | attempt | recovery/upgrade waits | operational |
1256
+ | src/hub/ports.ts:30:76 | inline | `attempt >= 500` | `500` | unitless | attempt >= 500 | recovery/upgrade waits | operational |
1257
+ | src/hub/ports.ts:31:57 | inline | `Atomics.wait` | `4` | ms | Atomics.wait | recovery/upgrade waits | operational |
1258
+ | src/hub/ports.ts:31:62 | inline | `Atomics.wait` | `0` | ms | Atomics.wait | recovery/upgrade waits | operational |
1259
+ | src/hub/ports.ts:31:65 | inline | `Atomics.wait` | `0` | ms | Atomics.wait | recovery/upgrade waits | operational |
1260
+ | src/hub/ports.ts:31:68 | inline | `Atomics.wait` | `10` | ms | Atomics.wait | recovery/upgrade waits | operational |
1261
+ | src/hub/profiles.ts:44:128 | inline | `Object.keys(data.classes).length > 32` | `32` | characters | Object.keys(data.classes).length > 32 | UI/console | safety floor |
1262
+ | src/hub/profiles.ts:55:136 | inline | `Object.keys(data.role_text).length > 8` | `8` | characters | Object.keys(data.role_text).length > 8 | UI/console | operational |
1263
+ | src/hub/profiles.ts:64:77 | inline | `data.example_checks.length > 16` | `16` | characters | data.example_checks.length > 16 | UI/console | operational |
1264
+ | src/hub/profiles.ts:68:114 | inline | `data.review_checklist.length > 16` | `16` | characters | data.review_checklist.length > 16 | UI/console | safety floor |
1265
+ | src/hub/profiles.ts:68:217 | inline | `value.length > 500` | `500` | characters | value.length > 500 | UI/console | operational |
1266
+ | src/hub/progress.ts:8:7 | constant | `TTL_MS` | `60 * 60000` | ms | TTL_MS | UI/console | operational |
1267
+ | src/hub/progress.ts:9:7 | constant | `MAX_STATES` | `256` | count | MAX_STATES | UI/console | operational |
1268
+ | src/hub/progress.ts:10:7 | constant | `MAX_OBSERVATIONS` | `28` | count | MAX_OBSERVATIONS | UI/console | operational |
1269
+ | src/hub/progress.ts:11:7 | constant | `MAX_TEXT` | `500` | count | MAX_TEXT | UI/console | operational |
1270
+ | src/hub/progress.ts:35:32 | inline | `tool.slice` | `80` | characters | tool.slice | UI/console | operational |
1271
+ | src/hub/progress.ts:185:30 | inline | `item.name.slice` | `80` | characters | item.name.slice | UI/console | operational |
1272
+ | src/hub/progress.ts:189:73 | inline | `item.source.slice` | `40` | characters | item.source.slice | UI/console | operational |
1273
+ | src/hub/progress.ts:195:73 | inline | `turn.trim().slice` | `120` | characters | turn.trim().slice | UI/console | safety floor |
1274
+ | src/hub/progress.ts:216:73 | inline | `turns.size >= 2` | `2` | count | turns.size >= 2 | UI/console | operational |
1275
+ | src/hub/projected-diff.ts:11:14 | constant | `PROJECTED_DIFF_BYTES` | `12000` | bytes | PROJECTED_DIFF_BYTES | UI/console | operational |
1276
+ | src/hub/projected-diff.ts:12:7 | constant | `MAX_FILES` | `8` | count | MAX_FILES | UI/console | operational |
1277
+ | src/hub/projected-diff.ts:12:22 | constant | `DIFF_MS` | `8000` | ms | DIFF_MS | UI/console | operational |
1278
+ | src/hub/projected-diff.ts:22:178 | inline | `Math.max` | `1` | ms | Math.max | UI/console | operational |
1279
+ | src/hub/projected-diff.ts:29:45 | inline | `run` | `2` | count | run | UI/console | operational |
1280
+ | src/hub/projected-diff.ts:42:219 | inline | `Math.max` | `1` | ms | Math.max | UI/console | operational |
1281
+ | src/hub/projection-exec.ts:10:7 | constant | `limit` | `256 * 1024` | count | limit | UI/console | operational |
1282
+ | src/hub/projection-exec.ts:18:114 | inline | `Math.max` | `1` | ms | Math.max | UI/console | operational |
1283
+ | src/hub/projection-exec.ts:18:126 | inline | `Math.min` | `5000` | ms | Math.min | UI/console | safety floor |
1284
+ | src/hub/projection-exec.ts:18:155 | inline | `timeout` | `5000` | ms | timeout | UI/console | operational |
1285
+ | src/hub/read-tools.ts:8:38 | inline | `max` | `200` | count | max | UI/console | test seam |
1286
+ | src/hub/read-tools.ts:22:122 | inline | `v.length <= 8` | `8` | characters | v.length <= 8 | UI/console | contract |
1287
+ | src/hub/read-tools.ts:23:108 | inline | `Number(a.limit) >= 1` | `1` | count | Number(a.limit) >= 1 | UI/console | contract |
1288
+ | src/hub/read-tools.ts:26:53 | inline | `string` | `0` | unitless | string | UI/console | contract |
1289
+ | src/hub/read-tools.ts:26:56 | inline | `string` | `200` | unitless | string | UI/console | contract |
1290
+ | src/hub/read-tools.ts:26:71 | inline | `limit` | `20` | count | limit | UI/console | contract |
1291
+ | src/hub/read-tools.ts:28:24 | inline | `array` | `1` | unitless | array | UI/console | contract |
1292
+ | src/hub/read-tools.ts:28:27 | inline | `array` | `200` | unitless | array | UI/console | contract |
1293
+ | src/hub/read-tools.ts:28:100 | inline | `limit` | `120` | count | limit | UI/console | contract |
1294
+ | src/hub/read-tools.ts:48:23 | inline | `id.length < 6` | `6` | characters | id.length < 6 | UI/console | contract |
1295
+ | src/hub/read-tools.ts:64:59 | inline | `cap` | `8192` | count | cap | UI/console | contract |
1296
+ | src/hub/read-tools.ts:64:66 | inline | `cap` | `4096` | count | cap | UI/console | contract |
1297
+ | src/hub/read-tools.ts:71:37 | inline | `lines.length >= (show ? 8 : Number(a.limit ?? 8))` | `8` | lines | lines.length >= (show ? 8 : Number(a.limit ?? 8)) | UI/console | contract |
1298
+ | src/hub/read-tools.ts:71:59 | inline | `a.limit ?? 8` | `8` | count | a.limit ?? 8 | UI/console | contract |
1299
+ | src/hub/read-tools.ts:98:66 | inline | `a.hops ?? 1` | `1` | count | a.hops ?? 1 | UI/console | contract |
1300
+ | src/hub/read-tools.ts:115:49 | inline | `a.limit ?? 60` | `60` | count | a.limit ?? 60 | UI/console | contract |
1301
+ | src/hub/read-tools.ts:117:64 | inline | `bytes(JSON.stringify(out)) > (eligibleEdges.length ? 5120 : 6144)` | `5120` | bytes | bytes(JSON.stringify(out)) > (eligibleEdges.length ? 5120 : 6144) | UI/console | contract |
1302
+ | src/hub/read-tools.ts:117:71 | inline | `bytes(JSON.stringify(out)) > (eligibleEdges.length ? 5120 : 6144)` | `6144` | bytes | bytes(JSON.stringify(out)) > (eligibleEdges.length ? 5120 : 6144) | UI/console | contract |
1303
+ | src/hub/read-tools.ts:121:71 | inline | `out.edges.length >= 240` | `240` | count | out.edges.length >= 240 | UI/console | contract |
1304
+ | src/hub/read-tools.ts:123:40 | inline | `bytes(JSON.stringify(out)) > 6144` | `6144` | bytes | bytes(JSON.stringify(out)) > 6144 | UI/console | contract |
1305
+ | src/hub/recovery-continuity.ts:9:14 | constant | `RECOVERY_CONTINUITY_BUSY_TIMEOUT_MS` | `3000` | ms | RECOVERY_CONTINUITY_BUSY_TIMEOUT_MS | recovery/upgrade waits | operational |
1306
+ | src/hub/recovery-continuity.ts:10:7 | constant | `MAX_BOOKMARK_BYTES` | `16 * 1024` | bytes | MAX_BOOKMARK_BYTES | recovery/upgrade waits | safety floor |
1307
+ | src/hub/recovery-error.ts:30:82 | inline | `(stack ?? ).split(\n).filter(line => /^\s*at /.test(line)).slice` | `8` | characters | (stack ?? ).split(\n).filter(line => /^\s*at /.test(line)).slice | recovery/upgrade waits | safety floor |
1308
+ | src/hub/recovery-error.ts:30:128 | inline | `sanitize(line.trim()).slice` | `400` | characters | sanitize(line.trim()).slice | recovery/upgrade waits | safety floor |
1309
+ | src/hub/recovery-store.ts:8:7 | constant | `RUNNER_DB_BUSY_TIMEOUT_MS` | `3000` | ms | RUNNER_DB_BUSY_TIMEOUT_MS | recovery/upgrade waits | operational |
1310
+ | src/hub/recovery-store.ts:152:79 | inline | `waitMs` | `5000` | ms | waitMs | recovery/upgrade waits | test seam |
1311
+ | src/hub/recovery-store.ts:159:56 | inline | `setTimeout` | `100` | ms | setTimeout | recovery/upgrade waits | operational |
1312
+ | src/hub/registry.ts:8:7 | constant | `BASE_PORT` | `4600` | port | BASE_PORT | UI/console | contract |
1313
+ | src/hub/registry.ts:9:7 | constant | `STRIDE` | `10` | unitless | STRIDE | UI/console | contract |
1314
+ | src/hub/registry.ts:10:14 | constant | `REGISTRY_DB_BUSY_TIMEOUT_MS` | `5000` | ms | REGISTRY_DB_BUSY_TIMEOUT_MS | UI/console | operational |
1315
+ | src/hub/registry.ts:11:7 | constant | `MAX_PORT` | `65535 - 3` | port | MAX_PORT | UI/console | contract |
1316
+ | src/hub/registry.ts:41:95 | inline | `createHash(sha256).update(root).digest(hex).slice` | `24` | characters | createHash(sha256).update(root).digest(hex).slice | UI/console | operational |
1317
+ | src/hub/release-admission.ts:14:124 | inline | `timeout` | `1000` | ms | timeout | tasks/routing | operational |
1318
+ | src/hub/release-admission.ts:28:124 | inline | `setTimeout` | `5000` | ms | setTimeout | tasks/routing | operational |
1319
+ | src/hub/release-admission.ts:34:19 | inline | `bytes > 16 * 1024` | `16 * 1024` | bytes | bytes > 16 * 1024 | tasks/routing | operational |
1320
+ | src/hub/release-admission.ts:41:46 | inline | `setTimeout` | `500` | ms | setTimeout | tasks/routing | operational |
1321
+ | src/hub/release-admission.ts:50:85 | inline | `bytes > 16 * 1024` | `16 * 1024` | bytes | bytes > 16 * 1024 | tasks/routing | operational |
1322
+ | src/hub/release-worktree.ts:9:82 | inline | `performance.now() - start <= 250` | `250` | ms | performance.now() - start <= 250 | tasks/routing | operational |
1323
+ | src/hub/release-worktree.ts:22:26 | inline | `entries.length > 4096` | `4096` | count | entries.length > 4096 | tasks/routing | safety floor |
1324
+ | src/hub/release-worktree.ts:30:34 | inline | `name.length > 4096` | `4096` | characters | name.length > 4096 | tasks/routing | safety floor |
1325
+ | src/hub/release-worktree.ts:39:25 | inline | `before.size > 4 * 1024 * 1024` | `4 * 1024 * 1024` | count | before.size > 4 * 1024 * 1024 | tasks/routing | safety floor |
1326
+ | src/hub/release-worktree.ts:39:66 | inline | `total + before.size > 32 * 1024 * 1024` | `32 * 1024 * 1024` | count | total + before.size > 32 * 1024 * 1024 | tasks/routing | safety floor |
1327
+ | src/hub/release-worktree.ts:49:26 | inline | `bytes.length > 4 * 1024 * 1024` | `4 * 1024 * 1024` | bytes | bytes.length > 4 * 1024 * 1024 | tasks/routing | safety floor |
1328
+ | src/hub/release-worktree.ts:49:53 | inline | `total > 32 * 1024 * 1024` | `32 * 1024 * 1024` | unitless | total > 32 * 1024 * 1024 | tasks/routing | safety floor |
1329
+ | src/hub/research.ts:66:120 | inline | `createHash(sha256).update(projectId).digest(hex).slice` | `16` | characters | createHash(sha256).update(projectId).digest(hex).slice | UI/console | operational |
1330
+ | src/hub/research.ts:290:335 | inline | `fmtNum(m.tokensPerTask.median).padStart` | `10` | tokens | fmtNum(m.tokensPerTask.median).padStart | UI/console | operational |
1331
+ | src/hub/research.ts:290:380 | inline | `fmtNum(m.tokensPerTask.p90).padStart` | `10` | tokens | fmtNum(m.tokensPerTask.p90).padStart | UI/console | operational |
1332
+ | src/hub/research.ts:291:194 | inline | `tokens p50.padStart` | `10` | tokens | tokens p50.padStart | UI/console | operational |
1333
+ | src/hub/research.ts:291:224 | inline | `tokens p90.padStart` | `10` | tokens | tokens p90.padStart | UI/console | operational |
1334
+ | src/hub/research.ts:332:79 | inline | `resamples` | `1000` | unitless | resamples | UI/console | test seam |
1335
+ | src/hub/restart.ts:11:14 | constant | `RESTART_SCHEMA_VERSION` | `1` | unitless | RESTART_SCHEMA_VERSION | recovery/upgrade waits | contract |
1336
+ | src/hub/restart.ts:74:74 | inline | `e.id.length <= 256` | `256` | characters | e.id.length <= 256 | recovery/upgrade waits | contract |
1337
+ | src/hub/restart.ts:74:152 | inline | `e.trace.length <= 256` | `256` | characters | e.trace.length <= 256 | recovery/upgrade waits | contract |
1338
+ | src/hub/review-brief.ts:35:7 | constant | `MAX_FILES` | `500` | count | MAX_FILES | tasks/routing | safety floor |
1339
+ | src/hub/review-brief.ts:35:24 | constant | `RULE_BYTES` | `32000` | bytes | RULE_BYTES | tasks/routing | safety floor |
1340
+ | src/hub/review-brief.ts:35:45 | constant | `MAX_RULE_FILES` | `8` | count | MAX_RULE_FILES | tasks/routing | safety floor |
1341
+ | src/hub/review-brief.ts:41:165 | inline | `timeout` | `15_000` | ms | timeout | tasks/routing | operational |
1342
+ | src/hub/review-brief.ts:143:250 | inline | `timeout` | `15_000` | ms | timeout | tasks/routing | operational |
1343
+ | src/hub/review-brief.ts:184:47 | inline | `Buffer.byteLength(lines.join(\n))<=16000` | `16000` | bytes | Buffer.byteLength(lines.join(\n))<=16000 | tasks/routing | safety floor |
1344
+ | src/hub/review-findings.ts:14:14 | constant | `DEFAULT_MAX_NITS` | `5` | count | DEFAULT_MAX_NITS | tasks/routing | operational |
1345
+ | src/hub/review-findings.ts:15:7 | constant | `MAX_ITEMS` | `64` | count | MAX_ITEMS | tasks/routing | operational |
1346
+ | src/hub/review-findings.ts:15:23 | constant | `MAX_BYTES` | `64 * 1024` | bytes | MAX_BYTES | tasks/routing | safety floor |
1347
+ | src/hub/reviewer-pool-config.ts:8:64 | inline | `pool.length > 16` | `16` | characters | pool.length > 16 | tasks/routing | contract |
1348
+ | src/hub/roles.ts:29:112 | inline | `header.name!.length > 80` | `80` | characters | header.name!.length > 80 | UI/console | contract |
1349
+ | src/hub/roles.ts:29:143 | inline | `header.summary!.length > 160` | `160` | characters | header.summary!.length > 160 | UI/console | contract |
1350
+ | src/hub/roles.ts:29:174 | inline | `header.source!.length > 300` | `300` | characters | header.source!.length > 300 | UI/console | contract |
1351
+ | src/hub/roles.ts:36:40 | inline | `sanitize(body).length > 2000` | `2000` | characters | sanitize(body).length > 2000 | UI/console | safety floor |
1352
+ | src/hub/roles.ts:48:51 | inline | `index` | `5` | unitless | index | UI/console | operational |
1353
+ | src/hub/roles.ts:55:65 | inline | `before.size > 8192` | `8192` | count | before.size > 8192 | UI/console | operational |
1354
+ | src/hub/roles.ts:56:32 | inline | `Buffer.alloc` | `8193` | bytes | Buffer.alloc | UI/console | safety floor |
1355
+ | src/hub/roles.ts:74:24 | inline | `files.length > 64` | `64` | count | files.length > 64 | UI/console | safety floor |
1356
+ | src/hub/roles.ts:76:32 | inline | `file.slice` | `-3` | characters | file.slice | UI/console | contract |
1357
+ | src/hub/roles.ts:85:90 | inline | `Object.keys(raw).length > 64` | `64` | characters | Object.keys(raw).length > 64 | UI/console | safety floor |
1358
+ | src/hub/roles.ts:88:109 | inline | `ids.length > 2` | `2` | count | ids.length > 2 | UI/console | safety floor |
1359
+ | src/hub/roles.ts:102:22 | inline | `roles.length > 2` | `2` | characters | roles.length > 2 | UI/console | safety floor |
1360
+ | src/hub/roles.ts:121:21 | inline | `text.length > 2000` | `2000` | characters | text.length > 2000 | UI/console | safety floor |
1361
+ | src/hub/routing.ts:62:7 | constant | `OVERLAY_PEERS_MAX` | `8` | count | OVERLAY_PEERS_MAX | tasks/routing | contract |
1362
+ | src/hub/routing.ts:213:60 | inline | `long_context_tokens` | `120_000` | tokens | long_context_tokens | tasks/routing | operational |
1363
+ | src/hub/routing.ts:223:40 | inline | `dgx_max_context_tokens` | `262_144` | tokens | dgx_max_context_tokens | tasks/routing | operational |
1364
+ | src/hub/routing.ts:223:73 | inline | `mlx_max_context_tokens` | `16_000` | tokens | mlx_max_context_tokens | tasks/routing | operational |
1365
+ | src/hub/routing.ts:226:145 | inline | `pi.efficient_wait_ms < 120_000` | `120_000` | ms | pi.efficient_wait_ms < 120_000 | tasks/routing | operational |
1366
+ | src/hub/routing.ts:293:15 | inline | `bytes / 3 > routing.signals.long_context_tokens` | `3` | bytes | bytes / 3 > routing.signals.long_context_tokens | tasks/routing | contract |
1367
+ | src/hub/routing.ts:718:14 | constant | `SPLIT_MIN` | `5` | count | SPLIT_MIN | tasks/routing | operational |
1368
+ | src/hub/routing.ts:719:7 | constant | `SPLIT_FAILURE_SHARE` | `0.3` | unitless | SPLIT_FAILURE_SHARE | tasks/routing | operational |
1369
+ | src/hub/sdlc-metrics.ts:59:7 | constant | `HOUR` | `3600000` | ms | HOUR | tasks/routing | contract |
1370
+ | src/hub/sdlc-metrics.ts:66:26 | inline | `acceptance_to_plan_ms` | `HOUR / 2` | ms | acceptance_to_plan_ms | tasks/routing | operational |
1371
+ | src/hub/sdlc-metrics.ts:66:67 | inline | `acceptance_to_first_review_ms` | `HOUR / 2` | ms | acceptance_to_first_review_ms | tasks/routing | operational |
1372
+ | src/hub/sdlc-metrics.ts:68:69 | inline | `window` | `20` | unitless | window | tasks/routing | operational |
1373
+ | src/hub/sdlc-metrics.ts:68:85 | inline | `minSamples` | `8` | count | minSamples | tasks/routing | operational |
1374
+ | src/hub/sdlc-metrics.ts:68:98 | inline | `logSigma` | `2` | unitless | logSigma | tasks/routing | operational |
1375
+ | src/hub/sdlc-metrics.ts:68:116 | inline | `diagnoseSigma` | `3` | unitless | diagnoseSigma | tasks/routing | operational |
1376
+ | src/hub/sdlc-metrics.ts:68:133 | inline | `proposeSigma` | `4` | unitless | proposeSigma | tasks/routing | operational |
1377
+ | src/hub/sdlc-metrics.ts:68:146 | inline | `driftRun` | `6` | unitless | driftRun | tasks/routing | operational |
1378
+ | src/hub/sdlc-metrics.ts:166:14 | constant | `EPISODE_LOOKBACK` | `200` | unitless | EPISODE_LOOKBACK | tasks/routing | operational |
1379
+ | src/hub/sdlc-metrics.ts:250:53 | inline | `number` | `4` | unitless | number | tasks/routing | contract |
1380
+ | src/hub/sdlc-metrics.ts:250:56 | inline | `number` | `200` | unitless | number | tasks/routing | contract |
1381
+ | src/hub/sdlc-metrics.ts:250:127 | inline | `number` | `3` | count | number | tasks/routing | contract |
1382
+ | src/hub/sdlc-metrics.ts:250:130 | inline | `number` | `200` | count | number | tasks/routing | contract |
1383
+ | src/hub/sdlc-metrics.ts:251:60 | inline | `number` | `0.5` | unitless | number | tasks/routing | contract |
1384
+ | src/hub/sdlc-metrics.ts:251:65 | inline | `number` | `20` | unitless | number | tasks/routing | contract |
1385
+ | src/hub/sdlc-metrics.ts:251:145 | inline | `number` | `0.5` | unitless | number | tasks/routing | contract |
1386
+ | src/hub/sdlc-metrics.ts:251:150 | inline | `number` | `20` | unitless | number | tasks/routing | contract |
1387
+ | src/hub/sdlc-metrics.ts:252:72 | inline | `number` | `0.5` | unitless | number | tasks/routing | contract |
1388
+ | src/hub/sdlc-metrics.ts:252:77 | inline | `number` | `20` | unitless | number | tasks/routing | contract |
1389
+ | src/hub/sdlc-metrics.ts:252:142 | inline | `number` | `3` | unitless | number | tasks/routing | contract |
1390
+ | src/hub/sdlc-metrics.ts:252:145 | inline | `number` | `50` | unitless | number | tasks/routing | contract |
1391
+ | src/hub/sdlc-queue.ts:13:110 | inline | `data.length > 17` | `17` | characters | data.length > 17 | tasks/routing | safety floor |
1392
+ | src/hub/sdlc-queue.ts:13:308 | inline | `p.baseRefName.length > 200` | `200` | characters | p.baseRefName.length > 200 | tasks/routing | operational |
1393
+ | src/hub/sdlc-queue.ts:20:21 | inline | `issues.size > 32` | `32` | count | issues.size > 32 | tasks/routing | operational |
1394
+ | src/hub/sdlc-queue.ts:41:198 | inline | `threads.nodes.length > 100` | `100` | count | threads.nodes.length > 100 | tasks/routing | operational |
1395
+ | src/hub/sdlc-queue.ts:41:383 | inline | `checks.nodes.length > 100` | `100` | count | checks.nodes.length > 100 | tasks/routing | operational |
1396
+ | src/hub/sdlc-queue.ts:58:40 | inline | `deadline` | `20_000` | ms | deadline | tasks/routing | operational |
1397
+ | src/hub/sdlc-queue.ts:59:159 | inline | `timeout ?? 10_000` | `10_000` | ms | timeout ?? 10_000 | tasks/routing | operational |
1398
+ | src/hub/sdlc-queue.ts:62:42 | inline | `initialPrs.length > 16` | `16` | characters | initialPrs.length > 16 | tasks/routing | operational |
1399
+ | src/hub/sdlc-queue.ts:62:78 | inline | `initialPrs.slice` | `16` | characters | initialPrs.slice | tasks/routing | operational |
1400
+ | src/hub/sdlc-release-authorization.ts:14:118 | inline | `value.length <= 128` | `128` | characters | value.length <= 128 | tasks/routing | operational |
1401
+ | src/hub/sdlc-release-authorization.ts:31:68 | inline | `value.documents.length > 128` | `128` | characters | value.documents.length > 128 | tasks/routing | contract |
1402
+ | src/hub/sdlc-release-authorization.ts:54:155 | inline | `Math.max` | `1` | ms | Math.max | tasks/routing | operational |
1403
+ | src/hub/sdlc-release-authorization.ts:54:167 | inline | `Math.min` | `1000` | ms | Math.min | tasks/routing | operational |
1404
+ | src/hub/sdlc-release-authorization.ts:67:39 | inline | `urls.length > 8` | `8` | characters | urls.length > 8 | tasks/routing | safety floor |
1405
+ | src/hub/sdlc-release-authorization.ts:67:82 | inline | `url.length > 4096` | `4096` | characters | url.length > 4096 | tasks/routing | safety floor |
1406
+ | src/hub/sdlc-release-authorization.ts:70:41 | inline | `fetch.length > 8` | `8` | characters | fetch.length > 8 | tasks/routing | safety floor |
1407
+ | src/hub/sdlc-release-authorization.ts:70:85 | inline | `url.length > 4096` | `4096` | characters | url.length > 4096 | tasks/routing | safety floor |
1408
+ | src/hub/sdlc-release-authorization.ts:75:30 | inline | `ref.length > 256` | `256` | characters | ref.length > 256 | tasks/routing | safety floor |
1409
+ | src/hub/sdlc-release-authorization.ts:102:29 | inline | `this.entries.size > 64` | `64` | count | this.entries.size > 64 | tasks/routing | operational |
1410
+ | src/hub/sdlc-release-authorization.ts:133:198 | inline | `this.ports.gh` | `10000` | port | this.ports.gh | tasks/routing | operational |
1411
+ | src/hub/sdlc-release-authorization.ts:154:28 | inline | `updates.length > 128` | `128` | characters | updates.length > 128 | tasks/routing | safety floor |
1412
+ | src/hub/sdlc-release.ts:37:59 | inline | `timeoutMs` | `10_000` | ms | timeoutMs | tasks/routing | test seam |
1413
+ | src/hub/sdlc-release.ts:42:45 | inline | `Math.max` | `1` | ms | Math.max | tasks/routing | operational |
1414
+ | src/hub/sdlc-release.ts:42:57 | inline | `Math.min` | `10_000` | ms | Math.min | tasks/routing | operational |
1415
+ | src/hub/sdlc-release.ts:49:99 | inline | `data.documents.length > 128` | `128` | characters | data.documents.length > 128 | tasks/routing | safety floor |
1416
+ | src/hub/sdlc-release.ts:57:71 | inline | `liveIssues.length > 32` | `32` | characters | liveIssues.length > 32 | tasks/routing | safety floor |
1417
+ | src/hub/sdlc-release.ts:59:40 | inline | `deadline` | `20_000` | ms | deadline | tasks/routing | operational |
1418
+ | src/hub/sdlc-release.ts:61:129 | inline | `Math.max` | `1` | ms | Math.max | tasks/routing | operational |
1419
+ | src/hub/sdlc-release.ts:61:141 | inline | `Math.min` | `1000` | ms | Math.min | tasks/routing | operational |
1420
+ | src/hub/sdlc-release.ts:80:47 | inline | `commits.length > 1000` | `1000` | count | commits.length > 1000 | tasks/routing | safety floor |
1421
+ | src/hub/sdlc-release.ts:90:57 | inline | `report.commits.slice` | `100` | count | report.commits.slice | tasks/routing | contract |
1422
+ | src/hub/sdlc-release.ts:98:126 | inline | `rows.length > 10` | `10` | count | rows.length > 10 | tasks/routing | safety floor |
1423
+ | src/hub/sdlc-release.ts:122:88 | inline | `rows.length <= 100` | `100` | count | rows.length <= 100 | tasks/routing | safety floor |
1424
+ | src/hub/sdlc-release.ts:150:14 | constant | `RELEASE_TRAIN_HISTORY_LIMIT` | `256` | count | RELEASE_TRAIN_HISTORY_LIMIT | tasks/routing | contract |
1425
+ | src/hub/sdlc-release.ts:161:47 | inline | `value.length > 1000` | `1000` | characters | value.length > 1000 | tasks/routing | contract |
1426
+ | src/hub/sdlc.ts:27:44 | inline | `version.split(/[.-]/).slice` | `3` | characters | version.split(/[.-]/).slice | tasks/routing | contract |
1427
+ | src/hub/sdlc.ts:104:90 | inline | `Object.keys(raw).length > 32` | `32` | characters | Object.keys(raw).length > 32 | tasks/routing | contract |
1428
+ | src/hub/sdlc.ts:105:67 | inline | `stages.length > 32` | `32` | characters | stages.length > 32 | tasks/routing | contract |
1429
+ | src/hub/sdlc.ts:122:49 | inline | `list.length > 6` | `6` | characters | list.length > 6 | tasks/routing | contract |
1430
+ | src/hub/sdlc.ts:126:49 | inline | `after.length > 8` | `8` | characters | after.length > 8 | tasks/routing | contract |
1431
+ | src/hub/sdlc.ts:154:49 | inline | `checks.length > 32` | `32` | characters | checks.length > 32 | tasks/routing | contract |
1432
+ | src/hub/sdlc.ts:154:121 | inline | `c.length > 120` | `120` | characters | c.length > 120 | tasks/routing | contract |
1433
+ | src/hub/sdlc.ts:173:43 | inline | `cap` | `64 * 1024` | count | cap | tasks/routing | safety floor |
1434
+ | src/hub/sdlc.ts:239:68 | inline | `raw.repo.length > 400` | `400` | characters | raw.repo.length > 400 | tasks/routing | contract |
1435
+ | src/hub/sdlc.ts:260:169 | inline | `p.files.length > 1000` | `1000` | count | p.files.length > 1000 | tasks/routing | safety floor |
1436
+ | src/hub/sdlc.ts:263:60 | inline | `name.length > 120` | `120` | characters | name.length > 120 | tasks/routing | safety floor |
1437
+ | src/hub/sdlc.ts:268:124 | inline | `f.path.length > 1000` | `1000` | characters | f.path.length > 1000 | tasks/routing | safety floor |
1438
+ | src/hub/sdlc.ts:271:520 | inline | `p.baseRefName.length <= 200` | `200` | characters | p.baseRefName.length <= 200 | tasks/routing | safety floor |
1439
+ | src/hub/sdlc.ts:273:83 | inline | `p.reviewRequests.length <= 100` | `100` | characters | p.reviewRequests.length <= 100 | tasks/routing | safety floor |
1440
+ | src/hub/sdlc.ts:355:50 | inline | `timeoutMs` | `10_000` | ms | timeoutMs | tasks/routing | test seam |
1441
+ | src/hub/sdlc.ts:355:80 | inline | `maxOutputBytes` | `256 * 1024` | bytes | maxOutputBytes | tasks/routing | safety floor |
1442
+ | src/hub/sdlc.ts:356:71 | inline | `Math.min` | `2 * 1024 * 1024` | count | Math.min | tasks/routing | safety floor |
1443
+ | src/hub/sdlc.ts:356:97 | inline | `Math.max` | `1` | count | Math.max | tasks/routing | safety floor |
1444
+ | src/hub/sdlc.ts:356:119 | inline | `outputLimit` | `256 * 1024` | count | outputLimit | tasks/routing | safety floor |
1445
+ | src/hub/sdlc.ts:363:43 | inline | `Math.max` | `1` | ms | Math.max | tasks/routing | operational |
1446
+ | src/hub/sdlc.ts:363:55 | inline | `Math.min` | `10_000` | ms | Math.min | tasks/routing | operational |
1447
+ | src/hub/sdlc.ts:378:72 | inline | `v.length <= 40` | `40` | characters | v.length <= 40 | tasks/routing | contract |
1448
+ | src/hub/sdlc.ts:395:48 | inline | `rows.length >= 100` | `100` | count | rows.length >= 100 | tasks/routing | safety floor |
1449
+ | src/hub/sdlc.ts:482:42 | inline | `deadline` | `20_000` | ms | deadline | tasks/routing | operational |
1450
+ | src/hub/sdlc.ts:484:51 | inline | `timeout ?? 10_000` | `10_000` | ms | timeout ?? 10_000 | tasks/routing | operational |
1451
+ | src/hub/sdlc.ts:501:94 | inline | `nodes.length > 100` | `100` | count | nodes.length > 100 | tasks/routing | safety floor |
1452
+ | src/hub/sdlc.ts:518:109 | inline | `threads.nodes.length > 100` | `100` | count | threads.nodes.length > 100 | tasks/routing | safety floor |
1453
+ | src/hub/sdlc.ts:523:114 | inline | `comments.nodes.length > 100` | `100` | count | comments.nodes.length > 100 | tasks/routing | safety floor |
1454
+ | src/hub/sdlc.ts:546:47 | inline | `runs.length > 20` | `20` | characters | runs.length > 20 | tasks/routing | safety floor |
1455
+ | src/hub/sdlc.ts:554:61 | inline | `proof.jobs.length > 100` | `100` | characters | proof.jobs.length > 100 | tasks/routing | safety floor |
1456
+ | src/hub/sdlc.ts:576:128 | inline | `reviews.nodes.length <= 100` | `100` | count | reviews.nodes.length <= 100 | tasks/routing | safety floor |
1457
+ | src/hub/sdlc.ts:577:128 | inline | `commits.nodes.length <= 100` | `100` | count | commits.nodes.length <= 100 | tasks/routing | safety floor |
1458
+ | src/hub/sdlc.ts:583:75 | inline | `runs.workflow_runs.length > 100` | `100` | characters | runs.workflow_runs.length > 100 | tasks/routing | safety floor |
1459
+ | src/hub/settings.ts:46:7 | constant | `PEERS_MAX` | `8` | count | PEERS_MAX | UI/console | contract |
1460
+ | src/hub/settings.ts:55:143 | inline | `min` | `0` | count | min | UI/console | contract |
1461
+ | src/hub/settings.ts:56:215 | inline | `min` | `1` | count | min | UI/console | contract |
1462
+ | src/hub/settings.ts:56:223 | inline | `max` | `2_147_483_647 / (key === "interval_s" ? 1000 : 60_000)` | ms | max | UI/console | contract |
1463
+ | src/hub/settings.ts:56:263 | inline | `max` | `1000` | count | max | UI/console | contract |
1464
+ | src/hub/settings.ts:56:270 | inline | `max` | `60_000` | count | max | UI/console | contract |
1465
+ | src/hub/settings.ts:57:159 | inline | `min` | `0` | count | min | UI/console | contract |
1466
+ | src/hub/settings.ts:57:167 | inline | `max` | `32` | count | max | UI/console | contract |
1467
+ | src/hub/settings.ts:58:131 | inline | `min` | `1` | count | min | UI/console | contract |
1468
+ | src/hub/settings.ts:58:139 | inline | `max` | `10` | count | max | UI/console | contract |
1469
+ | src/hub/settings.ts:64:175 | inline | `min` | `0` | count | min | UI/console | contract |
1470
+ | src/hub/settings.ts:64:183 | inline | `max` | `1000` | count | max | UI/console | contract |
1471
+ | src/hub/settings.ts:141:47 | inline | `key.length > 80` | `80` | characters | key.length > 80 | UI/console | safety floor |
1472
+ | src/hub/settings.ts:156:134 | inline | `def.min ?? 0` | `0` | count | def.min ?? 0 | UI/console | contract |
1473
+ | src/hub/settings.ts:156:290 | inline | `def.min ?? 0` | `0` | count | def.min ?? 0 | UI/console | contract |
1474
+ | src/hub/settings.ts:165:45 | inline | `raw.length > 2` | `2` | characters | raw.length > 2 | UI/console | contract |
1475
+ | src/hub/settings.ts:441:121 | inline | `def.path.slice` | `2` | characters | def.path.slice | UI/console | contract |
1476
+ | src/hub/settled-roles.ts:27:75 | inline | `planner.length > 8` | `8` | characters | planner.length > 8 | tasks/routing | contract |
1477
+ | src/hub/snapshots.ts:36:23 | inline | `Math.max` | `1` | ms | Math.max | recovery/upgrade waits | operational |
1478
+ | src/hub/snapshots.ts:41:7 | constant | `SNAPSHOT_TIMEOUT_MS` | `10000` | ms | SNAPSHOT_TIMEOUT_MS | recovery/upgrade waits | operational |
1479
+ | src/hub/snapshots.ts:55:21 | inline | `++entries > 20000` | `20000` | unitless | ++entries > 20000 | recovery/upgrade waits | safety floor |
1480
+ | src/hub/snapshots.ts:55:38 | inline | `depth > 32` | `32` | count | depth > 32 | recovery/upgrade waits | safety floor |
1481
+ | src/hub/snapshots.ts:182:7 | constant | `HEAD_LOG_TAIL_BYTES` | `4096` | bytes | HEAD_LOG_TAIL_BYTES | recovery/upgrade waits | safety floor |
1482
+ | src/hub/snapshots.ts:183:7 | constant | `HEAD_LOG_MAX_APPEND_BYTES` | `128 * 1024` | bytes | HEAD_LOG_MAX_APPEND_BYTES | recovery/upgrade waits | safety floor |
1483
+ | src/hub/snapshots.ts:184:7 | constant | `HEAD_LOG_MAX_MOVES` | `64` | count | HEAD_LOG_MAX_MOVES | recovery/upgrade waits | safety floor |
1484
+ | src/hub/snapshots.ts:239:88 | inline | `named.size > 4096` | `4096` | count | named.size > 4096 | recovery/upgrade waits | safety floor |
1485
+ | src/hub/snapshots.ts:619:31 | inline | `limit` | `20` | count | limit | recovery/upgrade waits | test seam |
1486
+ | src/hub/spec-read.ts:7:7 | constant | `BODY_LIMIT` | `64 * 1024` | bytes | BODY_LIMIT | UI/console | safety floor |
1487
+ | src/hub/spec-read.ts:7:31 | constant | `RESULT_LIMIT` | `80 * 1024` | bytes | RESULT_LIMIT | UI/console | safety floor |
1488
+ | src/hub/spec-read.ts:7:57 | constant | `STDOUT_LIMIT` | `512 * 1024` | bytes | STDOUT_LIMIT | UI/console | safety floor |
1489
+ | src/hub/spec-read.ts:46:23 | inline | `issues.size > 3` | `3` | count | issues.size > 3 | UI/console | operational |
1490
+ | src/hub/spec-read.ts:62:30 | inline | `[...found].slice` | `4` | characters | [...found].slice | UI/console | operational |
1491
+ | src/hub/spec-read.ts:77:23 | inline | `found.size >= 4` | `4` | count | found.size >= 4 | UI/console | operational |
1492
+ | src/hub/spec-read.ts:101:59 | inline | `termMs` | `100` | ms | termMs | UI/console | operational |
1493
+ | src/hub/spec-read.ts:101:72 | inline | `killMs` | `500` | ms | killMs | UI/console | operational |
1494
+ | src/hub/spec-read.ts:103:88 | inline | `timeout` | `15_000` | ms | timeout | UI/console | test seam |
1495
+ | src/hub/spec-read.ts:103:106 | inline | `Math.max` | `1` | ms | Math.max | UI/console | operational |
1496
+ | src/hub/spec-read.ts:103:118 | inline | `Math.min` | `15_000` | ms | Math.min | UI/console | operational |
1497
+ | src/hub/start-mode.ts:8:14 | constant | `PEER_START_RETRY_MS` | `30000` | ms | PEER_START_RETRY_MS | adapters/handshakes | operational |
1498
+ | src/hub/supervision.ts:130:121 | inline | `this.d.approvalAgeMs ?? 60_000` | `60_000` | ms | this.d.approvalAgeMs ?? 60_000 | tasks/routing | operational |
1499
+ | src/hub/task-code-group.ts:23:14 | constant | `CODE_GROUP_MAX` | `40` | count | CODE_GROUP_MAX | tasks/routing | operational |
1500
+ | src/hub/task-code-group.ts:25:14 | constant | `PLAN_NAME_MAX` | `300` | count | PLAN_NAME_MAX | tasks/routing | operational |
1501
+ | src/hub/task-code-group.ts:25:35 | constant | `PLAN_NAMES_MAX` | `50` | count | PLAN_NAMES_MAX | tasks/routing | operational |
1502
+ | src/hub/task-code-group.ts:49:210 | inline | `r.head.slice` | `8` | characters | r.head.slice | tasks/routing | operational |
1503
+ | src/hub/task-code-symbols.ts:20:66 | inline | `value.symbols.length > 500` | `500` | characters | value.symbols.length > 500 | tasks/routing | operational |
1504
+ | src/hub/task-code-symbols.ts:38:77 | inline | `brief.symbols.files.length > 500` | `500` | count | brief.symbols.files.length > 500 | tasks/routing | operational |
1505
+ | src/hub/task-code-symbols.ts:38:146 | inline | `brief.reviewable.length > 500` | `500` | characters | brief.reviewable.length > 500 | tasks/routing | safety floor |
1506
+ | src/hub/task-code-symbols.ts:85:52 | inline | `sharedPaths.length > 500` | `500` | count | sharedPaths.length > 500 | tasks/routing | operational |
1507
+ | src/hub/task-repository.ts:9:7 | constant | `GIT_TIMEOUT_MS` | `1000` | ms | GIT_TIMEOUT_MS | tasks/routing | operational |
1508
+ | src/hub/task-repository.ts:9:30 | constant | `GIT_MAX_BYTES` | `16 * 1024` | bytes | GIT_MAX_BYTES | tasks/routing | safety floor |
1509
+ | src/hub/task-repository.ts:9:57 | constant | `MAX_ANCESTORS` | `64` | count | MAX_ANCESTORS | tasks/routing | operational |
1510
+ | src/hub/task-sweep.ts:24:50 | inline | `ready_min` | `60` | minutes | ready_min | tasks/routing | operational |
1511
+ | src/hub/task-sweep.ts:24:66 | inline | `interval_s` | `300` | seconds | interval_s | tasks/routing | operational |
1512
+ | src/hub/task-sweep.ts:24:87 | inline | `unaccepted_min` | `60` | minutes | unaccepted_min | tasks/routing | operational |
1513
+ | src/hub/task-sweep.ts:24:101 | inline | `idle_min` | `120` | minutes | idle_min | tasks/routing | operational |
1514
+ | src/hub/task-sweep.ts:24:118 | inline | `review_min` | `120` | minutes | review_min | tasks/routing | operational |
1515
+ | src/hub/task-sweep.ts:24:135 | inline | `ladder_min` | `30` | minutes | ladder_min | tasks/routing | operational |
1516
+ | src/hub/task-sweep.ts:46:73 | inline | `value < 1` | `1` | unitless | value < 1 | tasks/routing | contract |
1517
+ | src/hub/task-sweep.ts:46:110 | inline | `value * (key === interval_s ? 1000 : 60_000) > 2_147_483_647` | `1000` | seconds | value * (key === interval_s ? 1000 : 60_000) > 2_147_483_647 | tasks/routing | contract |
1518
+ | src/hub/task-sweep.ts:46:117 | inline | `value * (key === interval_s ? 1000 : 60_000) > 2_147_483_647` | `60_000` | seconds | value * (key === interval_s ? 1000 : 60_000) > 2_147_483_647 | tasks/routing | contract |
1519
+ | src/hub/task-sweep.ts:46:127 | inline | `value * (key === interval_s ? 1000 : 60_000) > 2_147_483_647` | `2_147_483_647` | seconds | value * (key === interval_s ? 1000 : 60_000) > 2_147_483_647 | tasks/routing | contract |
1520
+ | src/hub/task-sweep.ts:62:71 | inline | `config.ready_min ?? 60` | `60` | minutes | config.ready_min ?? 60 | tasks/routing | operational |
1521
+ | src/hub/task-sweep.ts:63:30 | inline | `now - at < threshold * 60_000` | `60_000` | unitless | now - at < threshold * 60_000 | tasks/routing | contract |
1522
+ | src/hub/task-sweep.ts:65:83 | inline | `now - previous.at < config.ladder_min * 60_000` | `60_000` | minutes | now - previous.at < config.ladder_min * 60_000 | tasks/routing | contract |
1523
+ | src/hub/task-sweep.ts:89:7 | constant | `GROOMING_TASK_LIMIT` | `500` | count | GROOMING_TASK_LIMIT | tasks/routing | operational |
1524
+ | src/hub/task-sweep.ts:89:34 | constant | `GROOMING_ITEM_LIMIT` | `256` | count | GROOMING_ITEM_LIMIT | tasks/routing | operational |
1525
+ | src/hub/task-sweep.ts:93:53 | inline | `value.length <= 4096` | `4096` | characters | value.length <= 4096 | tasks/routing | safety floor |
1526
+ | src/hub/task-sweep.ts:98:32 | inline | `value.length > 1000` | `1000` | characters | value.length > 1000 | tasks/routing | safety floor |
1527
+ | src/hub/tasks.ts:189:14 | constant | `ESCALATE_AFTER` | `3` | unitless | ESCALATE_AFTER | tasks/routing | operational |
1528
+ | src/hub/tasks.ts:193:7 | constant | `DEMOTION_HALF_LIFE_MS` | `24 * 3600000` | ms | DEMOTION_HALF_LIFE_MS | tasks/routing | operational |
1529
+ | src/hub/tasks.ts:194:7 | constant | `DEMOTE_AT` | `1.5` | unitless | DEMOTE_AT | tasks/routing | operational |
1530
+ | src/hub/tasks.ts:196:7 | constant | `CONTRADICTION_WINDOW_MS` | `7 * 86400000` | ms | CONTRADICTION_WINDOW_MS | tasks/routing | operational |
1531
+ | src/hub/tasks.ts:256:106 | inline | `v.replace(/\s+/g, ).trim().slice` | `300` | characters | v.replace(/\s+/g, ).trim().slice | tasks/routing | safety floor |
1532
+ | src/hub/tasks.ts:258:143 | inline | `(Array.isArray(v) ? v : typeof v === string ? [v] : []).map(text).filter((p): p is string => !!p).slice` | `50` | characters | (Array.isArray(v) ? v : typeof v === string ? [v] : []).map(text).filter((p): p is string => !!p).slice | tasks/routing | safety floor |
1533
+ | src/hub/tasks.ts:277:77 | inline | `raw.repo.length > 300` | `300` | characters | raw.repo.length > 300 | tasks/routing | contract |
1534
+ | src/hub/tasks.ts:288:49 | inline | `value.length > 32` | `32` | characters | value.length > 32 | tasks/routing | contract |
1535
+ | src/hub/tasks.ts:288:116 | inline | `item.length > 512` | `512` | characters | item.length > 512 | tasks/routing | contract |
1536
+ | src/hub/tasks.ts:302:7 | constant | `RESCREEN_MAX` | `10` | count | RESCREEN_MAX | tasks/routing | operational |
1537
+ | src/hub/tasks.ts:306:7 | constant | `GROOM_FYI_WINDOW_MS` | `10 * 60000` | ms | GROOM_FYI_WINDOW_MS | tasks/routing | operational |
1538
+ | src/hub/tasks.ts:377:27 | inline | `ids.length <= 64` | `64` | count | ids.length <= 64 | tasks/routing | contract |
1539
+ | src/hub/tasks.ts:385:95 | inline | `e.env.body.slice` | `4000` | characters | e.env.body.slice | tasks/routing | safety floor |
1540
+ | src/hub/tasks.ts:544:57 | inline | `this.sweepConfig.no_writes_turns ?? 2` | `2` | count | this.sweepConfig.no_writes_turns ?? 2 | tasks/routing | operational |
1541
+ | src/hub/tasks.ts:662:100 | inline | `holders.slice` | `8` | characters | holders.slice | tasks/routing | safety floor |
1542
+ | src/hub/tasks.ts:682:66 | inline | `history.slice` | `-5` | characters | history.slice | tasks/routing | safety floor |
1543
+ | src/hub/tasks.ts:1001:46 | inline | `this.d.wipLimit?.(peer) ?? 1` | `1` | count | this.d.wipLimit?.(peer) ?? 1 | tasks/routing | operational |
1544
+ | src/hub/tasks.ts:1002:62 | inline | `limit > 32` | `32` | count | limit > 32 | tasks/routing | contract |
1545
+ | src/hub/tasks.ts:1052:206 | inline | `input.reason.length > 1000` | `1000` | characters | input.reason.length > 1000 | tasks/routing | contract |
1546
+ | src/hub/tasks.ts:1183:79 | inline | `[...this.incomingBacklog].sort((a, b) => a - b).slice` | `64` | characters | [...this.incomingBacklog].sort((a, b) => a - b).slice | tasks/routing | contract |
1547
+ | src/hub/tasks.ts:1206:63 | inline | `[...pending].sort((a, b) => a - b).slice` | `64` | characters | [...pending].sort((a, b) => a - b).slice | tasks/routing | contract |
1548
+ | src/hub/tasks.ts:1243:62 | inline | `result.length < 32` | `32` | characters | result.length < 32 | tasks/routing | safety floor |
1549
+ | src/hub/tasks.ts:1265:91 | inline | `input.reason.length > 1000` | `1000` | characters | input.reason.length > 1000 | tasks/routing | contract |
1550
+ | src/hub/tasks.ts:1359:42 | inline | `deadline` | `20_000` | ms | deadline | tasks/routing | operational |
1551
+ | src/hub/tasks.ts:1389:182 | inline | `input.reason.length > 1000` | `1000` | characters | input.reason.length > 1000 | tasks/routing | contract |
1552
+ | src/hub/tasks.ts:1393:49 | inline | `parts.length < 2` | `2` | count | parts.length < 2 | tasks/routing | contract |
1553
+ | src/hub/tasks.ts:1393:69 | inline | `parts.length > 8` | `8` | count | parts.length > 8 | tasks/routing | contract |
1554
+ | src/hub/tasks.ts:1403:266 | inline | `part.title.length > 300` | `300` | characters | part.title.length > 300 | tasks/routing | contract |
1555
+ | src/hub/tasks.ts:1403:359 | inline | `part.detail.length > 8000` | `8000` | characters | part.detail.length > 8000 | tasks/routing | contract |
1556
+ | src/hub/tasks.ts:1409:53 | inline | `after.length > 64` | `64` | characters | after.length > 64 | tasks/routing | contract |
1557
+ | src/hub/tasks.ts:1409:210 | inline | `afterParts.length > 8` | `8` | count | afterParts.length > 8 | tasks/routing | contract |
1558
+ | src/hub/tasks.ts:1412:49 | inline | `direct.length + afterParts.length > 64` | `64` | count | direct.length + afterParts.length > 64 | tasks/routing | contract |
1559
+ | src/hub/tasks.ts:1545:57 | inline | `expected.size <= 16` | `16` | count | expected.size <= 16 | tasks/routing | operational |
1560
+ | src/hub/tasks.ts:1558:76 | inline | `Date.now() - window.at > 5000` | `5000` | unitless | Date.now() - window.at > 5000 | tasks/routing | operational |
1561
+ | src/hub/tasks.ts:1572:176 | inline | `input.goal.length > 1000` | `1000` | characters | input.goal.length > 1000 | tasks/routing | contract |
1562
+ | src/hub/tasks.ts:1619:82 | inline | `String(input.title ?? ).replace(/\s+/g, ).trim().slice` | `300` | characters | String(input.title ?? ).replace(/\s+/g, ).trim().slice | tasks/routing | safety floor |
1563
+ | src/hub/tasks.ts:1640:71 | inline | `String(input.detail ?? ).slice` | `8000` | characters | String(input.detail ?? ).slice | tasks/routing | safety floor |
1564
+ | src/hub/tasks.ts:1714:92 | inline | `input.reason.length > 1000` | `1000` | characters | input.reason.length > 1000 | tasks/routing | contract |
1565
+ | src/hub/tasks.ts:1931:33 | inline | `this.conditional.size > 1024` | `1024` | count | this.conditional.size > 1024 | tasks/routing | operational |
1566
+ | src/hub/tasks.ts:1938:33 | inline | `this.conditional.size > 1024` | `1024` | count | this.conditional.size > 1024 | tasks/routing | operational |
1567
+ | src/hub/tasks.ts:1949:62 | inline | `ids.length > 64` | `64` | count | ids.length > 64 | tasks/routing | contract |
1568
+ | src/hub/tasks.ts:2184:53 | inline | `pool.walk.slice` | `16` | characters | pool.walk.slice | tasks/routing | safety floor |
1569
+ | src/hub/tasks.ts:2185:113 | inline | `Array.from(sanitize(row.reason).replace(/\s+/g, )).slice` | `80` | characters | Array.from(sanitize(row.reason).replace(/\s+/g, )).slice | tasks/routing | safety floor |
1570
+ | src/hub/tasks.ts:2187:41 | inline | `pool.walk.length > 16` | `16` | characters | pool.walk.length > 16 | tasks/routing | safety floor |
1571
+ | src/hub/tasks.ts:2378:119 | inline | `this.screen(task, context, handoff, delivery.owner, contextWithheld).slice` | `3000` | characters | this.screen(task, context, handoff, delivery.owner, contextWithheld).slice | tasks/routing | safety floor |
1572
+ | src/hub/tasks.ts:2735:42 | inline | `deadline` | `4_000` | ms | deadline | tasks/routing | operational |
1573
+ | src/hub/tasks.ts:2748:20 | inline | `reads >= 8` | `8` | unitless | reads >= 8 | tasks/routing | operational |
1574
+ | src/hub/tasks.ts:2751:147 | inline | `timeout ?? 10_000` | `10_000` | ms | timeout ?? 10_000 | tasks/routing | test seam |
1575
+ | src/hub/tasks.ts:2758:38 | inline | `visible.slice` | `500` | characters | visible.slice | tasks/routing | operational |
1576
+ | src/hub/tasks.ts:2759:45 | inline | `visited.size < 500` | `500` | count | visited.size < 500 | tasks/routing | operational |
1577
+ | src/hub/tasks.ts:2771:88 | inline | `visible.filter(task => !isClosedTaskState(task.state)).slice` | `500` | characters | visible.filter(task => !isClosedTaskState(task.state)).slice | tasks/routing | operational |
1578
+ | src/hub/tasks.ts:2793:42 | inline | `deadline` | `1_000` | ms | deadline | tasks/routing | operational |
1579
+ | src/hub/tasks.ts:2798:21 | inline | `linked >= 32` | `32` | unitless | linked >= 32 | tasks/routing | operational |
1580
+ | src/hub/tasks.ts:2900:42 | inline | `deadline` | `20_000` | ms | deadline | tasks/routing | operational |
1581
+ | src/hub/tasks.ts:2902:75 | inline | `timeout ?? 10_000` | `10_000` | ms | timeout ?? 10_000 | tasks/routing | test seam |
1582
+ | src/hub/tasks.ts:2908:35 | inline | `ids.length > 16` | `16` | count | ids.length > 16 | tasks/routing | operational |
1583
+ | src/hub/tasks.ts:2909:35 | inline | `ids.slice` | `16` | characters | ids.slice | tasks/routing | operational |
1584
+ | src/hub/tasks.ts:2959:86 | inline | `raw.reason.length > 1000` | `1000` | characters | raw.reason.length > 1000 | tasks/routing | contract |
1585
+ | src/hub/tasks.ts:3157:32 | inline | `this.planReads.size >= 256` | `256` | count | this.planReads.size >= 256 | tasks/routing | operational |
1586
+ | src/hub/tasks.ts:3171:38 | inline | `this.observedPlans.size >= 256` | `256` | count | this.observedPlans.size >= 256 | tasks/routing | operational |
1587
+ | src/hub/tasks.ts:3188:133 | inline | `reason.length > 2048` | `2048` | characters | reason.length > 2048 | tasks/routing | contract |
1588
+ | src/hub/tasks.ts:3208:42 | inline | `deadline` | `20_000` | ms | deadline | tasks/routing | operational |
1589
+ | src/hub/tasks.ts:3209:191 | inline | `timeout ?? 10_000` | `10_000` | ms | timeout ?? 10_000 | tasks/routing | test seam |
1590
+ | src/hub/tasks.ts:3295:42 | inline | `deadline` | `20_000` | ms | deadline | tasks/routing | operational |
1591
+ | src/hub/tasks.ts:3300:84 | inline | `timeout ?? 10_000` | `10_000` | ms | timeout ?? 10_000 | tasks/routing | test seam |
1592
+ | src/hub/tasks.ts:3321:193 | inline | `(typeof id === number ? String(id) : JSON.stringify(id ?? null)).slice` | `60` | characters | (typeof id === number ? String(id) : JSON.stringify(id ?? null)).slice | tasks/routing | safety floor |
1593
+ | src/hub/tasks.ts:3768:120 | inline | `(done?.note ?? ).split(\n).find((l) => l.trim())?.trim().slice` | `300` | characters | (done?.note ?? ).split(\n).find((l) => l.trim())?.trim().slice | tasks/routing | safety floor |
1594
+ | src/hub/tasks.ts:3911:86 | inline | `(summary ?? ).split(\n).find((l) => l.trim())?.trim().slice` | `300` | characters | (summary ?? ).split(\n).find((l) => l.trim())?.trim().slice | tasks/routing | safety floor |
1595
+ | src/hub/tasks.ts:4049:150 | inline | `d.sha256.slice` | `16` | characters | d.sha256.slice | tasks/routing | contract |
1596
+ | src/hub/tasks.ts:4090:206 | inline | `failure.flowRevision! < 1` | `1` | unitless | failure.flowRevision! < 1 | tasks/routing | contract |
1597
+ | src/hub/tasks.ts:4090:351 | inline | `Buffer.byteLength(failure.head) > 1200` | `1200` | bytes | Buffer.byteLength(failure.head) > 1200 | tasks/routing | contract |
1598
+ | src/hub/tasks.ts:4216:30 | inline | `current.length > 64` | `64` | characters | current.length > 64 | tasks/routing | contract |
1599
+ | src/hub/tasks.ts:4223:102 | inline | `paths.slice` | `20` | characters | paths.slice | tasks/routing | safety floor |
1600
+ | src/hub/tasks.ts:4223:134 | inline | `paths.length > 20` | `20` | count | paths.length > 20 | tasks/routing | safety floor |
1601
+ | src/hub/tasks.ts:4637:81 | inline | `native.id.slice` | `8` | characters | native.id.slice | tasks/routing | contract |
1602
+ | src/hub/tasks.ts:4652:100 | inline | `JSON.stringify(ref).slice` | `40` | characters | JSON.stringify(ref).slice | tasks/routing | safety floor |
1603
+ | src/hub/tasks.ts:4664:186 | inline | `goal.id.slice` | `8` | characters | goal.id.slice | tasks/routing | contract |
1604
+ | src/hub/tasks.ts:4665:101 | inline | `goal.id.slice` | `8` | characters | goal.id.slice | tasks/routing | contract |
1605
+ | src/hub/tasks.ts:4670:64 | inline | `String(id).slice` | `12` | characters | String(id).slice | tasks/routing | safety floor |
1606
+ | src/hub/tasks.ts:4692:104 | inline | `[...new Set([taskNode, ...symbols.nodes, ...about])].slice` | `64` | characters | [...new Set([taskNode, ...symbols.nodes, ...about])].slice | tasks/routing | safety floor |
1607
+ | src/hub/tasks.ts:4748:72 | inline | `agent-hub task #${task.id}: ${task.title}.slice` | `120` | characters | agent-hub task #${task.id}: ${task.title}.slice | tasks/routing | safety floor |
1608
+ | src/hub/terminal-launch.ts:30:21 | inline | `bytes > 1024 * 1024` | `1024 * 1024` | bytes | bytes > 1024 * 1024 | UI/console | operational |
1609
+ | src/hub/terminal-launch.ts:83:33 | inline | `this.candidates.size >= 64` | `64` | count | this.candidates.size >= 64 | UI/console | operational |
1610
+ | src/hub/terminal-launch.ts:85:33 | inline | `this.candidates.size >= 64` | `64` | count | this.candidates.size >= 64 | UI/console | operational |
1611
+ | src/hub/terminal-open.ts:16:7 | constant | `SETTLE_MS` | `1500` | ms | SETTLE_MS | adapters/handshakes | operational |
1612
+ | src/hub/test-integrity.ts:70:122 | inline | `nodes.length > 100` | `100` | count | nodes.length > 100 | UI/console | safety floor |
1613
+ | src/hub/test-integrity.ts:71:45 | inline | `text` | `100` | unitless | text | UI/console | safety floor |
1614
+ | src/hub/test-integrity.ts:82:40 | inline | `deadline` | `20_000` | ms | deadline | UI/console | safety floor |
1615
+ | src/hub/test-integrity.ts:83:45 | inline | `cap` | `128 * 1024` | count | cap | UI/console | safety floor |
1616
+ | src/hub/test-integrity.ts:94:57 | inline | `preloaded.length > 100` | `100` | characters | preloaded.length > 100 | UI/console | safety floor |
1617
+ | src/hub/test-integrity.ts:106:160 | inline | `changes.length <= 1000` | `1000` | characters | changes.length <= 1000 | UI/console | safety floor |
1618
+ | src/hub/test-integrity.ts:124:178 | inline | `current.commits.nodes.length > 100` | `100` | count | current.commits.nodes.length > 100 | UI/console | safety floor |
1619
+ | src/hub/test-integrity.ts:134:50 | inline | `seen.size >= 100` | `100` | count | seen.size >= 100 | UI/console | safety floor |
1620
+ | src/hub/test-integrity.ts:137:132 | inline | `commit.files.length >= 100` | `100` | count | commit.files.length >= 100 | UI/console | safety floor |
1621
+ | src/hub/test-integrity.ts:150:148 | inline | `contexts.nodes.length > 100` | `100` | count | contexts.nodes.length > 100 | UI/console | safety floor |
1622
+ | src/hub/text-projection.ts:12:14 | constant | `MAX_PROJECTION_INPUT` | `16 * 1024 * 1024` | bytes | MAX_PROJECTION_INPUT | UI/console | safety floor |
1623
+ | src/hub/text-projection.ts:13:41 | constant | `MAX_TEXT` | `256 * 1024` | count | MAX_TEXT | UI/console | safety floor |
1624
+ | src/hub/text-projection.ts:17:90 | inline | `Object.keys(raw).length > 16` | `16` | characters | Object.keys(raw).length > 16 | UI/console | safety floor |
1625
+ | src/hub/text-projection.ts:20:98 | inline | `argv.length > 16` | `16` | characters | argv.length > 16 | UI/console | safety floor |
1626
+ | src/hub/text-projection.ts:20:169 | inline | `arg.length > 2000` | `2000` | characters | arg.length > 2000 | UI/console | safety floor |
1627
+ | src/hub/text-projection.ts:32:141 | inline | `(process.env.PATH ?? /usr/bin:/bin).split(:).slice` | `32` | characters | (process.env.PATH ?? /usr/bin:/bin).split(:).slice | UI/console | safety floor |
1628
+ | src/hub/text-projection.ts:44:64 | inline | `st.size > MAX_TEXT * 2` | `2` | count | st.size > MAX_TEXT * 2 | UI/console | safety floor |
1629
+ | src/hub/text-projection.ts:114:53 | inline | `Buffer.byteLength(cached) <= MAX_TEXT * 2` | `2` | bytes | Buffer.byteLength(cached) <= MAX_TEXT * 2 | UI/console | safety floor |
1630
+ | src/hub/text-projection.ts:138:57 | inline | `timeout` | `8000` | ms | timeout | UI/console | safety floor |
1631
+ | src/hub/text-projection.ts:138:83 | inline | `Math.max` | `1` | ms | Math.max | UI/console | operational |
1632
+ | src/hub/text-projection.ts:138:95 | inline | `Math.min` | `8000` | ms | Math.min | UI/console | safety floor |
1633
+ | src/hub/text-projection.ts:139:321 | inline | `Math.max` | `1` | ms | Math.max | UI/console | operational |
1634
+ | src/hub/text-projection.ts:139:333 | inline | `Math.min` | `5000` | ms | Math.min | UI/console | safety floor |
1635
+ | src/hub/text-projection.ts:139:370 | inline | `Math.min` | `100` | ms | Math.min | UI/console | safety floor |
1636
+ | src/hub/text-projection.ts:143:85 | inline | `this.failed.size >= 1024` | `1024` | count | this.failed.size >= 1024 | UI/console | safety floor |
1637
+ | src/hub/tooling.ts:26:7 | constant | `PROBE_MS` | `2000` | ms | PROBE_MS | UI/console | operational |
1638
+ | src/hub/tooling.ts:26:24 | constant | `PROBE_BYTES` | `4096` | bytes | PROBE_BYTES | UI/console | safety floor |
1639
+ | src/hub/tooling.ts:79:125 | inline | `setTimeout` | `50` | ms | setTimeout | UI/console | operational |
1640
+ | src/hub/ui.ts:24:7 | constant | `TICKET_MS` | `60000` | ms | TICKET_MS | UI/console | operational |
1641
+ | src/hub/ui.ts:25:7 | constant | `SESSION_MS` | `60 * 60000` | ms | SESSION_MS | UI/console | operational |
1642
+ | src/hub/ui.ts:27:14 | constant | `SETTINGS_MS` | `15 * 60000` | ms | SETTINGS_MS | UI/console | operational |
1643
+ | src/hub/ui.ts:31:7 | constant | `LIMIT` | `64` | count | LIMIT | UI/console | operational |
1644
+ | src/hub/ui.ts:70:25 | inline | `maxRequestBodySize` | `32 * 1024` | bytes | maxRequestBodySize | UI/console | safety floor |
1645
+ | src/hub/ui.ts:142:99 | inline | `server.timeout` | `35` | ms | server.timeout | UI/console | operational |
1646
+ | src/hub/ui.ts:143:72 | inline | `server.timeout` | `Math.ceil((BACKLOG_SPLIT_SCREEN_TIMEOUT_MS + HUB_DB_BUSY_TIMEOUT_MS + 5_000) / 1000) + 5` | ms | server.timeout | UI/console | operational |
1647
+ | src/hub/usage-rollup.ts:33:14 | constant | `DEFAULT_MAX_BYTES` | `8 * 1024 * 1024` | bytes | DEFAULT_MAX_BYTES | UI/console | operational |
1648
+ | src/hub/usage-rollup.ts:35:7 | constant | `MAX_LINE_BYTES` | `4 * 1024 * 1024` | bytes | MAX_LINE_BYTES | UI/console | operational |
1649
+ | src/hub/usage-rollup.ts:36:7 | constant | `NO_TASK` | `0` | unitless | NO_TASK | UI/console | contract |
1650
+ | src/hub/usage-rollup.ts:63:14 | constant | `LIMITS_DEFAULT` | `200` | count | LIMITS_DEFAULT | UI/console | operational |
1651
+ | src/hub/usage-rollup.ts:63:36 | constant | `LIMITS_MAX` | `5000` | count | LIMITS_MAX | UI/console | operational |
1652
+ | src/hub/usage-rollup.ts:104:16 | inline | `maxMs` | `20` | ms | maxMs | UI/console | test seam |
1653
+ | src/hub/usage-rollup.ts:105:51 | inline | `Math.max` | `0` | ms | Math.max | UI/console | operational |
1654
+ | src/hub/usage-rollup.ts:105:63 | inline | `Math.min` | `20` | ms | Math.min | UI/console | operational |
1655
+ | src/hub/usage-rollup.ts:140:26 | inline | `start` | `0` | unitless | start | UI/console | operational |
1656
+ | src/hub/usage-rollup.ts:184:138 | inline | `new Date(t).toISOString().slice` | `10` | characters | new Date(t).toISOString().slice | UI/console | contract |
1657
+ | src/hub/usage-rollup.ts:254:111 | inline | `new Date(q.since).toISOString().slice` | `10` | characters | new Date(q.since).toISOString().slice | UI/console | contract |
1658
+ | src/hub/usage-rollup.ts:255:111 | inline | `new Date(q.until).toISOString().slice` | `10` | characters | new Date(q.until).toISOString().slice | UI/console | contract |
1659
+ | src/hub/usage-rollup.ts:317:45 | inline | `limit < 1` | `1` | count | limit < 1 | UI/console | operational |
1660
+ | src/hub/usage-rollup.ts:372:16 | inline | `days` | `14` | days | days | UI/console | test seam |
1661
+ | src/hub/usage-rollup.ts:383:19 | inline | `dayMs` | `86_400_000` | ms | dayMs | UI/console | operational |
1662
+ | src/hub/usage-rollup.ts:383:76 | inline | `new Date(now).toISOString().slice` | `10` | unitless | new Date(now).toISOString().slice | UI/console | contract |
1663
+ | src/hub/usage-rollup.ts:386:97 | inline | `new Date(Date.parse(today + T00:00:00Z) - i * dayMs).toISOString().slice` | `10` | characters | new Date(Date.parse(today + T00:00:00Z) - i * dayMs).toISOString().slice | UI/console | contract |
1664
+ | src/hub/usage-rollup.ts:408:77 | inline | `knownCounters.reduce` | `0` | count | knownCounters.reduce | UI/console | operational |
1665
+ | src/hub/usage.ts:27:162 | inline | `timeoutMs` | `1200` | ms | timeoutMs | UI/console | test seam |
1666
+ | src/hub/usage.ts:28:56 | inline | `Math.min` | `1200` | unitless | Math.min | UI/console | operational |
1667
+ | src/hub/usage.ts:28:71 | inline | `Math.max` | `0` | unitless | Math.max | UI/console | operational |
1668
+ | src/hub/usage.ts:28:88 | inline | `budget` | `1200` | unitless | budget | UI/console | operational |
1669
+ | src/hub/usage.ts:45:30 | inline | `Math.min` | `40` | ms | Math.min | UI/console | operational |
1670
+ | src/hub/usage.ts:64:41 | inline | `statSync(transcriptPath).size > 32 * 1024 * 1024` | `32 * 1024 * 1024` | count | statSync(transcriptPath).size > 32 * 1024 * 1024 | UI/console | operational |
1671
+ | src/hub/usage.ts:75:14 | constant | `COMPLETION_TAIL_BYTES` | `4 * 1024 * 1024` | bytes | COMPLETION_TAIL_BYTES | UI/console | operational |
1672
+ | src/hub/usage.ts:80:14 | constant | `COMPLETION_SCAN_BYTES` | `64 * 1024 * 1024` | bytes | COMPLETION_SCAN_BYTES | UI/console | operational |
1673
+ | src/hub/usage.ts:93:28 | inline | `Math.max` | `0` | count | Math.max | UI/console | operational |
1674
+ | src/hub/workflow.ts:28:79 | inline | `p.criteria.length > 32` | `32` | characters | p.criteria.length > 32 | tasks/routing | operational |
1675
+ | src/hub/workflow.ts:31:176 | inline | `c.refs.length > 8` | `8` | characters | c.refs.length > 8 | tasks/routing | operational |
1676
+ | src/local/proxy.ts:97:27 | inline | `head.length > 8192` | `8192` | characters | head.length > 8192 | adapters/handshakes | safety floor |
1677
+ | src/local/sandbox.ts:10:14 | constant | `OUTPUT_CAP` | `20000` | characters | OUTPUT_CAP | adapters/handshakes | safety floor |
1678
+ | src/local/sandbox.ts:63:17 | inline | `depth > 8` | `8` | count | depth > 8 | adapters/handshakes | safety floor |
1679
+ | src/local/sandbox.ts:199:55 | inline | `opts.timeoutMs ?? 120_000` | `120_000` | ms | opts.timeoutMs ?? 120_000 | adapters/handshakes | operational |
1680
+ | src/local/sandbox.ts:213:94 | inline | `setTimeout` | `500` | ms | setTimeout | adapters/handshakes | operational |
1681
+ | src/local/tools.ts:102:127 | inline | `minimum` | `1` | count | minimum | adapters/handshakes | contract |
1682
+ | src/local/tools.ts:102:167 | inline | `minimum` | `1` | count | minimum | adapters/handshakes | contract |
1683
+ | src/local/tools.ts:105:246 | inline | `minimum` | `1` | count | minimum | adapters/handshakes | contract |
1684
+ | src/local/tools.ts:105:258 | inline | `maximum` | `600` | count | maximum | adapters/handshakes | contract |
1685
+ | src/local/tools.ts:140:35 | inline | `statSync(file).size > 5_000_000` | `5_000_000` | count | statSync(file).size > 5_000_000 | adapters/handshakes | safety floor |
1686
+ | src/local/tools.ts:143:74 | inline | `Number(a.limit) \|\| 2000` | `2000` | count | Number(a.limit) \|\| 2000 | adapters/handshakes | safety floor |
1687
+ | src/local/tools.ts:181:30 | inline | `command.length > 4000` | `4000` | characters | command.length > 4000 | adapters/handshakes | safety floor |
1688
+ | src/local/tools.ts:184:165 | inline | `timeoutMs` | `(Number(a.timeout_s) \|\| 120) * 1000` | ms | timeoutMs | adapters/handshakes | contract |
1689
+ | src/local/tools.ts:184:189 | inline | `Number(a.timeout_s) \|\| 120` | `120` | seconds | Number(a.timeout_s) \|\| 120 | adapters/handshakes | operational |
1690
+ | src/memory/brief.ts:22:61 | inline | `query.slice` | `300` | characters | query.slice | UI/console | safety floor |
1691
+ | src/memory/brief.ts:48:58 | inline | `maxItems` | `8` | count | maxItems | UI/console | test seam |
1692
+ | src/memory/capture.ts:50:33 | inline | `this.toolTimes.size > 1024` | `1024` | count | this.toolTimes.size > 1024 | UI/console | operational |
1693
+ | src/memory/client.ts:47:63 | inline | `limit` | `4096` | count | limit | UI/console | operational |
1694
+ | src/memory/client.ts:62:62 | inline | `limit` | `4096` | count | limit | UI/console | operational |
1695
+ | src/memory/client.ts:67:31 | inline | `page < 16` | `16` | count | page < 16 | UI/console | operational |
1696
+ | src/memory/client.ts:68:66 | inline | `limit` | `256` | count | limit | UI/console | operational |
1697
+ | src/memory/client.ts:79:74 | inline | `this.rows(o).filter(v => v.tier === short).slice` | `30` | characters | this.rows(o).filter(v => v.tier === short).slice | UI/console | safety floor |
1698
+ | src/memory/client.ts:84:57 | inline | `limit` | `10` | count | limit | UI/console | test seam |
1699
+ | src/memory/client.ts:87:49 | inline | `Math.min` | `30` | count | Math.min | UI/console | operational |
1700
+ | src/memory/client.ts:87:62 | inline | `Math.max` | `0` | count | Math.max | UI/console | operational |
1701
+ | src/memory/recall.ts:13:24 | inline | `max` | `3` | count | max | UI/console | contract |
1702
+ | src/memory/recall.ts:49:14 | constant | `RECALL_LINE_CHARS` | `200` | unitless | RECALL_LINE_CHARS | UI/console | safety floor |
1703
+ | src/memory/recall.ts:61:29 | inline | `count` | `4` | count | count | UI/console | contract |
1704
+ | src/memory/recall.ts:68:73 | inline | `limit` | `30` | count | limit | UI/console | test seam |
1705
+ | src/memory/recall.ts:71:37 | inline | `note.id.slice` | `8` | characters | note.id.slice | UI/console | contract |
1706
+ | src/memory/recall.ts:78:51 | inline | `note.id.slice` | `8` | characters | note.id.slice | UI/console | contract |
1707
+ | src/models/mlx.ts:76:7 | constant | `GENERATION_DB_BUSY_TIMEOUT_MS` | `100` | ms | GENERATION_DB_BUSY_TIMEOUT_MS | model relay/inference | operational |
1708
+ | src/models/mlx.ts:246:187 | inline | `waitMs` | `120_000` | ms | waitMs | model relay/inference | test seam |
1709
+ | src/models/mlx.ts:247:61 | inline | `maxConcurrency < 1` | `1` | count | maxConcurrency < 1 | model relay/inference | contract |
1710
+ | src/models/mlx.ts:268:50 | inline | `setTimeout` | `50` | ms | setTimeout | model relay/inference | operational |
1711
+ | src/models/mlx.ts:282:21 | inline | `Bun.sleep` | `50` | ms | Bun.sleep | model relay/inference | operational |
1712
+ | src/models/mlx.ts:330:52 | inline | `options.maxInputTokens ?? 16_000` | `16_000` | tokens | options.maxInputTokens ?? 16_000 | model relay/inference | operational |
1713
+ | src/models/mlx.ts:331:52 | inline | `options.maxConcurrency ?? 1` | `1` | count | options.maxConcurrency ?? 1 | model relay/inference | operational |
1714
+ | src/models/mlx.ts:341:84 | inline | `AbortSignal.timeout` | `1_000` | ms | AbortSignal.timeout | model relay/inference | operational |
1715
+ | src/models/mlx.ts:354:52 | inline | `options.maxInputTokens ?? 16_000` | `16_000` | tokens | options.maxInputTokens ?? 16_000 | model relay/inference | operational |
1716
+ | src/models/mlx.ts:355:52 | inline | `options.maxConcurrency ?? 1` | `1` | count | options.maxConcurrency ?? 1 | model relay/inference | operational |
1717
+ | src/models/mlx.ts:375:58 | inline | `AbortSignal.timeout` | `500` | ms | AbortSignal.timeout | model relay/inference | operational |
1718
+ | src/models/mlx.ts:376:23 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | model relay/inference | operational |
1719
+ | src/models/mlx.ts:409:49 | inline | `AbortSignal.timeout` | `500` | ms | AbortSignal.timeout | model relay/inference | operational |
1720
+ | src/models/mlx.ts:421:23 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | model relay/inference | operational |
1721
+ | src/models/ollama.ts:8:7 | constant | `DEFAULT_PORT` | `11434` | port | DEFAULT_PORT | model relay/inference | contract |
1722
+ | src/models/ollama.ts:11:7 | constant | `DEFAULT_INPUT` | `6000` | unitless | DEFAULT_INPUT | model relay/inference | operational |
1723
+ | src/models/ollama.ts:12:7 | constant | `DEFAULT_OUTPUT` | `2048` | unitless | DEFAULT_OUTPUT | model relay/inference | operational |
1724
+ | src/models/ollama.ts:13:7 | constant | `DEFAULT_CONCURRENCY` | `1` | count | DEFAULT_CONCURRENCY | model relay/inference | test seam |
1725
+ | src/models/ollama.ts:39:32 | inline | `model.length > 256` | `256` | characters | model.length > 256 | model relay/inference | safety floor |
1726
+ | src/models/ollama.ts:48:50 | inline | `options.contextWindow ?? 8192` | `8192` | unitless | options.contextWindow ?? 8192 | model relay/inference | operational |
1727
+ | src/models/ollama.ts:54:53 | inline | `port > 65535` | `65535` | port | port > 65535 | model relay/inference | contract |
1728
+ | src/models/ollama.ts:55:59 | inline | `contextWindow < 1` | `1` | unitless | contextWindow < 1 | model relay/inference | contract |
1729
+ | src/models/ollama.ts:56:51 | inline | `maxTokens < 1` | `1` | tokens | maxTokens < 1 | model relay/inference | contract |
1730
+ | src/models/ollama.ts:57:61 | inline | `maxInputTokens < 1` | `1` | tokens | maxInputTokens < 1 | model relay/inference | contract |
1731
+ | src/models/ollama.ts:58:61 | inline | `maxConcurrency < 1` | `1` | count | maxConcurrency < 1 | model relay/inference | contract |
1732
+ | src/models/ollama.ts:75:125 | inline | `AbortSignal.timeout` | `2_000` | ms | AbortSignal.timeout | model relay/inference | operational |
1733
+ | src/models/relay.ts:74:7 | constant | `SURFACE_CAP` | `64` | count | SURFACE_CAP | model relay/inference | safety floor |
1734
+ | src/models/relay.ts:86:19 | inline | `++nodes > 8192` | `8192` | unitless | ++nodes > 8192 | model relay/inference | safety floor |
1735
+ | src/models/relay.ts:86:35 | inline | `depth > 20` | `20` | count | depth > 20 | model relay/inference | safety floor |
1736
+ | src/models/relay.ts:89:57 | inline | `value.length > 8192` | `8192` | characters | value.length > 8192 | model relay/inference | safety floor |
1737
+ | src/models/relay.ts:91:26 | inline | `value.length > 256` | `256` | characters | value.length > 256 | model relay/inference | safety floor |
1738
+ | src/models/relay.ts:92:37 | inline | `value.slice` | `256` | characters | value.slice | model relay/inference | safety floor |
1739
+ | src/models/relay.ts:97:25 | inline | `keys.length > 256` | `256` | count | keys.length > 256 | model relay/inference | safety floor |
1740
+ | src/models/relay.ts:98:47 | inline | `keys.slice` | `256` | characters | keys.slice | model relay/inference | safety floor |
1741
+ | src/models/relay.ts:211:7 | constant | `COOLDOWN_FAILURES` | `3` | count | COOLDOWN_FAILURES | model relay/inference | operational |
1742
+ | src/models/relay.ts:211:30 | constant | `COOLDOWN_MS` | `30000` | ms | COOLDOWN_MS | model relay/inference | operational |
1743
+ | src/models/relay.ts:211:52 | constant | `COOLDOWN_CAP_MS` | `300000` | ms | COOLDOWN_CAP_MS | model relay/inference | operational |
1744
+ | src/models/relay.ts:213:7 | constant | `REQUEST_DEADLINE_MS` | `180000` | ms | REQUEST_DEADLINE_MS | model relay/inference | operational |
1745
+ | src/models/relay.ts:216:7 | constant | `MOVE_FIRST_BYTE_MS` | `15000` | ms | MOVE_FIRST_BYTE_MS | model relay/inference | operational |
1746
+ | src/models/relay.ts:247:73 | inline | `this.now() - entry.countedAt > 2 * COOLDOWN_CAP_MS` | `2 * COOLDOWN_CAP_MS` | ms | this.now() - entry.countedAt > 2 * COOLDOWN_CAP_MS | model relay/inference | operational |
1747
+ | src/models/relay.ts:251:56 | inline | `2 ** (entry.failures - COOLDOWN_FAILURES)` | `2` | unitless | 2 ** (entry.failures - COOLDOWN_FAILURES) | model relay/inference | operational |
1748
+ | src/models/relay.ts:299:90 | inline | `value.length < 256` | `256` | characters | value.length < 256 | model relay/inference | safety floor |
1749
+ | src/models/relay.ts:372:32 | inline | `inspectBuffer.length > 64_000` | `64_000` | characters | inspectBuffer.length > 64_000 | model relay/inference | safety floor |
1750
+ | src/models/relay.ts:372:76 | inline | `inspectBuffer.slice` | `-64_000` | characters | inspectBuffer.slice | model relay/inference | safety floor |
1751
+ | src/models/relay.ts:428:58 | inline | `options.dgxMaxInputTokens ?? 262_144` | `262_144` | tokens | options.dgxMaxInputTokens ?? 262_144 | model relay/inference | operational |
1752
+ | src/models/relay.ts:441:25 | inline | `JOURNAL_LIMIT` | `1000` | count | JOURNAL_LIMIT | model relay/inference | operational |
1753
+ | src/models/relay.ts:528:104 | inline | `error.message.slice` | `160` | characters | error.message.slice | model relay/inference | safety floor |
1754
+ | src/models/relay.ts:561:85 | inline | `request.max_tokens ?? options.mlx!.maxTokens ?? 2048` | `2048` | tokens | request.max_tokens ?? options.mlx!.maxTokens ?? 2048 | model relay/inference | operational |
1755
+ | src/models/relay.ts:565:93 | inline | `Math.max` | `1` | ms | Math.max | model relay/inference | operational |
1756
+ | src/models/relay.ts:575:102 | inline | `error.message.slice` | `160` | characters | error.message.slice | model relay/inference | safety floor |
1757
+ | src/models/relay.ts:607:18 | inline | `idleTimeout` | `255` | seconds | idleTimeout | model relay/inference | operational |
1758
+ | src/models/relay.ts:642:118 | inline | `options.mlx?.maxInputTokens ?? (options.mlx?.provider === ollama ? 6000 : 16_000)` | `6000` | unitless | options.mlx?.maxInputTokens ?? (options.mlx?.provider === ollama ? 6000 : 16_000) | model relay/inference | operational |
1759
+ | src/models/relay.ts:642:125 | inline | `options.mlx?.maxInputTokens ?? (options.mlx?.provider === ollama ? 6000 : 16_000)` | `16_000` | unitless | options.mlx?.maxInputTokens ?? (options.mlx?.provider === ollama ? 6000 : 16_000) | model relay/inference | operational |
1760
+ | src/models/relay.ts:644:69 | inline | `options.mlx?.contextWindow ?? 8192` | `8192` | unitless | options.mlx?.contextWindow ?? 8192 | model relay/inference | operational |
1761
+ | src/models/relay.ts:645:71 | inline | `options.mlx?.maxTokens ?? 2048` | `2048` | tokens | options.mlx?.maxTokens ?? 2048 | model relay/inference | operational |
1762
+ | src/models/relay.ts:647:96 | inline | `(requestedMaxTokens as number) < 1` | `1` | tokens | (requestedMaxTokens as number) < 1 | model relay/inference | contract |
1763
+ | src/models/relay.ts:714:153 | inline | `error.message.slice` | `160` | characters | error.message.slice | model relay/inference | safety floor |
1764
+ | src/models/route/advisor.ts:22:51 | inline | `gateStallTurns` | `0` | unitless | gateStallTurns | model relay/inference | operational |
1765
+ | src/models/route/advisor.ts:37:123 | inline | `maxOutputTokens` | `2048` | tokens | maxOutputTokens | model relay/inference | test seam |
1766
+ | src/models/route/advisor.ts:91:33 | inline | `this.entries.size >= 1024` | `1024` | count | this.entries.size >= 1024 | model relay/inference | operational |
1767
+ | src/models/route/advisor.ts:96:33 | inline | `this.stalled.size >= 1024` | `1024` | count | this.stalled.size >= 1024 | model relay/inference | operational |
1768
+ | src/models/route/config.ts:31:165 | inline | `Number(n) < (field === hold_turns \|\| field.startsWith(gate_) ? 0 : field === transcript_max_chars ? 256 : 1)` | `256` | count | Number(n) < (field === hold_turns \|\| field.startsWith(gate_) ? 0 : field === transcript_max_chars ? 256 : 1) | model relay/inference | contract |
1769
+ | src/models/route/config.ts:31:171 | inline | `Number(n) < (field === hold_turns \|\| field.startsWith(gate_) ? 0 : field === transcript_max_chars ? 256 : 1)` | `1` | count | Number(n) < (field === hold_turns \|\| field.startsWith(gate_) ? 0 : field === transcript_max_chars ? 256 : 1) | model relay/inference | contract |
1770
+ | src/models/route/config.ts:31:189 | inline | `Number(n) > 200_000` | `200_000` | unitless | Number(n) > 200_000 | model relay/inference | contract |
1771
+ | src/models/route/config.ts:33:195 | inline | `r.confidence_threshold > 1` | `1` | unitless | r.confidence_threshold > 1 | model relay/inference | contract |
1772
+ | src/models/route/escalation.ts:36:50 | inline | `options.recentTurnWindow ?? 28` | `28` | count | options.recentTurnWindow ?? 28 | model relay/inference | operational |
1773
+ | src/models/route/escalation.ts:36:97 | inline | `options.windowMessageChars ?? 500` | `500` | characters | options.windowMessageChars ?? 500 | model relay/inference | safety floor |
1774
+ | src/models/route/escalation.ts:36:142 | inline | `options.maxRequestChars ?? 18_000` | `18_000` | count | options.maxRequestChars ?? 18_000 | model relay/inference | test seam |
1775
+ | src/models/route/escalation.ts:37:157 | inline | `truncateCodepoints` | `1_000` | lines | truncateCodepoints | model relay/inference | safety floor |
1776
+ | src/models/route/escalation.ts:42:147 | inline | `truncateCodepoints` | `1_000` | characters | truncateCodepoints | model relay/inference | safety floor |
1777
+ | src/models/route/escalation.ts:79:138 | inline | `maxOutputTokens` | `256` | tokens | maxOutputTokens | model relay/inference | test seam |
1778
+ | src/models/route/judge.ts:13:133 | inline | `maxOutputTokens` | `2048` | tokens | maxOutputTokens | model relay/inference | test seam |
1779
+ | src/models/route/judge.ts:16:129 | inline | `maxOutputTokens` | `256` | tokens | maxOutputTokens | model relay/inference | test seam |
1780
+ | src/models/route/plan-execute.ts:9:14 | constant | `MAX_EXECUTING_SESSIONS` | `4096` | count | MAX_EXECUTING_SESSIONS | model relay/inference | operational |
1781
+ | src/models/route/relay-selector.ts:35:70 | inline | `key.length <= 512` | `512` | characters | key.length <= 512 | model relay/inference | safety floor |
1782
+ | src/models/route/relay-selector.ts:48:118 | inline | `confidenceThreshold` | `0.5` | unitless | confidenceThreshold | model relay/inference | operational |
1783
+ | src/models/route/relay-selector.ts:93:71 | inline | `this.options.mlx?.contextWindow ?? 8192` | `8192` | unitless | this.options.mlx?.contextWindow ?? 8192 | model relay/inference | operational |
1784
+ | src/models/route/relay-selector.ts:94:54 | inline | `this.options.mlx?.maxTokens ?? 2048` | `2048` | tokens | this.options.mlx?.maxTokens ?? 2048 | model relay/inference | operational |
1785
+ | src/models/route/relay-selector.ts:96:103 | inline | `this.options.mlx?.maxInputTokens ?? (this.options.mlx?.provider === ollama ? 6000 : 16_000)` | `6000` | count | this.options.mlx?.maxInputTokens ?? (this.options.mlx?.provider === ollama ? 6000 : 16_000) | model relay/inference | operational |
1786
+ | src/models/route/relay-selector.ts:96:110 | inline | `this.options.mlx?.maxInputTokens ?? (this.options.mlx?.provider === ollama ? 6000 : 16_000)` | `16_000` | count | this.options.mlx?.maxInputTokens ?? (this.options.mlx?.provider === ollama ? 6000 : 16_000) | model relay/inference | operational |
1787
+ | src/models/route/runtime.ts:34:83 | inline | `judgeTimeoutMs` | `8000` | ms | judgeTimeoutMs | model relay/inference | test seam |
1788
+ | src/models/route/runtime.ts:112:233 | inline | `config.transcript_max_chars ?? 200_000` | `200_000` | count | config.transcript_max_chars ?? 200_000 | model relay/inference | safety floor |
1789
+ | src/models/route/runtime.ts:146:110 | inline | `maxTokens` | `2048` | tokens | maxTokens | model relay/inference | test seam |
1790
+ | src/models/route/signals.ts:8:14 | constant | `DEFAULT_RECENT_WINDOW` | `3` | unitless | DEFAULT_RECENT_WINDOW | model relay/inference | operational |
1791
+ | src/models/route/signals.ts:9:14 | constant | `SOFT` | `0.3` | unitless | SOFT | model relay/inference | operational |
1792
+ | src/models/route/signals.ts:10:14 | constant | `HARD` | `0.7` | unitless | HARD | model relay/inference | operational |
1793
+ | src/models/route/signals.ts:11:14 | constant | `CRITICAL` | `1` | unitless | CRITICAL | model relay/inference | operational |
1794
+ | src/models/route/signals.ts:190:199 | inline | `[...diagnostic.split(/\s+/u).map((word) => word.startsWith(/) \|\| word.includes(/src/) \|\| word.includes(/tmp/) ? <path> : word.replace(/\d+/gu, #)).join( )].slice` | `240` | characters | [...diagnostic.split(/\s+/u).map((word) => word.startsWith(/) \|\| word.includes(/src/) \|\| word.includes(/tmp/) ? <path> : word.replace(/\d+/gu, #)).join( )].slice | model relay/inference | safety floor |
1795
+ | src/models/route/signals.ts:205:27 | inline | `Math.max` | `1` | unitless | Math.max | model relay/inference | operational |
1796
+ | src/models/route/signals.ts:211:110 | inline | `recentResults.map` | `-1` | unitless | recentResults.map | model relay/inference | contract |
1797
+ | src/models/route/signals.ts:211:133 | inline | `recentResults.map((r,i)=>failureSeverity(r.text,r.isError).severity>0\|\|r.isError?i:-1).filter(i=>i>=0).at` | `-1` | unitless | recentResults.map((r,i)=>failureSeverity(r.text,r.isError).severity>0\|\|r.isError?i:-1).filter(i=>i>=0).at | model relay/inference | contract |
1798
+ | src/models/route/stage.ts:25:7 | constant | `STALL_MIN_TURN_DEPTH` | `8` | count | STALL_MIN_TURN_DEPTH | model relay/inference | operational |
1799
+ | src/models/route/stage.ts:26:7 | constant | `SCORE_GAIN` | `5` | unitless | SCORE_GAIN | model relay/inference | operational |
1800
+ | src/models/route/stage.ts:27:7 | constant | `HARD_SEVERITY` | `0.7` | unitless | HARD_SEVERITY | model relay/inference | operational |
1801
+ | src/models/route/stage.ts:28:7 | constant | `SIGNAL_UNIT` | `0.1` | unitless | SIGNAL_UNIT | model relay/inference | operational |
1802
+ | src/models/route/stage.ts:29:7 | constant | `SEVERITY_CRITICAL` | `1` | unitless | SEVERITY_CRITICAL | model relay/inference | operational |
1803
+ | src/models/route/stage.ts:55:101 | inline | `confidenceThreshold` | `0.5` | unitless | confidenceThreshold | model relay/inference | test seam |
1804
+ | src/models/route/stage.ts:82:66 | inline | `options.confidenceThreshold??0.5` | `0.5` | unitless | options.confidenceThreshold??0.5 | model relay/inference | test seam |
1805
+ | src/models/route/stage.ts:108:106 | inline | `max_switch_prefill_tokens` | `32_000` | tokens | max_switch_prefill_tokens | model relay/inference | operational |
1806
+ | src/models/route/state.ts:33:76 | inline | `ttlMs` | `60 * 60 * 1000` | ms | ttlMs | model relay/inference | test seam |
1807
+ | src/models/route/text.ts:48:49 | inline | `value.slice` | `-3` | characters | value.slice | model relay/inference | contract |
1808
+ | src/omniroute/client.ts:115:157 | inline | `AbortSignal.timeout` | `4000` | ms | AbortSignal.timeout | model relay/inference | operational |
1809
+ | src/omniroute/client.ts:139:156 | inline | `AbortSignal.timeout` | `4000` | ms | AbortSignal.timeout | model relay/inference | operational |
1810
+ | src/omniroute/client.ts:150:131 | inline | `max_tokens` | `1` | tokens | max_tokens | model relay/inference | operational |
1811
+ | src/omniroute/client.ts:150:166 | inline | `AbortSignal.timeout` | `10_000` | ms | AbortSignal.timeout | model relay/inference | operational |
1812
+ | src/omniroute/client.ts:176:103 | inline | `(await res.text()).slice` | `300` | characters | (await res.text()).slice | model relay/inference | safety floor |
1813
+ | src/omniroute/usage.ts:37:46 | inline | `label.length <= 160` | `160` | characters | label.length <= 160 | model relay/inference | safety floor |
1814
+ | src/pet/window.jxa.js:23:37 | inline | `commands.length >= 8` | `8` | count | commands.length >= 8 | UI/console | safety floor |
1815
+ | src/pet/window.jxa.js:56:113 | inline | `body.text.length <= 65536` | `65536` | characters | body.text.length <= 65536 | UI/console | safety floor |
1816
+ | src/pet/window.jxa.js:119:81 | inline | `$.NSTimer.scheduledTimerWithTimeIntervalTargetSelectorUserInfoRepeats` | `1` | ms | $.NSTimer.scheduledTimerWithTimeIntervalTargetSelectorUserInfoRepeats | UI/console | operational |
1817
+ | src/pet/window.jxa.js:120:86 | inline | `$.NSTimer.scheduledTimerWithTimeIntervalTargetSelectorUserInfoRepeats` | `0.1` | ms | $.NSTimer.scheduledTimerWithTimeIntervalTargetSelectorUserInfoRepeats | UI/console | operational |
1818
+ | src/pet/window.ts:79:33 | inline | `deadline` | `5000` | ms | deadline | UI/console | operational |
1819
+ | src/pet/window.ts:84:21 | inline | `Bun.sleep` | `50` | ms | Bun.sleep | UI/console | operational |
1820
+ | src/pet/window.ts:97:35 | inline | `deadline` | `5000` | ms | deadline | UI/console | operational |
1821
+ | src/pet/window.ts:98:109 | inline | `Bun.sleep` | `50` | ms | Bun.sleep | UI/console | operational |
1822
+ | src/pet/window.ts:129:73 | inline | `setInterval` | `1000` | ms | setInterval | UI/console | operational |
1823
+ | src/pet/window.ts:131:40 | inline | `readyDeadline` | `4000` | ms | readyDeadline | UI/console | operational |
1824
+ | src/pet/window.ts:132:109 | inline | `Bun.sleep` | `50` | ms | Bun.sleep | UI/console | operational |
1825
+ | src/pi/ceiling.ts:51:79 | inline | `e.sessionId.length > 200` | `200` | characters | e.sessionId.length > 200 | adapters/handshakes | safety floor |
1826
+ | src/pi/extension.ts:29:62 | inline | `process.env.AGENTHUB_PI_MAX_STEPS ?? 30` | `30` | count | process.env.AGENTHUB_PI_MAX_STEPS ?? 30 | adapters/handshakes | operational |
1827
+ | src/pi/extension.ts:76:112 | inline | `setTimeout` | `5_000` | ms | setTimeout | adapters/handshakes | operational |
1828
+ | src/pi/extension.ts:124:66 | inline | `setTimeout` | `250` | ms | setTimeout | adapters/handshakes | operational |
1829
+ | src/pi/extension.ts:135:178 | inline | `m.contextWindow ?? 131072` | `131072` | unitless | m.contextWindow ?? 131072 | adapters/handshakes | operational |
1830
+ | src/pi/extension.ts:135:212 | inline | `m.maxTokens ?? 8192` | `8192` | tokens | m.maxTokens ?? 8192 | adapters/handshakes | operational |
1831
+ | src/pi/launch.ts:18:594 | inline | `opts.maxSteps ?? 30` | `30` | count | opts.maxSteps ?? 30 | adapters/handshakes | operational |
1832
+ | src/pi/tool-receipts.ts:7:14 | constant | `PI_TOOL_RESULT_CAP` | `100000` | count | PI_TOOL_RESULT_CAP | adapters/handshakes | contract |
1833
+ | src/pi/tool-receipts.ts:40:49 | inline | `session.length > 512` | `512` | characters | session.length > 512 | adapters/handshakes | contract |
1834
+ | src/pi/tool-receipts.ts:40:72 | inline | `callId.length > 512` | `512` | characters | callId.length > 512 | adapters/handshakes | contract |
1835
+ | src/ui/index.html:600:21 | inline | `TOAST_MAX` | `4` | count | TOAST_MAX | UI/console | contract |
1836
+ | src/ui/index.html:600:35 | inline | `TOAST_MS` | `4000` | ms | TOAST_MS | UI/console | operational |
1837
+ | src/ui/index.html:600:57 | inline | `TOAST_FADE_MS` | `160` | ms | TOAST_FADE_MS | UI/console | operational |
1838
+ | src/ui/index.html:604:106 | inline | `String(text).slice` | `60` | characters | String(text).slice | UI/console | safety floor |
1839
+ | src/ui/index.html:747:61 | inline | `setTimeout` | `3000` | ms | setTimeout | UI/console | operational |
1840
+ | src/ui/index.html:834:136 | inline | `row.min ?? 0` | `0` | count | row.min ?? 0 | UI/console | contract |
1841
+ | src/ui/index.html:1200:30 | inline | `raw.length > 1024` | `1024` | characters | raw.length > 1024 | UI/console | safety floor |
1842
+ | src/ui/index.html:1264:205 | inline | `file.sha256.slice` | `12` | characters | file.sha256.slice | UI/console | contract |
1843
+ | src/ui/index.html:1429:40 | inline | `ready.slice` | `10` | characters | ready.slice | UI/console | safety floor |
1844
+ | src/ui/index.html:1482:7 | constant | `USAGE_LIMIT_ROWS` | `20` | count | USAGE_LIMIT_ROWS | UI/console | safety floor |
1845
+ | src/ui/index.html:1509:158 | inline | `total.since.slice` | `10` | characters | total.since.slice | UI/console | contract |
1846
+ | src/ui/index.html:1731:72 | inline | `stream.children.length > 200` | `200` | characters | stream.children.length > 200 | UI/console | safety floor |
1847
+ | src/ui/index.html:1742:110 | inline | `setTimeout` | `1000` | ms | setTimeout | UI/console | operational |
1848
+ | src/ui/index.html:1751:42 | inline | `setTimeout` | `1000` | ms | setTimeout | UI/console | operational |
1849
+ | src/ui/index.html:1760:7 | constant | `OFFICE_SCALE` | `12` | unitless | OFFICE_SCALE | UI/console | contract |
1850
+ | src/ui/index.html:1823:76 | inline | `size` | `2.4` | count | size | UI/console | contract |
1851
+ | src/ui/index.html:1832:39 | inline | `Math.max` | `4` | count | Math.max | UI/console | contract |
1852
+ | src/ui/index.html:1835:39 | inline | `space >= cut - 8` | `8` | unitless | space >= cut - 8 | UI/console | contract |
1853
+ | src/ui/index.html:1835:53 | inline | `space >= 3` | `3` | unitless | space >= 3 | UI/console | contract |
1854
+ | src/ui/index.html:1861:33 | inline | `space >= clipped.length - 8` | `8` | characters | space >= clipped.length - 8 | UI/console | contract |
1855
+ | src/ui/index.html:1902:29 | inline | `Math.min` | `1000` | unitless | Math.min | UI/console | operational |
1856
+ | src/ui/index.html:2038:191 | inline | `model.rooms.map` | `2.55` | unitless | model.rooms.map | UI/console | contract |
1857
+ | src/ui/index.html:2126:25 | inline | `points.length < 2` | `2` | characters | points.length < 2 | UI/console | contract |
1858
+ | src/ui/index.html:2207:68 | inline | `ms < 120000` | `120000` | unitless | ms < 120000 | UI/console | contract |
1859
+ | src/ui/index.html:2224:25 | inline | `arms.length < 2` | `2` | characters | arms.length < 2 | UI/console | contract |
1860
+ | src/ui/index.html:2229:28 | inline | `max` | `1` | count | max | UI/console | contract |
1861
+ | src/ui/index.html:2229:41 | inline | `Math.max` | `1` | count | Math.max | UI/console | contract |
1862
+ | src/ui/index.html:2245:95 | inline | `hops` | `1` | count | hops | UI/console | operational |
1863
+ | src/ui/index.html:2255:123 | inline | `toISOString` | `3600000` | unitless | toISOString | UI/console | contract |
1864
+ | src/ui/index.html:2301:88 | inline | `m.slice` | `8` | characters | m.slice | UI/console | contract |
1865
+ | src/ui/index.html:2311:50 | inline | `g.id.slice` | `8` | characters | g.id.slice | UI/console | contract |
1866
+ | src/ui/index.html:2330:107 | inline | `entry.text.split(\n)[0].slice` | `140` | characters | entry.text.split(\n)[0].slice | UI/console | safety floor |
1867
+ | src/ui/index.html:2353:104 | inline | `node.label.slice` | `28` | characters | node.label.slice | UI/console | safety floor |
1868
+ | src/ui/index.html:2368:89 | inline | `d.supersededBy.slice` | `8` | characters | d.supersededBy.slice | UI/console | contract |
1869
+ | src/ui/index.html:2369:89 | inline | `d.promotedFrom.slice` | `8` | characters | d.promotedFrom.slice | UI/console | contract |
1870
+ | src/ui/index.html:2378:176 | inline | `setTimeout` | `300` | ms | setTimeout | UI/console | operational |
1871
+ | src/ui/index.html:2409:79 | inline | `liveIssues.length > 32` | `32` | characters | liveIssues.length > 32 | UI/console | contract |
1872
+ | src/ui/office-model.ts:189:20 | inline | `DESK_CAP` | `12` | count | DESK_CAP | UI/console | contract |
1873
+ | src/ui/office-model.ts:193:18 | inline | `ARC_MS` | `10_000` | ms | ARC_MS | UI/console | operational |
1874
+ | src/ui/office-model.ts:193:37 | inline | `LATCH_MS` | `3_000` | ms | LATCH_MS | UI/console | operational |
1875
+ | src/ui/office-model.ts:193:60 | inline | `SETTLE_GAP_MS` | `3_000` | ms | SETTLE_GAP_MS | UI/console | operational |
1876
+ | src/ui/office-model.ts:193:86 | inline | `SETTLE_MAX_MOVES` | `6` | count | SETTLE_MAX_MOVES | UI/console | operational |
1877
+ | src/ui/office-model.ts:193:99 | inline | `ARC_CAP` | `12` | count | ARC_CAP | UI/console | contract |
1878
+ | src/ui/office-model.ts:193:115 | inline | `ALERT_CAP` | `12` | count | ALERT_CAP | UI/console | contract |
1879
+ | src/ui/office-model.ts:207:56 | inline | `waiting` | `0` | ms | waiting | UI/console | contract |
1880
+ | src/ui/office-model.ts:346:85 | inline | `card` | `3.4` | unitless | card | UI/console | contract |
1881
+ | src/ui/office-model.ts:430:47 | inline | `linkTasks.length + linkPeers.length < 2` | `2` | characters | linkTasks.length + linkPeers.length < 2 | UI/console | contract |
1882
+ | src/ui/office-model.ts:434:22 | inline | `links.length > 24` | `24` | characters | links.length > 24 | UI/console | contract |
1883
+ | src/ui/task-progress.ts:18:66 | inline | `waiting` | `0` | ms | waiting | tasks/routing | contract |
1884
+
1885
+ ## Classification audit
1886
+
1887
+ Seed: `489-h0-2026-10-24-round3`. Each class's first 50 rows by FNV-1a(seed + inventory row) were independently reviewed against the definitions above. The initial errors are the findings from that review, before correction. After those entries were corrected or excluded, the regenerated 200 rows were independently re-audited.
1888
+
1889
+ | Classification | Sampled | Initial errors | Errors after re-audit | Final error rate |
1890
+ | --- | ---: | ---: | ---: | ---: |
1891
+ | operational | 50 | 19 | 0 | 0.0% |
1892
+ | safety floor | 50 | 3 | 0 | 0.0% |
1893
+ | contract | 50 | 5 | 0 | 0.0% |
1894
+ | test seam | 50 | 14 | 0 | 0.0% |
1895
+
1896
+ Safety-floor items marked operational after the final operational audit: **0**.
1897
+
1898
+ ### operational
1899
+
1900
+ | src/hub/daemon.ts:5546:84 | inline | `maxLeaseMs` | `10 * 60_000` | ms | maxLeaseMs | UI/console | operational |
1901
+ | src/hub/tasks.ts:3171:38 | inline | `this.observedPlans.size >= 256` | `256` | count | this.observedPlans.size >= 256 | tasks/routing | operational |
1902
+ | src/hub/daemon.ts:1307:137 | inline | `Math.min` | `3600` | ms | Math.min | UI/console | operational |
1903
+ | src/cli/models-setup.ts:31:80 | inline | `AbortSignal.timeout` | `10_000` | ms | AbortSignal.timeout | UI/console | operational |
1904
+ | src/models/route/relay-selector.ts:94:54 | inline | `this.options.mlx?.maxTokens ?? 2048` | `2048` | tokens | this.options.mlx?.maxTokens ?? 2048 | model relay/inference | operational |
1905
+ | src/hub/tasks.ts:1931:33 | inline | `this.conditional.size > 1024` | `1024` | count | this.conditional.size > 1024 | tasks/routing | operational |
1906
+ | src/models/route/stage.ts:27:7 | constant | `HARD_SEVERITY` | `0.7` | unitless | HARD_SEVERITY | model relay/inference | operational |
1907
+ | src/hub/sdlc-metrics.ts:68:146 | inline | `driftRun` | `6` | unitless | driftRun | tasks/routing | operational |
1908
+ | scripts/smoke-conductor.ts:116:6 | inline | `setInterval` | `250` | ms | setInterval | UI/console | operational |
1909
+ | src/hub/check-runner.ts:454:68 | inline | `setTimeout` | `5` | ms | setTimeout | UI/console | operational |
1910
+ | src/models/mlx.ts:282:21 | inline | `Bun.sleep` | `50` | ms | Bun.sleep | model relay/inference | operational |
1911
+ | src/models/relay.ts:644:69 | inline | `options.mlx?.contextWindow ?? 8192` | `8192` | unitless | options.mlx?.contextWindow ?? 8192 | model relay/inference | operational |
1912
+ | src/hub/daemon.ts:6140:62 | inline | `Math.min` | `delay * 2` | ms | Math.min | UI/console | operational |
1913
+ | src/cli/models-setup.ts:16:63 | inline | `AbortSignal.timeout` | `30 * 60_000` | ms | AbortSignal.timeout | UI/console | operational |
1914
+ | src/cli/upgrade-interactive.ts:174:59 | inline | `clock(io) - lastWaitAt >= 60_000` | `60_000` | ms | clock(io) - lastWaitAt >= 60_000 | recovery/upgrade waits | operational |
1915
+ | src/hub/routing.ts:213:60 | inline | `long_context_tokens` | `120_000` | tokens | long_context_tokens | tasks/routing | operational |
1916
+ | src/memory/client.ts:68:66 | inline | `limit` | `256` | count | limit | UI/console | operational |
1917
+ | src/hub/ask.ts:48:7 | constant | `MAX_TASKS` | `25` | count | MAX_TASKS | UI/console | operational |
1918
+ | src/cli/upgrade-runtime.ts:393:106 | inline | `timeoutMs` | `180_000` | ms | timeoutMs | recovery/upgrade waits | operational |
1919
+ | src/hub/sdlc.ts:363:55 | inline | `Math.min` | `10_000` | ms | Math.min | tasks/routing | operational |
1920
+ | scripts/smoke-conductor.ts:32:58 | inline | `timeoutSeconds < 60` | `60` | ms | timeoutSeconds < 60 | UI/console | operational |
1921
+ | src/hub/dogfood-read.ts:94:133 | inline | `rows.slice` | `10000` | characters | rows.slice | UI/console | operational |
1922
+ | src/cli/upgrade-runtime.ts:955:23 | inline | `sleep` | `1000` | ms | sleep | recovery/upgrade waits | operational |
1923
+ | src/hub/daemon.ts:5916:174 | inline | `Math.max` | `10` | ms | Math.max | UI/console | operational |
1924
+ | src/hub/control-client.ts:30:42 | inline | `Math.min` | `2` | ms | Math.min | recovery/upgrade waits | operational |
1925
+ | src/hub/daemon.ts:426:117 | inline | `maxInputTokens` | `16_000` | tokens | maxInputTokens | UI/console | operational |
1926
+ | src/cli/upgrade-runtime.ts:579:28 | inline | `Math.min` | `1000` | ms | Math.min | recovery/upgrade waits | operational |
1927
+ | src/pet/window.ts:132:109 | inline | `Bun.sleep` | `50` | ms | Bun.sleep | UI/console | operational |
1928
+ | src/models/route/relay-selector.ts:96:110 | inline | `this.options.mlx?.maxInputTokens ?? (this.options.mlx?.provider === ollama ? 6000 : 16_000)` | `16_000` | count | this.options.mlx?.maxInputTokens ?? (this.options.mlx?.provider === ollama ? 6000 : 16_000) | model relay/inference | operational |
1929
+ | src/hub/ask.ts:110:75 | inline | `thisRunsLog(d.logFile).filter((l) => hit(l) > 0).slice` | `-12` | characters | thisRunsLog(d.logFile).filter((l) => hit(l) > 0).slice | UI/console | operational |
1930
+ | src/adapters/codex-review-isolation.ts:190:42 | inline | `deadline` | `12_000` | ms | deadline | adapters/handshakes | operational |
1931
+ | src/hub/ports.ts:30:76 | inline | `attempt >= 500` | `500` | unitless | attempt >= 500 | recovery/upgrade waits | operational |
1932
+ | scripts/smoke-conductor.ts:32:81 | inline | `timeoutSeconds > 1800` | `1800` | ms | timeoutSeconds > 1800 | UI/console | operational |
1933
+ | src/ui/index.html:600:57 | inline | `TOAST_FADE_MS` | `160` | ms | TOAST_FADE_MS | UI/console | operational |
1934
+ | src/hub/release-admission.ts:14:124 | inline | `timeout` | `1000` | ms | timeout | tasks/routing | operational |
1935
+ | src/hub/daemon.ts:4319:445 | inline | `Math.min` | `8192` | tokens | Math.min | UI/console | operational |
1936
+ | src/hub/dogfood-read.ts:94:74 | inline | `rows.slice` | `10000` | characters | rows.slice | UI/console | operational |
1937
+ | src/hub/daemon.ts:3384:79 | inline | `retryAfter` | `30_000` | unitless | retryAfter | UI/console | operational |
1938
+ | src/hub/daemon.ts:3241:68 | inline | `setInterval` | `60_000` | ms | setInterval | UI/console | operational |
1939
+ | src/models/relay.ts:565:93 | inline | `Math.max` | `1` | ms | Math.max | model relay/inference | operational |
1940
+ | src/cli/memory.ts:88:63 | inline | `ttlMs` | `(loadConfigSafe(cwd)?.memory.short_ttl_days ?? 14) * 24 * 3600_000` | ms | ttlMs | UI/console | operational |
1941
+ | src/hub/budget.ts:57:69 | inline | `stale_min` | `30` | minutes | stale_min | UI/console | operational |
1942
+ | scripts/benchmarks/native.ts:613:29 | inline | `Bun.sleep` | `300` | ms | Bun.sleep | UI/console | operational |
1943
+ | src/omniroute/client.ts:115:157 | inline | `AbortSignal.timeout` | `4000` | ms | AbortSignal.timeout | model relay/inference | operational |
1944
+ | src/hub/limits.ts:15:80 | inline | `pair_per_min` | `0` | minutes | pair_per_min | bus/delivery | operational |
1945
+ | src/models/mlx.ts:331:52 | inline | `options.maxConcurrency ?? 1` | `1` | count | options.maxConcurrency ?? 1 | model relay/inference | operational |
1946
+ | src/hub/budget.ts:108:7 | constant | `FALLBACK_WINDOW_MINS` | `300` | minutes | FALLBACK_WINDOW_MINS | UI/console | operational |
1947
+ | src/hub/child-process.ts:278:78 | inline | `Bun.sleep` | `100` | ms | Bun.sleep | adapters/handshakes | operational |
1948
+ | src/cli/console.ts:377:290 | inline | `[...(state.attentionMessages ?? []), { id: msg.e.env.id, peer: msg.e.env.from, important: msg.e.env.priority === important, since: msg.e.env.ts }].slice` | `-1000` | characters | [...(state.attentionMessages ?? []), { id: msg.e.env.id, peer: msg.e.env.from, important: msg.e.env.priority === important, since: msg.e.env.ts }].slice | UI/console | operational |
1949
+ | src/hub/progress.ts:216:73 | inline | `turns.size >= 2` | `2` | count | turns.size >= 2 | UI/console | operational |
1950
+
1951
+ ### safety floor
1952
+
1953
+ | src/adapters/kimi-wire-usage.ts:267:42 | inline | `buffer.subarray` | `256` | unitless | buffer.subarray | adapters/handshakes | safety floor |
1954
+ | src/adapters/local-worker.ts:204:119 | inline | `e.message.slice` | `200` | characters | e.message.slice | adapters/handshakes | safety floor |
1955
+ | scripts/smoke-codex-hub.ts:17:123 | inline | `JSON.stringify(m.params).slice` | `140` | characters | JSON.stringify(m.params).slice | UI/console | safety floor |
1956
+ | src/memory/client.ts:79:74 | inline | `this.rows(o).filter(v => v.tier === short).slice` | `30` | characters | this.rows(o).filter(v => v.tier === short).slice | UI/console | safety floor |
1957
+ | src/hub/sdlc.ts:576:128 | inline | `reviews.nodes.length <= 100` | `100` | count | reviews.nodes.length <= 100 | tasks/routing | safety floor |
1958
+ | src/hub/memory-staleness.ts:29:32 | inline | `path.length > 4096` | `4096` | characters | path.length > 4096 | UI/console | safety floor |
1959
+ | src/ui/index.html:1482:7 | constant | `USAGE_LIMIT_ROWS` | `20` | count | USAGE_LIMIT_ROWS | UI/console | safety floor |
1960
+ | src/ui/index.html:1731:72 | inline | `stream.children.length > 200` | `200` | characters | stream.children.length > 200 | UI/console | safety floor |
1961
+ | src/hub/sdlc.ts:554:61 | inline | `proof.jobs.length > 100` | `100` | characters | proof.jobs.length > 100 | tasks/routing | safety floor |
1962
+ | src/hub/action-class.ts:542:102 | inline | `value.length <= 256` | `256` | characters | value.length <= 256 | UI/console | safety floor |
1963
+ | scripts/benchmarks/native-pi-qwen.ts:1515:137 | inline | `a.text.length <= 4000` | `4000` | characters | a.text.length <= 4000 | adapters/handshakes | safety floor |
1964
+ | src/adapters/kimi-review.ts:40:53 | inline | `Object.keys(value).length <= 32` | `32` | characters | Object.keys(value).length <= 32 | adapters/handshakes | safety floor |
1965
+ | src/hub/deferred-hub.ts:21:46 | inline | `text` | `256` | unitless | text | bus/delivery | safety floor |
1966
+ | src/hub/roles.ts:121:21 | inline | `text.length > 2000` | `2000` | characters | text.length > 2000 | UI/console | safety floor |
1967
+ | src/omniroute/usage.ts:37:46 | inline | `label.length <= 160` | `160` | characters | label.length <= 160 | model relay/inference | safety floor |
1968
+ | src/hub/sdlc.ts:268:124 | inline | `f.path.length > 1000` | `1000` | characters | f.path.length > 1000 | tasks/routing | safety floor |
1969
+ | src/adapters/kimi-wire-usage.ts:67:7 | constant | `MAX_AGENTS` | `256` | count | MAX_AGENTS | adapters/handshakes | safety floor |
1970
+ | scripts/benchmarks/native-pi-qwen.ts:1472:87 | inline | `String(a.text).slice` | `4000` | characters | String(a.text).slice | adapters/handshakes | safety floor |
1971
+ | src/hub/plan-conformance.ts:53:17 | inline | `depth > 64` | `64` | count | depth > 64 | UI/console | safety floor |
1972
+ | src/hub/activity.ts:16:78 | inline | `u.locations.slice` | `12` | characters | u.locations.slice | UI/console | safety floor |
1973
+ | src/hub/daemon.ts:2517:234 | inline | `a.delivery_id.length > 256` | `256` | characters | a.delivery_id.length > 256 | UI/console | safety floor |
1974
+ | src/adapters/codex-review-isolation.ts:20:46 | inline | `segments.length > 64` | `64` | count | segments.length > 64 | adapters/handshakes | safety floor |
1975
+ | src/adapters/claude-print-child.ts:45:49 | inline | `options.maxFrameBytes ?? 256 * 1024` | `256 * 1024` | count | options.maxFrameBytes ?? 256 * 1024 | adapters/handshakes | safety floor |
1976
+ | src/hub/delivery-journal.ts:144:36 | inline | `Object.keys(queues).length > 4096` | `4096` | characters | Object.keys(queues).length > 4096 | bus/delivery | safety floor |
1977
+ | src/cli/upgrade-presentation.ts:171:65 | inline | `points.slice` | `509` | characters | points.slice | recovery/upgrade waits | safety floor |
1978
+ | src/cli/main.ts:1631:149 | inline | `String(row.key).slice` | `160` | characters | String(row.key).slice | UI/console | safety floor |
1979
+ | src/hub/action-class.ts:439:39 | inline | `cwd.size >= 128` | `128` | count | cwd.size >= 128 | UI/console | safety floor |
1980
+ | scripts/benchmarks/runner.py:150:161 | inline | `slice` | `300` | characters | if run.get("cleanup_complete") is not True: return ("cleanup incomplete or unknown: "+"; ".join(map(str,(run.get("cleanup") or {}).get("reasons") or [])))[:300] | UI/console | safety floor |
1981
+ | src/adapters/definitions/native-cli-jcode-mcp.ts:95:59 | inline | `open.size > 256 * 1024` | `256 * 1024` | count | open.size > 256 * 1024 | adapters/handshakes | safety floor |
1982
+ | src/hub/release-worktree.ts:49:53 | inline | `total > 32 * 1024 * 1024` | `32 * 1024 * 1024` | unitless | total > 32 * 1024 * 1024 | tasks/routing | safety floor |
1983
+ | src/cli/terminal-recovery.ts:473:101 | inline | `value.launchId.length > 128` | `128` | characters | value.launchId.length > 128 | recovery/upgrade waits | safety floor |
1984
+ | scripts/smoke-codex-hub.ts:48:117 | inline | `answer.body.trim().split(\n).slice(-2).join( \| ).slice` | `-120` | characters | answer.body.trim().split(\n).slice(-2).join( \| ).slice | UI/console | safety floor |
1985
+ | src/local/tools.ts:140:35 | inline | `statSync(file).size > 5_000_000` | `5_000_000` | count | statSync(file).size > 5_000_000 | adapters/handshakes | safety floor |
1986
+ | src/hub/path-policy.ts:135:63 | inline | `budget.entries > 4096` | `4096` | unitless | budget.entries > 4096 | UI/console | safety floor |
1987
+ | src/adapters/codex-review-isolation.ts:16:7 | constant | `CAP` | `128 * 1024` | count | CAP | adapters/handshakes | safety floor |
1988
+ | src/ui/index.html:604:106 | inline | `String(text).slice` | `60` | characters | String(text).slice | UI/console | safety floor |
1989
+ | src/hub/inference.ts:123:76 | inline | `detail.slice` | `2000` | characters | detail.slice | model relay/inference | safety floor |
1990
+ | src/cli/upgrade-interactive.ts:259:80 | inline | `reason.slice` | `500` | characters | reason.slice | recovery/upgrade waits | safety floor |
1991
+ | scripts/benchmarks/native.ts:677:195 | inline | `out.trim().slice` | `200` | characters | out.trim().slice | UI/console | safety floor |
1992
+ | src/adapters/reviewer-mcp.ts:77:87 | inline | `sanitize(failure.message).slice` | `4000` | characters | sanitize(failure.message).slice | adapters/handshakes | safety floor |
1993
+ | src/adapters/definitions/native-policy-aux.ts:65:35 | inline | `st.size > 1024 * 1024` | `1024 * 1024` | count | st.size > 1024 * 1024 | adapters/handshakes | safety floor |
1994
+ | src/hub/deliverable-files.ts:47:99 | inline | `(error as Error).message.replace(path, the path).slice` | `160` | characters | (error as Error).message.replace(path, the path).slice | UI/console | safety floor |
1995
+ | src/hub/memory-stale-anchors.ts:6:14 | constant | `MEMORY_STALE_SCAN_LIMIT` | `256` | count | MEMORY_STALE_SCAN_LIMIT | UI/console | safety floor |
1996
+ | src/models/relay.ts:74:7 | constant | `SURFACE_CAP` | `64` | count | SURFACE_CAP | model relay/inference | safety floor |
1997
+ | src/hub/test-integrity.ts:94:57 | inline | `preloaded.length > 100` | `100` | characters | preloaded.length > 100 | UI/console | safety floor |
1998
+ | src/hub/deferred-hub.ts:21:21 | inline | `text` | `256` | unitless | text | bus/delivery | safety floor |
1999
+ | src/hub/path-policy.ts:8:105 | inline | `p.length > 200` | `200` | characters | p.length > 200 | UI/console | safety floor |
2000
+ | src/hub/tasks.ts:3321:193 | inline | `(typeof id === number ? String(id) : JSON.stringify(id ?? null)).slice` | `60` | characters | (typeof id === number ? String(id) : JSON.stringify(id ?? null)).slice | tasks/routing | safety floor |
2001
+ | src/hub/tasks.ts:3911:86 | inline | `(summary ?? ).split(\n).find((l) => l.trim())?.trim().slice` | `300` | characters | (summary ?? ).split(\n).find((l) => l.trim())?.trim().slice | tasks/routing | safety floor |
2002
+ | src/hub/delivery-journal.ts:75:51 | inline | `max` | `4096` | count | max | bus/delivery | safety floor |
2003
+
2004
+ ### contract
2005
+
2006
+ | src/hub/config-apply.ts:167:109 | inline | `number` | `10_000_000` | count | number | UI/console | contract |
2007
+ | src/hub/board.ts:420:142 | inline | `maxNits` | `64` | count | maxNits | tasks/routing | contract |
2008
+ | src/hub/config-apply.ts:151:26 | inline | `number` | `2_147_483_647` | ms | number | UI/console | contract |
2009
+ | src/hub/settings.ts:64:183 | inline | `max` | `1000` | count | max | UI/console | contract |
2010
+ | src/hub/config-apply.ts:165:172 | inline | `number` | `0` | minutes | number | UI/console | contract |
2011
+ | src/hub/hub-tools.ts:115:321 | inline | `maxLength` | `200` | characters | maxLength | UI/console | contract |
2012
+ | src/cli/output.ts:283:82 | inline | `characters(next).slice` | `9` | characters | characters(next).slice | UI/console | contract |
2013
+ | src/hub/settings.ts:156:290 | inline | `def.min ?? 0` | `0` | count | def.min ?? 0 | UI/console | contract |
2014
+ | src/memory/recall.ts:71:37 | inline | `note.id.slice` | `8` | characters | note.id.slice | UI/console | contract |
2015
+ | src/models/ollama.ts:54:53 | inline | `port > 65535` | `65535` | port | port > 65535 | model relay/inference | contract |
2016
+ | src/hub/config-apply.ts:158:70 | inline | `number` | `0` | minutes | number | UI/console | contract |
2017
+ | src/adapters/kimi-wire-usage.ts:300:146 | inline | `createHash(sha256).update(this.sessionId).update(\0).update(agent).update(\0).update(String(offset)).digest(hex).slice` | `32` | characters | createHash(sha256).update(this.sessionId).update(\0).update(agent).update(\0).update(String(offset)).digest(hex).slice | adapters/handshakes | contract |
2018
+ | src/hub/sdlc.ts:154:49 | inline | `checks.length > 32` | `32` | characters | checks.length > 32 | tasks/routing | contract |
2019
+ | src/hub/tasks.ts:4216:30 | inline | `current.length > 64` | `64` | characters | current.length > 64 | tasks/routing | contract |
2020
+ | src/hub/hub-tools.ts:100:231 | inline | `minimum` | `0` | count | minimum | UI/console | contract |
2021
+ | src/cli/watch.ts:7:58 | inline | `new Date(item.at).toISOString().slice` | `19` | characters | new Date(item.at).toISOString().slice | UI/console | contract |
2022
+ | src/hub/hub-tools.ts:41:52 | inline | `maxLength` | `96` | characters | maxLength | UI/console | contract |
2023
+ | src/cli/upgrade-presentation.ts:35:28 | inline | `Math.max` | `0` | unitless | Math.max | recovery/upgrade waits | contract |
2024
+ | src/hub/board.ts:512:176 | inline | `parts.length > 8` | `8` | count | parts.length > 8 | tasks/routing | contract |
2025
+ | src/ui/index.html:2368:89 | inline | `d.supersededBy.slice` | `8` | characters | d.supersededBy.slice | UI/console | contract |
2026
+ | src/hub/config-apply.ts:158:31 | inline | `number` | `3650` | days | number | UI/console | contract |
2027
+ | src/hub/config-reload.ts:51:51 | inline | `min` | `1` | count | min | UI/console | contract |
2028
+ | src/hub/tasks.ts:1949:62 | inline | `ids.length > 64` | `64` | count | ids.length > 64 | tasks/routing | contract |
2029
+ | src/cli/main.ts:1377:79 | inline | `args.length > 2` | `2` | count | args.length > 2 | UI/console | contract |
2030
+ | src/cli/recovery-guidance.ts:89:173 | inline | `[...new Set(recorded.filter((peer): peer is string => typeof peer === string && /^[a-z][a-z0-9-]{0,31}$/.test(peer) && !base.includes(peer)))].slice` | `64` | characters | [...new Set(recorded.filter((peer): peer is string => typeof peer === string && /^[a-z][a-z0-9-]{0,31}$/.test(peer) && !base.includes(peer)))].slice | recovery/upgrade waits | contract |
2031
+ | src/hub/config-apply.ts:167:62 | inline | `number` | `1` | count | number | UI/console | contract |
2032
+ | src/cli/console-state.ts:1132:156 | inline | `Math.max` | `0` | lines | Math.max | UI/console | contract |
2033
+ | src/hub/manager.ts:72:76 | inline | `status.port > 65535` | `65535` | port | status.port > 65535 | recovery/upgrade waits | contract |
2034
+ | src/adapters/adapter-api.ts:2:14 | constant | `ADAPTER_API` | `1` | unitless | ADAPTER_API | adapters/handshakes | contract |
2035
+ | src/hub/task-sweep.ts:63:30 | inline | `now - at < threshold * 60_000` | `60_000` | unitless | now - at < threshold * 60_000 | tasks/routing | contract |
2036
+ | scripts/benchmarks/study_audit.py:144:38 | inline | `len` | `3` | count | if end < 0 or len(fields) != 3 or fields[1] != b"blob" or fields[2] != str(length).encode(): | UI/console | contract |
2037
+ | src/ui/index.html:1835:39 | inline | `space >= cut - 8` | `8` | unitless | space >= cut - 8 | UI/console | contract |
2038
+ | src/hub/control-client.ts:11:14 | constant | `PROTOCOL` | `16` | unitless | PROTOCOL | recovery/upgrade waits | contract |
2039
+ | src/adapters/claude-channel.ts:424:92 | inline | `res.pollingAdvice.count >= 3` | `3` | count | res.pollingAdvice.count >= 3 | adapters/handshakes | contract |
2040
+ | src/cli/upgrade-presentation.ts:38:17 | inline | `minutes < 60` | `60` | count | minutes < 60 | recovery/upgrade waits | contract |
2041
+ | src/hub/hub-tools.ts:93:1037 | inline | `minimum` | `1` | count | minimum | UI/console | contract |
2042
+ | src/local/tools.ts:102:127 | inline | `minimum` | `1` | count | minimum | adapters/handshakes | contract |
2043
+ | src/hub/sdlc.ts:105:67 | inline | `stages.length > 32` | `32` | characters | stages.length > 32 | tasks/routing | contract |
2044
+ | src/hub/config-apply.ts:156:57 | inline | `number` | `0` | ms | number | UI/console | contract |
2045
+ | src/hub/hub-tools.ts:99:248 | inline | `minimum` | `0` | count | minimum | UI/console | contract |
2046
+ | src/hub/hub-tools.ts:114:286 | inline | `maxLength` | `64` | characters | maxLength | UI/console | contract |
2047
+ | src/hub/read-tools.ts:71:59 | inline | `a.limit ?? 8` | `8` | count | a.limit ?? 8 | UI/console | contract |
2048
+ | src/hub/settings.ts:56:215 | inline | `min` | `1` | count | min | UI/console | contract |
2049
+ | src/hub/config-apply.ts:158:73 | inline | `number` | `1440` | minutes | number | UI/console | contract |
2050
+ | src/adapters/kimi-wire-usage.ts:78:24 | constant | `PRINT_TAIL` | `256` | unitless | PRINT_TAIL | adapters/handshakes | contract |
2051
+ | scripts/amem/baseline.ts:52:114 | inline | `new Date(DAY_START + i * DAY_MS).toISOString().slice` | `10` | characters | new Date(DAY_START + i * DAY_MS).toISOString().slice | UI/console | contract |
2052
+ | src/cli/console-state.ts:637:92 | inline | `args.length < (lock.prefix[1] === plan ? 6 : 5)` | `5` | count | args.length < (lock.prefix[1] === plan ? 6 : 5) | UI/console | contract |
2053
+ | src/memory/recall.ts:78:51 | inline | `note.id.slice` | `8` | characters | note.id.slice | UI/console | contract |
2054
+ | src/hub/hub-tools.ts:93:979 | inline | `maxItems` | `64` | count | maxItems | UI/console | contract |
2055
+ | src/hub/ports.ts:10:14 | constant | `CODEX_APP` | `1` | unitless | CODEX_APP | recovery/upgrade waits | contract |
2056
+
2057
+ ### test seam
2058
+
2059
+ | src/hub/bus.ts:78:79 | inline | `batchMs` | `15_000` | ms | batchMs | bus/delivery | test seam |
2060
+ | src/memory/brief.ts:48:58 | inline | `maxItems` | `8` | count | maxItems | UI/console | test seam |
2061
+ | src/cli/bench.ts:162:35 | inline | `opts.pollMs ?? 2000` | `2000` | ms | opts.pollMs ?? 2000 | UI/console | test seam |
2062
+ | src/hub/bench.ts:156:87 | inline | `resamples` | `1000` | unitless | resamples | UI/console | test seam |
2063
+ | src/hub/bus.ts:361:35 | inline | `timeoutMs` | `5_000` | ms | timeoutMs | bus/delivery | test seam |
2064
+ | src/adapters/pi.ts:524:229 | inline | `this.opts.stopGraceMs ?? 5_000` | `5_000` | ms | this.opts.stopGraceMs ?? 5_000 | adapters/handshakes | test seam |
2065
+ | src/hub/sdlc-release.ts:37:59 | inline | `timeoutMs` | `10_000` | ms | timeoutMs | tasks/routing | test seam |
2066
+ | src/models/route/judge.ts:16:129 | inline | `maxOutputTokens` | `256` | tokens | maxOutputTokens | model relay/inference | test seam |
2067
+ | src/hub/usage-rollup.ts:104:16 | inline | `maxMs` | `20` | ms | maxMs | UI/console | test seam |
2068
+ | src/models/route/escalation.ts:79:138 | inline | `maxOutputTokens` | `256` | tokens | maxOutputTokens | model relay/inference | test seam |
2069
+ | src/models/route/stage.ts:82:66 | inline | `options.confidenceThreshold??0.5` | `0.5` | unitless | options.confidenceThreshold??0.5 | model relay/inference | test seam |
2070
+ | src/hub/activity.ts:36:76 | inline | `maxBytes` | `256 * 1024` | bytes | maxBytes | UI/console | test seam |
2071
+ | scripts/check.sh:97:57 | inline | `AHUB_CHECK_HANG_S` | `960` | seconds | scripts/hang-watch.sh "$test_pid" "${AHUB_CHECK_HANG_S:-960}" & | UI/console | test seam |
2072
+ | scripts/smoke-codex-hub.ts:22:62 | inline | `ms` | `180_000` | unitless | ms | UI/console | test seam |
2073
+ | src/hub/tasks.ts:3209:191 | inline | `timeout ?? 10_000` | `10_000` | ms | timeout ?? 10_000 | tasks/routing | test seam |
2074
+ | src/models/route/judge.ts:13:133 | inline | `maxOutputTokens` | `2048` | tokens | maxOutputTokens | model relay/inference | test seam |
2075
+ | src/hub/usage-rollup.ts:372:16 | inline | `days` | `14` | days | days | UI/console | test seam |
2076
+ | src/cli/facts-hook.ts:62:92 | inline | `timeoutMs` | `2000` | ms | timeoutMs | UI/console | test seam |
2077
+ | src/adapters/conformance/acp.ts:61:36 | inline | `permissionModeTimeoutMs` | `40` | ms | permissionModeTimeoutMs | adapters/handshakes | test seam |
2078
+ | src/models/route/runtime.ts:146:110 | inline | `maxTokens` | `2048` | tokens | maxTokens | model relay/inference | test seam |
2079
+ | src/hub/control-client.ts:113:62 | inline | `timeoutMs` | `3000` | ms | timeoutMs | recovery/upgrade waits | test seam |
2080
+ | src/cli/console-state.ts:457:73 | inline | `cap` | `1000` | count | cap | UI/console | test seam |
2081
+ | src/adapters/pi.ts:533:46 | inline | `this.opts.stopGraceMs ?? 5_000` | `5_000` | ms | this.opts.stopGraceMs ?? 5_000 | adapters/handshakes | test seam |
2082
+ | src/cli/bench.ts:293:35 | inline | `opts.pollMs ?? 2000` | `2000` | ms | opts.pollMs ?? 2000 | UI/console | test seam |
2083
+ | src/hub/check-runner.ts:81:110 | inline | `options.timeoutMs ?? 15_000` | `15_000` | ms | options.timeoutMs ?? 15_000 | UI/console | test seam |
2084
+ | src/hub/recovery-store.ts:152:79 | inline | `waitMs` | `5000` | ms | waitMs | recovery/upgrade waits | test seam |
2085
+ | src/hub/bus.ts:78:97 | inline | `queueCap` | `200` | count | queueCap | bus/delivery | test seam |
2086
+ | src/adapters/jcode.ts:160:79 | inline | `timeoutMs` | `10_000` | ms | timeoutMs | adapters/handshakes | test seam |
2087
+ | src/hub/activity.ts:36:43 | inline | `maxItems` | `500` | count | maxItems | UI/console | test seam |
2088
+ | src/hub/daemon.ts:2285:29 | inline | `opts.bandsEveryMs ?? 300_000` | `300_000` | ms | opts.bandsEveryMs ?? 300_000 | UI/console | test seam |
2089
+ | src/hub/spec-read.ts:103:88 | inline | `timeout` | `15_000` | ms | timeout | UI/console | test seam |
2090
+ | src/models/route/escalation.ts:36:142 | inline | `options.maxRequestChars ?? 18_000` | `18_000` | count | options.maxRequestChars ?? 18_000 | model relay/inference | test seam |
2091
+ | src/hub/lifecycle.ts:23:68 | inline | `timeoutMs` | `3000` | ms | timeoutMs | recovery/upgrade waits | test seam |
2092
+ | scripts/benchmarks/native-pi-qwen.ts:1138:62 | inline | `timeoutMs` | `180_000` | ms | timeoutMs | adapters/handshakes | test seam |
2093
+ | scripts/benchmarks/teardown.ts:220:161 | inline | `fallbackMs` | `4_000` | ms | fallbackMs | UI/console | test seam |
2094
+ | src/models/route/state.ts:33:76 | inline | `ttlMs` | `60 * 60 * 1000` | ms | ttlMs | model relay/inference | test seam |
2095
+ | src/models/route/stage.ts:55:101 | inline | `confidenceThreshold` | `0.5` | unitless | confidenceThreshold | model relay/inference | test seam |
2096
+ | src/hub/sdlc.ts:355:50 | inline | `timeoutMs` | `10_000` | ms | timeoutMs | tasks/routing | test seam |
2097
+ | src/cli/terminal-recovery.ts:829:75 | inline | `timeoutMs` | `600_000` | ms | timeoutMs | recovery/upgrade waits | test seam |
2098
+ | src/cli/terminal-recovery.ts:854:127 | inline | `timeoutMs` | `600_000` | ms | timeoutMs | recovery/upgrade waits | test seam |
2099
+ | scripts/benchmarks/native.ts:144:68 | inline | `ms` | `90000` | unitless | ms | UI/console | test seam |
2100
+ | src/hub/manager.ts:207:33 | inline | `options.orphanWatchMs ?? 10_000` | `10_000` | ms | options.orphanWatchMs ?? 10_000 | recovery/upgrade waits | test seam |
2101
+ | src/cli/bench.ts:165:33 | inline | `opts.pollMs ?? 2000` | `2000` | ms | opts.pollMs ?? 2000 | UI/console | test seam |
2102
+ | src/hub/usage.ts:27:162 | inline | `timeoutMs` | `1200` | ms | timeoutMs | UI/console | test seam |
2103
+ | src/hub/bus.ts:78:51 | inline | `retryMs` | `1000` | ms | retryMs | bus/delivery | test seam |
2104
+ | src/cli/upgrade.ts:565:105 | inline | `idleTimeoutMs` | `600_000` | ms | idleTimeoutMs | recovery/upgrade waits | test seam |
2105
+ | src/hub/snapshots.ts:619:31 | inline | `limit` | `20` | count | limit | recovery/upgrade waits | test seam |
2106
+ | src/adapters/pi.ts:490:234 | inline | `this.opts.stopGraceMs ?? 5_000` | `5_000` | ms | this.opts.stopGraceMs ?? 5_000 | adapters/handshakes | test seam |
2107
+ | src/hub/control-client.ts:170:53 | inline | `timeoutMs` | `30_000` | ms | timeoutMs | recovery/upgrade waits | test seam |
2108
+ | scripts/benchmarks/native-pi-qwen.ts:1099:115 | inline | `opts.timeoutMs ?? 60_000` | `60_000` | ms | opts.timeoutMs ?? 60_000 | adapters/handshakes | test seam |