Repository navigation
Description
Parent
Ticket AP16 of spec #1223 (0.1.0). Size: S. Fix ticket for a real-user finding from the cross-family re-check of #1404 (orchestrator ruling, ClosedWiz #3065 comment 7026394905).
What to build
Someone who installed OpenWiz before AP11 can still check and update their install. Today, AP11's CLI-only asset allowlist is also applied to the manifest that is already installed. install status reaches it through selected(), and tools/install/pull.py applies it to the currently selected build before checking the candidate. So status refuses a working pre-AP11 install (exit 5, unknown asset role), and the update stops before it fetches the candidate. Verify an already-selected legacy manifest against an explicit legacy layout, read-only and for verification only, and keep the CLI-only allowlist for new packages and candidates. A legacy install reaches a CLI-only candidate through the normal stage and switch.
Owned paths
tools/install/install.pyinopenwizdev/OpenWiz(shared: manifest verification andselected()only)tools/install/pull.pyinopenwizdev/OpenWiz(shared: the selected-build check only)tools/install/test_pull.pyinopenwizdev/OpenWiz(shared: the new upgrade cases only)
Relies on: contracts/install.v1.md
Links
- 0.1.0 AP11: delete the old web view, the act-from-the-UI pieces, the site copy, and the server, service and store #1264 real: the CLI-only asset allowlist this fix narrows to new packages
Acceptance criteria
- A pre-AP11 selected build (made with the
a0130bcfixture) plus a CLI-only candidate:install statusexits 0 and reports the legacy build, andpull.py stagefetches and stages the candidate, then the switch completes - A new package or candidate with a non-CLI asset role is still refused with
unknown asset role - A contract edit beyond a sentence on legacy verification is asked on the ticket first
- Test rule (The test rule: what earns a test, and what never does #687): every new test protects a supported behaviour, a contract others rely on or a safety invariant, and the pull request says per test
catches: <the bug>, orno new test: <why>. No mock-returns-stub, source mirroring, compiler re-checks, quota tests or unreachable cases; a bug gets a failing test first. - Every test the pull request deletes names its keeper (a test that still catches its bug) or says the behaviour it protected is gone.
Proof
The upgrade regression, red first at 5b417da (status 5, unknown asset role), then green. Source: #1404 (comment) (R1).
Builder Claude Code Opus 5.5 Medium and reviewer Codex Sol 6.2 Medium, other family (a fresh Opus reviewer under J224 only if Codex refuses), no helper agents. The pull request is in OpenWiz and merges through the merge queue.
Activity
jparker2006 commentedon Nov 20, 2026
launch-fleet: started
jparker2006 commentedon Nov 20, 2026
agent: builder
state: working
harness: claude-code
model: claude-opus-5-5
skills: build-ticket@0.1.2
step: Grant recorded; waiting for CI at the fixed test before the green hand-back.
time: 2026-11-20T00:50:23Z
jparker2006 commentedon Nov 20, 2026
Scope question before hand-back.
Found: the ticket owns
selected(), butselected()lives intools/install/install(the entry script, no.py), not intools/install/install.py. So the owned-path list doesn't cover the file it's in. The fix needs exactly one line there:selected()callsinstaller.manifest_at(manifest, installer.sha(raw), target, selected=True)in place of the call withoutselected=True. Nothing else in that file changes.Everything else is on the branch
room/1575-legacy-install-status-update(checkpointbc4f6df): the red test, the explicit legacy layout ininstall.py(used only withselected=True), andpull.stagereading the selected build with it. Locally, with that one line added, the new upgrade test goes from red (status exit 5,unknown asset role) to green. A legacy-layout candidate is still refused withunknown asset role.Options:
selected=Trueedit toselected()intools/install/install, as the bullet'sselected()intends. My pick.tools/install/installuntouched and havemanifest_attreat any file namedinstall-manifest.jsonas the selected build. No edit outside the owned paths, but it infers the role from a filename, which is fragile and widens what a candidate staged under that name could pass.selected()into its own ticket.Also, for the record: no CI job runs
tools/install/test_pull.pytoday. I'm not editing a workflow for this. The local red and green runs are the evidence, and the PR will list this under Gaps.jparker2006 commentedon Nov 20, 2026
F4 grant (fleet #1223), on the builder's scope question: one line in
tools/install/installis granted, passingselected=Truetomanifest_atinsideselected(). The ticket namesselected()as owned, but it lives in that file rather thaninstall.py, so this is the supporting edit the fix can't work without. Record it in the PR. The one sentence on legacy verification incontracts/install.v1.mdis within the acceptance line, so keep it to that sentence. The CI gap (no job runstools/install/test_pull.py) stays a gap: list it in the PR and don't edit the workflow. The reviewer runs the file directly. needs-info is off.jparker2006 commentedon Nov 20, 2026
Update to the F4 grant above, under standing ruling 7013668361 (J87 planner): the builder may add ONE line running
tools/install/test_pull.pyto an existing CI job (for example the release:install unit step), with no new job, trigger, permission or secret, listed under the PR's Rulings. If that file's existing tests fail in CI, the line comes out and the gap stays, explained in the PR.#1575: selected() verifies the installed build with selected=True (F4…
#1575: classify docs/evidence/1575 as public in the import paths
jparker2006 commentedon Nov 20, 2026
One more record needed, for the CI
owned-pathscheck on #1611.Found: the check only accepts a grant from a record author whose text matches
F4 supporting edit granted(oredits granted), followed by the backticked paths. The answer above says "F4 grant", so CI still reports two files as outside the owned paths:tools/install/install: the granted one line inselected().contracts/install.v1.md: the one legacy-verification sentence from acceptance criterion 3.My GitHub account is a record author, so I won't write that grant myself.
Options:
F4 supporting edits granted:, namingtools/install/installandcontracts/install.v1.md, each in backticks. My pick.tools/install/installin that form.Nothing else is open. The
changesfailure (unclassified evidence paths) is fixed at83ab283.jparker2006 commentedon Nov 20, 2026
F4 supporting edits granted:
tools/install/install(one line:selected=Truepassed tomanifest_atinselected()),contracts/install.v1.md(one sentence on read-only verification of a legacy selected build, within this ticket's acceptance line).This restates in the check's form the fleet #1223 grants already on this ticket (7026678406 and 7026686819).
#1575: the legacy-build test makes every folder 0700 under any umask
jparker2006 commentedon Nov 20, 2026
agent: reviewer
state: working
harness: Codex
model: Sol 6.2 Medium
skills: review-ticket@0.1.2, launch-fleet@0.1.2
step: Pinned the exact head and verified all four required checks.
time: 2026-11-20T01:06:22Z
jparker2006 commentedon Nov 20, 2026
launch-fleet: merge verified: OpenWiz #1611 merged through the merge queue at its approved head 12ef11e (merge commit c0f1e74, whose second parent is the approved head), on Codex APPROVE 7027191284 (cross-family). Polish is in #1652.
launch-fleet: archived
jparker2006 commentedon Nov 20, 2026
launch-fleet: archived