Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/bin/
/node_modules/
.worktrees/
.env
.env.*
!.env.local.sample
Expand Down
5 changes: 5 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
- Conventional commits: `feat:`, `fix:`, `chore:`
- Merge PRs with `--merge` (never `--squash` or `--rebase`)

## Worktrees
- **Canonical location**: worktrees go in `.claude/worktrees/<name>/` (repo-relative), one per branch — gitignored as part of the `.claude/` ignore, and the same convention across all trakrf repos (docs/platform/infra). Since this repo ignores all of `.claude/`, this CLAUDE.md line is the only in-repo signal of the convention — keep it explicit.
- **Create** with the native `EnterWorktree` tool (writes to `.claude/worktrees/<name>`, auto-creates branch `worktree-<name>` — rename to a `feat/...`/`fix/...` branch after if desired). Do NOT use manual `git worktree add`, and do NOT create a `.worktrees/` dir or a `.claude/worktrees -> ../.worktrees` symlink (fresh-clone footgun). Manual `git worktree` is only the superpowers fallback for harnesses with no native tool — not us.
- **Cleanup**: `git worktree list` is authoritative (empty leftover dirs are not worktrees); use `ExitWorktree` (or `git worktree remove`) to leave/remove.

## Project Structure
- `terraform/bootstrap/` — one-time Cloudflare setup (R2 state bucket, API tokens)
- `terraform/cloudflare/` — Cloudflare infrastructure (DNS, Pages, email)
Expand Down
Loading