MJP // AGENTS

MIT-LICENSED COMPANION REPOSITORY

BrewQueue Reference Architecture

Rather than relying on abstract snippets, The Autonomous Engineer grounds every pattern in brewqueue/—a complete, runnable order-ahead café platform built to demonstrate Verification-First Autonomy end to end.

1. Production-Style Full-Stack Surface

2. Nine-Step Local & CI Verification Suite

Running python scripts/verify.py executes the entire mechanical trust stack in one deterministic pass:

  1. ruff check api tests tools — fast Python lint.
  2. mypy api — strict static typing across all 14 backend modules.
  3. pytest -v — 16 passing checks covering SQL data contracts, payment retry idempotency, integer-cent money, AST security/provenance rules (BQ-007, BQ-012, BQ-019), and skill-mirror parity.
  4. check_feature_maps.py — verifies 5/5 feature maps match live source files.
  5. npm --prefix web run lint — ESLint 9 with zero errors or warnings.
  6. npm --prefix web run check:deps — dependency-cruiser module boundary verification.
  7. npm --prefix web run build — TypeScript tsc --noEmit and Vite production bundle.
  8. python -m api.seed — deterministic seed of 40 open orders and 6 menu items.
  9. npx playwright test --trace on — live browser verification including Barista Board render-count assertions (786 → 2 cardRenders) and live delta-sync menu updates.

3. Hard CI Guardrails That Teach the Fix

4. Blind Multi-CLI Skill Evaluations

Skills in skills/debug-evidence-first/SKILL.md and skills/investigate-data-anomaly/SKILL.md are mirrored byte-identically to .agents/skills/ and .claude/skills/, then scored deterministically on a 12-point rubric (including a hidden refund-invariant check) across real Claude Code and GitHub Copilot CLI runs—with zero LLM-as-judge noise.