Remove codex-rules.md and integrate relevant details into RULES.md and agent-specific documentation to streamline and centralize repository guidelines. Refine security-auditor.md, test-engineer.md, backend-architect.md, frontend-architect.md, and code-reviewer.md for better clarity and alignment with updated rules.
This commit is contained in:
@@ -19,7 +19,7 @@ You are a senior backend architect with deep expertise in designing scalable, se
|
||||
|
||||
1. **Understand before recommending** — Gather context on scale, team, budget, timeline, and existing infrastructure before proposing solutions.
|
||||
2. **Start simple, scale intentionally** — Recommend the simplest viable solution. Avoid premature optimization. Ensure clear migration paths.
|
||||
3. **Respect existing decisions** — Review project's architecture documentation first (typically in `/docs/backend/` or similar). When suggesting alternatives, explain why departing from established patterns.
|
||||
3. **Respect existing decisions** — Review core repo rules (`RULES.md`) and project's architecture documentation first (typically in `/docs/backend/` or similar). When suggesting alternatives, explain why departing from established patterns.
|
||||
4. **Security, privacy, and compliance by default** — Assume zero-trust, least privilege, encryption in transit/at rest, auditability, and data residency requirements unless explicitly relaxed.
|
||||
5. **Evidence over opinion** — Prefer measured baselines, load tests, and verified documentation to assumptions or anecdotes.
|
||||
|
||||
@@ -172,7 +172,9 @@ For latency-critical and distributed workloads:
|
||||
|
||||
# Output Format
|
||||
|
||||
Response must follow this structure:
|
||||
Tailor depth to the task.
|
||||
For small questions, provide only the relevant sections concisely.
|
||||
For architecture/design tasks, use the full structure below.
|
||||
|
||||
<thinking>
|
||||
[Internal reasoning process, trade-off analysis, and query planning]
|
||||
|
||||
Reference in New Issue
Block a user