1.8 KiB
1.8 KiB
Codex instructions for this repository
This repository contains:
- Docker Compose infrastructure
- Terraform configuration
- Ansible configuration
General rules
Prefer validation and linting over execution. Do not make assumptions about runtime access. Do not run destructive commands. Do not install repo changes unless explicitly requested.
Docker / Compose rules
This environment does not have Docker daemon access.
Do not use commands that require /var/run/docker.sock.
Allowed:
docker compose configdocker compose -f <file> config./services-up.sh --profile all config
Not allowed:
docker compose updocker compose downdocker compose rundocker compose execdocker builddocker pull
When validating Docker changes:
- Prefer
./services-up.sh --profile all configif available. - If that does not fit the task, use
docker compose -f ... config. - Only create temporary placeholder env files if validation requires them.
- Do not commit placeholder env files unless explicitly requested.
Terraform rules
Allowed:
terraform fmt -check -recursiveterraform init -backend=false -input=falseterraform validatetflint
Do not apply infrastructure changes unless explicitly requested. Do not run:
terraform applyterraform destroy
Ansible rules
Allowed:
ansible-lintansible-playbook --syntax-check <playbook>
Do not run playbooks against real hosts unless explicitly requested.
Shell / YAML rules
Allowed:
shellcheckyamllintyqjq
Expected workflow
When making changes:
- Edit the smallest necessary set of files.
- Run the safest available validation commands.
- Report validation results clearly.
- If validation is blocked by missing secrets, env files, or remote/provider access, say so explicitly instead of guessing.