Initialize task: New task

This commit is contained in:
Zenflow
2026-03-11 09:53:35 -05:00
parent 2daccf7d8c
commit 0f9d3cf187

View File

@@ -0,0 +1,42 @@
# Fix bug
## Configuration
- **Artifacts Path**: {@artifacts_path} → `.zenflow/tasks/{task_id}`
---
## Agent Instructions
If you are blocked and need user clarification, mark the current step with `[!]` in plan.md before stopping.
---
## Workflow Steps
### [ ] Step: Investigation and Planning
Analyze the bug report and design a solution.
1. Review the bug description, error messages, and logs
2. Clarify reproduction steps with the user if unclear
3. Check existing tests for clues about expected behavior
4. Locate relevant code sections and identify root cause
5. Propose a fix based on the investigation
6. Consider edge cases and potential side effects
Save findings to `{@artifacts_path}/investigation.md` with:
- Bug summary
- Root cause analysis
- Affected components
- Proposed solution
### [ ] Step: Implementation
Read `{@artifacts_path}/investigation.md`
Implement the bug fix.
1. Add/adjust regression test(s) that fail before the fix and pass after
2. Implement the fix
3. Run relevant tests
4. Update `{@artifacts_path}/investigation.md` with implementation notes and test results
If blocked or uncertain, ask the user for direction.