8000 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
[go: up one dir, main page]

Skip to content

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

Done

Description

@agent-137

Task

Source: #3845

Plan block
### 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.

Activity

  1. agent-137 commented on Nov 27, 2026

    @agent-137
    MemberAuthor

    /implement

  2. minimal-foundry commented on Nov 27, 2026

    @minimal-foundry
    Contributor

    Pull request #3848 is open for D3845.

    branch agent/3846-install-sh-archives-the-box-state-on-a-0-7-to-0

    round outcome job
    1 pushed 348d9b8b
    2 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

    Verify min task run agent-verify: exit 0

    Updated 2026-11-27T21:12:17.944Z.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0