Coding Workflow
Use repository files and docs as the source of truth. For non-trivial work:
- Inspect the relevant files before editing.
- Use
file_search,read_file, and code-intelligence tools where supported. - Maintain the loop coverage inventory: mapping a repo or listing files is not
covered; each relevant surface must be covered with evidence or explicitly rejected with rationale/residual risk. - Keep frontier, coverage, evidence, and residual-risk state synchronized before closing a loop task.
- Keep a task ledger with
todo_writeand evidence withcomplete_step. - Prefer
apply_patchor structured edits for source changes. - Run targeted validation through
run_command. - Store bulky outputs as resources and read only bounded pages.
- Continue after context compression using the summary plus recent tail.