Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
307 commits
Select commit Hold shift + click to select a range
31c0d5f
test(ui-backend-claude): fire the stuck-handshake deadline instead of…
schlessera Nov 10, 2026
40f8dc8
test(experiments): triage eval exit-code assertions print the compare…
schlessera Nov 10, 2026
e38ff4d
test(ui-backend-pi): wait for each concurrent turn to reach its promp…
schlessera Nov 10, 2026
27d54a9
test(ui-backend-pi): compare values instead of booleans in the brain …
schlessera Nov 10, 2026
83f5779
test(ui-backend-pi): use toStartWith in the brain_read wrapper tests
schlessera Nov 10, 2026
bfa776b
test(core): compute CLI cases count only their own jobs and sandboxes
schlessera Nov 10, 2026
d458c1a
test(ui-backend-pi): pin the clock for the brain_update frontmatter b…
schlessera Nov 10, 2026
4a1d3a4
test(ui-backend-pi): list surviving transcripts instead of a boolean …
schlessera Nov 10, 2026
dd383b5
test(ui-backend-pi): require the alias guard's own refusal in the ses…
schlessera Nov 10, 2026
4329305
test(ui-kit): streaming handoff cases run in one theme each
schlessera Nov 10, 2026
a5929f0
test(core): the failing-write case starts from its own document bytes
schlessera Nov 10, 2026
2e911a3
test(ui-backend-pi): list error frames instead of a boolean in the gr…
schlessera Nov 10, 2026
a3ef530
test(ui-server): print the URL when an Apify request leaves the fixed…
schlessera Nov 10, 2026
4cfc320
test(ui-server): assert a fully resolvable backend roster reports no …
schlessera Nov 10, 2026
83ad707
test(ui-server): list the budget scopes that wrongly carry Apify spend
schlessera Nov 10, 2026
338875a
test(ui-server): print the memory notes and paths the journal checks …
schlessera Nov 10, 2026
c7f5fb1
test(ui-server): assert the media identity-reuse guard and the snapsh…
schlessera Nov 10, 2026
d030aa7
test(ui-server): clean up the SPA-fallback temp dir on failure and ma…
schlessera Nov 10, 2026
1923e3a
test(ui-server): recovery tests wait for the resolved decision and co…
schlessera Nov 10, 2026
99ac389
test(ui-kit): status indicator measures its hover delay from the poin…
schlessera Nov 10, 2026
973cb21
test(ui-react): chat slices pin the stored selection's buffer before …
schlessera Nov 10, 2026
4c40ad6
test(ui-react): chat store history restores the localStorage it stubs
schlessera Nov 10, 2026
82dc6e4
test(ui-react): connection store resets socketOpens between cases
schlessera Nov 10, 2026
a4373a9
test(ui-react): discovery query bounds print the offending nodes and …
schlessera Nov 10, 2026
dee8778
test(ui-react): draft-files disposes every scene's draft client and p…
schlessera Nov 10, 2026
4030222
test(ui-react): PDF lifetime case waits for the opening effect, not 5…
schlessera Nov 10, 2026
7c5f474
test(ui-react): frontmatter case names its claim and uses the Odysseu…
schlessera Nov 10, 2026
018ce80
test(experiments): a native-process receipt check can no longer pass …
schlessera Nov 10, 2026
423100c
test(experiments): roster-cost cases assert the listed tools; boolean…
schlessera Nov 10, 2026
1b2c9df
test(ui-react): passkeys settings cases start from the UI store's ini…
schlessera Nov 10, 2026
8cc8d33
test(ui-backend-pi): list non-success relay outcomes instead of a boo…
schlessera Nov 10, 2026
a2e53f8
test(ui-react): real pdf.js case waits for the held reply and the clo…
schlessera Nov 10, 2026
e1be24a
test(ui-backend-pi): pin a full legacy listing page and compare value…
schlessera Nov 10, 2026
32d8a9f
test(experiments): turn-surface admission and stdout checks print the…
schlessera Nov 10, 2026
649bdf2
test(ui-server): orientation escape tests give the escaped target rea…
schlessera Nov 10, 2026
7ee9fa5
test(ui-server): cancelled attachment read awaits and asserts its rej…
schlessera Nov 10, 2026
bfdb767
test(ui-server): cron status tests read the shipped schema in memory;…
schlessera Nov 10, 2026
cb7c230
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
b429a28
test(ui-server): assert masked record reads refuse with the provider-…
schlessera Nov 10, 2026
3684b34
test(ui-server): print recorded request ids when an evicted conversat…
schlessera Nov 10, 2026
3460d4c
test(ui-server): pin the text decoded below the control-character thr…
schlessera Nov 10, 2026
768cef3
test(ui-server): drop a core-queries manifest check that compared a v…
schlessera Nov 10, 2026
11b2345
test(ui-backend-claude): require the named refusal when the CLI repor…
schlessera Nov 10, 2026
b29aa15
test(ui-backend-claude): require a cancelled result when cancellation…
schlessera Nov 10, 2026
419efb7
test(ui-kit): palette reasons and no-wrap scrolling run one theme per…
schlessera Nov 10, 2026
018873e
test(core): remove the compute stand-in global even when the case fails
schlessera Nov 10, 2026
dc0c393
test(core): compute driver and identity checks print what they reject
schlessera Nov 10, 2026
2563c03
test(ui-backend-claude): require every worker RTK mode before asserti…
schlessera Nov 10, 2026
2764f60
test(ui-server): pin storage pressure's recovery start and episode id…
schlessera Nov 10, 2026
39a7127
test(ui-server): storage removal review assertions cannot pass on an …
schlessera Nov 10, 2026
81a4f5b
test(ui-server): the sync result parser's positive control pins the p…
schlessera Nov 10, 2026
a4b1b98
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
2b4df01
test(ui-server): wait for the effort parse error instead of a fixed s…
schlessera Nov 10, 2026
058e8de
test(ui-server): wait for the expired tool resolution instead of a se…
schlessera Nov 10, 2026
5df47f8
test(core): isolate the cache-merge fixture commits from env-scoped s…
schlessera Nov 10, 2026
4761e2e
test(ui-react): focus the handoff field before Escape so the case no …
schlessera Nov 10, 2026
05c69c4
test(ui-kit): stat tile geometry runs one theme per width
schlessera Nov 10, 2026
48f3040
test(ui-react): restore the fetch the Actions dismissal test replaces
schlessera Nov 10, 2026
b9b305a
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
62c9991
test(core): eval-dates prints the rows it checks and names the real d…
schlessera Nov 10, 2026
dc9c5f6
test(core): pin the clock the grouped-findings audit children read
schlessera Nov 10, 2026
7f0aeac
test(core): pin the clock frontmatter edits stamp updated from
schlessera Nov 10, 2026
3a4a18f
test(ui-backend-pi): list event kinds instead of a boolean in the pol…
schlessera Nov 10, 2026
d5e12b2
test(ui-backend-pi): compare values instead of booleans in the provid…
schlessera Nov 10, 2026
7e5891b
test(core): the jev source check lists the candidates it rejects
schlessera Nov 10, 2026
af3a442
test(core): the read-many section check prints the item it rejects
schlessera Nov 10, 2026
90620d9
test(ui-server): real-socket login cases run instead of skipping when…
schlessera Nov 10, 2026
471ab5d
test(core): doctor checks print the refs and detail they reject
schlessera Nov 10, 2026
7c245f4
test(ui-backend-pi): use toContain over the roster names in the stabl…
schlessera Nov 10, 2026
17c932f
test(ui-server): schema constraint tests name the constraint they exp…
schlessera Nov 10, 2026
0867abd
test(core): graph query checks list the items they reject
schlessera Nov 10, 2026
ae6ec7d
test(core): context scope surface checks list the paths they reject
schlessera Nov 10, 2026
0e14487
test(ui-react): drafts, profile and state-room checks run once per th…
schlessera Nov 10, 2026
2827176
test(ui-backend-pi): list error results instead of a boolean in the t…
schlessera Nov 10, 2026
da44448
test(core): the cyclic generated_from check prints the files validate…
schlessera Nov 10, 2026
711f149
test(ui-backend-pi): drop the poll's own deadline in the autonomous y…
schlessera Nov 10, 2026
a66a33f
test(ui-backend-pi): drop the poll's own deadline in the concurrency …
schlessera Nov 10, 2026
43a7e74
test(core): the link-walk snapshot case proves its deletion ran mid-walk
schlessera Nov 10, 2026
89c054b
test(ui-react): diagram layout loops pin what they iterate
schlessera Nov 10, 2026
c60fb6b
test(ui-react): diagram export assertions print the compared values
schlessera Nov 10, 2026
837c53e
test(ui-react): dialogue recovery negative checks list the offending …
schlessera Nov 10, 2026
80efdf0
test(ui-react): discovery depth cap prints the deepest request
schlessera Nov 10, 2026
3bf03b2
test(ui-react): draft branch image test waits for the stored image, n…
schlessera Nov 10, 2026
eb9b16b
test(ui-react): durable actions count check prints the text
schlessera Nov 10, 2026
7b85091
test(ui-react): expired scratch contrast check requires the labels
schlessera Nov 10, 2026
cfcb104
test(ui-react): file loading awaits the lazy viewer and tree before p…
schlessera Nov 10, 2026
5c11d04
test(ui-react): graph label exclusions print the painted set
schlessera Nov 10, 2026
3b18a1d
test(core): compute refusal and state checks list what they reject
schlessera Nov 10, 2026
39fe154
test(ui-react): saved-transcription restores the theme it sets and pr…
schlessera Nov 10, 2026
3f93020
test(core): the empty-chunk enrichment check prints the document half
schlessera Nov 10, 2026
75aeb3c
test(ui-server): name the turn free-space prerequisite in the subscri…
schlessera Nov 10, 2026
ee42d42
test(ui-server): name the turn free-space prerequisite in the scope-c…
schlessera Nov 10, 2026
e860b35
test(ui-react): the late recording-timer test observes its re-arm
schlessera Nov 10, 2026
4426a5b
test(ui-server): settle journal and host-launch rejections and assert…
schlessera Nov 10, 2026
6455088
test(ui-react): keyboard hints await the lazy file tree before pollin…
schlessera Nov 10, 2026
9250edb
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
4dce2a8
test(ui-react): maintenance disclosure refuses a global toggle on any…
schlessera Nov 10, 2026
3c3d8b2
test(ui-react): storage reduced-motion check waits for its sections; …
schlessera Nov 10, 2026
4df9579
test(module-diagrams): pin the shapes positional loops assert over
schlessera Nov 10, 2026
ef3dd36
test(module-jobs): isolate board-selection signing, pin board titles,…
schlessera Nov 10, 2026
f3239b7
test(compute-boat): a poll's injected transport fault no longer outli…
schlessera Nov 10, 2026
22bfa72
test(ui-kit): test-health batch e3855-ui-kit-02 (#3870)
schlessera Nov 10, 2026
c5c9394
test(ui-react): review dialogs run once per theme and restore an abse…
schlessera Nov 10, 2026
a2db540
test(module-jobs): move dedup, FTS and ingest fixtures to the Odysseu…
schlessera Nov 10, 2026
a201410
test(module-diagrams): show the audit issues when the invalid-fence c…
schlessera Nov 10, 2026
ec8888e
test(ui-react): renderer dispatch restores an absent theme and prints…
schlessera Nov 10, 2026
86a1721
test(compute-boat): pin the content-addressed staging archive and bot…
schlessera Nov 10, 2026
f563874
test(compute-boat): the secrets case requires both artifacts collecte…
schlessera Nov 10, 2026
6e630a9
test(ui-react): scope caps assert the answered-elsewhere announcement…
schlessera Nov 10, 2026
ccdd176
test(module-diagrams): refuse even off-grid positions, not only odd ones
schlessera Nov 10, 2026
a9458c9
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
20b0b2b
test(ui-react): search and supporting-file checks without a capture r…
schlessera Nov 10, 2026
8cb3909
test(module-jobs): readable settings and default-board failures, Odys…
schlessera Nov 10, 2026
09e3739
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
7b10f17
test(module-jobs): require a declared count in trimmed JSON-LD fixtures
schlessera Nov 10, 2026
4250f38
test(module-jobs): list the offending shared-runner items
schlessera Nov 10, 2026
4e11abf
test(module-jobs): print the pipeline index frontmatter on failure
schlessera Nov 10, 2026
5f501f8
test(ui-react): sent-attachment and turn-time checks without a theme …
schlessera Nov 10, 2026
ef6c68b
test(ui-server): inbox resolution tests assert the winning follow-up,…
schlessera Nov 10, 2026
2958b3e
test(ui-server): exercise the GPT-Live connection-loss acknowledgemen…
schlessera Nov 10, 2026
39865be
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
0f0abf7
test(ui-react): transcript qualifier review prints the stops and labe…
schlessera Nov 10, 2026
40d1ae1
test(geo): make I/O, geocoding, POI and routing failures print their …
schlessera Nov 10, 2026
dce3e18
test(ui-server): app wiring guard tests share one app per test; reada…
schlessera Nov 10, 2026
d152d57
test(ui-server): chat lifecycle closes its host on failure; chat dele…
schlessera Nov 10, 2026
d403ed2
test(ui-server): autonomous turn session-limit check prints the refus…
schlessera Nov 10, 2026
5bda59a
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
d19aec4
test(ui-react): turn timing restores the viewport it sets
schlessera Nov 10, 2026
218a69b
test(geo): name the structural error each malformed track and map inp…
schlessera Nov 10, 2026
2cd3f38
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
4b9f5d0
test(geo): name the refusal each unsupported imported track must raise
schlessera Nov 10, 2026
69211a0
test(scrape): Odysseus-world adapter fixture names, readable host and…
schlessera Nov 10, 2026
be59d52
test(ui-server): wait for follow-up and label state instead of a 25 m…
schlessera Nov 10, 2026
514a9c9
test(scrape): JSON-LD filter test asserts the document it kept
schlessera Nov 10, 2026
1419841
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
32be321
test(render-template): compare the first body element with the skelet…
schlessera Nov 10, 2026
d425b39
test(render-template): cover an unknown fence language in the static …
schlessera Nov 10, 2026
17239ff
revert: drop th-20261110200243-f078e2#6 from the batch
schlessera Nov 10, 2026
14e2b5c
test(module-travel): name each malformed-GPX refusal and compare rout…
schlessera Nov 10, 2026
e0c6596
test(module-images): scratch in-flight tests prove the request went o…
schlessera Nov 10, 2026
a693c15
test(ui-render-puppeteer): crashed fake refuses pages, drain without …
schlessera Nov 10, 2026
3181152
test(ui-server): test-health batch e3855-ui-server-03 (#3902)
schlessera Nov 10, 2026
738a383
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
34f14b1
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
33fee11
test(module-video): prove an undeclared module cannot be enabled, che…
schlessera Nov 10, 2026
42f5dc9
test(module-travel): own the output-naming rules in a unit table and …
schlessera Nov 10, 2026
37db61d
test(module-video): pin the video module's default model and refuse a…
schlessera Nov 10, 2026
687e5e9
test(ui-server): jobs default-board HTTP test reports each board's sc…
schlessera Nov 10, 2026
19e285b
test(ui-server): require the roadblock property test to produce episo…
schlessera Nov 10, 2026
7a20da5
test(module-travel): list photo batch errors without a message
schlessera Nov 10, 2026
dd573fa
test(module-speaking): pin contributed dirs, segments and nested stri…
schlessera Nov 10, 2026
1a1ca2c
test(ui-react): turn-journal cases undo their shared fixture effects …
schlessera Nov 10, 2026
0eddcac
test(module-travel): compare sync's preserved prose as strings
schlessera Nov 10, 2026
492176a
test(ui-react): activity report values, not booleans; restore the theme
schlessera Nov 10, 2026
2715d09
test(ui-react): await the API client's rejection checks and name the 404
schlessera Nov 10, 2026
971d849
test(ui-react): Gemini stop releases the one granted track, not every…
schlessera Nov 10, 2026
2eeb2b1
test(ui-react): a sent binary row's kind label is a literal, not read…
schlessera Nov 10, 2026
931fb4c
test(ui-react): browser rejection prints which later delivery was unb…
schlessera Nov 10, 2026
696f6c6
test(ui-react): rail pointer files give back the shared window, and G…
schlessera Nov 10, 2026
b0f28ca
test(ui-react): orbit overlaps name the pair; consent pins the one en…
schlessera Nov 10, 2026
9678c34
test(ui-react): composer file checks print the offending route calls …
schlessera Nov 10, 2026
e4dd5ea
test(ui-react): runtime answer checks print stray frames, approval re…
schlessera Nov 10, 2026
26213d5
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
9325e81
Merge branch 'test-health/e3855-ui-react-06-b' into test-health/e3855…
schlessera Nov 10, 2026
b2641cf
Merge branch 'test-health/e3855-ui-react-06-c' into test-health/e3855…
schlessera Nov 10, 2026
047e3e8
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
d9d3969
test(module-travel): pin the exact TypeScript migration output for an…
schlessera Nov 10, 2026
82fcdad
test(module-finance): assert the parsed documented config and report …
schlessera Nov 10, 2026
1f072de
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
119c558
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
b039d0f
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
3046418
test(ui-server): assert inbox claim results, list calls and the uncon…
schlessera Nov 10, 2026
ded01ae
test(ui-server): inbox intake tests no longer depend on run order; tr…
schlessera Nov 10, 2026
daa8da8
test(ui-server): host-process observer tests pin the exact fixture ca…
schlessera Nov 10, 2026
f72bd08
test(module-travel): list credential headers by name so the route req…
schlessera Nov 10, 2026
f073acd
test(ui-react): overlay opening check prints both play states
schlessera Nov 10, 2026
1f243fe
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
53778eb
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
ccb1893
test(ui-sdk): test-health batch e3855-ui-sdk-01 (#3873)
schlessera Nov 10, 2026
f2de021
test(ui-server): pin the share filing receipt id and hash the fixture…
schlessera Nov 10, 2026
53a2689
test(ui-server): media flow isolation waits for the agent's refusal f…
schlessera Nov 10, 2026
91c2a37
test(ui-server): journal migration split check fails when it examines…
schlessera Nov 10, 2026
513a3df
test(ui-server): files-walker tests clean up shared fixtures and asse…
schlessera Nov 10, 2026
fd9a886
test(ui-server): pin the inbox v1 effect rejection and make inbox sto…
schlessera Nov 10, 2026
1e08647
test(ui-server): make the idle-maintenance startup test fail without …
schlessera Nov 10, 2026
037a73e
test(ui-server): compare voice grant authorization headers directly
schlessera Nov 10, 2026
45249e9
test(ui-server): pin model-pricing reads to the remote table and drop…
schlessera Nov 10, 2026
8c1cf35
test(ui-server): models routes assert the resolved backend, the defau…
schlessera Nov 10, 2026
497018f
test(ui-server): show the retained stderr tail when the maintenance s…
schlessera Nov 10, 2026
562a3b0
test(ui-server): drop a dead BRAIN_PATH env leak from the graph route…
schlessera Nov 10, 2026
e171038
test(ui-server): kill the index-directory reader namespace in teardown
schlessera Nov 10, 2026
b0ad9fa
test(ui-server): schema-contract gate pins computedAt format and comm…
schlessera Nov 10, 2026
2aa4f4b
test(ui-server): clear the index run's provider request before the re…
schlessera Nov 10, 2026
1f8d4bc
test(ui-server): pin the live-history failure join and turn ids to th…
schlessera Nov 10, 2026
801acac
test(ui-server): pin exact validation errors and readable call assert…
schlessera Nov 10, 2026
dd06d05
test(ui-server): CLI-errors sync assertion prints the SSE frames on f…
schlessera Nov 10, 2026
9d3e92a
test(ui-server): the refused Gemini mint test configures Deepgram so …
schlessera Nov 10, 2026
79b4f80
test(ui-server): make live-history order/source tests able to fail on…
schlessera Nov 10, 2026
9ff5273
test(ui-server): name the raw-file CSP frame test for what it checks
schlessera Nov 10, 2026
4a3fc49
test(ui-server): geo route tests remove the temp cache directories th…
schlessera Nov 10, 2026
eb424c3
test(ui-server): test-app teardown case owns its app and checks every…
schlessera Nov 10, 2026
b2eff93
test(ui-server): inbox-bin spawn helper keeps non-JSON stdout so a cr…
schlessera Nov 10, 2026
ccce432
test(ui-server): governed-manifest test pins recorded inode and hash,…
schlessera Nov 10, 2026
c59bdfe
test(ui-server): journal async-capture yield check samples heartbeats…
schlessera Nov 10, 2026
6d13126
test(ui-server): native lease tests give a skipped close drain a real…
schlessera Nov 10, 2026
be35278
test(ui-server): assert skill discovery reports the data-only frontma…
schlessera Nov 10, 2026
9432356
test(ui-server): prove every index read route sits behind the read ba…
schlessera Nov 10, 2026
e832308
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 10, 2026
571931b
docs(test-authoring): S4 names the boolean-over-a-collection shape
schlessera Nov 10, 2026
2010b91
test(ui-server): pass the required list limit in the bridge-host inbo…
schlessera Nov 10, 2026
2586f4a
test(ui-server): type the schema-contract community check without an …
schlessera Nov 10, 2026
fcc7f99
test(ui-kit): test-health batch e3855-ui-kit-04 (#3875)
schlessera Nov 11, 2026
5350ec1
test(root): test-health batch e3855-root-02 (#3881)
schlessera Nov 11, 2026
0b1d43c
Merge remote-tracking branch 'origin/epic/3855-test-health' into test…
schlessera Nov 11, 2026
2728fa7
test(ui-kit): cast instead of a generic call the screen-assembly gate…
schlessera Nov 11, 2026
89d55c6
Merge #3883 into the test-health epic
schlessera Nov 11, 2026
188cf72
Merge #3892 into the test-health epic
schlessera Nov 11, 2026
c2f43ca
Merge #3893 into the test-health epic
schlessera Nov 11, 2026
cb37a78
Merge #3897 into the test-health epic
schlessera Nov 11, 2026
5c002ee
Merge #3898 into the test-health epic
schlessera Nov 11, 2026
66fc292
Merge #3904 into the test-health epic
schlessera Nov 11, 2026
c86fb02
Merge #3906 into the test-health epic
schlessera Nov 11, 2026
039974f
Merge #3908 into the test-health epic
schlessera Nov 11, 2026
25d9468
Merge #3913 into the test-health epic
schlessera Nov 11, 2026
6fc42e1
Merge #3915 into the test-health epic
schlessera Nov 11, 2026
5dd2c81
Merge #3917 into the test-health epic
schlessera Nov 11, 2026
c90717f
Merge #3919 into the test-health epic
schlessera Nov 11, 2026
d0aeab7
Merge #3922 into the test-health epic
schlessera Nov 11, 2026
9c83096
Merge #3925 into the test-health epic
schlessera Nov 11, 2026
afdfb08
Merge #3926 into the test-health epic
schlessera Nov 11, 2026
04f15c8
Merge #3928 into the test-health epic
schlessera Nov 11, 2026
c689d71
Merge #3930 into the test-health epic
schlessera Nov 11, 2026
4ddff0e
Merge #3932 into the test-health epic
schlessera Nov 11, 2026
9e1b659
Merge #3934 into the test-health epic
schlessera Nov 11, 2026
9a14eed
Merge #3936 into the test-health epic
schlessera Nov 11, 2026
7b59e1c
Merge #3942 into the test-health epic
schlessera Nov 11, 2026
fbf596b
Merge #3943 into the test-health epic
schlessera Nov 11, 2026
b26d54d
Merge #3945 into the test-health epic
schlessera Nov 11, 2026
86f185b
Merge #3946 into the test-health epic
schlessera Nov 11, 2026
8ae40c1
Merge #3948 into the test-health epic
schlessera Nov 11, 2026
e77de76
Merge #3950 into the test-health epic
schlessera Nov 11, 2026
ef36102
Merge #3961 into the test-health epic
schlessera Nov 11, 2026
3702bd8
test(ui-backend-pi): the yield test's timer wait fails with a message…
schlessera Nov 11, 2026
da8b092
test(ui-backend-pi): the prompted() wait fails with a message instead…
schlessera Nov 11, 2026
00da7e3
revert: drop th-20261110190028-150ab8#22 after the shake-out
schlessera Nov 11, 2026
f6bd369
revert: drop th-20261110195347-f9b8db#2 after the shake-out
schlessera Nov 11, 2026
dc24395
Merge remote-tracking branch 'origin/main' into test-health/e3855-train
schlessera Nov 11, 2026
77b3493
Merge remote-tracking branch 'origin/main' into test-health/e3855-train
schlessera Nov 11, 2026
f459213
Merge remote-tracking branch 'origin/main' into test-health/e3855-train
schlessera Nov 11, 2026
10537b8
Merge remote-tracking branch 'origin/main' into test-health/e3855-train
schlessera Nov 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 12 additions & 2 deletions docs/process/test-authoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,12 @@ test("the date field shows the parsed date and refuses an unparseable one", asyn
`self-comparison`.
- **S4. Compare values, not booleans.** `expect(island).toBe("Ithaca")`, not
`expect(island === "Ithaca").toBe(true)`: the failure should print both
sides. Prevents `opaque-failure`.
sides. The same goes for a predicate over a collection:
`expect(crew.every(c => c.rowed)).toBe(true)` hides which sailor failed and
passes on an empty crew. Map or filter to values instead,
`expect(crew.filter(c => !c.rowed)).toEqual([])` or
`expect(crew.map(c => c.name)).not.toContain("Eurylochus")`, and pin the
size when an empty collection would be wrong. Prevents `opaque-failure`.
- **S5. The expected value does not come from the code under test.** Write it
as a literal or derive it independently. A test that resolves the same tokens
the component paints with proves wiring and nothing else. Prevents
Expand All @@ -105,7 +110,12 @@ test("the date field shows the parsed date and refuses an unparseable one", asyn
the product path actually builds, with a harness that wires the thing the
assertion observes, and build inputs whose covered part is non-empty.
Prevents `wrong-object`, `earlier-layer-answers`, `nothing-to-observe` and
`empty-by-construction`.
`empty-by-construction`. An absence needs a presence beside it: a test made
only of `toBeNull()`, `toHaveLength(0)` or `not.toHaveBeenCalled()` also
passes when nothing rendered or nothing ran, so first assert what must still
be there (`expect(await canvas.findByText("omens")).toBeVisible()`), then
what must not be. The same goes for a selector nothing emits: asserting
`.bk-colour-only` absent holds whatever the components drew.
- **S7. Double the lowest shared request path, and assert the outcome.** A
double replaces the one method every request goes through; the assertions
are about what the code did with the answer, not about the double being
Expand Down
3 changes: 2 additions & 1 deletion experiments/bounded-read-contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ describe("real keyless stdio MCP exercise", () => {
const results = await Promise.all(SMALL_PATHS.map(p =>
fresh.callTool({ name: "brain_read", arguments: { path: p } }) as Promise<{ content: Array<{ type: string; text: string }> }>));
const warnings = results.map(r => r.content.slice(1).map(p => p.text).join(""));
expect(warnings.every(w => w.startsWith("warning: "))).toBe(true);
expect(warnings.map(w => w.slice(0, "warning: ".length))).toEqual(SMALL_PATHS.map(() => "warning: "));
evidence.mcpRepeatedWarnings = { calls: results.length, warningCharsPerCall: warnings.map(w => w.length), totalWarningChars: warnings.join("").length,
note: "one batch result would carry the warning once" };
} finally {
Expand All @@ -399,6 +399,7 @@ describe("real keyless stdio MCP exercise", () => {
const { tools } = await client.listTools();
const listed = tools.find(t => t.name === "brain_read")!;
const many = tools.find(t => t.name === "brain_read_many")!;
expect([listed?.name, many?.name]).toEqual(["brain_read", "brain_read_many"]);
evidence.rosterChars = { brain_read: JSON.stringify(listed).length, brain_read_many: JSON.stringify(many).length,
note: "Present on every provider request of a session that has the tool, cached or not; provider tokens unavailable" };
});
Expand Down
2 changes: 1 addition & 1 deletion experiments/measurement-results.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ test("a consumer rejects the real SDK result before reporting sees it; native no
expect(turn.costUsd).toBe(.375);
expect(turn.resultReceipts).toEqual([receipt]);
expect([turn.inputTokens, turn.outputTokens, turn.cacheCreationTokens, turn.cacheReadTokens, turn.modelTurns]).toEqual([101, 37, 203, 307, 2]);
expect(turn.nativeProcesses.every(process => process.closed && process.stdoutFinished)).toBe(true);
expect(turn.nativeProcesses.map(process => [process.closed, process.stdoutFinished])).toEqual([[true, true]]);
expect(costRows([turn]).join("\n")).toContain("unknown/not measured");
}, 20_000);

Expand Down
1 change: 1 addition & 0 deletions experiments/multi-query-search.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ describe("real keyless stdio MCP exercise", () => {
test("roster cost: the listed brain_search definition and the proposed one", async () => {
const { tools } = await client.listTools();
const listed = tools.find(t => t.name === "brain_search")!;
expect(listed?.name).toBe("brain_search");
// A like-for-like definition: brain_search's own input schema and descriptions as the item schema, plus the call's fields.
const { query: _q, ...listedProps } = (listed.inputSchema as { properties: Record<string, unknown> }).properties;
const likeForLike = {
Expand Down
2 changes: 1 addition & 1 deletion experiments/multi-root-graph.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ describe("reachability: the prototype preserves each root's own walk", () => {
["duplicate", 0, 0], ["missing", undefined, 0], ["found", undefined, 0],
["found", undefined, walkLinks(db, { path: "notes/loom.md", depth: 1, direction: "both" }).edges.length],
]);
expect(result.edges.every((e) => !e.roots.some((i) => i === 1 || i === 2))).toBe(true);
expect(result.edges.filter((e) => e.roots.some((i) => i === 1 || i === 2))).toEqual([]);
// The shipped single-root tools cannot tell the last two cases apart.
const pi = piTools(root);
for (const path of ["notes/absent.md", "notes/driftwood.md"]) {
Expand Down
2 changes: 1 addition & 1 deletion experiments/turn-surface-admission.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test("installed CLI API-auth handshake refuses before any model request or promp
testSubscriptionRefusal: true });
expect(capture.requests).toHaveLength(0);
expect(capture.gateRefusal).toBe("native_subscription_account_refused");
expect(capture.frames.some(frame => frame.type === "assistant")).toBe(false);
expect(capture.frames.filter(frame => frame.type === "assistant")).toEqual([]);
});
test("installed CLI effective auxiliary-model setting refuses after native OAuth handshake before inference", async () => {
const capture = await captureSurface({ decision: Promise.resolve({ arm: "baseline", routed: false, tools: [], skills: [] }),
Expand Down
4 changes: 2 additions & 2 deletions experiments/turn-surface-stdout.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ test("native split UTF-8 and final result survive delayed SDK reader and reader
expect(thrown).toBe(true);
expect(chunks.some(chunk => chunk.at(-1) === 0xcf)).toBe(true);
expect(captured).toEqual([frame]);
expect(readFileSync(join(root, "stdout.jsonl")).equals(Buffer.from(source))).toBe(true);
expect(readFileSync(join(root, "stdout.jsonl"))).toEqual(Buffer.from(source));
} finally {
if (child.exitCode === null) child.kill("SIGKILL");
await closed;
Expand Down Expand Up @@ -76,7 +76,7 @@ test("native late EOF receipt survives an early SDK consumer throw; missing raw
expect(await closed).toBe(0);
expect(raw).toEqual(final);
expect(() => successfulSurfaceReceipt(raw, observation)).toThrow("Missing model usage");
expect(readFileSync(join(root, "stdout.jsonl")).equals(Buffer.from(bytes))).toBe(true);
expect(readFileSync(join(root, "stdout.jsonl"))).toEqual(Buffer.from(bytes));
} finally {
if (child.exitCode === null) child.kill("SIGKILL");
await closed;
Expand Down
6 changes: 3 additions & 3 deletions experiments/ui-server/triage-eval-exit-code.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe("eval:triage exit code", () => {
expect(result.code).toBe(0);
const written = await Bun.file(path).json();
expect(written.results.map((row: { effort: string }) => row.effort).sort()).toEqual(["high", "low"]);
expect(written.results.every((row: { pass: boolean }) => row.pass)).toBe(true);
expect(written.results.map((row: { pass: boolean }) => row.pass)).toEqual([true, true]);
});

test("a failed gate exits 1 and the report is unchanged", async () => {
Expand Down Expand Up @@ -283,8 +283,8 @@ describe("eval:triage repetition and coverage gate", () => {
const record = (await Bun.file(path).json()).results[0];
expect(record.repetitions).toHaveLength(2);
expect(record.repetitions.map((rep: { gate: { pass: boolean } }) => rep.gate.pass)).toEqual([false, true]);
expect(record.repetitions.every((rep: { requestedIds: string[]; judgedIds: string[] }) =>
rep.requestedIds.length === 20 && rep.judgedIds.length === 20)).toBe(true);
expect(record.repetitions.map((rep: { requestedIds: string[]; judgedIds: string[] }) =>
[rep.requestedIds.length, rep.judgedIds.length])).toEqual([[20, 20], [20, 20]]);
});
}
});
Expand Down
3 changes: 2 additions & 1 deletion packages/compute-boat/tests/ambiguous-create.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ describe("ambiguous create", () => {
advance(25 * 60 * 60 * 1000);
fake.forgetIdempotencyKeys();
const again = await provider.allocate({ key: "job-scheria-3", leaseSeconds: 600, retain: false }, contextFor(fake, { now }));
expect(first.kind === "ok" && again.kind === "ok" && again.sandbox.id === first.sandbox.id).toBe(true);
if (first.kind !== "ok") throw new Error(first.kind);
expect(again.kind === "ok" && again.sandbox.id).toBe(first.sandbox.id);
expect([fake.created(), fake.routes().filter((r) => r === "create").length]).toEqual([1, 1]);
});

Expand Down
4 changes: 2 additions & 2 deletions packages/compute-boat/tests/cleanup.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe("cleanup failures", () => {
const { fake, provider, now, sandbox } = await allocated();
expect((await provider.release(sandbox, "discard", contextFor(fake, { now }))).kind).toBe("released");
expect((await provider.release(sandbox, "discard", contextFor(fake, { now }))).kind).toBe("released");
const deletes = fake.requests.filter((r) => r.route === "delete");
expect(deletes.every((r) => r.headers["x-ascii-confirm-delete"] === sandbox.id)).toBe(true);
const confirmations = fake.requests.filter((r) => r.route === "delete").map((r) => r.headers["x-ascii-confirm-delete"]);
expect(confirmations).toEqual([sandbox.id, sandbox.id]);
});
});
6 changes: 4 additions & 2 deletions packages/compute-boat/tests/contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ const harness = {
context: () => ({ secret: SECRET, fetch: fake.fetch, options: {} }),
commands: boatCommands,
liveSandboxes: () => fake.liveSandboxes(),
// One provider call spans up to MAX_ATTEMPTS requests; the fault covers the whole call.
// An allocation retries up to MAX_ATTEMPTS requests, so its fault covers the whole call.
loseNextResponse: () => fake.failNext("create", "lose-response", MAX_ATTEMPTS),
failNextTransport: (method: "allocate" | "poll") => fake.failNext(method === "allocate" ? "create" : "command-status", "network", MAX_ATTEMPTS),
// A poll is sent once and never retried: a deeper queue would outlive the call and fail a later test's poll.
failNextTransport: (method: "allocate" | "poll") =>
method === "allocate" ? fake.failNext("create", "network", MAX_ATTEMPTS) : fake.failNext("command-status", "network", 1),
stateDir: () => realpathSync(mkdtempSync(join(scratch, `state-${states++}-`))),
};

Expand Down
4 changes: 2 additions & 2 deletions packages/compute-boat/tests/credential-free.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ describe("credential-free sandboxes", () => {
const stdout = status.kind === "exited" ? status.stdout ?? "" : "";
expect(stdout).toContain("VOYAGE=ithaca");
for (const [name, value] of Object.entries(OWNER_ENV)) expect([name, stdout.includes(value)]).toEqual([name, false]);
expect(stdout.includes(KEY)).toBe(false);
expect(stdout).not.toContain(KEY);
const exec = fake.requests.find((r) => r.route === "exec")!;
expect(exec.body.includes(KEY)).toBe(false);
expect(exec.body).not.toContain(KEY);
});
});
5 changes: 3 additions & 2 deletions packages/compute-boat/tests/errors.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,12 @@ describe("command and file errors", () => {
await provider.stage!(sandbox, { files: [{ path: "notes/voyage.md", sha256: sha, bytes: data.byteLength, read: async () => data }], hash: sha }, contextFor(fake, { now }));
const command = String(JSON.parse(fake.requests.filter((r) => r.route === "exec").at(-1)!.body).command);
const tar = /tar -xf '([^']+)'/.exec(command)?.[1];
expect(tar).toBeDefined();
// Named by the bundle hash, so a run still in flight and its repeat read the same archive.
expect(tar).toBe(`/tmp/brain-kit/${sha}.tar`);
expect(command).not.toContain(`rm -f '${tar}'`);
expect(command).toContain("mktemp -d");
expect(command).not.toMatch(/-C work\b/);
expect(fake.sandboxes.get(sandbox.id)!.files.has(tar!)).toBe(true);
expect([...fake.sandboxes.get(sandbox.id)!.files.keys()]).toContain(tar!);
});

test("a lost process Boat's probe still finds running is running, never exited; one it finds ended is a provider error", async () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/compute-boat/tests/install-select.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe("installing and selecting Boat", () => {
const fake = fakeBoat({ apiKey: KEY });
expect((await computeProvider.health(contextFor(fake, { secret: "boat_wrong_key_000" }))).kind).toBe("unavailable");
expect((await computeProvider.health({ ...contextFor(fake), secret: undefined })).kind).toBe("unavailable");
expect(fake.requests.every((r) => r.method === "GET")).toBe(true);
expect(fake.requests.filter((r) => r.method !== "GET")).toEqual([]);
});

test("the package imports @schlessera/brain for types only, and ships no install hook or vendor SDK", () => {
Expand Down
6 changes: 3 additions & 3 deletions packages/compute-boat/tests/secrets.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ describe("the key and signed URLs stay out of everything but the API header", ()
expect(others).toEqual([]);
}
if (collected.kind !== "ok") throw new Error(collected.kind);
expect(collected.artifacts.map((artifact) => artifact.status)).toEqual(["collected", "collected"]);
for (const artifact of collected.artifacts) {
expect(artifact.status === "collected" && new TextDecoder().decode(artifact.data).includes(KEY)).toBe(false);
if (artifact.status === "collected") expect(new TextDecoder().decode(artifact.data)).not.toContain(KEY);
}
const printed = started.kind === "ok" ? JSON.stringify(seen[3]) : "";
expect(printed.includes("VOYAGE=ithaca")).toBe(true);
expect(JSON.stringify(seen[3])).toContain("VOYAGE=ithaca");
});

test("the fake refuses a signed-URL request that carries an Authorization header, as a stray key must never reach one", async () => {
Expand Down
21 changes: 15 additions & 6 deletions packages/core/tests/audit-grouped-findings.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ import { mkdirSync, mkdtempSync, rmSync, writeFileSync } from "fs";
import { tmpdir } from "os";
import { join } from "path";

import { audit, auditTotals, isoDay } from "../src/lib/auditor";
import { audit, auditTotals } from "../src/lib/auditor";
import { openDatabase, SCHEMA_VERSION } from "../src/lib/db";
import { buildTaxonomy } from "../src/lib/taxonomy";
import { brainConfigSchema } from "../src/lib/config";
import type { AuditIssue } from "../src/lib/types";
import { cleanup, makeTempBrain, runCli } from "./cli-harness";
import { hygieneCliClock } from "./hygiene-clock";

const NOW = new Date("2026-07-01T00:00:00Z");
const taxonomy = buildTaxonomy({ user: brainConfigSchema.parse({}) });
Expand Down Expand Up @@ -140,7 +141,12 @@ test("auditTotals: must-fix is errors plus warnings, informational is infos", ()

describe("over a real indexed brain", () => {
let root: string;
const today = isoDay(Date.now());
// The audit reads the clock: "today" and the child's clock are pinned
// together, so a run that crosses midnight cannot make review-today overdue.
const today = "2026-07-12";
const NOW_CLI = `${today}T12:00:00Z`;
const clockScratch = makeTempBrain({ empty: true });
const runAt = hygieneCliClock(clockScratch);
const doc = (title: string, body: string, extra = "") =>
`---\ntype: note\ntitle: ${title}\ncreated: 2026-01-01\nupdated: ${today}\ntags: [t]\nstatus: active\nrelevance: secondary\n${extra}---\n\n${body}\n`;

Expand Down Expand Up @@ -172,12 +178,15 @@ describe("over a real indexed brain", () => {
doc("Review archived", "See [[target]].", "next_review: 2026-01-02\n").replace("status: active", "status: archived")
);
expect((await runCli(root, ["index", "--json"])).code).toBe(0);
const { stdout, code } = await runCli(root, ["audit", "--json"]);
const { stdout, code } = await runAt(root, ["audit", "--json"], NOW_CLI);
expect(code).toBe(0);
audited = JSON.parse(stdout);
});

afterAll(() => cleanup(root));
afterAll(() => {
cleanup(root);
cleanup(clockScratch);
});

test("the index stores the declaration, and only where it is set", () => {
const db = openDatabase(join(root, ".brain-index", "brain.db"), { readonly: true });
Expand Down Expand Up @@ -281,10 +290,10 @@ describe("over a real indexed brain", () => {
});

test("maintain reports the same counts with must-fix and informational totals", async () => {
const { stdout } = await runCli(root, ["maintain", "--json", "--no-git"]);
const { stdout } = await runAt(root, ["maintain", "--json", "--no-git"], NOW_CLI);
const step = (JSON.parse(stdout) as { step: string; result: string }[]).find((s) => s.step === "audit");
// maintain reindexes first; nothing changed, so the audit is the same one.
const again = JSON.parse((await runCli(root, ["audit", "--json"])).stdout) as AuditOut;
const again = JSON.parse((await runAt(root, ["audit", "--json"], NOW_CLI)).stdout) as AuditOut;
expect(step?.result).toBe(
`${again.errors} error(s), ${again.warnings} warning(s), ${again.infos} info(s); ` +
`${again.errors + again.warnings} must-fix, ${again.infos} informational`
Expand Down
2 changes: 1 addition & 1 deletion packages/core/tests/auditor-canonical-policy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ describe("brain audit --json on a copy of the fixture corpus", () => {
growFocus(root);
const past = (await auditJson(root)).filter((i) => i.category === "past-date" && i.message.includes("2020-01-01"));
expect(past).toHaveLength(1);
expect(past[0].message.startsWith("Line ")).toBe(true);
expect(past[0].message).toStartWith("Line ");
});

test("with the root and a pinned clock, the line is the file's", async () => {
Expand Down
16 changes: 11 additions & 5 deletions packages/core/tests/briefing-audit-count.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,18 @@ import { existsSync, mkdirSync, writeFileSync } from "fs";
import { join } from "path";
import type { AuditIssue } from "../src/lib/types";
import { cleanup, makeTempBrain, runCli } from "./cli-harness";
import { hygieneCliClock } from "./hygiene-clock";

const roots: string[] = [];
afterAll(() => { for (const root of roots) cleanup(root); });

const today = new Date().toISOString().slice(0, 10);
// Audit and briefing both read the clock: pin it in the children, so a run
// that crosses midnight cannot change "0 day(s) ago" or a stale count.
const today = "2026-07-12";
const NOW = `${today}T12:00:00Z`;
const clockScratch = makeTempBrain({ empty: true });
roots.push(clockScratch);
const runAt = hygieneCliClock(clockScratch);
const note = (body: string) => `---
type: note
title: Odysseus's mast notes
Expand All @@ -35,13 +42,13 @@ async function indexed(files: Record<string, string>, fromCorpus = false): Promi
}

async function auditOutput(root: string): Promise<{ issues: AuditIssue[]; errors: number; warnings: number; infos: number; mustFix: number }> {
const result = await runCli(root, ["audit", "--json"]);
const result = await runAt(root, ["audit", "--json"], NOW);
expect(result.code).toBe(0);
return JSON.parse(result.stdout);
}

async function briefingOutput(root: string): Promise<string> {
const result = await runCli(root, ["briefing"]);
const result = await runAt(root, ["briefing"], NOW);
expect(result.code).toBe(0);
return result.stdout;
}
Expand All @@ -63,8 +70,7 @@ describe("briefing audit count", () => {
const audited = await auditOutput(root);
expect(audited.mustFix).toBeGreaterThan(0);
expect(audited.infos).toBeGreaterThan(0);
expect(audited.issues.some((issue) => issue.category === "todo")).toBe(true);
expect(audited.issues.some((issue) => issue.category === "verify")).toBe(true);
expect(audited.issues.map((issue) => issue.category)).toEqual(expect.arrayContaining(["todo", "verify"]));
expect(audited.mustFix).toBe(audited.errors + audited.warnings);
const briefing = await briefingOutput(root);
expect(briefing).toContain(mustFixLine(audited.mustFix));
Expand Down
Loading
Loading