From 748ce778f4b191caaa16e54ea1fc24453e04d97e Mon Sep 17 00:00:00 2001 From: Julian Coy Date: Fri, 24 Jul 2026 01:24:13 -0400 Subject: [PATCH] Correct 0.2 archive minimum-release mapping to the actual activation version 0.29.0 The held CLI activation changeset projects agent-facets@0.29.0 (the linked changeset group was decoupled in #464, so agent-facets versions off its own 0.28.0 baseline + one minor rather than tracking protocol's line). The compatibility table previously named 0.31.0 as the first 0.2-supporting release, which would tell an older CLI to update to a version that skips the real one. Point MINIMUM_RELEASE_FOR_FORMAT['0.2'] and its test at 0.29.0. --- packages/cli/src/util/__tests__/archive-compatibility.test.ts | 2 +- packages/cli/src/util/archive-compatibility.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/util/__tests__/archive-compatibility.test.ts b/packages/cli/src/util/__tests__/archive-compatibility.test.ts index efe8f9ba..2af52b45 100644 --- a/packages/cli/src/util/__tests__/archive-compatibility.test.ts +++ b/packages/cli/src/util/__tests__/archive-compatibility.test.ts @@ -7,7 +7,7 @@ describe('archiveCompatibilityGuidance', () => { expect(g.what).toContain('archive format 0.2') expect(g.detail).toContain('supported archive formats: 0.1') // Known format → concrete minimum release, not a bare "update to latest". - expect(g.fix).toContain('0.31.0 or later') + expect(g.fix).toContain('0.29.0 or later') }) test('advises updating to latest for an unknown future format without inventing a minimum', () => { diff --git a/packages/cli/src/util/archive-compatibility.ts b/packages/cli/src/util/archive-compatibility.ts index 0a78b4f2..b5206bae 100644 --- a/packages/cli/src/util/archive-compatibility.ts +++ b/packages/cli/src/util/archive-compatibility.ts @@ -31,7 +31,7 @@ const MINIMUM_RELEASE_FOR_FORMAT: Readonly> = { // The first `agent-facets` release that emits/consumes the `0.2` archive // format. A CLI that supports `0.2` never renders `0.2` as unsupported; this // entry is what an *older* pre-`0.2` CLI is told to update to. - '0.2': '0.31.0', + '0.2': '0.29.0', } export interface ArchiveCompatibilityGuidance {