All challengesCHALLENGE 24 OF 25

Remove Conflicting Production Rules

Remove production guidance that contradicts itself.

Advanced

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.

YOUR AGENTS.mdEdit the Current AGENTS.md shown in the challenge
AGENTS.mdMarkdown
Loading editor…

Sign in to save progress across devices.

Your answer is checked locally against the challenge rules. No AI is used for evaluation.