added codex structure

This commit is contained in:
2026-04-28 10:14:33 +02:00
parent c36271d55e
commit ad0e29cf69
28 changed files with 954 additions and 0 deletions

37
.codex/prompts/bugfix.md Normal file
View File

@@ -0,0 +1,37 @@
# Bugfix prompt
```text
You are working in this repository as Codex.
Mandatory instructions:
- Read AGENTS.md and all relevant files under .codex/ before making changes.
- Start from develop.
- Create a dedicated fix branch.
- Reproduce the bug with a failing test before implementing the fix, when practical.
- Implement the minimal fix.
- Run the configured Docker-based test command from .codex/project.md.
- Update documentation and ADRs if required.
- Commit using Conventional Commits.
Bug description:
<DESCRIBE THE BUG HERE>
Expected behavior:
<DESCRIBE EXPECTED BEHAVIOR HERE>
Observed behavior:
<DESCRIBE OBSERVED BEHAVIOR HERE>
Acceptance criteria:
<LIST ACCEPTANCE CRITERIA HERE>
Final response must include:
- branch name;
- commit hash;
- root cause;
- summary of changes;
- tests executed and result;
- documentation/ADR updates;
- residual risks;
- rollback notes.
```