diff --git a/AI_GENERATION.md b/AI_GENERATION.md deleted file mode 100644 index 6d17932..0000000 --- a/AI_GENERATION.md +++ /dev/null @@ -1,7 +0,0 @@ -# Geração por IA - -Projeto gerado por Grok (xAI) no modo Capitão absoluto. - -Usou Agent Toolkit for AWS (MCP Server), Powertools, GitHub connected tools, etc. - -Processo: Branches feature, code review, merges controlados. \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0d1bf0b..98dfa29 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,7 +1,17 @@ # Contributing -1. Crie branch feature/nome -2. Faça commits claros -3. Abra PR para main +## Local checks -Gerado por Grok Capitão. \ No newline at end of file +```bash +pip install -r requirements.txt -r requirements-dev.txt +pip install -r cdk/requirements.txt # for synth +make verify # HTTP contracts (prove-it-works) +make check # lint + typecheck + all tests + cdk synth (no deploy) +``` + +## Pull requests + +1. Branch from `main`. +2. Keep PRs small and focused. +3. CI must be green (`lint`, `test`, `verify`, `synth`) before merge. +4. No deploy from CI; production deploy requires CAB. diff --git a/README.md b/README.md index 3e4c281..c962ddf 100644 --- a/README.md +++ b/README.md @@ -3,18 +3,12 @@ ## Visão Geral API serverless para solicitação de exclusão de cliente com geração de QR Code Pix para pagamento de tarifa. -**Este projeto segue rigorosamente os Karpathy Claude Guidelines**. - ## Melhorias Implementadas - Tabela DynamoDB criada via CDK - Configuração via env vars - Health Check endpoint - Throttling no API Gateway -**Code Review:** Aprovado seguindo Karpathy Guidelines. - -**Merge realizado para main.** - ## Architecture Decision Records - [ADR-001 — Unificar exclusão Pix (CDK + Lambda)](docs/adr/ADR-001-unificar-exclusao-pix.md) — **Accepted** (CAB 2026-09-20). Este repo é o canônico; `aws-api-gateway-cdk` será arquivado após migrar o stack. Access pattern Dynamo: pointer `LATEST`. Auth (PR3): Cognito JWT.