Skip to content
Merged
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
17 changes: 17 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,20 @@ Bumps version, builds, tags, and runs `npm link`. No npm publish (local tool).
## CI

GitHub Actions runs on push/PR to main: install → lint → typecheck → build → test.

## Quality Gate — MANDATORY Before Declaring Done

**The work is not done until ALL of these pass:**

1. `npm run typecheck` — zero errors
2. `npm run lint` — zero errors (use `lint:fix` first)
3. `npm run build` — succeeds
4. `npm test` — all tests pass
5. **New logic requires new tests.** If you added or changed a function, write a test for it.
6. **If you can't make tests pass, say so explicitly.** Do not silently skip failing tests.

### Anti-Patterns — DO NOT:
- ❌ Commit without running the full verify suite (typecheck + lint + build + test)
- ❌ Skip writing tests for new functionality
- ❌ Declare "done" when tests are failing
- ❌ Assume the code works because it compiles