In the Pairing Simulator page, I am getting the error: **Error:**Unexpected token '<', "<!DOCTYPE "... is not valid JSON Fid and fix the bug
1.2 KiB
1.2 KiB
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
[x] Step: Investigation and Planning
Analyze the bug report and design a solution.
- Review the bug description, error messages, and logs
- Clarify reproduction steps with the user if unclear
- Check existing tests for clues about expected behavior
- Locate relevant code sections and identify root cause
- Propose a fix based on the investigation
- Consider edge cases and potential side effects
Save findings to {@artifacts_path}/investigation.md with:
- Bug summary
- Root cause analysis
- Affected components
- Proposed solution
[x] Step: Implementation
Read {@artifacts_path}/investigation.md
Implement the bug fix.
- Add/adjust regression test(s) that fail before the fix and pass after
- Implement the fix
- Run relevant tests
- Update
{@artifacts_path}/investigation.mdwith implementation notes and test results
If blocked or uncertain, ask the user for direction.