38 lines
892 B
Markdown
38 lines
892 B
Markdown
# 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.
|
|
```
|