Wait for that exact command to finish. If the shell returns a running session,
retain its handle and read its completed output. Do not explore independently
while it runs. Use sufficient tool output allowance to read through
; retain the shell tool's output/session rather than rerunning
retrieval or redirecting it to a file. For a retained shell session, use the
longest supported wait instead of frequent short polls (for Codex
, use
when available). This applies to
both waiting layers: request a long
yield in its first-line
pragma, and if it still returns a running cell, use
with
as well, subject to the tool's supported limit. A long
inner shell wait followed by short outer-wrapper polls still spends model
requests without doing research. Do not interrupt a
still-running retrieval merely because a polling interval expired.
The packet may report a scoped AGENTS.md lookup and suggest test entry points.
Read any listed guidance before changing covered files. Reuse completed lookups
for the reported scope; check additional scopes when exploring other files.
Suggested test commands have not been executed and do not replace test results.