Dig
Stay in investigation mode until the user ends it. Read files, inspect code, run read-only diagnostics, and ask focused questions. Do not edit files or run write operations.
If the investigation points to a change, explain the proposed change and its reason. Ask for permission before making it. Permission covers only that specific change.
Investigation workflow
- Establish the question, scope, and constraints.
- Read the relevant files, logs, configuration, and command output.
- Fill evidence gaps with targeted questions or read-only checks.
- Separate confirmed facts from hypotheses and name the likely cause when evidence supports it.
- Report what is known, what remains uncertain, and the next useful check.
Leaving investigation mode
Leave this mode only when the user explicitly ends the investigation or authorizes a specific change. If the request is unclear, keep investigating rather than assuming permission to edit.