From d68244bd1a5dc322b24e82ebaf9d6efaff2c0371 Mon Sep 17 00:00:00 2001 From: Michael Czechowski Date: Wed, 25 Feb 2026 17:11:46 +0100 Subject: [PATCH] Add CLAUDE.md with project conventions and tool preferences Co-Authored-By: Claude Opus 4.6 --- CLAUDE.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..6bca153 --- /dev/null +++ b/CLAUDE.md @@ -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: `https://git.librete.ch/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