Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
2ff063a
fix(#5705): preserve escaping backslashes in JSON strings and validat…
andrewevansrh Nov 16, 2026
69b46b7
fix(#5705): structurally sanitize JSON outputs and prevent escape-spl…
andrewevansrh Nov 16, 2026
12a4652
fix(#5705): sanitize JSON keys and preserve number precision
andrewevansrh Nov 16, 2026
f8b4393
fix(#5705): fail closed on duplicate JSON keys and backstop findings
andrewevansrh Nov 16, 2026
385a9fd
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 16, 2026
97efb77
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 17, 2026
727d5ae
fix(#5705): parse JSON numbers as Number and check pre-trim length
andrewevansrh Nov 17, 2026
3860988
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 17, 2026
634e9ad
test(#5705): assert decoded JSON secrets are redacted
andrewevansrh Nov 17, 2026
f80f2bc
fix(#5705): fail run when output sanitization write fails
andrewevansrh Nov 17, 2026
eadb5ca
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 17, 2026
67e09f9
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 17, 2026
ceb6700
fix(#5705): prevent cross-value JSON redaction
andrewevansrh Nov 17, 2026
c52bfcc
fix(#5705): avoid repeated JSON redaction
andrewevansrh Nov 17, 2026
65984d9
fix(#5705): harden JSON redaction backstop
andrewevansrh Nov 17, 2026
4c769a0
chore(#5705): merge main and resolve conflicts
andrewevansrh Nov 17, 2026
35b9677
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 18, 2026
54b7afe
fix(#5705): close remaining output sanitizer gaps
andrewevansrh Nov 18, 2026
22eb011
fix(#5705): harden JSONL output sanitization
andrewevansrh Nov 18, 2026
bd02fcb
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 18, 2026
701dae6
fix(#5705): close remaining output sanitization gaps
andrewevansrh Nov 18, 2026
3b6f25e
fix(#5705): scan numeric JSON leaves and honor backstop runtime secrets
andrewevansrh Nov 18, 2026
fb3e966
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 18, 2026
05deda0
fix(#5705): address review findings on PEM lines, duplicate keys, and…
andrewevansrh Nov 18, 2026
e117564
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 19, 2026
f66628b
fix(#5705): fail closed on duplicate-key and cross-record JSON secrets
andrewevansrh Nov 19, 2026
2e7c84d
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 19, 2026
de2f095
fix(security): fail closed on JSON secrets that span framing
andrewevansrh Nov 19, 2026
a0a4cf2
fix(security): localize JSONL redaction unambiguously
andrewevansrh Nov 19, 2026
8a0dbf7
fix(security): detect cross-record private keys before masking
andrewevansrh Nov 19, 2026
bb35a97
fix(security): detect framing-spanning keys from decoded text
andrewevansrh Nov 19, 2026
8e382ed
fix(cli): keep the audit trail when the output scan fails
andrewevansrh Nov 19, 2026
e372d37
fix(security): check decoded private keys on every document
andrewevansrh Nov 19, 2026
72dc4c3
fix(security): bound JSONL localization and drop unredacted leftovers
andrewevansrh Nov 19, 2026
a173366
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 19, 2026
477e59e
refactor(security): state the per-record JSONL fail-closed contract
andrewevansrh Nov 19, 2026
e8a65d3
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 20, 2026
6dca727
fix(#5705): localize spanning private keys and gate json_field minimu…
andrewevansrh Nov 20, 2026
1345e86
docs(#5705): describe member-level private-key masking and the remova…
andrewevansrh Nov 20, 2026
1183991
fix(#5705): keep prior redactions intact when rescanning JSON output
andrewevansrh Nov 20, 2026
40b1cff
fix(#5705)!: fail closed on output that cannot be sanitized
andrewevansrh Nov 20, 2026
83e4960
fix(#5705): keep JSON key names when masking a spanning private key
andrewevansrh Nov 20, 2026
078ffa2
fix(#5705): keep review shape and stop re-scanning redacted JSONL rec…
andrewevansrh Nov 20, 2026
ac8de2f
docs(#5705): describe masking a spanning block by content
andrewevansrh Nov 20, 2026
09bff10
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 20, 2026
d8d8e3f
fix(#5705): keep BOM-prefixed JSON on the structural path
andrewevansrh Nov 20, 2026
7ea095b
docs(#5705): correct the fail-closed outcomes and the scan scope
andrewevansrh Nov 20, 2026
b0ab1e2
fix(#5705): stop a hex prefix and free text from deciding key material
andrewevansrh Nov 20, 2026
0dc3708
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 23, 2026
fcc90ab
docs(#5705): stop claiming Forgejo surfaces the error annotation
andrewevansrh Nov 23, 2026
1f247ce
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 23, 2026
36129b5
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 23, 2026
703e235
fix(#5705): mask joined key chunks and report failed quarantine
andrewevansrh Nov 23, 2026
92130b6
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 23, 2026
065038e
fix(#5705): keep clean JSONL records and stop json_field swallowing f…
andrewevansrh Nov 23, 2026
863f542
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 23, 2026
ed91e4f
fix(#5705): fail closed on output files the scan cannot read
andrewevansrh Nov 23, 2026
b9ea872
fix(#5705): keep output-scan failure detail at quiet
andrewevansrh Nov 23, 2026
4e08adb
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 24, 2026
667e965
fix(#5705): post a scan count, not output names, in the status comment
andrewevansrh Nov 24, 2026
1b4b82f
fix(#5705): run the post-script when a failed scan left the agent's r…
andrewevansrh Nov 24, 2026
8b976fb
fix(#5705): mask a captured value even when it looks like an existing…
andrewevansrh Nov 24, 2026
995425a
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Nov 25, 2026
cd855b3
fix(#5705): mask body-line key names and keep every cause of a failed…
andrewevansrh Nov 25, 2026
1806421
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Dec 1, 2026
7539fcf
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Dec 2, 2026
61a74b7
fix(#5705): address output sanitizer review findings
andrewevansrh Dec 2, 2026
4feb830
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Dec 2, 2026
874468c
fix(#5705): skip the post-script when the scan is not the only failure
andrewevansrh Dec 2, 2026
5743d8f
fix(#5705): keep schema fields readable and mask short PEM chunks
andrewevansrh Dec 2, 2026
0f85055
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Dec 2, 2026
de4f0aa
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Dec 3, 2026
abc24a1
fix(#5705): address remaining output sanitizer review findings
andrewevansrh Dec 3, 2026
197a941
fix(#5705): harden PEM body localization across leaves
andrewevansrh Dec 3, 2026
d829741
fix(#5705): protect schema fields by structure and route multi-doc JSON
andrewevansrh Dec 3, 2026
40973ad
fix(#5705): redact single-character PEM body runs and keep clean JSON…
andrewevansrh Dec 3, 2026
a7bfefc
chore(#5705): add review-result schema pin drift check and correct ch…
andrewevansrh Dec 3, 2026
99b1662
Merge branch 'main' into agent/5705-output-sanitizer-json-integrity
andrewevansrh Dec 3, 2026
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
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,16 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: bash scripts/check-agents-gate-pin.sh

- name: Review-result schema pin drift check (informational)
# The vendored review-result schema is a test fixture, not a release
# input, so a stale pin only weakens a test. Re-vendoring is a
# maintainer decision, so this annotates the run instead of blocking
# it (scripts/check-review-schema-pin.sh).
continue-on-error: true
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: bash scripts/check-review-schema-pin.sh

recheck-tag:
# Second half of the tag-move guard. validate-agents clones fullsend by
# tag name — the called workflow only accepts `main` or a `v*` ref and
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ script-test:
$(call run-timed,bash .github/scripts/report-agent-startup-failure-test.sh)
$(call run-timed,bash .github/scripts/retry-with-backoff-test.sh)
$(call run-timed,bash scripts/check-agents-gate-pin-test.sh)
$(call run-timed,bash scripts/check-review-schema-pin-test.sh)
$(call run-timed,bash scripts/semgrep-scan-test.sh)
$(call run-timed,bash scripts/verify-release-tag-test.sh)
$(call run-timed,bash skills/cutting-releases/scripts/prepend-release-highlights-test.sh)
Expand Down
154 changes: 154 additions & 0 deletions docs/contributing/runtime-implementation.md
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,160 @@ The post-run output scan skips `<runDir>/skills/` and
origins and warnings are documented in
Comment thread
andrewevansrh marked this conversation as resolved.
Resolved
[Configuring with Skills § The persona list file](../guides/user/customizing-with-skills.md#the-persona-list-file).

### The post-run output scan

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new section is about 150 lines and mostly repeats the code comments. Could it be trimmed to what the scan does and why? The details will drift from the code faster than anyone updates the doc.

@andrewevansrh andrewevansrh Dec 3, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trimmed, and split with the code it describes.

The section is now about 86 added lines across the three parts instead of 154:
part 1 (#10082) describes what the scan walks, the structural JSON path, the
whole-value rescan of the written bytes, and the fail-closed markers (~44 lines);
part 2 (#10084) describes the spanning-block handling (~18
lines); part 3 (#10085) adds the post-script gate and the
quiet behaviour (~24 lines).

I also dropped the paragraphs that restated the per-branch heuristics — the length
floor, the case mix, the joined-run rule, the single-character rule — and left
those to the code comments, keeping the doc to what the scan does and why.

Note: Generated with assistance from DeepSeek V4.1 Flash


`scanOutputFiles` runs the output pipeline (Unicode normalization, then secret
Comment thread
andrewevansrh marked this conversation as resolved.
Resolved
redaction) over every file under the run directory (`<runDir>/`, including
`iteration-N/` transcripts) except the skips above, any directory named
`security` (which holds `findings.jsonl`), and the telemetry
JSONL. Valid JSON is sanitized structurally so redaction never changes its
syntax. A leading UTF-8 BOM does not send a document to the text scan either:
it is stripped before the token walk and restored on write, and a clean document
comes back byte for byte. The walk visits every object key and scalar leaf
individually through a token-preserving walk that keeps member order and
duplicate keys, so an earlier value that map decoding would drop is still
scanned, and a secret spanning JSON framing stays visible in the rewritten
bytes. A sanitized key that would collide with a different member is
disambiguated (`<key>_<N>`). The bytes actually written are scanned as well, but
only for whole-value secrets — registered runtime values and private-key blocks,
the two patterns a leaf scan cannot see once a member value is masked. Every
other pattern has already been applied to the decoded key or leaf, so a match on
the serialized bytes would be a redaction placeholder plus JSON escape
characters, not a secret. A private-key block spanning members is detected in a
decoded view of the document before masking a member value can hide its BEGIN
marker. Such a block is neutralized member by member. The members the match
starts and ends in carry marker text, so they are always masked — even when a
marker is split across two members and neither fragment looks like one alone. A
string value between them is masked when it carries a block marker or a run that
looks like PEM body material: at least 16 characters of the base64 alphabet that
mix upper case, lower case and digits and include a character outside the hex
range. The length floor alone is not enough — a long word such as
`misconfiguration` and a path such as `internal/security/jsonsanitize` both reach
it while using only base64 characters — so the case and digit mix is what tells
body material from free text. Object keys keep their names, so a document that
merely quotes the PEM header in one finding and the footer in another keeps its
shape — every required field of a review result is still present, and its
enum-valued fields (`action`, `severity`, `category`) and patterned fields
(`head_sha`, finding `id`) keep values `review-result.schema.json` accepts —
instead of being dropped whole or rewritten into a document the schema rejects. A
key name is treated as block content only when the match starts or ends in it, the
name itself carries a marker, or the name is a body line of the same shape a value
is tested for; then it is masked too, because it cannot be written back as
structure. A key whose name is base64 body material is key material rather than
structure, and keeping it would write the body back after the markers were masked,
where the written-bytes rescan can no longer see the block. A value that neither
carries a marker nor holds a run of that shape keeps its content: nothing
distinguishes a quoted marker pair from a split block, so the choice is between
masking free text and enum values, which loses the review, and keeping a fragment
too short to be recognized as key material. Because one member holds only one line
of a body, the values between the boundary members are also decided on their
joined text: consecutive base64-only values are concatenated, and if the result

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[MEDIUM] This paragraph describes a PEM-run heuristic the code no longer implements

The doc says consecutive base64-only values are concatenated and must show "a digit or a run of adjacent capitals", and that "a value with punctuation or whitespace breaks the run". The code does neither:

  • maskSpanBody (jsonsanitize.go:503) calls pemBodyRuns, which pulls the base64 runs out of any value, prose included, and joins them. Whitespace and punctuation no longer break the run.
  • pemBodyJoined (jsonsanitize.go:601-631) no longer accepts a digit. It requires hasMixedUpperRun: two or more capitals followed by lower case. So prose such as Updated README instructions becomes UpdatedREADMEinstructions and qualifies as body material.

Contributors reading the doc will misjudge what free text gets masked between quoted markers. The bot thread at jsonsanitize.go:621 covers the false positive in code; this one is about the doc contradicting the code.

Suggestion: Rewrite the paragraph to match pemBodyRuns and pemBodyJoined/hasMixedUpperRun, and mention the schema-constrained-field exemption. Or, per the earlier comment on this section's size, cut it to a short summary that points at the code comments.

Verified: read code at head (jsonsanitize.go:268-282, 470-520, 601-650) against the doc lines 683-700 at 99b1662; raised by: DeepSeek

looks like a body line — upper case, lower case and a base64-only character, plus
a digit or a run of adjacent capitals — every value in that run is masked. That
catches a body split into short or digit-free chunks, including a body stored one
character per member: a single-character value joins only while the run is still
empty or entirely single-character, so a run of them is reconstructed while an
isolated single-character free-text value keeps its content. A body whose
one-character and longer chunks interleave is a known residual and is not
reconstructed. A run of schema values
such as `critical` + `ssrf` + `Makefile` reads as concatenated words and keeps its
content. An object key never joins the run — a key is structure, and
letting one join a group that also holds body material renames required schema
keys such as `severity` and `file` — but it does not break the run either: the
values on either side of a key are still consecutive body chunks once the key
names are ignored, so a body stored in separate object members is reconstructed
and masked. A value with punctuation or whitespace breaks the run: those are free
text or a structural token rather than a body line, while a short base64-only
value joins it at any length. A hex-only value joined to base64 body material is
masked with it; an isolated hex-only run is kept, because a PEM body is base64
while a hex run is more likely a commit SHA or a finding id. A single isolated
fragment below the floor, with no neighbour to join it to, is still kept.
`.jsonl`/`.ndjson` files are sanitized one record at a time to preserve the
record framing; a secret that spans records cannot be redacted without
rewriting that framing, so only the records that carry it are replaced, and a
record that merely sits between a quoted header and a quoted footer keeps its
content. A BOM-prefixed record is treated as JSON like any other, so a marker
written with \u escapes in it is still decoded. A private-key block spanning
records is detected in a decoded view of the stream, before per-record masking
can remove its BEGIN marker. The boundary records
always carry marker text, so they are always replaced; a record between them is
replaced only when its leaves hold a block marker or PEM body material, decided
the same way as in a single document — including the joined run of consecutive
base64-only values, which catches a body split into short or digit-free chunks and
a body stored one character per record.
After the per-record pass the rebuilt stream is rescanned, but only for
whole-value secrets — registered runtime values and
private-key blocks, the same set the single-document path scans in its written
form. Running the value patterns again would re-match a redaction placeholder
followed by JSON escape bytes: in encoded JSON a `\n` escape is two non-space
bytes, so `env_assignment` runs past the end of a value the record pass already
redacted and every such match would replace a correct record with a cross-record
marker. Localization inside the changed region is
conservative but per record: a record is kept only when its bytes are unique in
the stream and reappear as a whole line in the redacted stream, because a
repeated record could otherwise let an untouched copy stand in for the covered
one. Records outside the changed region, duplicates included, are copied through
unchanged.

Some content cannot be redacted in place. A JSON document or JSONL record is
replaced with a valid fail-closed marker instead — never with corrupted
syntax — when a private-key block cannot be localized to members or when a
match spans record boundaries. Markers look like
`{"error":"output removed because …"}` and are logged
as findings in `security/findings.jsonl`. Because a replaced file or record loses
everything the agent wrote into it, and because the run still exits 0, the reason
a marker states is also emitted as a `::error::` workflow command whenever the
job sets `GITHUB_ACTIONS=true`: one line for a file replaced whole, and one per
distinct reason for a JSONL file whose records were replaced. A leading UTF-8 BOM
does not hide a marker: the comparison strips it, so a BOM-prefixed file or record
that lost everything is still reported as removed. GitHub Actions
renders these as error annotations. Forgejo Actions also sets `GITHUB_ACTIONS=true`,
so its runner writes the same lines, but Forgejo has no annotation view: the
runner prints them in the step log and the exit status stays 0.

A sanitized file that cannot be written, a file that cannot be read, and a file
that cannot be sanitized at all, do not stop the walk: every remaining file is
still scanned and redacted, and the run fails closed afterwards with all failures
joined. A file that cannot be read is contained exactly like one that cannot be
written, because its bytes were never scanned; an entry the walk cannot open fails
the run without being quarantined, since it may be a directory whose files were
never reached. 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, so the run says the unredacted file is
still on disk. 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 on the issue or pull request 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](https://github.com/fullsend-ai/fullsend/issues/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 posting it would report a removal as the review. Neither does
a result file the scan failed *on*: when its write or sanitization failed and the
quarantine then could not replace or remove it, the unredacted bytes are still on
disk and still parse, so the gate refuses to post them. The paths the scan could
not handle are kept internal for that decision and never printed or posted. This
refusal is checked before the agent-failure branch, because a joined error can
hold both causes. The
scan error is joined with the run's own terminal outcome rather than replacing it,
so a run whose agent also failed still fails with both causes and the post-script
still receives `FULLSEND_AGENT_EXIT_CODE`.

## Agent rule layering

When `fullsend run` executes an agent, Claude Code loads instructions from
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/dev/tracing.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ cut can take the `@` that marks a password and the tail cut the `https://`
before it (`promptHidesAlterations`) — is recorded `***` whole; the
prompt the agent is sent is not changed, and the mask the first
scan leaves for a connection-string password of ten or more bytes matches
its own pattern and counts a finding —
its own pattern, counts a finding, and is itself masked `***` —
and sets `gen_ai.input.messages` on the span
before the runtime starts, so each finalize path carries it. Its findings
join the iteration's, and its encoded size is charged against
Expand Down
18 changes: 17 additions & 1 deletion docs/guides/user/run-artifacts-and-private-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,23 @@ Tool results in those files can quote what the agent read, such as the text
of a private Jira issue. On a public repository, any signed-in user can
download the artifact until it expires. The output scan masks secret
literals; it does not remove personal data, customer names or other private
business text.
business text. A secret that cannot be localized replaces the whole JSON
document, or the JSONL record that carries it, with a JSON error marker, and a
file whose redacted content cannot be read, written or computed is replaced by
such a marker and fails the run. If the marker cannot be written and the file
cannot be removed either, the run's error says the unredacted file is still on
disk. A private-key block that spans JSON members is handled in place instead:
object keys keep their names unless a key name is itself a line of the key body,
and each string value — or key name — that carries block text or base64 key
material becomes `[REDACTED PRIVATE KEY]`. When a
replacement happens in a run that still exits 0, the job log says so. On GitHub
Actions this is an error annotation: fullsend writes a `::error::` workflow
command whenever the job sets `GITHUB_ACTIONS=true`, and GitHub Actions renders
it. Forgejo Actions also sets `GITHUB_ACTIONS=true`, so the same `::error::`
line is written there, but Forgejo has no annotation view: its runner prints the
line in the step log and the exit status stays 0. On GitLab the line is not
written at all, so the run's log is the signal. A read, write or sanitize
failure needs no annotation because the run itself fails.

`fullsend run` leaves `output/` untouched. At the end of the job,
`fullsend prepare-artifacts` builds a filtered copy at the level you set, and
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
5 changes: 3 additions & 2 deletions internal/cli/content_collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,9 @@ func attachContent(span trace.Span, res contentResult) {
// values, once more after the fold, which can spell out a value that pass
// saw in compatibility forms. The mask that first scan leaves for a
// connection-string password of ten or more bytes ("abcd...") matches its
// own pattern again, so such a prompt counts a finding here; a shorter
// password is masked "***", which does not.
// own pattern again, so such a prompt counts a finding here and the
// placeholder is masked "***"; a shorter password is masked "***", which
// does not match.
// The pipeline also folds compatibility characters the agent received
// unfolded. Findings join the iteration's and surface through Result.
//
Expand Down
Loading
Loading