generated from bisco/codex-bootstrap
37 lines
923 B
Markdown
37 lines
923 B
Markdown
# Refactor 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 refactor branch.
|
|
- Preserve existing behavior.
|
|
- Do not introduce new features.
|
|
- Do not perform unrelated cleanups.
|
|
- Add tests only if coverage is missing for the behavior being preserved.
|
|
- Run the configured Docker-based test command from .codex/project.md.
|
|
- Update documentation and ADRs if required.
|
|
- Commit using Conventional Commits.
|
|
|
|
Refactor goal:
|
|
<DESCRIBE THE REFACTOR HERE>
|
|
|
|
Non-goals:
|
|
<LIST WHAT MUST NOT CHANGE>
|
|
|
|
Acceptance criteria:
|
|
<LIST ACCEPTANCE CRITERIA HERE>
|
|
|
|
Final response must include:
|
|
- branch name;
|
|
- commit hash;
|
|
- summary of changes;
|
|
- confirmation that behavior is preserved;
|
|
- tests executed and result;
|
|
- documentation/ADR updates;
|
|
- residual risks;
|
|
- rollback notes.
|
|
```
|