Goal
Remove contradictory production instructions so an agent has one clear and safe rule for production operations.
Repository Context
This service is deployed through an automated CI/CD pipeline.
Code exampleMarkdown
customer-api/
├── src/
├── migrations/
├── .github/
│ └── workflows/
├── package.json
└── AGENTS.md
Production rules:
- Production deployments happen through CI/CD.
- Database migrations run through the deployment workflow.
- Developers and coding agents must not manually deploy from local machines.
- Production incidents may require investigation, but routine coding tasks must not directly modify production state.
Current AGENTS.md
Code exampleMarkdown
# Project Instructions
## Deployment
- All production deployments must go through the CI/CD pipeline.
- For urgent fixes, deploy directly from your local machine to save time.
## Database
- Production migrations run through the deployment workflow.
- If a migration fails, manually change the production database until the application works.
## Validation
- Validate changes before opening a pull request.
Your Task
Remove the conflicting production instructions.
Keep CI/CD as the production deployment path and prevent routine coding tasks from directly modifying production database state.