Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
docs(todos): other connector tests share the 1.5 s healthy-owner budget race
time-attack11f963c567e8
diff --git a/TODOS.md b/TODOS.mdindex 1a13257db9..0d6c3f96a2 100644--- a/TODOS.md+++ b/TODOS.md@@ -14,6 +14,7 @@- [ ] **P3 — Wave 12 CSO lows (GBRA-57 review of v0.60.106.0).** Each fails closed or needs a trusted path today. (T1) `quarantine_override`'s body hash isn't keyed, so a file synced on a trusted path (an upstream repo behind a read-only mirror source) can compute its own and bypass the content-quality gate: key it with a brain-local secret. (G1) The hardened-Git blocklist misses Git's option abbreviations (`--textc`, `--filt` ran textconv and clean): switch to an exact allow-list of full options. (G2) `hardenedPathDirty` passes paths as pathspecs, so `[ab].md` and `*.md` glob: use `:(literal)`. (G3) A `.git` planted in a world-writable ancestor (`/tmp`) parks Git effects as `git_unavailable`: stop discovery at an ownership change. (G4, pre-existing) an inherited `GIT_DIR` makes a plain directory report durable. (L1) The skill-lint paid-consent check is lexical and bypassable; treat it as a tripwire, not a gate. Plus the review's hardening notes (quote `pollCommand` arguments, return the parsed `LLMS_REPO_BASE` URL). **Effort:** S each. **Priority:** P3.- [ ] **P3 — Batch `remember` accepts a non-UUID top-level `request_id`.** **What:** wave 12's agent smoke saw a batch `remember` (with `items`) accept `7c1e2a9e-5b3f-4d0a-9e61-qul1-20260915`; single-fact `remember`, `edit_page` and `add_timeline_entry` refuse non-UUID ids. **Fix:** validate the top-level `request_id` on the batch path the same way, with a test. **Effort:** S. **Priority:** P3.- [ ] **P3 — `forget` caveat inside Claude Code's 2,048-character head (wave 11 CSO E4).** **What:** wave 12 moved it next to the "facts saved with remember" sentence and Opus 5.5 write-back fell 20/20 -> 15/20 (attribution 19/20 with the old text; gbrain-evals branch `capy/w12-agent-smoke`), so it was reverted. Any added clause before clause 7 pushes "Answering from the brain" further past the cap on the full surfaces. **Fix:** a net-zero-length rewrite of clauses 1-6 that fits the caveat, then 20 Opus write-back cells (about $4.50) before shipping. **Effort:** S. **Priority:** P3.+- [ ] **P3 — Connector tests asserting a complete run under the 1.5 s fixture budget.** **What:** `test/helpers/connector-fixture.ts` cuts every connector wait to `testWaitMs(1_500)`; a cold consumer start on a loaded VM can exceed it, so a healthy-owner run returns `writer_pending` (root-caused in wave 12 for `connector-wave3`, fixed with `withHealthyOwnerBudget`). About 30 other files using `createConnectorFixture` assert `not.toBe('partial')` the same way (e.g. `connector-holds`, `persistence-connectors`). **Fix:** wrap their healthy-owner runs in `withHealthyOwnerBudget`. **Effort:** S. **Priority:** P3.## Fix wave 11 follow-ups (filed 2026-10-07, GBRA-55)