Repository navigation
Closed
Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Milestone
Description
Parent
Ticket CR1 of spec #2437 (0.1.2), the Linux rehearsal. Size: L.
What to build
The rehearsal runner, its fakes, its receipt contract, and the Linux job in the Packages workflow, as spec #2437's Implementation Decisions fix them.
tools/rehearsal/rehearse.py: standard-library Python 3.9. Given the run's archive folder, the target, the candidate's OpenWiz checkout and the install skill at itswizskills.lockcommit, it runs the six named steps in a stranger's environment:env -i, a freshHOME, an allowlistedPATH, recording build tools that fail the run, and noroom-cli. It writesrehearsal.json(openwiz.rehearsal.v1) and exits non-zero on any failed step, printing that step's exact output.tools/rehearsal/fakes/: a recordinggh(a synthetic signed-in account; reads from a fixture world; any write recorded and failing the dry run) and aclaudethat answers--versiononly.contracts/rehearsal.v1.md: the receipt's fields and the artifact nameopenwiz-rehearsal-<version>-<target>, exactly as the spec fixes them..github/workflows/packages.yml: arehearse-linuxjob, which needspackage, runs in adebian:12container onubuntu-24.04, downloads this run's Linux artifact and runs the runner. Also the aggregaterehearsaljob, which for now needsrehearse-linuxonly. Nosecrets.*,permissions: contents: read,persist-credentials: false, and no token in the rehearsal's environment. Thepackagejob is unchanged.tools/rehearsal/test_rehearse.py: the fixture suite, with one line added to CI's installer step to run it.- A short
tools/rehearsal/README.md: what it proves, and what it doesn't (no real fleet, no real account).
Owned paths
tools/rehearsal/(new: the runner, fakes, tests, fixtures and README)contracts/rehearsal.v1.md(new).github/workflows/packages.yml(shared: only the newrehearse-linuxandrehearsaljobs).github/workflows/ci.yml(shared: only one new line in the release job's installer step)changes/2441.md
Relies on: nothing
Links
none
Acceptance criteria
- On a synthetic release,
test_rehearse.pyis green on a good package and red, naming the step, on each planted break: a flipped archive byte, a manifest of another version, a build identity from another commit, a setup check that needs CloudRoom, a dry-run GitHub write, and acargocall - A Packages run dispatched on the builder's branch with one planted-break commit goes red at the named step in
rehearse-linuxandrehearsal, and the head's run is green. Both are linked on the pull request - The uploaded receipt matches
contracts/rehearsal.v1.mdand the archive's real sha256 - The workflow diff has no
secrets.*, no write permission and no token in the rehearsal's environment, and thepackagejob is byte-for-byte unchanged - Nothing under
tools/install/ortools/live-smoke/changes
Proof
P1 (Linux rehearsal): seam 1 red first, then seam 2's red and green Packages runs. P4 (no secrets) in review.
Metadata
Metadata
Assignees
Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Activity
jparker2006 commentedon Nov 22, 2026
launch-fleet: started
Hand checks before the builder starts (lead of spec #2437, under machine plan approval revision 1): the ticket is open; its only label is
ready-for-agent; no claim, builder or pull request; no blockers; no open pull request touches its owned paths (.github/workflows/ci.ymlis shared, one new line). Builder: Claude Code Opus 5.5, medium effort.jparker2006 commentedon Nov 22, 2026
agent: builder
state: done
harness: Claude Code
model: Opus 5.5
skills: build-ticket@0.2.2
step: Opened the pull request; seam 1 and both seam 2 Packages runs are linked on it, CI pending.
time: 2026-11-22T23:47:51Z
pr: #2620
jparker2006 commentedon Nov 22, 2026
Builder note on step 6 (the first-fleet dry run), for the lead to overrule if wrong:
The spec says the dry run runs
first_fleet.py where --agents local"and the read-only and preview steps up to the host-setting preview", with no--yesand no GitHub write. At the pinned install skill (0.3.0 on main, and 0.4.0 in #2397),settingneeds a recorded host (where --yes), a carried setup (continue) and a recorded mode;continueneeds a verified project and the private brain, which onlyopenwiz init --yesmakes, and that is a GitHub write. So the host-setting preview can't be reached with previews only.My pick: the dry run runs every step a stranger reaches with no
--yesand no write:where --agents local --build <build>(must be the exit-12 preview naming Claude Code and the local driver),select --repo <fake>(the onboarding's own private state file),github_login.py status --repository <fake>(must readidentity_verified), andnext(must name the next step). The fake GitHub must record no write and the recording build tools no call. Step 4'ssetup.py prepare --host localtakes its own--yes: it writes only the owner-only local setup state, andsetup.py checkcan't readcloudroom_not_neededwithout a prepared local host. Both are rulings in the pull request.Revert the #2441 planted break (seam 2): the rehearsal runs on the ar…
#2441: no explanatory comments in the runner, fakes, fixtures or jobs…
#2441: name the programs a stranger's PATH must lack
jparker2006 commentedon Nov 22, 2026
Lead ruling on step 6 (spec #2437): your pick stands. The spec's binding rules are previews only, no
--yesand no GitHub write. The host-setting preview can't be reached under them, because it needsopenwiz init --yes, a write. So the dry run stops at the furthest step a stranger reaches without one. Those steps arewhere --agents local --build <build>(the exit-12 preview naming Claude Code and the local driver),select --repo <fake>,github_login.py status --repository <fake>readingidentity_verified, andnextnaming the next step. The fake GitHub must record no write, and the recording build tools must record no call.setup.py prepare --host local --yesin step 4 is allowed: it writes only owner-only local state, never GitHub. Put both rulings, and why the dry run stops beforesetting, intools/rehearsal/README.mdand in the pull request.#2441: the README says the dry run's limit and setup's one local --yes
#2441 green: seam 1 fixtures pass and the Packages run at 84e2cbb reh…
#2441 green: the rehearsal fixture takes asset modes from the release…
#2441 red: an agent CLI planted on the stranger's PATH goes unrefused
#2441 green: the rehearsal refuses any of 32 agent and host CLIs on t…