cde93883bd
- .planning/season-7-end-state.md answers principle-level the three questions per CONTEXT D-08: (a) what rest state means, (b) what the finite Roothold ceiling is tied to (count of authored fragments + Seasons), (c) the coda's tonal register (warm/quiet/specific/final). Cites SEAS-04, SEAS-09, SEAS-10, STRY-08; ROADMAP Phase 7; PITFALLS #1. - Includes the explicit 'What this document is NOT' boundary section so treatment-level scope creep is structurally rejected (binary-choice scene text, ending paragraph text, Lura's final line, credits screen — all authored Phase 7, not Phase 1). - scripts/doctrine.test.ts is the only automated enforcement of both Phase-1 doctrine docs (per CONTEXT D-07: no UX-string lint rule). Asserts file existence + required H2 sections + required source citations + boundary disclaimer. 8 assertions / 2 doc files. - vitest.config.ts include glob extended to scripts/**/*.test.ts so doctrine.test.ts is discovered by 'npm test'. - tsconfig.node.json include extended to scripts/**/*.ts so the strict-TS gate covers the new doc-lint test alongside the existing build configs. - 'npm test' green: 2 test files, 9 tests passing (sentinel + doctrine). - Per CONTEXT D-09: lives in .planning/, not docs/. Rule 3 [Blocking]: vitest.config.ts and tsconfig.node.json include globs extended to discover the new TypeScript test file (existing globs only covered .mjs scripts and src/ tests).
22 lines
568 B
JSON
22 lines
568 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2023",
|
|
"lib": ["ES2023"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedSideEffectImports": true
|
|
},
|
|
"include": ["vite.config.ts", "vitest.config.ts", "playwright.config.ts", "scripts/**/*.mjs", "scripts/**/*.ts"]
|
|
}
|