D3845 — install.sh archives the box state on a 0.7 to 0.8 upgrade, refuses 0.7.x over 0.8 state, and names the box verbs on the closing card · Issue #3846 · gominimal/minimal · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
D3845 — install.sh archives the box state on a 0.7 to 0.8 upgrade, refuses 0.7.x over 0.8 state, and names the box verbs on the closing card #3846
### D3845 — install.sh archives the box state on a 0.7 to 0.8 upgrade, refuses 0.7.x over 0.8 state, and names the box verbs on the closing card
kind: task
size: L
est: 220 code, 320 tests
executor: agent
origin: bug
layers:
- installer:
- scripts/install.sh: adds the 0.7.x detection, the CoW or space-checked sparse state archive after stop_running_daemon, --skip-state-archive, the pre-download 0.7-over-0.8 refusal, and the box rows on the closing card
- scripts/install_test.sh: adds cases with a stub min version and a stub df for upgrade, no-op 0.8.x upgrade, short space, skip flag, install.toml and index-only refusals, and restored 0.7 state
- docs/specs/07-spec-installer/07-spec-installer.md: records the state archive, the downgrade refusal, the new flag and env, and the post-upgrade card as requirements with tests
test: just test-installer case_state_archive_on_upgrade_from_0_7
test: just test-installer case_state_archive_refuses_short_space
test: just test-installer case_refuses_0_7_over_0_8_state
proof: An upgrade from a stub 0.7.3 to 0.8 leaves a byte-identical state copy beside the state directory and prints the three min box rows, and --version 0.7.3 over 0.8 state exits non-zero with the exact refusal.
changed nothing: Revise round 2: no code change. The failed checks are the macOS e2e job (exit 100) and its aggregator ci-macos-success, which only reports the e2e failure. This branch changes only scripts/install.sh,
c2e414cd
3
pushed
262256ff
4
pushed
198f7cc8
5
pushed
f432550d
test
exit
tail
just test-installer case_state_archive_on_upgrade_from_0_7
0
== shellcheck --shell=sh == == running install_test.sh under sh == # install.sh tests (SH=sh) ok - sa1: seed install exits 0 ok - an upgrade from 0.7.3 to 0.8.0 exits 0 (R5.7) ok - the upgrade leaves a state copy beside the state directory (R5.7) ok - the state copy is byte-identical to the
just test-installer case_state_archive_refuses_short_space
0
== shellcheck --shell=sh == == running install_test.sh under sh == # install.sh tests (SH=sh) ok - ss1: seed install exits 0 ok - short space refuses the upgrade (R5.7) ok - the refusal says the space is short (R5.7) ok - the refusal says what the state uses and what is free (R5.7) ok - th
just test-installer case_refuses_0_7_over_0_8_state
0
== shellcheck --shell=sh == == running install_test.sh under sh == # install.sh tests (SH=sh) ok - a 0.8.0 install exits 0 ok - 0.7.3 over install.toml from 0.8.0 is refused (R2.6) ok - the refusal downloads nothing (R2.6) ok - the refusal says what was refused (R2.6) ok - the refusal says
Activity
agent-137 commentedon Nov 27, 2026
/implement
minimal-foundry commentedon Nov 27, 2026
Pull request #3848 is open for D3845.
branch
agent/3846-install-sh-archives-the-box-state-on-a-0-7-to-0348d9b8bc2e414cd262256ff198f7cc8f432550djust test-installer case_state_archive_on_upgrade_from_0_7just test-installer case_state_archive_refuses_short_spacejust test-installer case_refuses_0_7_over_0_8_stateVerify
min task run agent-verify: exit 0Updated 2026-11-27T21:12:17.944Z.