- TypeScript + Fastify skeleton under project/ (src/modules, shared, infrastructure, app) - scripts/check-module-boundaries.mjs enforcing module public-API rules (tested with fixtures) - GET /health endpoint, error envelope without stack leakage - specs/F-001-scaffold (SPEC/DESIGN/TASKS/TESTS), spec/tech.md dependency justification - 30-ticket MercadoDeVida roadmap in backlog/features.json, spec/roadmap.md - All gates approved: reviewer, security, qa; verify.sh green
832 B
832 B
TASKS — F-001 Scaffold modular monolith skeleton
- TASK-001 Init
project/package: package.json (type module), tsconfig strict, .gitignore - TASK-002 Add Fastify + shared error envelope +
build-app.tscomposition root - TASK-003 Add
healthexemplar module (index.ts public API, routes, tests) - TASK-004 Add HTTP server entrypoint (
src/infrastructure/http/server.ts) - TASK-005 Add boundary checker script + fixtures proving it fails on violations
- TASK-006 Add toolchain: ESLint flat config (incl. no deep cross-module imports), Prettier, Vitest
- TASK-007 Wire npm scripts: build, lint, lint:boundaries, typecheck, test, start
- TASK-008 Write project README with run commands
- TASK-009 Run full verification and write implementer evidence
Each task is independently understandable and leaves the tree consistent.