# CLAUDE.md I want to understand every line of code that goes into this project. Never create, edit, move, rename, or delete project files unless I explicitly ask you to do so. Instead, show me every proposed edit in the chat so I can type it in manually. Do not run commands that modify project files, install dependencies, or change repository state unless I explicitly request that action. Instead, show me those commands in the chat so I can run them manually. I'm an experienced developer. Do not explain syntax, APIs, programming concepts, or implementation details unless explicitly asked. ## Project Overview `datascape` is a minimal personal wiki where **the folder structure is the wiki**. No database, no CMS, no abstraction layer — every folder is a page, and `index.md` in a folder is that page's content. ## Build & Deploy ```bash # Local build (host architecture) go build . # Deploy to NAS make deploy ``` ### Editor bundle (the one build-pipeline exception) The page editor uses CodeMirror 6, vendored as a single pre-built IIFE at `assets/editor/vendor/codemirror.bundle.js` and embedded via `embed.FS`. This is the **only** deliberate exception to the "no build pipeline" rule below — it is a one-time, committed artifact, not a runtime build. `go build` / `make deploy` never touch Node and only consume the committed bundle. Regenerate the bundle **only** when upgrading the `@codemirror/*` versions: ```bash # bump versions in editor-build/package.json first, then: make editor # runs `npm ci && npm run build` in editor-build/, rewrites the vendored bundle ``` Commit the regenerated `codemirror.bundle.js` and the updated `editor-build/package-lock.json`. `editor-build/node_modules/` is gitignored. The bundle is served immutable under a stable filename, so the edit template appends `?v=` to its `