Private
Public Access
2.3 KiB
2.3 KiB
description, agent
| description | agent |
|---|---|
| Autonomously execute a conductor track in the Tier 2 sandbox | tier2-autonomous |
/tier-2-auto-execute
Run a track autonomously in the Tier 2 sandboxed mode. No permission: ask prompts.
Arguments
$ARGUMENTS - Track name (required). Examples: result_migration_review_pass, data_structure_strengthening_20260606.
Optional flags: --resume (continue from last completed task), --toast (Windows toast on give-up).
Pre-flight
- Verify sandbox is active. This slash command must be invoked from a sandboxed OpenCode session. If
manual-slop_get_ui_performancereturns an error or the run_tier2_sandboxed.ps1 wrapper is not in the parent process, refuse to start. - Load the track spec. Read
conductor/tracks/<track-name>/spec.mdandplan.mdfrom the current branch. If the track does not exist, abort. - Check for a previous run. If
<app-data>/tier2/<track-name>/state.jsonexists AND--resumeis NOT set, abort with: "Previous run found for this track. Use--resumeto continue, or delete the state file to start fresh."
Protocol
git fetch origin maingit switch -c tier2/<track-name> origin/main(NOTgit checkout- it is banned)- Initialize failcount state at
<app-data>/tier2/<track-name>/state.json(useload_stateor fresh state) - For each task in
plan.md: a. Red: delegate test creation to @tier3-worker b. Run tests; if pass unexpectedly, callrecord_red_failureand checkshould_give_upc. Green: delegate implementation to @tier3-worker d. Run tests; if fail, callrecord_green_failureand checkshould_give_upe. On green:record_commitandrecord_green_success(resets counters) f. Commit per task withgit add . && git commit -m "..."and attach git note g. Updateplan.mdwith commit SHA - After all tasks complete, print success summary.
- On give-up: call
write_failure_reportfromscripts.tier2.write_report, print "TRACK ABORTED, see report at ".
Hard Bans (enforced by 3 layers)
git restore*(any form) — deniedgit push*(any push) — deniedgit checkout*(any form) — denied; usegit switchinsteadgit reset*(any form) — denied
Filesystem access is restricted to the Tier 2 clone + <app-data>/manual_slop/tier2/. The Windows restricted token blocks reads/writes outside these paths at the OS level.