web/: Next.js 16 pages-router frontend with Supabase-backed product flows, large page components, uploads, reminders, calendar, and Gemini chat.supabase/anddatabase/: overlapping SQL surfaces for schema, functions, cron, and migration copies. Keep them aligned.agentic_ai/: Python 3.11 FastAPI/LangGraph service for symptom analysis, metrics, and a pseudo-MCP API surface.aws/,ansible/,jenkins/,.github/workflows/,devops/: deployment, rollout, CI/CD, monitoring, and security automation.
- Treat implementation as the source of truth when docs drift.
- Prefer surgical edits. Several frontend pages are large and fragile.
- If a data contract changes, trace the impact across SQL,
web/lib/*, consuming pages, tests, and docs. - If deployment behavior changes, update the matching pipeline and runbook docs in the same task.
- Check for a deeper
AGENTS.mdin the directory you are editing before you finalize a plan.
- Frontend: run
npm run lintandnpm run buildinweb/. - Agentic AI: run
make lintandmake testinagentic_ai/. - AWS/CDK: prefer
npx cdk synthinaws/when dependencies are present. - SQL-only tasks: inspect all affected consumers in
web/lib/,web/pages/, and mirrored files underdatabase/. - Pipeline or deploy tasks: read
.github/workflows/ci.yml,jenkins/Jenkinsfile, and the relevant runbooks together.
web/package.jsondefinesnpm testasnext dev; do not treat it as a real test command.web/jest.config.jsreferencests-jestandjest.setup.ts, but the frontend Jest setup is incomplete in the checked-in repo.supabase/anddatabase/overlap. One-sided SQL edits are usually wrong.agentic_ai/README.mddescribes more than the current code reliably implements. Verify behavior in code.aws/lambda/chatbotHandler.jsstill contains placeholder Vertex AI project configuration.
$symptomsync-web-change: frontend changes inweb/$symptomsync-data-change: SQL and schema-contract changes$symptomsync-agentic-ai-change: Python AI service work$symptomsync-release-change: infra, CI/CD, deployment, and rollout work$symptomsync-review: repo-specific review workflow$symptomsync-doc-sync: keep code-facing docs aligned with implementation
- Repo exec-policy rules live under
codex/rules/. - High-risk deploy and traffic-shift commands should prompt rather than run implicitly.