This project uses br (beads) for issue tracking. Run br agents to get started.
br ready # Find available work
br show <id> # View issue details
br update <id> --status in_progress # Claim work
br close <id> # Complete work
br sync # Sync with gitWhen ending a work session, you MUST complete ALL steps below. Work is NOT complete until git push succeeds.
MANDATORY WORKFLOW:
- File issues for remaining work - Create issues for anything that needs follow-up
- Run quality gates (if code changed) - Tests, linters, builds
- Update issue status - Close finished work, update in-progress items
- PUSH TO REMOTE - This is MANDATORY:
git pull --rebase br sync git push git status # MUST show "up to date with origin" - Clean up - Clear stashes, prune remote branches
- Verify - All changes committed AND pushed
- Hand off - Provide context for next session
CRITICAL RULES:
- Work is NOT complete until
git pushsucceeds - NEVER stop before pushing - that leaves work stranded locally
- NEVER say "ready to push when you are" - YOU must push
- If push fails, resolve and retry until it succeeds
The installer (install.sh) downloads binaries from GitHub Releases, not from the main branch directly.
When to create a release:
- Changes to the CLI binary (new commands, bug fixes, behavior changes)
- Changes to embedded snippets (
src/integrate/snippets.ts) - Any change that affects what users get from
install.sh
How to create a release:
# 1. Bump version
npm version <major|minor|patch> --no-git-tag-version
# 2. Build
npm run build
# 3. Package binary
mkdir -p release
tar -czvf release/liquid-mail-darwin-arm64.tar.gz -C dist liquid-mail
# 4. Commit, tag, push
git add package.json src/version.ts
git commit -m "Bump version to vX.Y.Z"
git tag vX.Y.Z
git push && git push origin vX.Y.Z
# 5. Create release with binary
gh release create vX.Y.Z release/liquid-mail-darwin-arm64.tar.gz --title "vX.Y.Z" --notes "Release notes here"Note: Currently only darwin-arm64 binary is built. For cross-platform releases, additional builds would be needed.
Beads owns task state (br). Liquid Mail owns the shared log: progress, decisions, and context that survives sessions.
- Start:
br readyto find work, thenbr update <id> --status in_progress - Check context:
liquid-mail notifyandliquid-mail query "<id>" - Work: Log progress as you go. Topic required on first post, pinned after.
liquid-mail post --topic auth-system "[lm-jht] FINDING: Token refresh in middleware" liquid-mail post --decision "[lm-jht] DECISION: Move refresh to AuthService"
- Complete:
br close <id>, then post a summary. - Sync:
br sync --flush-only, thengit add .beads/ && git commit && git push
- Short (5-15 lines). Prefix:
FINDING:,DECISION:,QUESTION:,NEXT: - Include file paths (
src/auth.ts:42) and issue IDs ([lm-jht]) - Post
DECISION:messages before risky changes, not after - User-facing replies: include
AGENT: <window-name>(liquid-mail window name) - Topics: 4-50 chars, lowercase + hyphens.
liquid-mail topicsto list,liquid-mail queryto search.