
The include array in tsconfig.json restricts tsc to src, leaving the Playwright specs in e2e/ outside the type check. Broaden the include so npm run typecheck catches regressions in e2e tests as well.
Context
tsconfig.json currently sets "include": ["src"], which means tsc --noEmit never reads e2e/smoke.test.js. Any future Playwright helper that drifts from @playwright/test types — wrong fixture shape, misspelled locator API, missing await — will silently ship until it fails at runtime. Extending include to also cover e2e is a one-line change that tightens the LLM feedback loop: an agent that writes a new end-to-end test will get immediate type-check feedback instead of learning about the mistake only when Playwright runs.
Affected Files
tsconfig.json:13 — extend include to ["src", "e2e"]
Requirements

Verification
- npm ci
- npm run typecheck
- grep -n '"e2e"' tsconfig.json
Not In Scope
Evidence
tsconfig.json:13 — "include": ["src"] excludes the e2e directory from tsc
e2e/smoke.test.js:1 — Playwright spec exists but is never visited by the type checker
package.json:12 — typecheck script is plain tsc with no alternate project file to cover e2e
Arasaka Queue Planning Division.

The
includearray intsconfig.jsonrestrictstsctosrc, leaving the Playwright specs ine2e/outside the type check. Broaden the include sonpm run typecheckcatches regressions in e2e tests as well.Context
tsconfig.jsoncurrently sets"include": ["src"], which meanstsc --noEmitnever readse2e/smoke.test.js. Any future Playwright helper that drifts from@playwright/testtypes — wrong fixture shape, misspelled locator API, missing await — will silently ship until it fails at runtime. Extendingincludeto also covere2eis a one-line change that tightens the LLM feedback loop: an agent that writes a new end-to-end test will get immediate type-check feedback instead of learning about the mistake only when Playwright runs.Affected Files
tsconfig.json:13— extendincludeto["src", "e2e"]Requirements
tsconfig.jsonincludelists bothsrcande2e.npm run typechecksucceeds after the change with no new errors.Verification
Not In Scope
checkJs— that is tracked separately by issue EnablecheckJsintsconfig.jsonto activate type checking on.jssource files #170.e2edirectory layout or rename spec files.Evidence
tsconfig.json:13—"include": ["src"]excludes thee2edirectory fromtsce2e/smoke.test.js:1— Playwright spec exists but is never visited by the type checkerpackage.json:12—typecheckscript is plaintscwith no alternate project file to covere2eArasaka Queue Planning Division.