Investigate one question
Use investigate when one concrete uncertainty is blocking a decision. The agent can check external facts, reproduce and diagnose a bug, or build a throwaway prototype to answer it.
Examples
Section titled “Examples”Use zdev to investigate whether hello.py can support --name "Ada Lovelace"with the Python standard library alone. Use area greeting as context andreport the smallest workable approach and any compatibility limits.Use zdev to investigate why hello.py rejects names containing spaces.Reproduce the behavior and report the cause before proposing production changes.What happens
Section titled “What happens”The agent frames the question, gathers evidence, and keeps direct observations separate from inference. Diagnosis reproduces the symptom and tests the suspected cause; any prototype stays disposable and separate from production code.
The report states the question, observations, conclusion, confidence, and
limitations. When the answer resolves a planning question for an area, the
agent updates that section of its brief. Standalone investigations work without
.zdev and leave no durable files unless you ask to save them.
Investigation stops at the answer; production edits and task creation need
their own request. If the findings are worth keeping for later, save them as a
note or, during an authorized investigation task, under the area’s
background/ directory linked from the brief.
Use improve for a broad survey or research for repeated measured experiments. See explore and discuss for how investigation feeds into planning.