Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
file lane tests srcreads srcimports spawns ms loc
test/admin-sse-eventsource.test.ts unit 1 1 0 0 179 13
test/agent-install-backup.serial.test.ts serial 14 3 12 3 81187 446
test/agent-install-follow-setup.serial.test.ts serial 4 6 3 2 44197 88
test/agent-register-guards.serial.test.ts serial 2 1 0 6 11667 166
test/agent-register.test.ts unit 35 2 6 0 1904 464
test/ai/silent-drop-regression.test.ts unit 3 3 0 0 197 62
test/ambient-writeback-lifecycle.serial.test.ts serial 1 4 3 5 17567 322
test/apply-migrations.test.ts unit 28 3 2 0 282 291
test/archived-source-scoping.test.ts unit 4 1 2 0 194 128
test/asymmetric-encoding-contract.test.ts unit 6 3 1 0 212 134
test/auto-link-targeted-probe-2544.test.ts unit 6 1 4 0 6348 151
test/autopilot-auto-drain-wiring.test.ts unit 8 1 0 0 155 67
test/autopilot-cycle-failure-classification.test.ts unit 5 2 0 0 168 108
test/autopilot-fanout-wiring.test.ts unit 16 2 2 0 196 263
test/autopilot-install.test.ts unit 18 5 4 6 455 504
test/autopilot-nightly-probe-wiring.test.ts unit 9 1 0 0 274 91
test/autopilot-parser-probe-wiring.test.ts unit 10 1 0 0 177 77
test/autopilot-pause-marker.test.ts unit 13 1 2 2 234 245
test/autopilot-self-upgrade.test.ts unit 7 1 1 3 464 44
test/autopilot-shutdown-engine-close.test.ts unit 6 1 0 0 225 81
test/autopilot-supervisor-wiring.test.ts unit 7 1 0 0 168 99
test/backlinks-job-default.test.ts unit 3 1 0 0 196 47
test/backup-cli.serial.test.ts serial 19 2 5 0 420 443
test/backup-invalidation.serial.test.ts serial 12 1 5 4 3340 309
test/book-mirror.test.ts unit 9 1 0 1 1113 142
test/brain-score-breakdown.test.ts unit 11 1 1 0 2153 192
test/brainstorm-timeout.test.ts unit 14 2 2 0 185 147
test/canonical-writer-inventory.test.ts unit 2 1 0 0 297 32
test/chat-key-plane.test.ts unit 7 2 2 0 365 86
test/check-update.test.ts unit 25 1 1 2 1682 203
test/child-worker-supervisor.test.ts unit 21 1 2 0 3161 1017
test/chronicle-extract.test.ts unit 22 1 4 0 1588 199
test/chunkers/code-bash.test.ts unit 5 2 1 0 697 78
test/claude-cli-recipe.test.ts unit 38 1 38 0 368 1162
test/cli-cwd-dotenv-quarantine.test.ts unit 36 2 1 13 13818 1091
test/cli-force-exit-teardown-arming.test.ts unit 1 2 0 0 170 55
test/cli-stdout-delivery.test.ts unit 17 5 1 9 17469 523
test/cli.test.ts unit 24 1 5 10 8017 324
test/code-retrieval-harness.test.ts unit 26 1 1 0 200 245
test/codex-plugin-manifest.test.ts unit 42 1 0 9 3181 595
test/company-brain-connect-cli.serial.test.ts serial 3 4 3 7 21474 128
test/company-brain-demo.test.ts unit 2 1 2 1 10506 52
test/company-brain-inspect-cli.test.ts unit 7 7 3 5 6980 126
test/company-brain-schema.test.ts unit 8 1 9 0 318 111
test/compile-view.test.ts unit 14 1 4 0 240 310
test/config.test.ts unit 20 1 9 0 161 253
test/connection-resilience.test.ts unit 25 3 0 0 190 332
test/context-engine-checkpoint.serial.test.ts serial 12 9 12 0 504 534
test/contextual-retrieval-service-pure.test.ts unit 25 1 4 0 511 566
test/conversation-facts-type-allowlist-drift.test.ts unit 18 1 3 0 3769 354
test/cross-modal-eval-cli.test.ts unit 13 2 3 0 177 195
test/cycle-abort.test.ts unit 13 12 5 0 480 251
test/cycle-drain-renewal.test.ts unit 7 2 1 0 416 126
test/cycle-pack-gating.test.ts unit 21 1 1 0 199 207
test/cycle-patterns-deadline-budget.test.ts unit 15 5 3 0 1410 173
test/cycle-patterns.test.ts unit 16 1 2 0 400 141
test/cycle-phase-deadline-drift.test.ts unit 4 2 4 0 442 73
test/cycle/cycle-lock-ttl.test.ts unit 1 1 0 0 160 29
test/cycle/nightly-probe-adapters.test.ts unit 7 5 1 0 217 150
test/cycle/regression-pr-wave-r1-r2-r4.test.ts unit 7 2 3 0 375 150
test/cycle/yield-during-phase-throttle.test.ts unit 3 1 3 0 2804 114
test/destructive-guard.test.ts unit 41 1 3 0 7718 806
test/detached-stderr.test.ts unit 5 3 1 0 181 90
test/distribution-import-boundary.test.ts unit 2 2 1 0 175 93
test/docs-mcp-deploy.test.ts unit 9 2 0 0 251 88
test/doctor-categories.test.ts unit 10 1 1 0 260 192
test/doctor-orphan-ratio.test.ts unit 11 3 4 0 11289 267
test/doctor-volunteer-channels.test.ts unit 9 3 2 0 343 191
test/doctor.test.ts unit 107 1 112 1 8723 2075
test/dream-cli-flags.test.ts unit 28 1 0 0 163 198
test/e2e/bootstrap-compiled-binary.serial.test.ts serial 4 2 1 6 -1 186
test/e2e/bootstrap-real-codex.serial.test.ts serial 5 1 9 20 -1 673
test/e2e/compile-context-pglite.test.ts e2e 13 4 6 0 2354 329
test/e2e/fresh-install-pglite.test.ts e2e 6 5 19 0 29181 372
test/e2e/install-real-hermes.serial.test.ts serial 4 3 0 3 -1 345
test/e2e/migration-flow.test.ts e2e 4 3 2 0 4277 299
test/e2e/persistence-http-liveness.test.ts e2e 7 4 2 3 53500 408
test/e2e/postgres-driver-install.test.ts e2e 1 3 0 1 306 84
test/e2e/qm-provisioning.test.ts e2e 11 3 0 3 40319 345
test/e2e/remote-privacy-journeys.test.ts e2e 3 1 8 2 24236 272
test/e2e/skill-brain-first.test.ts e2e 12 9 2 4 770 246
test/e2e/upgrade-bun-link-arc.serial.test.ts serial 5 7 3 4 -1 443
test/embed-helper-migration.test.ts unit 8 1 0 0 275 110
test/embedding-dim-check-facts.test.ts unit 21 1 2 0 190 257
test/eval-brainbench-e2e.slow.test.ts slow 21 6 2 8 48539 428
test/eval-capture-db-plane.serial.test.ts serial 9 2 5 0 562 239
test/eval-contradictions/no-valid-until-write.test.ts unit 4 2 0 0 220 184
test/eval-longmemeval-cli-smoke.test.ts unit 2 1 0 2 6505 76
test/eval-synthesize-concepts-routing.test.ts unit 6 2 1 2 864 118
test/exit-classification.test.ts unit 13 2 1 0 177 131
test/export-help.test.ts unit 1 1 0 1 -1 24
test/extract-atoms-drain-errors.test.ts unit 16 1 1 0 175 356
test/extract-atoms-drain.test.ts unit 16 3 2 0 181 281
test/extract-conversation-facts-workers.test.ts unit 17 1 1 0 200 172
test/extract-include-frontmatter-config.serial.test.ts serial 8 2 3 0 1737 167
test/extract-workers.test.ts unit 10 1 0 0 179 95
test/facts-backstop-remedy-verb.test.ts unit 3 2 0 0 151 45
test/features.test.ts unit 12 4 5 0 223 138
test/fence-extraction.test.ts unit 18 1 3 0 6159 276
test/file-upload-fail-closed.test.ts unit 9 1 2 0 1162 215
test/files.test.ts unit 39 2 5 0 2301 562
test/fix-wave-structural.test.ts unit 31 37 0 3 196 408
test/helpers/agent-harness.unit.test.ts unit 46 1 0 0 448 701
test/hook-command.serial.test.ts serial 70 1 6 13 1772 1518
test/hook-push-spawn-env.test.ts unit 3 1 0 0 220 45
test/integrations.test.ts unit 123 1 3 0 211 860
test/jobs-embed-background-parity.serial.test.ts serial 2 2 4 0 4632 116
test/jobs-gateway-refresh-set.test.ts unit 5 1 0 0 173 69
test/jobs-list-get-json.serial.test.ts serial 7 1 2 0 1689 154
test/jobs-thin-client-date-rehydration.test.ts unit 5 1 1 0 372 80
test/jobs-worker-startup-recovery.test.ts unit 5 1 3 0 1668 146
test/lens-pack-manifests.test.ts unit 31 1 2 0 193 276
test/link-inference-pack.test.ts unit 12 1 3 0 270 159
test/link-source-check-repair.test.ts unit 13 1 5 0 3640 255
test/longmemeval-embed-cache.test.ts unit 21 1 2 1 644 472
test/loops-extract-wiring.test.ts unit 8 2 3 0 348 102
test/migrate-embeddings-recovery-cli.serial.test.ts serial 4 3 6 3 -1 235
test/migrate-stdout-clean.test.ts unit 2 1 2 0 1788 68
test/migrate.test.ts unit 171 11 7 1 8243 2414
test/migration-in-process.serial.test.ts serial 8 4 3 3 9878 183
test/migration-resume.test.ts unit 15 6 9 0 257 178
test/migrations-v0_13_0.test.ts unit 7 4 3 5 239 83
test/migrations-v0_14_0.test.ts unit 8 4 4 0 298 108
test/migrations-v0_22_4.test.ts unit 9 1 5 0 254 149
test/model-id.test.ts unit 27 1 1 0 172 221
test/model-pricing.test.ts unit 30 1 5 0 196 273
test/models-doctor-embed.test.ts unit 3 1 0 0 202 50
test/openclaw-plugin-manifest.test.ts unit 12 1 1 0 175 156
test/operations-trust-boundary.test.ts unit 21 2 6 1 5111 612
test/persistence-activation.test.ts unit 6 1 12 1 6355 136
test/persistence-file-import.test.ts unit 6 3 14 1 44494 210
test/persistence-image-import.serial.test.ts serial 3 1 8 0 3869 106
test/pglite-engine.test.ts unit 110 1 4 0 5336 1541
test/pglite-repair-command.serial.test.ts serial 14 1 2 2 3251 500
test/pglite-wal-repair.serial.test.ts serial 6 1 3 0 10900 200
test/phantom-redirect-per-source-lock.test.ts unit 3 1 1 0 189 46
test/postgres-engine-singleton-ownership.test.ts unit 7 2 0 0 190 159
test/postgres-engine.test.ts unit 8 1 0 0 185 167
test/private-visibility.test.ts unit 26 1 7 0 1823 384
test/reconcile-owner-journey.serial.test.ts serial 1 10 9 2 128103 282
test/redos-hardening.test.ts unit 14 2 4 0 178 140
test/register-client-source-normalize.test.ts unit 16 1 1 0 165 106
test/regression-strict-source-id.test.ts unit 9 6 2 4 247 116
test/reindex-code-recovery.test.ts unit 8 1 3 0 1253 114
test/remediation-command-resolution.test.ts unit 3 1 3 0 648 222
test/remote-ping-status-field.test.ts unit 4 1 0 0 160 53
test/reranker-default-seam.test.ts unit 3 1 2 0 156 31
test/resolve-ipc-binding.test.ts unit 9 6 4 0 258 184
test/retrieval-reflex-recipe-routing.test.ts unit 5 1 1 0 188 78
test/schema-bootstrap-coverage.test.ts unit 13 5 5 0 5701 1273
test/schema-cli-contract.test.ts unit 7 1 0 0 178 93
test/schema-pack-best-effort.test.ts unit 7 1 4 0 192 120
test/schema-pack-unify-types-handler.test.ts unit 11 2 5 0 5535 299
test/schema-pack/suggest.test.ts unit 7 1 2 0 194 188
test/scripts/check-engine-dynamic-import.test.ts unit 23 1 0 4 5442 356
test/scripts/classify-tests.test.ts unit 8 4 0 3 175 119
test/scripts/coverage-diff-gate.test.ts unit 18 1 0 3 593 315
test/scripts/merge-lcov.test.ts unit 26 3 0 3 1846 471
test/scripts/run-unit-shard.test.ts unit 11 1 0 6 1221 213
test/scripts/typecheck-incremental.test.ts unit 4 1 0 2 8637 128
test/search/graph-signals-wire-integration.test.ts unit 3 1 3 0 2405 107
test/search/knobs-hash-reranker.test.ts unit 25 2 3 0 221 328
test/serve-http-admin-route-guard.test.ts unit 4 2 0 0 177 265
test/serve-http-github-webhook.test.ts unit 9 1 1 0 623 114
test/serve-http-mcp-transport-cleanup.test.ts unit 2 1 0 0 186 56
test/serve-http-metrics.test.ts unit 9 1 1 0 255 160
test/serve-service.test.ts unit 35 1 2 1 242 657
test/serve-stdin-eof-drain.test.ts unit 8 1 4 0 724 192
test/shared-skills-init.serial.test.ts serial 4 4 5 3 33390 104
test/shared-skills-proposal-cli.test.ts unit 1 2 1 1 11097 43
test/shared-skills-restore.serial.test.ts serial 10 6 21 1 26315 323
test/shared-skills-setup.serial.test.ts serial 16 5 6 2 706 214
test/skillopt/deadline-and-hermetic.test.ts unit 9 1 3 0 315 143
test/skillpack-copy.test.ts unit 19 11 1 0 210 325
test/skillpack-install.test.ts unit 32 6 2 0 301 670
test/skillpack-reference-harness.test.ts unit 15 3 1 0 326 260
test/skillpack-scaffold-harness.test.ts unit 22 3 0 6 29543 435
test/skillpack-scaffold.test.ts unit 14 1 1 0 223 296
test/snapshot-shape-guard.test.ts unit 11 1 2 0 433 163
test/sources-webhook.test.ts unit 12 1 1 0 187 148
test/spend-off-switch.test.ts unit 5 3 1 0 614 53
test/supervisor-configuration-blocked.test.ts unit 21 11 7 1 7874 628
test/supervisor.test.ts unit 23 1 7 0 4562 632
test/sync-failures.test.ts unit 65 6 58 0 281 682
test/sync-include-hidden.test.ts unit 7 1 2 6 490 128
test/sync.test.ts unit 85 1 25 40 8892 1277
test/thin-client-routing-audit.test.ts unit 13 6 0 0 163 176
test/think-embed-question-wiring.serial.test.ts serial 2 1 3 0 640 86
test/timing-safe.test.ts unit 6 1 1 0 229 52
test/transcript-adapters.test.ts unit 54 6 13 0 483 1104
test/transcription-injection.test.ts unit 2 1 1 11 194 65
test/upgrade-skill-publish-prompt-race.test.ts unit 3 1 0 0 158 62
test/upgrade.serial.test.ts serial 28 1 5 12 3210 404
test/v0_37_fix_wave.serial.test.ts serial 19 2 18 0 591 325
test/v0_37_gap_fill.serial.test.ts serial 17 3 10 0 5408 574
test/voyage-response-cap.test.ts unit 6 6 0 0 239 98
test/worker-lock-renewal-shape.test.ts unit 18 1 1 0 522 263
test/worker-supervised-db-probe.test.ts unit 5 1 2 0 1885 185