Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion docs/contributing/runtime-implementation.md
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,29 @@ remaining file is still scanned and redacted, and the run fails closed afterward
with all failures joined. The unredacted file is replaced with the fail-closed
marker so its bytes do not reach the uploaded artifact when the filesystem allows
it; if the marker write and the fallback removal both fail, that failure is added
to the joined error rather than left unreported.
to the joined error rather than left unreported. In `quiet` mode the printed log
counts the affected paths instead of naming them (ADR 0163); the run error and
telemetry keep the path and the wrapped cause at every level, and only the
printed line is trimmed. The completion comment counts them too: an output file
name is the agent's to choose and Actions log masking does not apply to a
comment, so at `quiet` a failed scan posts how many files it could not handle
instead of naming one. The scan failure is the only run error the comment
rewrites today; applying the level to the rest is tracked in #9627.

A failed scan fails the run but does not silence the agent's own result. The
post-script runs after the scan, so when the run failed with a scan error the gate
skips it — unless that scan failure is the run's only failure and the result file
the harness names (`agent-result.json` by default) survived the scan and still
holds a JSON object. Then the post-script runs, posts the result, and the run
still fails, so one unreadable or unwritable file somewhere else under the run
directory cannot turn a completed report into silence. A run that also timed out,
broke its audit chain or reported a transcript error keeps that cause's outcome:
the scan does not turn it into a post-script run, and each cause is kept separate
in the run error (`postScanError`) rather than flattened into one join, so the gate
can tell a scan-only failure from a joined one. A result file the scan replaced
with a fail-closed marker does not count — the marker is valid JSON, but it is not
the agent's result — and neither does one the scan failed on, whose unredacted
bytes may still parse.

## Agent rule layering

Expand Down
4 changes: 3 additions & 1 deletion docs/reference/config-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1611,7 +1611,9 @@ At `quiet`:
A setup error before that, such as a config or provider error, prints in
full. The level covers the job log only: the status comment on the issue or
pull request still carries the full run error
([#9627](https://github.com/fullsend-ai/fullsend/issues/9627)).
([#9627](https://github.com/fullsend-ai/fullsend/issues/9627)), except that a
failed output scan posts how many files it could not handle rather than a
name the agent chose.

**Agent CLI stderr at `quiet`.** The agent CLI (Claude Code, pi, Codex or
OpenCode) writes its own diagnostics to stderr, and they can quote what the
Expand Down
Loading
Loading