Garry Tan and Claude Opus 4.7
6fd45a9551
test(mechanical): pin doctor init embedding model + clean non-default sources
...
Two fixes in the E2E Doctor Command describe block, both surfaced by
cross-file state pollution under the full sequential E2E run:
1. Pass --embedding-model openai:text-embedding-3-large to the init
subprocess. Without the explicit flag, doctor inherits whatever the
resolver picks from env keys (ZE if ZEROENTROPY_API_KEY is set,
defaulting to zembed-1 at 1280d). The test's setupDB initialized
schema at 1536d, so the dim mismatch fires
embedding_width_consistency WARN, exiting doctor 1.
2. DELETE FROM sources WHERE id != 'default' in beforeAll. Prior E2E
files leave non-default source rows (e.g. 'delta' from autopilot /
sources tests). sync_freshness + cycle_freshness then FAIL on those
orphans because they were never synced/cycled, exiting doctor 1.
setupDB TRUNCATEs sources but schema.sql re-seeds 'default' via
initSchema; this leaves only the canonical single-source brain
the test expects.
Surfaced during fix-wave: warm-narwhal E2E gate.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-24 12:03:04 -07:00
..
2026-04-18 16:57:38 +08:00
2026-04-09 10:17:13 -07:00
2026-05-07 21:52:58 -07:00
2026-05-06 21:14:34 -07:00
2026-05-09 22:58:19 -07:00
2026-05-24 12:02:43 -07:00
2026-05-07 21:52:58 -07:00
2026-05-22 11:53:11 -07:00
2026-05-23 08:49:28 -07:00
2026-05-23 08:49:28 -07:00
2026-05-06 21:14:34 -07:00
2026-05-11 22:54:35 -07:00
2026-04-29 23:46:36 -07:00
2026-05-14 19:50:50 -04:00
2026-04-25 12:25:34 -07:00
2026-05-14 19:50:50 -04:00
2026-05-23 08:49:28 -07:00
2026-05-23 08:49:28 -07:00
2026-05-10 20:06:31 -07:00
2026-05-09 16:57:47 -07:00
2026-05-07 21:52:58 -07:00
2026-05-22 13:38:07 -07:00
2026-05-09 16:57:47 -07:00
2026-04-30 01:23:29 -07:00
2026-05-24 09:57:04 -07:00
2026-05-09 16:57:47 -07:00
2026-05-08 17:07:51 -07:00
2026-05-09 16:57:47 -07:00
2026-05-09 16:57:47 -07:00
2026-05-14 21:22:10 -07:00
2026-05-18 21:26:12 -07:00
2026-05-18 21:26:12 -07:00
2026-05-07 21:52:58 -07:00
2026-05-22 21:18:09 -07:00
2026-05-01 09:02:43 -07:00
2026-05-17 08:32:03 -07:00
2026-05-18 21:26:12 -07:00
2026-05-10 06:34:40 -07:00
2026-05-09 16:57:47 -07:00
2026-05-09 16:57:47 -07:00
2026-05-11 19:25:48 -07:00
2026-05-10 12:49:14 -07:00
2026-05-09 16:57:47 -07:00
2026-05-09 16:57:47 -07:00
2026-05-24 12:02:47 -07:00
2026-04-26 20:45:05 -07:00
2026-05-14 19:13:14 -07:00
2026-05-23 10:01:08 -07:00
2026-05-23 10:01:08 -07:00
2026-05-09 16:57:47 -07:00
2026-05-09 16:57:47 -07:00
2026-05-22 08:00:42 -07:00
2026-05-21 18:57:05 -07:00
2026-05-11 23:02:03 -07:00
2026-05-09 16:57:47 -07:00
2026-05-22 21:04:30 -07:00
2026-05-07 21:52:58 -07:00
2026-04-08 23:26:11 -10:00
2026-05-24 12:03:04 -07:00
2026-05-09 16:57:47 -07:00
2026-05-09 20:46:34 -07:00
2026-05-09 16:57:47 -07:00
2026-05-10 12:49:14 -07:00
2026-05-10 12:49:14 -07:00
2026-05-09 16:57:47 -07:00
2026-05-09 16:57:47 -07:00
2026-05-19 13:12:40 -07:00
2026-05-09 16:57:47 -07:00
2026-05-22 21:04:30 -07:00
2026-05-07 21:52:58 -07:00
2026-05-22 13:38:07 -07:00
2026-05-09 16:57:47 -07:00
2026-05-11 21:49:57 -07:00
2026-05-11 21:49:57 -07:00
2026-04-23 19:34:27 -07:00
2026-05-23 10:21:59 -07:00
2026-05-09 16:57:47 -07:00
2026-05-09 16:57:47 -07:00
2026-05-09 16:57:47 -07:00
2026-05-07 21:52:58 -07:00
2026-05-07 21:52:58 -07:00
2026-05-22 13:38:07 -07:00
2026-05-20 09:19:18 -07:00
2026-04-25 23:35:27 -07:00
2026-04-22 01:34:22 -07:00
2026-04-30 23:17:54 -07:00
2026-05-22 21:18:09 -07:00
2026-05-09 16:57:47 -07:00
2026-05-18 20:55:57 -07:00
2026-05-20 13:55:12 -07:00
2026-05-18 12:53:01 -07:00
2026-05-19 18:12:01 -07:00
2026-05-09 16:57:47 -07:00
2026-05-14 20:15:29 -07:00
2026-05-14 19:50:50 -04:00
2026-05-09 16:57:47 -07:00
2026-04-29 22:21:07 -07:00
2026-05-22 09:10:20 -07:00
2026-05-22 09:10:20 -07:00
2026-05-14 19:50:50 -04:00
2026-05-11 22:54:35 -07:00
2026-05-09 16:57:47 -07:00
2026-05-23 10:57:32 -07:00
2026-05-09 16:57:47 -07:00
2026-05-11 19:25:48 -07:00
2026-05-07 23:07:00 -07:00
2026-05-07 23:07:00 -07:00
2026-05-10 06:34:40 -07:00
2026-05-22 13:38:07 -07:00
2026-05-22 22:37:15 -07:00
2026-04-09 12:25:04 -10:00
2026-05-21 22:11:00 -07:00
2026-05-07 21:52:58 -07:00
2026-05-09 20:46:34 -07:00
2026-05-19 17:14:53 -07:00
2026-05-24 12:02:51 -07:00
2026-05-12 14:33:29 -07:00
2026-04-26 15:49:48 -07:00
2026-05-17 08:00:29 -07:00
2026-05-09 16:57:47 -07:00