docs(workflow): Add State Auditing requirement to Research Phase
This commit is contained in:
@@ -31,6 +31,7 @@ All tasks follow a strict lifecycle:
|
||||
3. **High-Signal Research Phase:**
|
||||
- **Identify Dependencies:** Use `list_directory`, `get_tree`, and `py_get_imports` to map file relations.
|
||||
- **Map Architecture:** Use `py_get_code_outline` or `py_get_skeleton` on identified files to understand their structure.
|
||||
- **Audit State:** Use `py_get_code_outline` or `py_get_definition` on the target class's `__init__` method to check for existing, unused, or duplicate state variables before adding new ones.
|
||||
- **Analyze Changes:** Use `get_git_diff` if the task involves modifying recently updated code.
|
||||
- **Minimize Token Burn:** Only use `read_file` with `start_line`/`end_line` for specific implementation details once target areas are identified.
|
||||
4. **Write Failing Tests (Red Phase):**
|
||||
|
||||
Reference in New Issue
Block a user