generated from bisco/codex-bootstrap
Initial commit
This commit is contained in:
37
.codex/prompts/bugfix.md
Normal file
37
.codex/prompts/bugfix.md
Normal 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.
|
||||
```
|
||||
Reference in New Issue
Block a user