The Problem
playwright.config.e2e.mjs:70 drops every spec containing neuralLink when NEO_AGENTOS_RUNTIME_ROOT is unset:
const externalBrainTestIgnore = process.env.NEO_AGENTOS_RUNTIME_ROOT
? []
: discoverExternalBrainSpecs(path.resolve(import.meta.dirname, 'e2e'));Narrowing is correct — those specs need a Brain checkout. Doing it silently is not. Measured tonight on test/playwright/e2e/workstation/:
| env |
arms run |
what the summary says |
NEO_AGENTOS_RUNTIME_ROOT set |
64 |
18 failed / 41 passed / 5 skipped |
| unset |
8 |
5 failed / 3 passed |
Nothing in the second output names the 56 arms that never ran. Playwright's testIgnore excludes files before collection, so they are not counted as skipped — there is no line to read and no number to notice. A run that measured an eighth of the surface is indistinguishable from one that measured all of it.
This is a false-green, not a coverage-policy question. Whether e2e belongs in CI is settled and declined — #14685 (COMPLETED: e2e lives outside CI by design), #15110 and #17853 (both NOT_PLANNED). This ticket does not reopen that. #14685's ruling is "e2e runs outside CI"; it is not "a suite may lie about what it ran."
Cost, measured
Every workstation e2e number I published before 2026-09-03T23:00Z came from the 8-arm run and had to be retracted to the team. It also produced a wrong regression claim: the truncated set reported 5 failed / 3 passed on both dev and a baseline, which reads as "nothing changed" — while the full 64-arm set showed 2 arms fixed and 2 newly red. The truncation did not just hide coverage; it hid a state change.
The Fix
Make the narrowing visible. It does not need to fail — a seat without a Brain checkout legitimately cannot run those specs — it needs to say what it did:
- when
externalBrainTestIgnore is non-empty, print the count of ignored spec files and the reason (NEO_AGENTOS_RUNTIME_ROOT unset) once at config load, so it appears above the run;
- prefer a form that survives the custom reporter, since the summary line is what a reader actually quotes.
Acceptance Criteria
Out of Scope
- Whether e2e should run in CI — settled, declined three times (#14685, #15110, #17853). Reopening is an operator call, not an engineering gap, and #17853 records that #17422 lands first if the answer is ever yes.
- The nightly host-side scheduler, retired by operator directive (Brain #190 / PR #203).
- The 15 workstation arms red at both
3c432c50f3 and dev@274b63beac. Pre-existing and unattributed.
Avoided Traps
- Making it fail hard. A seat without a Brain checkout would then be unable to run any e2e at all — that trades a silent narrowing for a hard block, which is worse.
- Bundling this with the CI question. That is exactly how a declined ruling gets re-litigated by attrition; @neo-opus-grace measured three independent re-derivations of #17853 in one night.
Related
#14685, #15110, #17853 (the declined CI question, named so this is not read as reopening it) · #18243 (the two arms whose state change the truncation hid)
Origin Session ID: 7596538d-5324-419a-b043-95c585d833ea
Retrieval Hint: e2e testIgnore externalBrainTestIgnore NEO_AGENTOS_RUNTIME_ROOT silent truncation false green 8 of 64 arms suite lies about what it ran
The Problem
playwright.config.e2e.mjs:70drops every spec containingneuralLinkwhenNEO_AGENTOS_RUNTIME_ROOTis unset:const externalBrainTestIgnore = process.env.NEO_AGENTOS_RUNTIME_ROOT ? [] : discoverExternalBrainSpecs(path.resolve(import.meta.dirname, 'e2e'));Narrowing is correct — those specs need a Brain checkout. Doing it silently is not. Measured tonight on
test/playwright/e2e/workstation/:NEO_AGENTOS_RUNTIME_ROOTset18 failed / 41 passed / 5 skipped5 failed / 3 passedNothing in the second output names the 56 arms that never ran. Playwright's
testIgnoreexcludes files before collection, so they are not counted as skipped — there is no line to read and no number to notice. A run that measured an eighth of the surface is indistinguishable from one that measured all of it.This is a false-green, not a coverage-policy question. Whether e2e belongs in CI is settled and declined — #14685 (COMPLETED: e2e lives outside CI by design), #15110 and #17853 (both NOT_PLANNED). This ticket does not reopen that. #14685's ruling is "e2e runs outside CI"; it is not "a suite may lie about what it ran."
Cost, measured
Every workstation e2e number I published before 2026-09-03T23:00Z came from the 8-arm run and had to be retracted to the team. It also produced a wrong regression claim: the truncated set reported
5 failed / 3 passedon bothdevand a baseline, which reads as "nothing changed" — while the full 64-arm set showed 2 arms fixed and 2 newly red. The truncation did not just hide coverage; it hid a state change.The Fix
Make the narrowing visible. It does not need to fail — a seat without a Brain checkout legitimately cannot run those specs — it needs to say what it did:
externalBrainTestIgnoreis non-empty, print the count of ignored spec files and the reason (NEO_AGENTOS_RUNTIME_ROOTunset) once at config load, so it appears above the run;Acceptance Criteria
Out of Scope
3c432c50f3anddev@274b63beac. Pre-existing and unattributed.Avoided Traps
Related
#14685, #15110, #17853 (the declined CI question, named so this is not read as reopening it) · #18243 (the two arms whose state change the truncation hid)
Origin Session ID: 7596538d-5324-419a-b043-95c585d833ea
Retrieval Hint:
e2e testIgnore externalBrainTestIgnore NEO_AGENTOS_RUNTIME_ROOT silent truncation false green 8 of 64 arms suite lies about what it ran