Skip to content

refactor(runner): share secret selection for command errors and artifacts - #185

Merged
vincentkoc merged 3 commits into
mainfrom
refactor/judge-secret-redaction
Nov 20, 2026
Merged

vincentkoc merged 3 commits into
mainfrom
refactor/judge-secret-redaction

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Summary

Command error reporting and artifact redaction selected secret environment names in two places. Use a single selection function, and share the scan setup across the three judge redaction tests.

Scope and trust impact

The selection predicate and value replacement code stay the same. The tests still check stderr, failed stdout and successful JSON keys separately and inspect the serialized artifact for leaks.

Verification

The combined tree passed go test -count=1 -p=1 ./..., go vet ./..., go run ./cmd/clawscan --help, and the leaderboard Space smoke. The focused redaction tests passed. The submission validator wrote the expected mode-0600 score file against two local fixture rows after the shared writer repair in #186.

@clawsweeper

clawsweeper Bot commented Nov 20, 2026

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@vincentkoc
vincentkoc marked this pull request as ready for review November 20, 2026 09:30
@vincentkoc
vincentkoc requested review from a team and Patrick-Erichsen as code owners November 20, 2026 09:30
* commit '69d4832':
  refactor(runner): share Cisco and AIG report file handling (#183)
  test(runner): share stdout scanner contract cases (#178)
  refactor(runner): build SkillSpector evidence results once (#172)
  refactor(profiles): share YAML field definitions for scanners and mounts (#171)
  ci: skip the Go cache when submissions are unchanged (#175)
  ci: reuse each submission score for its summary (#174)
…-redaction

* origin/main:
  fix(ci): share the JSON file writer with submission scoring (#186)
  test(runner): synchronize cancellation with scanner progress (#179)
@vincentkoc
vincentkoc merged commit d40f787 into main Nov 20, 2026
12 checks passed
@vincentkoc
vincentkoc deleted the refactor/judge-secret-redaction branch November 20, 2026 09:43
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.

1 participant