bimtex
Reference

Repository map

Where the schema, compiler, drawings, validator, generated evidence and website live.

lib/
  entity-schema.mjs   wire-format truth
  compile.mjs         entities → solids
  draw.mjs            solids → SVG fragments
  validate.mjs        compiled model → diagnostics
  view-set.mjs        useful 3D and section views
  ai/                 the agent entry — syntax card, vocabulary, tool schemas, inspect
  drafter/            the shipped agent loop — see /docs/loop
packs/                appearance catalogue: lookdefs, materials, reference photos
scripts/
  build-examples.mjs  compile every example model
  build-web.mjs       gallery data and SVG evidence
examples/             NDJSON fixtures and generated sheets
docs/spec/            architectural contracts
docs/tutorial/        generated restaurant walkthrough
website/              Next.js + Fumadocs site: docs, playground, studio
test/                 acceptance and golden drawing tests
bin/                  the bimtex CLI

docs/system/ does not exist in this repository; docs/spec/ is the architecture source of truth. Generated output lives in web/data/, examples/*/sheets/ and dist/ and is intentionally gitignored.