Files
sql-server-query-ai/kb/Unit suites.md
T
ahmed mohammedandClaude Opus 4.7 8b42a0931c docs: karpathy-pattern wiki built from the spec, plan, design contract and decisions ledger
kb/ is its own wiki root: 34 pages across 7 categories, index.md catalog, log.md, AGENTS.md schema layer, and raw/ holding copies of README, the spec, the 13-task plan, the design master and the SDD ledger.

Every page cross-references 3 to 6 others and all 107 wikilinks resolve except two [["list"]] artefacts inside JSON snippets in the copied plan.

Kept separate from the repository root on purpose: its generated graph lands in kb/.ua/ instead of overwriting the code graph.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-22 12:14:05 +03:00

887 B

Unit suites

npm test runs node --no-warnings --test tests/*.test.ts — 43 tests, no test framework installed, nothing external. The analyst and Jev are exercised through injected fetch, so no key and no network is needed.

Constraints that shape the code, not the tests: modules loaded by bare node --test cannot resolve the @ import alias, so test-imported modules import each other by relative ./x.ts path (which is why allowImportingTsExtensions is on), and next/headers plus next/navigation are imported lazily inside lib/auth.ts.

The digest suite is the one that grew teeth: it now asserts nesting depth beyond the parser default, table names taken from <Object> children, character-reference decoding, six plan-file encodings, and that a truncated plan's error names a reason.

Related: Playwright projects, Smoke script, Plan file encoding.