Dev Workflow
Setup
git clone https://github.com/cuongtranba/kannacd kannabun installRun dev server
bun run devOpens at http://localhost:3210 with HMR.
Worktrees
Long-running changes belong in a git worktree to isolate them from the main checkout:
git worktree add -b feat/<topic> .claude/worktrees/<topic> maincd .claude/worktrees/<topic>Fast test iteration
bun test src/server/<file>.test.tsThe full bun test is fast (~30s on M1) but a single suite is faster for tight loops.
C3 docs
Before changing component boundaries, run /c3 query <topic>. After, run /c3 change to keep docs in sync. See Architecture.