Context
test/playwright/playwright.config.e2e.mjs:70 excludes every whitebox spec that requests the neuralLink fixture whenever NEO_AGENTOS_RUNTIME_ROOT is unset. The exclusion is correct and deliberate — those specs need a sibling Brain checkout, and an Engine-only contributor must get a usable run without one.
What is not correct is that the exclusion is inaudible. Playwright's testIgnore removes files from selection; it does not skip them. Nothing in the run output, the summary, or --list states that a spec was dropped, so a reader cannot tell a suite that ran and passed from a suite that mostly did not run at all.
Measured at dev@274b63beac, 2026-09-04T00:46Z, by calling the config's own discoverExternalBrainSpecs():
total e2e spec FILES : 95
silently ignored when unset : 78 (82%)
actually runnable : 17
Three independent re-derivations of this same silence are on record in one week, each from a fresh live measurement, each by a different reader:
- 2026-09-03T15:40Z — the NL battery run:
--list matched 0 and the run printed Passed: 0 / Failed: 0 / Skipped: 0 over an empty selection, exit clean. That produced #18216 and #18218; the silence itself was never filed.
- 2026-09-03T23:30Z —
@neo-opus-ada: "every workstation e2e number I quoted before this was from a silently truncated 8-of-64 run", which invalidated a broadcast regression claim and cost two full suite runs and two bisects to unwind.
- 2026-09-04T00:32Z —
@neo-opus-ada again, sighted while auditing whether a green tick strip covered her own diff.
The finding is cheap to make and the fact that it is known is expensive to find. That asymmetry is why it keeps costing a reader a full re-derivation.
The Problem
The failure class is false green, not missing coverage. A suite may legitimately run a subset; it may not report that subset as though it were the whole. The two states below are indistinguishable from the output:
| state |
what the reader sees |
what actually happened |
| Brain checkout present |
95 files, N passed |
the whole tier ran |
NEO_AGENTOS_RUNTIME_ROOT unset |
17 files, N passed |
78 files were never selected |
Neither line says 78. There is no count, no warning, no non-zero exit, and Skipped: 0 actively asserts the opposite of what happened — Playwright reserves "skipped" for tests it selected and chose not to run, and these were never selected.
This is not the question settled by #17853 / #15110 / #14685. Those declined putting e2e into CI; the operator's design is that e2e runs outside CI, failing-honest, with NEO_TEST_SKIP_CI owning exclusions. That ruling says where e2e runs. It does not license a suite to under-report what it ran, and the failing-honest discipline it rests on is precisely what the silence defeats. This ticket changes no execution policy and adds no CI job.
The Architectural Reality
test/playwright/playwright.config.e2e.mjs:49 — discoverExternalBrainSpecs(root) walks test/playwright/e2e, reads each *.spec.mjs, and returns an exact-file RegExp for every one matching /\bneuralLink\b/.
test/playwright/playwright.config.e2e.mjs:70 — const externalBrainTestIgnore = process.env.NEO_AGENTOS_RUNTIME_ROOT ? [] : discoverExternalBrainSpecs(...). The ternary is the whole gate, and it is the only place the count exists.
test/playwright/playwright.config.e2e.mjs:91 — testIgnore: externalBrainTestIgnore feeds it to defineConfig.
test/playwright/fixtures.mjs:48-71 — the fixture side is already loud: an unset or non-absolute root throws with a message naming the variable. The asymmetry is the bug — the fixture explains itself, the selection does not.
The count is known at config-evaluation time and thrown away there. It is not recoverable later: the reporter never learns about files that were not selected, and --list does not instantiate reporters at all.
The Fix
Emit one notice at the point the ignore set is computed, in playwright.config.e2e.mjs, naming the count and the variable that would restore it. Non-fatal — the Engine-only run must keep working, unchanged, for a contributor with no Brain checkout.
Config-evaluation time is the correct seam and the only one that covers every entry point:
--list prints no reporter output, and a bare --list matching 0 is exactly the signal that has confused readers three times;
- the custom reporter (
./e2e/custom-reporter.js) cannot see unselected files at all;
- a second statement of the count in a second place would drift from the ternary that owns it.
Shape (not final wording):
e2e: NEO_AGENTOS_RUNTIME_ROOT is unset — 78 of 95 spec files are excluded (they require an external Brain checkout). Set it to an absolute neo-agent-brain checkout root to run them.
The 95 and 78 are derived from the same walk, never hardcoded.
Decision Record impact
none. Aligned with #14685's outside-CI design rather than amending it — this makes the failing-honest discipline that ADR-adjacent ruling depends on actually legible, and touches no workflow, no npm script, and no execution policy.
Acceptance Criteria
Out of Scope
- Putting e2e into any CI workflow. Declined three times — #14685 (design), #15110, #17853 — and re-proposing it is how a settled ruling gets re-litigated by attrition.
- Reinstating an out-of-CI scheduler. Retired by the operator in both repos (Brain #190 / PR #203); reinstatement is an operator call, not an engineering gap.
- Making the exclusion fatal, or reducing it. Engine-only runs without a Brain checkout must keep working exactly as they do now — contributor-runnability is an architectural property of the suite.
- The 78 excluded specs' own health. Whether they pass is #17844's question, not this one.
- The fresh-worktree portal e2e failure sighted at 2026-09-04T00:43Z. Different mechanism, separate disposition.
Avoided Traps
- Failing when the variable is unset. The obvious "make it loud" move, and it locks out every contributor without a Brain checkout — the exact lock-out that made a live Brain connection unacceptable for the suite in the first place. Loud ≠ fatal.
- Reporting it as
Skipped: 78. Would require selecting the files and skipping each, which loads 78 spec modules that import a fixture that throws by design. The count belongs in a notice, not in the skip channel.
- Putting the notice in the custom reporter. Reads naturally — it is where a human forms the "green" judgement — but the reporter cannot see unselected files, and
--list never constructs one.
- Bundling this with the CI question. It is why the finding kept getting held back rather than filed: bundled, it inherits a decline it does not deserve.
Related
- #17853 — The e2e suite runs in no CI workflow (CLOSED/NOT_PLANNED). The adjacent, declined question. Read its close comment before proposing anything CI-shaped here.
- #15110, #14685 — the two earlier dispositions of that same CI question.
- #17844 — Run the dock NL whitebox battery against the external Brain runtime. Owns whether the 78 pass; this ticket owns whether their absence is audible.
- #18216, #18218 — filed from the 2026-09-03 battery run that first hit this silence.
- #18243 / PR #18244 — the workstation spec-rot lane where the truncated-run cost surfaced again.
Origin Session ID: d52546bc-3057-45d9-8e49-9a8eb88b85a0
Retrieval Hint: query_raw_memories("e2e config testIgnore silently drops neuralLink specs when NEO_AGENTOS_RUNTIME_ROOT unset") · playwright.config.e2e.mjs:70 · discoverExternalBrainSpecs
Live latest-open sweep: checked the latest 20 open issues at 2026-09-04T00:49Z; no equivalent found. A2A in-flight claim sweep over the last 30 messages, all read-states, ~last 60 min: no overlapping [lane-claim] — the 00:32 sighting explicitly declined to file and invited a taker. Memory Core rationale sweep on the symptom's nouns: surfaced three prior re-derivations, no prior decision on the silence itself. Own-assignment sweep over 15 open tickets: #17844 is same-surface but owns the specs' health, not the reporting.
Context
test/playwright/playwright.config.e2e.mjs:70excludes every whitebox spec that requests theneuralLinkfixture wheneverNEO_AGENTOS_RUNTIME_ROOTis unset. The exclusion is correct and deliberate — those specs need a sibling Brain checkout, and an Engine-only contributor must get a usable run without one.What is not correct is that the exclusion is inaudible. Playwright's
testIgnoreremoves files from selection; it does not skip them. Nothing in the run output, the summary, or--liststates that a spec was dropped, so a reader cannot tell a suite that ran and passed from a suite that mostly did not run at all.Measured at
dev@274b63beac, 2026-09-04T00:46Z, by calling the config's owndiscoverExternalBrainSpecs():Three independent re-derivations of this same silence are on record in one week, each from a fresh live measurement, each by a different reader:
--listmatched 0 and the run printedPassed: 0 / Failed: 0 / Skipped: 0over an empty selection, exit clean. That produced #18216 and #18218; the silence itself was never filed.@neo-opus-ada: "every workstation e2e number I quoted before this was from a silently truncated 8-of-64 run", which invalidated a broadcast regression claim and cost two full suite runs and two bisects to unwind.@neo-opus-adaagain, sighted while auditing whether a green tick strip covered her own diff.The finding is cheap to make and the fact that it is known is expensive to find. That asymmetry is why it keeps costing a reader a full re-derivation.
The Problem
The failure class is false green, not missing coverage. A suite may legitimately run a subset; it may not report that subset as though it were the whole. The two states below are indistinguishable from the output:
95 files, N passedNEO_AGENTOS_RUNTIME_ROOTunset17 files, N passedNeither line says 78. There is no count, no warning, no non-zero exit, and
Skipped: 0actively asserts the opposite of what happened — Playwright reserves "skipped" for tests it selected and chose not to run, and these were never selected.This is not the question settled by #17853 / #15110 / #14685. Those declined putting e2e into CI; the operator's design is that e2e runs outside CI, failing-honest, with
NEO_TEST_SKIP_CIowning exclusions. That ruling says where e2e runs. It does not license a suite to under-report what it ran, and the failing-honest discipline it rests on is precisely what the silence defeats. This ticket changes no execution policy and adds no CI job.The Architectural Reality
test/playwright/playwright.config.e2e.mjs:49—discoverExternalBrainSpecs(root)walkstest/playwright/e2e, reads each*.spec.mjs, and returns an exact-fileRegExpfor every one matching/\bneuralLink\b/.test/playwright/playwright.config.e2e.mjs:70—const externalBrainTestIgnore = process.env.NEO_AGENTOS_RUNTIME_ROOT ? [] : discoverExternalBrainSpecs(...). The ternary is the whole gate, and it is the only place the count exists.test/playwright/playwright.config.e2e.mjs:91—testIgnore: externalBrainTestIgnorefeeds it todefineConfig.test/playwright/fixtures.mjs:48-71— the fixture side is already loud: an unset or non-absolute root throws with a message naming the variable. The asymmetry is the bug — the fixture explains itself, the selection does not.The count is known at config-evaluation time and thrown away there. It is not recoverable later: the reporter never learns about files that were not selected, and
--listdoes not instantiate reporters at all.The Fix
Emit one notice at the point the ignore set is computed, in
playwright.config.e2e.mjs, naming the count and the variable that would restore it. Non-fatal — the Engine-only run must keep working, unchanged, for a contributor with no Brain checkout.Config-evaluation time is the correct seam and the only one that covers every entry point:
--listprints no reporter output, and a bare--listmatching 0 is exactly the signal that has confused readers three times;./e2e/custom-reporter.js) cannot see unselected files at all;Shape (not final wording):
The
95and78are derived from the same walk, never hardcoded.Decision Record impact
none. Aligned with #14685's outside-CI design rather than amending it — this makes the failing-honest discipline that ADR-adjacent ruling depends on actually legible, and touches no workflow, no npm script, and no execution policy.Acceptance Criteria
NEO_AGENTOS_RUNTIME_ROOTunset prints a notice naming both the excluded count and the total, before any test executes.npx playwright test --config=test/playwright/playwright.config.e2e.mjs --list.NEO_AGENTOS_RUNTIME_ROOTset to a valid absolute Brain checkout root prints no notice, and the selected-file count is unchanged from today.discoverExternalBrainSpecsand the same directory walk — a spec file added or removed changes the numbers with no edit to the notice.Out of Scope
Avoided Traps
Skipped: 78. Would require selecting the files and skipping each, which loads 78 spec modules that import a fixture that throws by design. The count belongs in a notice, not in the skip channel.--listnever constructs one.Related
Origin Session ID: d52546bc-3057-45d9-8e49-9a8eb88b85a0
Retrieval Hint:
query_raw_memories("e2e config testIgnore silently drops neuralLink specs when NEO_AGENTOS_RUNTIME_ROOT unset")·playwright.config.e2e.mjs:70·discoverExternalBrainSpecsLive latest-open sweep: checked the latest 20 open issues at 2026-09-04T00:49Z; no equivalent found. A2A in-flight claim sweep over the last 30 messages, all read-states, ~last 60 min: no overlapping
[lane-claim]— the 00:32 sighting explicitly declined to file and invited a taker. Memory Core rationale sweep on the symptom's nouns: surfaced three prior re-derivations, no prior decision on the silence itself. Own-assignment sweep over 15 open tickets: #17844 is same-surface but owns the specs' health, not the reporting.