1.2 KiB
1.2 KiB
Personal instructions
Where code lives
- "The code", "the repo", "the monorepo", or any general code question refers to
~/Projects/cleo-infinite. - Anything mentioning Retool refers to
~/Projects/cleo-retool.
Worktrees
- Never write or edit code in the main checkouts (
~/Projects/cleo-infinite,~/Projects/cleo-retool). Work in a treehouse worktree under~/.local/share/treehouse/<repo>-<hash>/<slot>/<repo>. Check withgit rev-parse --show-toplevelandgit worktree list. - If code changes are needed and the current directory is not a treehouse worktree, start one yourself without asking first, then continue there. Read-only investigation can stay where it is.
- Treehouse is a zsh alias for
nix run github:kunchenguid/treehouse --, so it is not on PATH in non-interactive shells. Run the fullnix runform, and run it with--helpfirst rather than guessing subcommands or flags. - Branch names follow the repo's own rules (cleo-infinite:
<JIRA-KEY>-short_slugfrom latestorigin/main). Take the Jira key from the user or the current branch. If there isn't one, ask. Never invent a key. - A pool slot sitting on a detached HEAD is not necessarily free. Don't reuse a slot that has uncommitted changes or that another session may be using.