fix(diagnose): sandbox reproductions from outside text #154
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/repro-sandbox"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
A reproduction built from someone else's issue should run only where it
cannot reach the user's files, credentials, or network, as
review-prand
check-issuealready run outside code.What changed
diagnosestep 2 commits a reproduction built from text fromoutside, such as an issue someone else filed or a
check-issueverdict, and runs it, there and in step 4, only through the main
checkout's
run-sandboxed.sh. A run the sandbox cannot do counts asnot run and goes to
route-back. A reproduction from the user's ownreport, or a failing test, runs as before.
diagnosestep 3 offers a bisect only for a reproduction not builtfrom text from outside.
check-issuestep 3 also names the main checkout's copy of thescript.
diagnosepage, thefix-bugpage, and the README's bubblewrapline say where such a reproduction runs.
How to verify
sed -n '/^2\. /,/^3\. /p' .agents/skills/diagnose/SKILL.md | tr -s '[:space:]' ' ' | grep -c run-sandboxedprints
1, and0onmain.bash tests/verify-agent-config.sh(266 passed),bash tests/check-work-folder.sh(46),.agents/hooks/shellcheck.sh repo,prettier --check '**/*.md',scripts/verify-agent-config.sh,and
git diff --check mainpass.end.