Integration Checker Agent
The integration checker agent verifies that phases work together as a system, not just individually.Purpose
Check cross-phase wiring (exports used, APIs called, data flows) and verify E2E user flows complete without breaks.When Invoked
Spawned by milestone auditor during/gsd:audit-milestone.
Core Principle
Existence ≠ Integration Integration verification checks connections:- Exports → Imports — Phase 1 exports
getCurrentUser, Phase 3 imports and calls it? - APIs → Consumers —
/api/usersroute exists, something fetches from it? - Forms → Handlers — Form submits to API, API processes, result displays?
- Data → Display — Database has data, UI renders it?
What It Does
1. Build Export/Import Map
For each phase, extract what it provides and what it should consume. From SUMMARYs, extract:2. Verify Export Usage
For each phase’s exports, verify they’re imported and used. Check imports:3. Verify API Coverage
Check that API routes have consumers. Find all API routes:4. Verify Auth Protection
Check that routes requiring auth actually check auth. Find protected route indicators:5. Verify E2E Flows
Derive flows from milestone goals and trace through codebase.Flow: User Authentication
Flow: User Authentication
Flow: Data Display
Flow: Data Display
6. Compile Integration Report
Structure findings for milestone auditor. Wiring status:What It Produces
Integration Report
Critical Rules
Check connections, not existence. Files existing is phase-level. Files connecting is integration-level.Trace full paths. Component → API → DB → Response → Display. Break at any point = broken flow.Check both directions. Export exists AND import exists AND import is used AND used correctly.Be specific about breaks. “Dashboard doesn’t work” is useless. “Dashboard.tsx line 45 fetches /api/users but doesn’t await response” is actionable.Return structured data. The milestone auditor aggregates your findings. Use consistent format.
Related Agents
Verifier
Verifies individual phases (integration checker verifies between phases)
Executor
Creates the integrations that checker verifies