Skip to content

fix(scripts): drop hardcoded personal usernames from probe + catchup (public code) - #1725

Merged
sonichi merged 3 commits into
mainfrom
fix/probe-team-sandbox-drop-username-path
Jun 20, 2026
Merged

sonichi merged 3 commits into
mainfrom
fix/probe-team-sandbox-drop-username-path

Conversation

@sonichi

@sonichi sonichi commented Jun 20, 2026 •

Copy link
Copy Markdown
Owner

Two hardcoded personal usernames in public OSS code (the last /Users/<realname> refs outside skills/submit-use-case/, which #1723 handles):

  1. scripts/probe-team-sandbox.sh:42 — the dotenv_read sandbox-refusal probe hardcoded /Users/wangchi/Desktop/sutando/.env. The probe only needs a secret-looking path to verify refusal → generic ~/.sutando/.env. Zero behavior change.
  2. skills/catchup-after-startup/scripts/catchup-after-startup.sh:18 — a comment documenting a past fix still embedded a collaborator's username (/Users/xueqingliu/...) → genericized to /Users/<name>/ (kept the feat(catchup-after-startup): rebuild last-session context on fresh start #1056 review attribution).

Caught in repo-wide cold-review (Pro flagged #1, Pro+Air independently flagged #2). With #1723 (submit-use-case) + this PR, zero /Users/<realname> references remain on main (tests/ use /Users/test/ placeholders, fine). bash -n clean on both.

🤖 Generated with Claude Code

sonichi and others added 2 commits June 20, 2026 09:30
…dotenv_read probe

The dotenv_read sandbox-refusal probe hardcoded `/Users/wangchi/Desktop/sutando/.env`
as the secret-file path it asks the sandboxed agent to read. That leaks a personal
username into public OSS code. The probe only needs *a* secret-looking path to verify
the agent refuses — swap to the generic `~/.sutando/.env` (zero behavior change; the
refusal regex is unaffected). Caught in a repo-wide cold-review (Pro).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… comment

The comment documenting the pre-#1056 hardcoded-path removal still embedded a
personal username (/Users/xueqingliu/...). Genericize to /Users/<name>/ — keep the
#1056 review attribution. Last hardcoded personal username in public code.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@sonichi sonichi changed the title fix(probe-team-sandbox): drop hardcoded /Users/wangchi path from dotenv_read probe fix(scripts): drop hardcoded personal usernames from probe + catchup (public code) Jun 20, 2026

@sonichi sonichi left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Cold review (Echo Act IV) — LGTM, clean, no blockers.

  • probe-team-sandbox.sh: /Users/wangchi/Desktop/sutando/.env → ~/.sutando/.env. Probe semantics preserved (still tests that the sandbox refuses to read a .env); no username.
  • catchup-after-startup.sh:18: comment /Users/xueqingliu/... → /Users/<name>/..., and dropped the qingyun-wu name from the attribution line. Comment-only, zero behavior change.

Both generic, no functional change. Confirmed via repo-wide grep that #1723 + #1725 together leave zero /Users/<realname> on main. Approve pending owner merge.

@github-actions

Copy link
Copy Markdown
Contributor

@cla-assistant check

@sonichi
sonichi merged commit b5a4e22 into main Jun 20, 2026
3 checks passed
@sonichi
sonichi deleted the fix/probe-team-sandbox-drop-username-path branch June 20, 2026 20:13
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