Add CLAUDE.md with project conventions and tool preferences

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-25 17:11:46 +01:00
parent 1230c6a538
commit 3e10fde0e1

32
CLAUDE.md Normal file
View File

@@ -0,0 +1,32 @@
# librenot.es
Cloud-native multi-tenant notes application built on Notesium (MIT).
## Project
- Repo: https://git.librete.ch/public/librenotes
- Remote: `ssh://tengo@git.librete.ch:41240/public/librenotes.git`
- Stack: Go backend (forked from Notesium), vanilla JS frontend
- License: MIT (inherited from Notesium)
## Development rules
- **NEVER use sed** for file editing — use perl instead
- **NEVER install packages on host** — no pip, no nix-shell for deps
- **NEVER use python** for quick scripts — use perl
- **NEVER commit to the wrong repo** — this is `/home/mwc/Coding/librenotes`, not `/home/mwc/notes`
## Wave pipelines
- `gt-issue-*` pipelines use `tea` CLI with `--login librete`
- `gh-issue-*` pipelines use `gh` CLI
- Personas must be registered in `wave.yaml` under `personas:` key — files alone aren't enough
- `wave.yaml` is gitignored (local config)
- `.env` contains GITEA_TOKEN (gitignored)
## Gitea
- Instance: https://git.librete.ch
- Auth: `tea` CLI, login name `librete`
- API: https://git.librete.ch/api/v1
- Issues: https://git.librete.ch/public/librenotes/issues