Skip to content

docs(action): drop disproved "scrub hid model auth" claim from #637 quote - #737

Merged
max-sixty merged 2 commits into
mainfrom
fix/issue-637-scrub-comment
Jun 28, 2026
Merged

max-sixty merged 2 commits into
mainfrom
fix/issue-637-scrub-comment

Conversation

@tend-agent

Copy link
Copy Markdown
Collaborator

Follow-up to #637, addressing @max-sixty's "but how about the originally quoted section?"

My earlier sweep claimed the whole originally-quoted env: block was gone. That was imprecise: three of its four lines (the CLAUDE_CODE_OAUTH_TOKEN / ANTHROPIC_API_KEY vars and their "Expose the harness auth…" comment) were removed by the proxy refactor (#704), but CLAUDE_CODE_SUBPROCESS_ENV_SCRUB: "0" survived — and its comment still carried the one claim #637 actually disproved.

The surviving comment asserted bubblewrap / SUBPROCESS_ENV_SCRUB "was hiding the model auth from the agent." #637's evidence was the opposite: the OAuth token was absent from the Bash-tool subprocess with the scrub already off (0), so the scrub was never the gate — Claude Code strips its own Anthropic credentials from bash subprocesses independent of this knob. The refactor reframed the claim as "moot" but kept its disproved premise intact.

This reword keeps the two true facts and drops the false one:

Applied to both Claude harness actions. Comment-only — no behavior change.

Before / after

Before (claude/action.yaml):

# so the sandbox stays off (`0`). bwrap's value was hiding the model
# auth from the agent; that is now moot — the agent's env holds only
# dummy GitHub + Anthropic secrets, so there is nothing sensitive left
# for SUBPROCESS_ENV_SCRUB to hide.

After:

# so the subprocess sandbox stays off (`0`). [...]
# Turning it off costs no credential hiding: the agent's env holds only
# dummy GitHub + Anthropic secrets (the proxy injects the real ones
# per-host), so SUBPROCESS_ENV_SCRUB has nothing sensitive to scrub.
# #637 separately found the model auth already absent from Bash-tool
# subprocesses with the scrub off, so the strip never depended on it.

…uote

The originally-quoted env block in claude/action.yaml (and its mirror in
claude-interactive/action.yaml) set CLAUDE_CODE_OAUTH_TOKEN /
ANTHROPIC_API_KEY plus CLAUDE_CODE_SUBPROCESS_ENV_SCRUB: "0". The proxy
refactor (#704) removed the two credential vars but kept the scrub line,
and its comment still asserted that bubblewrap / SUBPROCESS_ENV_SCRUB
"was hiding the model auth from the agent" — the exact mechanism #637
disproved by observing the OAuth token absent from Bash-tool subprocesses
*with the scrub off*.

Reword the surviving comment to reflect reality: the scrub stays off for
the unrelated bwrap `!`-corruption bug, and credential hiding is moot
regardless because the agent's env holds only dummy secrets (the proxy
injects the real ones per-host). The strip of model auth from bash never
depended on this knob.

Comment-only change; no behavior change.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@max-sixty

Copy link
Copy Markdown
Owner

shorten and simplify

Per review, trim the reworded SUBPROCESS_ENV_SCRUB comment to the two
load-bearing facts: bwrap corrupts `!`, and the off setting leaks
nothing because the env carries only dummy secrets.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@tend-agent

Copy link
Copy Markdown
Collaborator Author

Shortened both comments to the two load-bearing facts (bwrap !-corruption keeps the scrub off; off leaks nothing because the env carries only dummy secrets). Dropped the #637 relitigation and the longer hedging. Pushed in f48d6e8.

@max-sixty
max-sixty merged commit 1abe84e into main Jun 28, 2026
5 checks passed
@max-sixty
max-sixty deleted the fix/issue-637-scrub-comment branch June 28, 2026 06:50
@max-sixty max-sixty mentioned this pull request Jun 29, 2026
max-sixty added a commit that referenced this pull request Jun 29, 2026
Release 0.1.9. Version bump, lockfile sync, and CHANGELOG.

Ships 6 commits since 0.1.8:

### Improved
- `review` skill runs a `/code-review` pass alongside its manual checks,
effort scaled to how core the change is
([#741](#741))
- Default harness timeout rises from 60 minutes to 3 hours
([#739](#739))
- `running-in-ci` recheck guard catches a new directive, not just a
duplicate ([#738](#738))
- Both Claude harnesses update to claude-code 2.1.195
([#740](#740))

### Fixed
- Incremental PR review no longer leaks the base-merge delta (three-dot
diff + `git log --no-merges`)
([#735](#735))

### Documentation
- A composite-action comment drops a disproved security claim
([#737](#737))

The `0.1.9` tag is pushed after this merges.

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants