feat: Day 3 & 4 — MSW synchronization and Contract Agent Team

Merged Ali Ashour requested to merge day-3-4/msw-sync-and-agent-team into main

Day 3 — MSW Synchronization:

  • src/mocks/generated-handlers.ts: auto-generated MSW handlers from openapi.yaml
  • src/mocks/handlers.ts: unified handler file with Zod-validated + generated handlers
  • src/mocks/server.ts: MSW node server setup
  • scripts/generate-msw-handlers.ts: openapi.yaml → MSW handler generator
  • .claude/skills/mock-sync/SKILL.md: /mock-sync skill for drift detection and resync
  • .claude/skills/api-coverage-audit/SKILL.md: /api-coverage-audit skill for P0/P1/P2 gap reporting
  • .claude/hooks/openapi-change-sync-msw.sh: PostToolUse hook — auto-regenerates MSW on spec change
  • .claude/settings.json: hook wiring for openapi.yaml write/edit events

Day 4 — Contract Agent Team:

  • .claude/skills/contract-agent-team/SKILL.md: /contract-agent-team orchestration brief with Consumer Writer, Provider Verifier, MSW Sync, and Coverage Auditor teammate prompts
  • .github/workflows/can-i-deploy.yml: CI pipeline for Pact can-i-deploy gate (publishes pacts, verifies provider, records deployment for both services)

package.json: adds msw, openapi-msw, ts-node, js-yaml deps + generate:msw script

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Merge request reports