diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3db385a..128735f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -139,3 +139,37 @@ jobs: python scripts/ci_report_failures.py pytest.log fi exit $rc + + macos-smoke: + # A platform-independent wheel is not proof of macOS execution. This job + # verifies package install, CLI smoke and demo isolation on macOS without + # GUI, provider credentials or Native Resume. + name: macOS package smoke on py3.13 + runs-on: macos-latest + timeout-minutes: 20 + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: "3.13" + cache: pip + + - name: Install core only + run: | + python -m pip install --upgrade pip + python -m pip install -e . + python -m pip install pytest + + - name: CLI smoke + run: | + voyager --version + voyager --help + voyager stats --db "$RUNNER_TEMP/r19-smoke.db" + voyager list --db "$RUNNER_TEMP/r19-smoke.db" + + - name: Demo isolation + handoff regressions + run: | + python -m pytest tests/test_demo_db_override.py tests/test_handoff_lease_cleanup.py -q + voyager demo --db "$RUNNER_TEMP/r19-demo.db" + test -f "$RUNNER_TEMP/r19-demo.db" diff --git a/CHANGELOG.md b/CHANGELOG.md index cb46288..4dbc3c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,26 +5,23 @@ All notable changes to Voyager are documented here. Format loosely follows ## [Unreleased] +## [1.6.1] — 2026-11-26 + ### Added - A privacy-safe public continuity-proof demo under `examples/continuity-proof/`. It ships a synthetic prior session, deterministic setup/verifier scripts and a real Core CLI continuation generator; no credentials, real history, provider login or GUI is involved. The small scenario is explicit about its oracle boundary and is not presented as a statistical benchmark. +- A canonical verification matrix, a safe manual Native Resume procedure and a privacy-safe causal continuity fixture/verifier. The matrix separates historical live, R16-only, BLOCKED and NOT VERIFIED claims; no production behaviour, schema, Bridge op or release state changed. ### Changed - The README first screen now leads with the cross-agent continuity value proposition, a concrete problem statement, a compact Mermaid mental model, the bounded R17 controlled result and a clear verification boundary. Privacy wording distinguishes sessionFlow itself from the agent/provider you launch. +- Contract tests now pin ambiguous WorkThread previews to expose `thread_ambiguous`, every candidate and an explicit default reason while carrying neither `selected_thread` nor `thread`; an explicit `--thread` still returns `selected_thread` and `thread_requested`. This documents the existing JSON contract only: no field, Bridge op or schema version changed, and no new user capability was added. ### Fixed - A failed Continuation Bundle write no longer leaves a WorkThread leased to a handoff that never happened. Both failures to create the output directory and failures from the atomic writer now release the single-writer lease, clear the returned token and record no pending attach, so the next legal handoff is not refused. Regression tests cover mkdir failure, atomic write failure and a successful retry without `thread unlock --steal`. - - `voyager demo --db PATH` now honours the global database override on either side of the subcommand. The demo seeds exactly the requested index and prints commands pointing at it, instead of silently writing the default `demo.db` under the real home directory. -### Changed - -- Contract tests now pin ambiguous WorkThread previews to expose `thread_ambiguous`, every candidate and an explicit default reason while carrying neither `selected_thread` nor `thread`; an explicit `--thread` still returns `selected_thread` and `thread_requested`. This documents the existing JSON contract only: no field, Bridge op or schema version changed, and no new user capability was added. - -- Added a canonical verification matrix, a safe manual Native Resume procedure and a privacy-safe causal continuity fixture/verifier. The matrix separates historical live, R16-only, BLOCKED and NOT VERIFIED claims; no production behaviour, schema, Bridge op or release state changed. - ## [1.6.0] — 2026-11-22 ### Added diff --git a/docs/releases/v1.6.1.md b/docs/releases/v1.6.1.md new file mode 100644 index 0000000..b3ab610 --- /dev/null +++ b/docs/releases/v1.6.1.md @@ -0,0 +1,68 @@ +# Release v1.6.1 — reliability patch and public continuity proof + +These are the release notes for the published **v1.6.1** tag, which carries +wheel and sdist assets. Install from the immutable tag shown under Upgrade. + +This is a backward-compatible patch release. It does not change the Store or +Bridge schema, add a product telemetry path, or require any migration. + +## Fixed + +- A failed handoff no longer leaves stale lease/state behind. If a Continuation + Bundle directory cannot be created, or the atomic bundle write fails, + `handoff_thread()` releases the single-writer lease, clears the returned + token, and records no pending attach. A later legal handoff no longer needs + `thread unlock --steal`. + +- `voyager demo --db PATH` stays isolated to the requested DB/environment. The + demo subcommand now honours the global database override and seeds exactly + the requested index instead of writing the default `demo.db` under the real + home directory. + +## Verification / Documentation + +- A canonical verification matrix now distinguishes unit, integration, + historical live, R16/R17 live, install-only, BLOCKED and NOT VERIFIED claims. +- A reproducible causal continuity demo is included under + `examples/continuity-proof/`. It uses synthetic fixtures, a prewritten oracle + and a deterministic verifier; no model, provider login, credential, real user + data or GUI is involved. +- The README first screen now explains the local-history → WorkThread → + continuation → next-agent flow and states the verification boundary directly. +- Small controlled experiments are included as reproducible evidence, not as + statistical reliability claims. + +## Compatibility + +- Bridge schema remains `1`; no Bridge op was added or changed. +- No Store schema migration and no index migration are required. Indexes created + by v1.6.0 remain readable by v1.6.1. +- Compatible with Plugin v1.4.0. No Plugin upgrade is required for this patch. +- Rollback to v1.6.0 is supported at the data/schema level; no new persistent + field or migration is introduced. + +## Upgrade + +Install from the immutable release tag: + +```sh +pipx install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.6.1" +``` + +or: + +```sh +python -m pip install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.6.1" +``` + +There is no PyPI release for this version. + +## Known limitations + +- VS Code GUI / Extension Host / one-click switch E2E remains NOT VERIFIED in + this environment. +- DSH model-driven autonomous tool selection on the seven-tool surface remains + not live-verified. +- Native Resume is not verified here; see the safe manual procedure in + `docs/native-resume-manual-verification.md`. +- `Evidence MATCH` means reference consistency, not that a quoted claim is true. diff --git a/pyproject.toml b/pyproject.toml index 04f2102..908a2ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "voyager" -version = "1.6.0" +version = "1.6.1" description = "Unified local session manager for AI coding agents (Codex, Claude Code, ZCode, DSH, Grok, ...)" readme = "README.md" requires-python = ">=3.10"