# Notes rules Each project keeps its local working notes in `.notes/` at the project root: design docs, work that spans sessions, and questions parked for later. The notes are never committed to the project. The `notes` skill does the mechanics (creating the dir, picking ids, close-out). ## Layout ``` .notes/ # its own git repo, never pushed README.md # one line pointing here index.html # generated: the overview, links only notes.css # generated: copy of the skill's stylesheet every page uses _pages/ # generated: questions, briefs and other markdown rendered to pages _out/ # generated: other/out/ made self-contained, css inlined, for sending docs/ # dNNN-slug.html, or dNNN-slug/index.html with its assets work/ # wNNN-slug/ while in flight, removed at close-out questions/ # qNNN-slug.md, removed when settled other/ in/ # placed by the user out/ # prepared for someone else ``` - created on first need (the first doc, work item or question in a project), not up front - the generated files are rebuilt by the skill's `notes.py` on every commit and never committed; browse every project's notes at once with `notes.py serve` (one port, roots `$NOTES_ROOTS`, else `~/git`), or one project with `python -m http.server -d .notes` - every page has a back link to the index; ids like `d007` or `q014` in markdown become links ## Numbering - `-`: `d` docs, `w` work, `q` questions; each letter has its own counter, three digits, lowercase kebab slug - numbers are never reused, including numbers of deleted items: the next id is the highest ever used in that bucket (files plus `git -C .notes log --all --name-only`) + 1 - refer to items by id everywhere: chat, other notes, commit subjects ("see q014", "per d007") - `other/` is not numbered ## docs - point-in-time design docs: plans, proposals, research, reviews; html per the output format rules - one look for all docs: link `notes.css`, start `main.page` with `nav.back`, use only the components documented at the top of `notes.css`, no `