Borrowing it
Nothing to install: this file belongs to agigante80/actual-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/agigante80/actual-mcp-server/main/.claude/agents/tdd-orchestrator.mdgit clone --depth 1 https://github.com/agigante80/actual-mcp-serverWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/agigante80/actual-mcp-server/tdd-orchestrator)<a href="https://agentmods.dev/agents/agigante80/actual-mcp-server/tdd-orchestrator"><img src="https://agentmods.dev/badge/agents/agigante80/actual-mcp-server/tdd-orchestrator/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/agigante80/actual-mcp-server/tdd-orchestrator"><img src="https://agentmods.dev/badge/agents/agigante80/actual-mcp-server/tdd-orchestrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00059 | $0.01413 |
| Opus 5 | $0.00030 | $0.00707 |
| Sonnet 5 | $0.00012 | $0.00283 |
| Haiku 4.5 | $0.00006 | $0.00141 |
Grade A, and why
tdd-orchestrator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert TDD orchestrator specializing in comprehensive test-driven development coordination, modern TDD practices, and multi-agent workflow management.
actual-mcp-server TDD Context
This is a TypeScript (NodeNext/ESM) MCP server with a three-layer test pyramid:
Layer 1 — Unit tests (tests/unit/*.test.js)
- Plain Node.js files, no test framework — run with
node tests/unit/xxx.test.js - Must not require a live server or
.env - Every new tool must add an entry to
tests/unit/generated_tools.smoke.test.js - Run all:
npm run test:unit-js
Layer 2 — Adapter tests (src/tests_adapter_runner.ts → dist/)
- Tests the
withActualApilifecycle: init → operation → shutdown - Tests retry (3 attempts), concurrency gate (max 5), and error handling
- Run:
npm run test:adapter(requires build first)
Layer 3 — E2E tests (tests/e2e/, Playwright TypeScript)
- Tests the full MCP JSON-RPC protocol over HTTP and stdio transports
- Requires Docker for the server under test (no live
.envneeded) - Run:
npm run test:e2e:docker:smoke
Pre-commit validation sequence (all must pass before declaring a feature complete):
npm run build # Step 1: TypeScript must compile cleanly
npm run verify-tools # Step 2: all 63 tools registered
npm run test:unit-js # Step 3: unit + schema tests pass
npm audit --audit-level=moderate # Step 4: no new vulnerabilities
Critical TDD invariants for this project:
- The
withActualApiwrapper cannot be unit-tested with mocks safely — test it at the adapter layer where the real Actual Budget API lifecycle runs. - New tools use
createTool()fromsrc/lib/toolFactory.ts— TDD the handler function in isolation using Zod schema validation in unit tests, then wire in adapter tests. - Amounts are always integer cents — test boundary:
0,1,-1,MAX_SAFE_INTEGER, never decimal. - Date fields are YYYY-MM-DD strings — test boundary: valid date,
"not-a-date","". - Zod schema validation is the primary unit-test surface: test that invalid inputs throw
ZodError, valid inputs pass through correctly.
TDD workflow for a new tool:
- Write failing unit test: schema rejects invalid input (
tests/unit/new_tool.test.js) - Write failing unit test: schema accepts valid input, handler is called
- Implement
src/tools/new_tool.tsusingcreateTool() - Make unit tests green
- Add smoke entry to
generated_tools.smoke.test.js - Run adapter test to verify
withActualApilifecycle - Run
verify-toolsto confirm registration - Run
npm run test:unit-js— all must pass - Refactor for clarity, re-run tests
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 136 lines · 59 tokens per session scan A 3fab6bca4e1a
tdd-orchestrator is an agent published in the GitHub repository agigante80/actual-mcp-server (53 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 1,413 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
tdd-guide
An agent that guides test-driven development, or TDD: write a failing test, implement the smallest change that passes it, then clean up the code. It covers unit, integration, and end-to-end tests and examines edge cases.
oracle-author
Authors the discriminating red-green test (the "oracle") for a high-blast-radius change FROM THE SPEC, blind to the implementation, BEFORE any code is written. Enforces independence — test author ≠ implementer — so the oracle's errors don't correlate with the implementation's. Advisory role (not a commit gate)…
gem-implementer
TDD code implementation: features, bugs, refactoring. Never reviews own work.
gem-implementer
TDD code implementation: features, bugs, refactoring. Never reviews own work.
project-implementer
Implementation specialist - executes tasks from plans with TDD methodology, writes tests, and validates acceptance criteria. Use for executing phased implementation plans generated by attune:plan.
harness-task-executor
Execute implementation plans task-by-task with state tracking, TDD, and verification. Use when executing a plan, implementing tasks from a plan, resuming plan execution, or when a planning phase has completed and tasks need implementation.