Skip to content

v1.6.58 — migrated interrupted-history synchronization

Choose a tag to compare

@groopcd groopcd released this 09 Nov 22:26
· 45 commits to master since this release

Fix migrated interrupted V1 history synchronization

OpenCode 1.x can retain an unfinished assistant after an interrupted or killed
turn, even when later turns have completed. Native V2 migration preserves that
assistant but native export omits it. oc-box 1.6.51 treated the omission as still
changing and could refuse normal exit-time history synchronization.

This release archives the native export when the unfinished assistant is
superseded by settled messages and the session is inactive. Archive metadata
records only the omitted assistant count; a count-only notice explains affected
sessions. An unfinished tail, running shell/compaction, active superseded case,
changing transcript or unverifiable import remains pending. Other sessions can
still synchronize during a pending pass; their success does not turn the whole
operation into a false success. Pending sessions keep their prior archives and
checkpoint, and only fixed whitelisted reasons are displayed.

Upgrade through the installation's normal channel, close the owning client and
retry oc-box sync --project /path/to/project when work has completed. Do not
reset, reimport or recreate an existing workspace to apply this correction.
Published 1.6.51 and older fixture evidence are unchanged.

Accepted source identity

  • Accepted full source commit: 3138a8727c3638983a8b9d19b1cb93a83d94a027
  • Source version: 1.6.58+g3138a87; public package/tag version: 1.6.58 / v1.6.58
  • Absolute commit count: 87 (the original patch-count baseline is unchanged).
  • Native V1/V2: 1.19.5 / 2.2.6

Reviewed external-host acceptance

User-supplied reports were reviewed against this exact accepted candidate:

  • Focused history/readiness: PASS, stage complete, all 33 checks true,
    launcher exits [0, 0, 0, 1, 0], no primary/secondary failures and no failure
    trace. The single nonzero exit is the deliberate pending-shell refusal,
    followed by successful recovery. The six new checks establish exact fixed
    reasons, actual earlier/pending/later export ordering, same-pass checkpoint
    and native archive progress on both sides, and unchanged pending archives
    before releasing the real shell. All 29 reported runtime/helper hashes
    match the accepted Git commit.
    Runner SHA-256: 42e25d7df6d7caf90acac16d567ebb5f52a095f31eba7811dd46554fbb396b13.
    Native 2.2.6 SHA-256: 50503d24577fa4117a7c95ee85b2cd679606a87eacf20ca54ed5db5c9e1cf895.
  • Global-vault: all 13 stages passed, including first global import,
    native Build tools/permission boundaries, rotation/reload/attach, new-owner
    delivery, --no-vault, and full encrypted backup/restore with stopped byte-exact
    state and restoring-host vault/history/OS checks.
  • V1/V2 lifecycle: all six existing stages passed with 18 synthetic
    provider requests, including selected-vault delivery/rotation/attach,
    full/portable restore, wrong-password preservation, reset, downgrade and V2
    return. The fresh run includes all nine superseded-history checks: exact
    native V1 import, migrated unfinished projection, exact raw omission and checked
    count, production sync/native destination round-trip, original V1 preservation
    through reset and reopen, and inactive-major database preservation.

The focused/global reports explicitly record the full commit, count and
dirty: false. The lifecycle report records the source version and native
versions, not a separate dirty/full-commit field; the operator's fail-fast handoff
checks the exact full commit and clean source before/after each fixture. The
Podman schema-policy field is not a measurement of the host's Podman version.

Offline and CI validation

  • Frozen-input local checks: 727 unit tests each on Python 3.10 and 3.13;
    native V1/V2 smoke checks, including actual V1 SIGKILL interruptions,
    migrated count-annotated archive round-trips, unfinished-tail refusal and
    same-pass pending-shell progress; formatting, helper lint, generated manuals
    and Bash/ShellCheck. The pagination-corrected helper passed a fresh 23-check
    synthetic native rehearsal; earlier failed rehearsals remain failed evidence.
    The clean candidate wheel/sdist, metadata and isolated installation/vault-extra
    package gates passed.
  • Exact-commit source/package/native CI
    passed both Python versions and unmodified V1/V2 native integration.
  • All seven distro checks
    passed: Tumbleweed, Leap, Ubuntu, Debian, Fedora, Arch and Alpine.
  • The build-only publishing gate
    passed; its publish job was skipped.

Host coverage is scripted synthetic acceptance, not interactive TUI/web,
real-provider inference, network-containment or security certification. The
imported host interruption fixture is not a host SIGKILL reproduction; actual
crash-origin regression coverage is direct native/offline. Do not infer the
active superseded-assistant branch from an ordinary foreground readiness test.

Distribution identity

The accepted commit is integrated unchanged into master and tagged as
v1.6.58; no merge, rebase or evidence commit changes the tested identity.
The release workflow publishes PyPI through Trusted Publishing. Installed
metadata retains the full source hash, absolute commit count and +g3138a87
identity even though the public Python version is 1.6.58.

The checkout documentation describes the pre-acceptance handoff. This release
note records the subsequently reviewed acceptance without changing the frozen
source. Any later documentation-only commit has its own distribution identity;
published 1.6.51 and all earlier successful/failed evidence remain unchanged.

Published artifacts

The release-triggered Trusted Publishing run succeeded. Public GitHub and PyPI wheel/sdist bytes were downloaded anonymously and match these SHA-256 digests and SHA256SUMS. Isolated public-wheel installation (including the vault extra), public-sdist rebuild/installation and clean source provenance checks passed.

File SHA-256
oc_box-1.6.58-py3-none-any.whl 7cfbea5bb01d286a8109e4a1556a0d5c8dc96e51f703f2bcf5373d4a25d7509c
oc_box-1.6.58.tar.gz 756c9e2b75532f98e17f3f261c8b10af52b5aceaf88e76eec45eaf7153174c9c