From bec15765a708c5e24e1ef2a3c175c9c6f91b962a Mon Sep 17 00:00:00 2001 From: Copilot Date: Mon, 9 Nov 2026 19:23:00 +0200 Subject: [PATCH] release: prepare 2.0.0-preview.4 Drain all 14 pending changesets into preview.4 release notes, bump the private root and public packages in lockstep, preserve exact published CLI-to-SDK pairing, and keep package-manager and stable channels held. Co-authored-by: Data (Squad) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .changeset/blue-health-metadata.md | 6 ----- .changeset/calm-index-lock.md | 5 ---- .changeset/cap-copilot-sdk-1-0-29.md | 6 ----- .changeset/casting-source-branch-ownership.md | 6 ----- .changeset/doctor-exit-status.md | 5 ---- .changeset/fix-history-shadow-eof-anchor.md | 5 ---- .../gh-aw-windows-verifier-and-quickstart.md | 6 ----- .../governed-memory-backend-migration.md | 5 ---- .changeset/legacy-charter-capabilities.md | 5 ---- .changeset/quiet-locks-follow-state.md | 5 ---- .changeset/quiet-workflows-preserve.md | 5 ---- .../repo-move-github-squad-gh-aw-identity.md | 6 ----- ...repo-move-github-squad-package-metadata.md | 6 ----- .../repo-move-github-squad-user-links.md | 6 ----- CHANGELOG.md | 26 ++++++++++++++++++- .../content/docs/scenarios/release-process.md | 16 ++++++------ docs/src/content/docs/whatsnew.md | 4 +++ package-lock.json | 10 +++---- package.json | 2 +- packages/squad-cli/CHANGELOG.md | 18 +++++++++++++ packages/squad-cli/package.json | 4 +-- packages/squad-sdk/CHANGELOG.md | 18 +++++++++++++ packages/squad-sdk/package.json | 2 +- test/registry-preflight.test.ts | 10 +++---- 24 files changed, 87 insertions(+), 100 deletions(-) delete mode 100644 .changeset/blue-health-metadata.md delete mode 100644 .changeset/calm-index-lock.md delete mode 100644 .changeset/cap-copilot-sdk-1-0-29.md delete mode 100644 .changeset/casting-source-branch-ownership.md delete mode 100644 .changeset/doctor-exit-status.md delete mode 100644 .changeset/fix-history-shadow-eof-anchor.md delete mode 100644 .changeset/gh-aw-windows-verifier-and-quickstart.md delete mode 100644 .changeset/governed-memory-backend-migration.md delete mode 100644 .changeset/legacy-charter-capabilities.md delete mode 100644 .changeset/quiet-locks-follow-state.md delete mode 100644 .changeset/quiet-workflows-preserve.md delete mode 100644 .changeset/repo-move-github-squad-gh-aw-identity.md delete mode 100644 .changeset/repo-move-github-squad-package-metadata.md delete mode 100644 .changeset/repo-move-github-squad-user-links.md diff --git a/.changeset/blue-health-metadata.md b/.changeset/blue-health-metadata.md deleted file mode 100644 index d01663249..000000000 --- a/.changeset/blue-health-metadata.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@bradygaster/squad-cli': patch -'@bradygaster/squad-sdk': patch ---- - -Expose versioned runtime and state backend metadata in health reports. diff --git a/.changeset/calm-index-lock.md b/.changeset/calm-index-lock.md deleted file mode 100644 index c097569bf..000000000 --- a/.changeset/calm-index-lock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@bradygaster/squad-sdk': patch ---- - -Serialize memory index updates across local store instances and processes. diff --git a/.changeset/cap-copilot-sdk-1-0-29.md b/.changeset/cap-copilot-sdk-1-0-29.md deleted file mode 100644 index 4929c6083..000000000 --- a/.changeset/cap-copilot-sdk-1-0-29.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@bradygaster/squad-sdk': patch -'@bradygaster/squad-cli': patch ---- - -The interactive shell and other Copilot features no longer fail with `ERR_PACKAGE_PATH_NOT_EXPORTED` after a fresh install, because `@github/copilot-sdk` is now held below 1.0.29, whose `vscode-jsonrpc` 10 dependency breaks the CLI's ESM import patch (#2414). This is a temporary cap until #2415 makes that patch conditional. diff --git a/.changeset/casting-source-branch-ownership.md b/.changeset/casting-source-branch-ownership.md deleted file mode 100644 index ffa653b9b..000000000 --- a/.changeset/casting-source-branch-ownership.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@bradygaster/squad-cli": patch -"@bradygaster/squad-sdk": patch ---- - -Keep all casting configuration on the normal source branch for every state backend. Refresh existing hooks without retaining the obsolete casting block, reject runtime casting policy mutations, and align memory/identity safeguards and coordinator instructions with their actual scope. diff --git a/.changeset/doctor-exit-status.md b/.changeset/doctor-exit-status.md deleted file mode 100644 index a557a78b6..000000000 --- a/.changeset/doctor-exit-status.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@bradygaster/squad-cli': patch ---- - -Return a failing exit status from `squad doctor` when checks fail. diff --git a/.changeset/fix-history-shadow-eof-anchor.md b/.changeset/fix-history-shadow-eof-anchor.md deleted file mode 100644 index 29126d49d..000000000 --- a/.changeset/fix-history-shadow-eof-anchor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@bradygaster/squad-sdk': patch ---- - -Fix history-shadow section parsing: replace the invalid `\Z` regex anchor so terminal sections are found (no duplicate `## References` header) and a blank line is kept before the next section. diff --git a/.changeset/gh-aw-windows-verifier-and-quickstart.md b/.changeset/gh-aw-windows-verifier-and-quickstart.md deleted file mode 100644 index 24a7ee6cf..000000000 --- a/.changeset/gh-aw-windows-verifier-and-quickstart.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@bradygaster/squad-cli": patch -"@bradygaster/squad-sdk": patch ---- - -Preserve Windows and XDG GitHub CLI extension environment variables in squad-install-verifier.mjs and update the gh-aw-enlistment skill and guide for github.com preflight auth and the three first-install safe-update secrets. diff --git a/.changeset/governed-memory-backend-migration.md b/.changeset/governed-memory-backend-migration.md deleted file mode 100644 index 901246ecf..000000000 --- a/.changeset/governed-memory-backend-migration.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@bradygaster/squad-cli": patch ---- - -Preserve governed memory when migrating local/worktree storage to orphan/two-layer storage, including decision inbox records, the array index, configuration, audit archives and tombstones. Abort on destination conflicts or transfer failure before changing backend authority, and retain source files until the config write succeeds so identical imports can be retried. diff --git a/.changeset/legacy-charter-capabilities.md b/.changeset/legacy-charter-capabilities.md deleted file mode 100644 index b1ff51dd4..000000000 --- a/.changeset/legacy-charter-capabilities.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@bradygaster/squad-sdk": patch ---- - -Team capability advertisement now reads legacy `## Role` and `## Owns` charter sections, so declared implementers and reviewers are no longer reported as advisory-only. diff --git a/.changeset/quiet-locks-follow-state.md b/.changeset/quiet-locks-follow-state.md deleted file mode 100644 index 4c4df8bb5..000000000 --- a/.changeset/quiet-locks-follow-state.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@bradygaster/squad-sdk': patch ---- - -Coordinate memory index locks with the configured state backend. diff --git a/.changeset/quiet-workflows-preserve.md b/.changeset/quiet-workflows-preserve.md deleted file mode 100644 index 508060176..000000000 --- a/.changeset/quiet-workflows-preserve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@bradygaster/squad-cli': patch ---- - -Preserve customized squad-ci workflows during upgrade. diff --git a/.changeset/repo-move-github-squad-gh-aw-identity.md b/.changeset/repo-move-github-squad-gh-aw-identity.md deleted file mode 100644 index 97b29ddd4..000000000 --- a/.changeset/repo-move-github-squad-gh-aw-identity.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@bradygaster/squad-cli': patch -'@bradygaster/squad-sdk': patch ---- - -Update the shipped gh-aw-enlistment skill for the repository's new home, `github/squad`. It now installs the gh-aw package as `github/squad/workflows`, links to the docs guide's new address, and allowlists the `github/squad/.github/actions/squad-init` action. Before installing or upgrading, it checks that the chosen Squad revision declares `github/squad/workflows` in its package manifest, and stops otherwise. It no longer suggests installing an older revision as `bradygaster/squad/workflows`, because such revisions download the Squad CLI from the separately controlled `bradygaster/squad` fork. It also explains how to move an installation off that legacy identity, which the install verifier accepts only so that existing installations can move. That upgrade stops before removing anything if the forced reinstall fails, and until it is committed, its strict compile gate accepts only the four expected squad-init owner-replacement warnings. Its staging gate also permits deleting any other Squad ownership record the install verifier tells you to delete, such as a duplicate or case-variant record, but never the `github/squad/workflows` record that gh-aw writes. diff --git a/.changeset/repo-move-github-squad-package-metadata.md b/.changeset/repo-move-github-squad-package-metadata.md deleted file mode 100644 index 2d11c4634..000000000 --- a/.changeset/repo-move-github-squad-package-metadata.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@bradygaster/squad-cli': patch -'@bradygaster/squad-sdk': patch ---- - -Point published package metadata and the SDK's build and distribution defaults at the repository's new home, `github/squad`, so npm provenance publishing keeps working after the move. diff --git a/.changeset/repo-move-github-squad-user-links.md b/.changeset/repo-move-github-squad-user-links.md deleted file mode 100644 index 7db748ff7..000000000 --- a/.changeset/repo-move-github-squad-user-links.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@bradygaster/squad-cli': patch -'@bradygaster/squad-sdk': patch ---- - -Point the CLI and SDK's user-facing links (release notes, issue and bug-report links, and the git-notes migration guide, which previously linked a page that didn't exist) and the templates `squad init` ships at the repository's new home, `github/squad`. diff --git a/CHANGELOG.md b/CHANGELOG.md index f0694bcf3..eb364af6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,31 @@ All notable changes to this project will be documented in this file. - Stable `v1.1.0` predates the following fixes; merging them into `dev` did not publish a fixed stable package. Carry these notes into the next stable release when it is actually promoted. No stable version or publication date is assigned here. - `squad upgrade --self --dry-run` reports the planned upgrade without installing it. `squad upgrade --state-backend orphan --dry-run` also avoids backend migration, source deletion, config changes and hook installation (#2303, #2295). Available in `v2.0.0-preview.2` and later previews, not stable `v1.1.0`. -- `squad memory` and `memory.*` share the backend-aware governed store (#2317, #2316), so CLI writes and MCP searches use the same storage. Available in `v2.0.0-preview.3`, not stable `v1.1.0`. Existing-memory backend migration is a separate issue (#2425). +- `squad memory` and `memory.*` share the backend-aware governed store (#2317, #2316), so CLI writes and MCP searches use the same storage. Available in `v2.0.0-preview.3` and later previews, not stable `v1.1.0`. Transactional existing-memory backend migration (#2425, #2439) is available in `v2.0.0-preview.4`. + +## [2.0.0-preview.4] - 2026-11-09 + +Fourth Squad 2.0 preview. This release completes the repository migration to `github/squad` across published npm and NuGet package metadata, runtime links, templates, documentation, and `gh-aw` workflow package identity, adds transactional governed-memory backend migration with source-branch casting ownership, and includes memory lock coordination and Copilot SDK runtime compatibility fixes. npm continues to use `insider` as the canonical dist-tag with `preview` as a compatibility alias; `latest` remains on 1.1.0. + +### Added + +- Expose versioned machine-readable runtime and state-backend metadata in health reports (#2384). + +### Changed + +- Complete the repository move to `github/squad`: update published npm and NuGet metadata, SDK build and distribution defaults, CLI and SDK user-facing links, `squad init` templates, documentation links (`github.github.com/squad`), and the `gh-aw-enlistment` skill and install verifier for the `github/squad/workflows` package identity, explicit `SQUAD_SHA` manifest preflight verification, and legacy `bradygaster/squad/workflows` migration (#2408, #2410, #2411, #2412, #2432, #2433, #2435). +- Keep all `.squad/casting/` configuration on the normal source branch across every state backend, refresh managed git hooks to remove the obsolete casting staging block, reject runtime casting policy mutations, and align memory and identity safeguards with their actual scope (#2229, #2439). + +### Fixed + +- Preserve governed memory transactionally when migrating `local` or `worktree` storage to `orphan` or `two-layer` storage, including decision inbox records, the array index, configuration, audit archives, and tombstones; abort on destination conflicts or transfer errors before switching backend authority and retain source files until the configuration write succeeds (#2425, #2439). +- Serialize governed-memory index updates across local store instances and processes, and coordinate memory index locks across worktrees with the configured state backend (#2356, #2383). +- Hold `@github/copilot-sdk` below `1.0.29` so fresh installs do not fail with `ERR_PACKAGE_PATH_NOT_EXPORTED` when `vscode-jsonrpc` 10 breaks the CLI's ESM import patch, and support the Copilot SDK bundled runtime in `Squad.Agents.AI` (#2373, #2414, #2416). +- Read legacy `## Role` and `## Owns` charter sections during team capability advertisement so declared implementers and reviewers are not reported as advisory-only (#2381). +- Preserve customized `squad-ci` workflows during `squad upgrade` (#2382). +- Return a failing exit status from `squad doctor` when validation checks fail (#2376). +- Replace the invalid `\Z` regex anchor in `history-shadow` section parsing so terminal sections match without duplicating headers and keep a blank line before the next section (#2374). +- Bind standalone archive checksums to validation records before release upload and remove deprecated Homebrew cask syntax from `generate-packaging.mjs` (#2377, #2437). ## [2.0.0-preview.3] - 2026-10-29 diff --git a/docs/src/content/docs/scenarios/release-process.md b/docs/src/content/docs/scenarios/release-process.md index 275d9ee24..6f15d9737 100644 --- a/docs/src/content/docs/scenarios/release-process.md +++ b/docs/src/content/docs/scenarios/release-process.md @@ -17,7 +17,7 @@ Create a normal release-preparation PR targeting `dev`. Keep the root, SDK, and CLI versions in lockstep: ```bash -VERSION=2.0.0-preview.3 +VERSION=2.0.0-preview.4 npm version "$VERSION" --workspaces --include-workspace-root --no-git-tag-version npm pkg set "dependencies.@bradygaster/squad-sdk=>=$VERSION" \ --workspace @bradygaster/squad-cli @@ -27,7 +27,7 @@ npm install --package-lock-only Add an exact changelog heading: ```markdown -## [2.0.0-preview.3] - YYYY-MM-DD +## [2.0.0-preview.4] - YYYY-MM-DD ``` Before merging, verify: @@ -45,11 +45,11 @@ Wait for `dev` CI to pass after the PR merges. ## Publish a preview -Use a unique prerelease version such as `2.0.0-preview.3`. The release trigger +Use a unique prerelease version such as `2.0.0-preview.4`. The release trigger is human-only and pins the exact reviewed commit: ```bash -VERSION=2.0.0-preview.3 +VERSION=2.0.0-preview.4 SHA=$(git rev-parse origin/dev) # the reviewed dev tip, full 40-hex SHA gh workflow run squad-release.yml \ --ref dev \ @@ -62,11 +62,11 @@ gh workflow run squad-release.yml \ gh run watch ``` -For `2.0.0-preview.3`, reviewers and release owners explicitly hold Homebrew, +For `2.0.0-preview.4`, reviewers and release owners explicitly hold Homebrew, WinGet, `latest`, and stable promotion. This dispatch publishes the npm pair (`insider` canonical plus the `preview` alias) and standalone artifacts only. `publish_package_managers=false` is required for this release; there is no -preview.3 package-manager installation path. +preview.4 package-manager installation path. Optional inputs: `npm_dist_tag` (`insider`, the default, or `preview`), `add_preview_alias` (default `true`), `build_standalone` (default `true`), @@ -116,7 +116,7 @@ npm install -g @bradygaster/squad-cli@insider # canonical self-upgrade channel npm install -g @bradygaster/squad-cli@preview # compatibility alias ``` -Homebrew and WinGet are intentionally unavailable for preview.3. +Homebrew and WinGet are intentionally unavailable for preview.4. Do not dispatch `squad-insider-publish.yml` for a prepared preview version: it computes and publishes its own `X.Y.Z-insider.N` snapshot version. @@ -139,7 +139,7 @@ updates `squad-insider` in Homebrew, and opens or reuses the Prepare another PR that changes all package versions and the changelog heading from the prerelease version to stable `2.0.0`. A preview version cannot be -converted in place after publication; `2.0.0-preview.3` and `2.0.0` are +converted in place after publication; `2.0.0-preview.4` and `2.0.0` are different releases. After the stable preparation lands on `dev`, a human must run the promotion diff --git a/docs/src/content/docs/whatsnew.md b/docs/src/content/docs/whatsnew.md index 7e5c5a9f4..90cf3d905 100644 --- a/docs/src/content/docs/whatsnew.md +++ b/docs/src/content/docs/whatsnew.md @@ -6,6 +6,10 @@ Full release history for Squad — from beta through the v1 TypeScript replatfor ## v2.0.0 — Multi-Host Clients & Experimental Backend Contract +### v2.0.0-preview.4 — `github/squad` repository identity, transactional memory migration, and source-branch casting + +`v2.0.0-preview.4` keeps `insider` as the canonical npm channel and `preview` as its compatibility alias while `latest` remains on v1.1.0. Published npm and NuGet metadata, runtime URLs, `squad init` templates, documentation links (`github.github.com/squad`), and the `gh-aw-enlistment` skill and install verifier now point at `github/squad` (`github/squad/workflows` with explicit `SQUAD_SHA` manifest verification and Windows/XDG `gh` extension environment preservation). Migrating `local` or `worktree` state to `orphan` or `two-layer` now transfers governed memory transactionally—including decision inbox files, the array index, configuration, audit archives, and tombstones—while keeping `.squad/casting/` on the source branch across all backends and coordinating memory index locks across processes and worktrees. This preview also holds `@github/copilot-sdk` below `1.0.29` to avoid `vscode-jsonrpc` 10 export errors, exposes machine-readable health metadata, reads legacy `Role`/`Owns` charter sections for capability advertisement, preserves customized `squad-ci` workflows during upgrade, returns a non-zero exit code from `squad doctor` on failure, and fixes `history-shadow` terminal section parsing. + ### v2.0.0-preview.3 — safe legacy recovery, opt-in work claims, and a patched standalone runtime `v2.0.0-preview.3` keeps `insider` as the canonical npm channel and `preview` as its compatibility alias; `latest`, Homebrew, WinGet, and stable promotion remain held. Legacy Squad 0.9.x casting arrays now migrate natively when charter and assignment evidence is unambiguous, preserving identities, assignments, timestamps, and byte-exact originals. Ambiguous casting remains unchanged and is reported accurately, but no longer blocks managed bridge repair or the rest of `squad upgrade`. Optional built-ins remain opt-in with `squad roster add`, and multi-machine `squad watch` claims remain off by default (`--claims git-ref` enables them). Whatever claim provider is configured, `squad watch` now stops on a malformed, empty, or unreadable `.squad/config.json` (only a missing file selects defaults) or an invalid `watch.claims` value, applies `needs:*` capability routing, and never dispatches the same issue twice in one round. diff --git a/package-lock.json b/package-lock.json index e81079bed..f19df9ece 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@bradygaster/squad", - "version": "2.0.0-preview.3", + "version": "2.0.0-preview.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@bradygaster/squad", - "version": "2.0.0-preview.3", + "version": "2.0.0-preview.4", "license": "MIT", "workspaces": [ "packages/*" @@ -8205,11 +8205,11 @@ }, "packages/squad-cli": { "name": "@bradygaster/squad-cli", - "version": "2.0.0-preview.3", + "version": "2.0.0-preview.4", "hasInstallScript": true, "license": "MIT", "dependencies": { - "@bradygaster/squad-sdk": ">=2.0.0-preview.3", + "@bradygaster/squad-sdk": ">=2.0.0-preview.4", "@modelcontextprotocol/sdk": "^1.32.1", "ink": "^7.1.1", "jsonc-parser": "^3.3.1", @@ -8246,7 +8246,7 @@ }, "packages/squad-sdk": { "name": "@bradygaster/squad-sdk", - "version": "2.0.0-preview.3", + "version": "2.0.0-preview.4", "license": "MIT", "dependencies": { "@github/copilot-sdk": ">=1.0.19 <1.0.29-0", diff --git a/package.json b/package.json index 87cb0b6f2..cbe758af8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bradygaster/squad", - "version": "2.0.0-preview.3", + "version": "2.0.0-preview.4", "private": true, "description": "Squad — Programmable multi-agent runtime for GitHub Copilot, built on @github/copilot-sdk", "type": "module", diff --git a/packages/squad-cli/CHANGELOG.md b/packages/squad-cli/CHANGELOG.md index 254a70b28..8f17299cf 100644 --- a/packages/squad-cli/CHANGELOG.md +++ b/packages/squad-cli/CHANGELOG.md @@ -1,5 +1,23 @@ # @bradygaster/squad-cli +## 2.0.0-preview.4 + +### Patch Changes + +- Complete the repository move to `github/squad` across published package metadata, CLI user-facing links, `squad init` templates, and the `gh-aw-enlistment` skill and install verifier (`github/squad/workflows` identity, explicit `SQUAD_SHA` manifest preflight verification, legacy `bradygaster/squad/workflows` migration guidance, Windows/XDG `gh` extension environment preservation, and first-install safe-update secrets). + +- Preserve governed memory transactionally when migrating `local` or `worktree` storage to `orphan` or `two-layer` storage, including decision inbox records, the array index, configuration, audit archives, and tombstones. Abort on destination conflicts or transfer failure before changing backend authority, and retain source files until the configuration write succeeds. + +- Keep all `.squad/casting/` configuration on the normal source branch for every state backend, refresh managed git hooks without retaining the obsolete casting staging block, reject runtime casting policy mutations, and align memory and identity safeguards and coordinator instructions with their actual scope. + +- Hold `@github/copilot-sdk` below `1.0.29` so interactive shell and Copilot features do not fail with `ERR_PACKAGE_PATH_NOT_EXPORTED` after a fresh install (#2414). + +- Expose versioned machine-readable runtime and state-backend metadata in health reports. + +- Preserve customized `squad-ci` workflows during `squad upgrade`. + +- Return a failing exit status from `squad doctor` when validation checks fail. + ## 2.0.0-preview.3 ### Minor Changes diff --git a/packages/squad-cli/package.json b/packages/squad-cli/package.json index 9afd492f8..951dfc600 100644 --- a/packages/squad-cli/package.json +++ b/packages/squad-cli/package.json @@ -1,6 +1,6 @@ { "name": "@bradygaster/squad-cli", - "version": "2.0.0-preview.3", + "version": "2.0.0-preview.4", "description": "Squad CLI — Command-line interface for the Squad multi-agent runtime", "type": "module", "bin": { @@ -179,7 +179,7 @@ "node": ">=22.5.0" }, "dependencies": { - "@bradygaster/squad-sdk": ">=2.0.0-preview.3", + "@bradygaster/squad-sdk": ">=2.0.0-preview.4", "@modelcontextprotocol/sdk": "^1.32.1", "ink": "^7.1.1", "react": "^19.3.0", diff --git a/packages/squad-sdk/CHANGELOG.md b/packages/squad-sdk/CHANGELOG.md index 8c44e9e54..c3c6690c0 100644 --- a/packages/squad-sdk/CHANGELOG.md +++ b/packages/squad-sdk/CHANGELOG.md @@ -2,6 +2,24 @@ +## 2.0.0-preview.4 + +### Patch Changes + +- Point published package metadata, SDK build and distribution defaults, user-facing links, and the shipped `gh-aw-enlistment` skill and verifier at `github/squad` (`github/squad/workflows` package identity, explicit `SQUAD_SHA` manifest preflight verification, legacy migration guidance, and Windows/XDG `gh` extension environment preservation). + +- Keep `.squad/casting/` configuration on the normal source branch across every state backend, reject runtime casting policy mutations, and align memory and identity safeguards with their actual scope. + +- Serialize governed-memory index updates across local store instances and processes, and coordinate memory index locks across worktrees with the configured state backend. + +- Hold `@github/copilot-sdk` below `1.0.29` to prevent `vscode-jsonrpc` 10 ESM export errors in the CLI (#2414). + +- Expose versioned machine-readable runtime and state-backend metadata in health reports. + +- Read legacy `## Role` and `## Owns` charter sections during team capability advertisement so declared implementers and reviewers are not reported as advisory-only. + +- Fix `history-shadow` section parsing by replacing the invalid `\Z` regex anchor so terminal sections match without duplicate headers and preserve a blank line before the next section. + ## 2.0.0-preview.3 ### Minor Changes diff --git a/packages/squad-sdk/package.json b/packages/squad-sdk/package.json index 593e44414..03743fc79 100644 --- a/packages/squad-sdk/package.json +++ b/packages/squad-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@bradygaster/squad-sdk", - "version": "2.0.0-preview.3", + "version": "2.0.0-preview.4", "description": "Squad SDK — Programmable multi-agent runtime for GitHub Copilot", "type": "module", "main": "./dist/index.js", diff --git a/test/registry-preflight.test.ts b/test/registry-preflight.test.ts index 2f435d77d..163b7d6a9 100644 --- a/test/registry-preflight.test.ts +++ b/test/registry-preflight.test.ts @@ -11,7 +11,7 @@ import { runRegistryPreflight, } from '../scripts/release/registry-preflight.mjs'; -const VERSION = '2.0.0-preview.3'; +const VERSION = '2.0.0-preview.4'; const REGISTRY = 'https://registry.npmjs.org/'; const result = (status: number | null, stdout = '', stderr = '') => ({ status, stdout, stderr, signal: null }); @@ -75,7 +75,7 @@ describe('read-only registry preflight', () => { if (command === 'git') return result(0); const spec = args.find((arg) => arg.startsWith('@bradygaster/')) ?? ''; if (args.includes('dist-tags')) { - return result(0, JSON.stringify({ insider: '2.0.0-preview.2', preview: '2.0.0-preview.2', latest: '1.1.0' })); + return result(0, JSON.stringify({ insider: '2.0.0-preview.3', preview: '2.0.0-preview.3', latest: '1.1.0' })); } if (spec.includes(`@${VERSION}`)) return result(1, '', 'npm error code E404\n404 Not Found'); return result(1, '', 'unexpected request'); @@ -100,8 +100,8 @@ describe('read-only registry preflight', () => { for (const name of ['@bradygaster/squad-cli', '@bradygaster/squad-sdk']) { expect(evidence.packages[name].version.state).toBe('404'); expect(evidence.packages[name].distTags.values).toEqual({ - insider: '2.0.0-preview.2', - preview: '2.0.0-preview.2', + insider: '2.0.0-preview.3', + preview: '2.0.0-preview.3', latest: '1.1.0', }); } @@ -119,7 +119,7 @@ describe('read-only registry preflight', () => { const spawn = (command: string, args: string[]) => { if (command === 'git') return result(128, '', 'fatal: transport failure'); if (command === 'gh') return result(1, '', 'gh: Not Found (HTTP 404)'); - if (args.includes('dist-tags')) return result(0, JSON.stringify({ insider: '2.0.0-preview.2' })); + if (args.includes('dist-tags')) return result(0, JSON.stringify({ insider: '2.0.0-preview.3' })); return result(1, '', 'npm error code E404\n404 Not Found'); }; try {