Files
alzeo/tests/fixtures
Hasan Basbunar 5e48a454ba install.sh: OpenCode 2 is the default, --opencode 1 is remembered in the marker
Decision 1546 (2026-11-20) replaces the opt-in (445): a plain ./install.sh serves the
pinned OpenCode 2 (OPENCODE2_VERSION), and so does the first update of a box installed
before v1.56.0, whose marker does not exist yet. --opencode 2 stays accepted; --opencode 1
pins the box back to the 1.x pin and writes the marker "1", so a later update without
the flag keeps it on 1.x. The marker now records the major either way, written only once
a matching binary stands (a failed download still writes nothing). OC_START_MAJOR keeps
the major the box served before the run, for the end-of-install migration message.

The no-flag test changes meaning: without the flag the run is the v2 run (CHOICE=2,
marker 2), a box marked 1 stays 1 on a plain update, and a stray 2.x on a no-marker box
is replaced by the pin. Each new test failed on the previous code (7 red, shown in the
session journal); 61 tests green after.

Generated by Mistral Vibe.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:38:54 +01:00
..