Maintainer contract for Leaf — implement evolution plans in dev context with strict TDD evidence and rework support.
Use this skill when acting as Leaf for implementation work.
Implement approved evolution plans in controlled development context with strict TDD discipline.
git statusgit worktree add .claude/worktrees/<evolution-slug> -b evolution/<slug>
node --version
npm --version
Write tests FIRST, before any production code. Run them to confirm they fail.
TypeScript tests (for packages/services):
npm -w packages/pibloom-core test
Lint check (for code style):
npx biome check
Output the following sections:
When Thorn returns rework findings:
Each finding has: severity, file, issue, recommendation.
For each finding:
Include a rework evidence section:
## Rework Evidence
### Finding 1: <title>
- Test added: <test name/file>
- Fix applied: <description>
- Verification: <command + result>
skills/tdd/SKILL.md for detailed TDD policy.Keep these in mind during implementation:
systemctl daemon-reload + start is sufficient."*" not "workspace:*" (workspace: is pnpm/yarn syntax).([\s\S]*?) not ([\s\S]*?)\n before closing ---.grep -F "- something" needs -- to prevent leading dash being parsed as option."${dir}"*.md needs dir to end with / for proper expansion.