@git-stunts/git-cas 6.5.10 → 6.5.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [6.5.11] — 2026-10-02
11
+
12
+ ### Fixed
13
+
14
+ - Require published Plumbing 3.3.2 so stale mktree transports after external Git GC enter the existing single fresh-process retry for single and batch tree writes. Producer and unrelated transport errors retain their identity; retry remains bounded at two attempts.
15
+
16
+ - CI and release Node unit checks and examples run through COPY-based Docker. Tests and benchmarks refuse host execution before loading test modules, including forged Docker and CI environment flags.
17
+
18
+ - Replace the host BATS platform launcher with sequential COPY-based Docker orchestration; a failed runtime stops the platform command.
19
+
10
20
  ## [6.5.10] — 2026-08-24
11
21
 
12
22
  ### Added
package/README.md CHANGED
@@ -55,6 +55,8 @@ Existing v5 users should read [UPGRADING.md](./UPGRADING.md) and run
55
55
  For the release overview, see the
56
56
  [v6.5.10 Release Notes](./docs/releases/v6.5.10.md).
57
57
 
58
+ The v6.5.11 candidate adopts published Plumbing 3.3.2 for bounded recovery from closed mktree transports after external Git GC. It preserves producer error identity and existing object formats; see [v6.5.11 Release Notes](./docs/releases/v6.5.11.md). Registry publication is pending release verification and merge.
59
+
58
60
  ### 1. CLI Usage
59
61
 
60
62
  Initialize a vault and store your first asset.
package/UPGRADING.md CHANGED
@@ -725,3 +725,7 @@ The manifest blob was corrupted or tampered with after storage. The original dat
725
725
  ### Constructor throws "chunker is required"
726
726
 
727
727
  You're using `CasService` directly. Either switch to the `ContentAddressableStore` facade (recommended) or inject a `chunker` and `compressionAdapter` manually. See [API Changes](#casservice-constructor-library-users).
728
+
729
+ ## v6.5.10 To v6.5.11
730
+
731
+ Update the package normally. The Plumbing minimum becomes 3.3.2 to recover closed mktree transports with the existing one-retry bound. No stored-data or application migration is required; unrelated and producer errors remain unchanged.
package/build-info.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "sha": "4316f4e",
3
- "timestamp": "2026-08-24T22:04:51.301Z"
2
+ "sha": "1bcd631",
3
+ "timestamp": "2026-10-02T12:47:21.894Z"
4
4
  }
@@ -0,0 +1,15 @@
1
+ # git-cas v6.5.11 Release Notes
2
+
3
+ This patch release adopts published Plumbing 3.3.2 so a stale mktree process closed by external Git repacking enters the existing bounded immutable-object recovery. Single-tree and batched-tree writes reopen a failed process once. Two failed attempts stop with GitProtocolError; unrelated transport errors and producer errors retain their original identity.
4
+
5
+ ## Compatibility
6
+
7
+ No API, handle, stored object, descriptor, ref namespace, encryption, or reader format changes. No application or stored-data migration is required. Mutable-ref retry and publication rules remain unchanged.
8
+
9
+ ## Test Isolation
10
+
11
+ All tests and benchmarks require a physical Docker marker before test modules load. Environment flags do not authorize host execution. CI/release Node unit gates and maintained examples use COPY-based Docker without repository or Git-directory mounts.
12
+
13
+ ## Evidence And Delivery
14
+
15
+ Issue [#131](https://github.com/git-stunts/git-cas/issues/131) and PR [#132](https://github.com/git-stunts/git-cas/pull/132) own delivery. [Preparatory evidence](../design/0062-mktree-transport-recovery/witness/preparation.md) pins candidate behavior separately from registry delivery. The six recovery checks fail in four cases against Plumbing 3.3.0 and pass against published Plumbing 3.3.2. Full release verification, merge, signed tag, npm publication and registry consumer evidence remain required; this candidate document claims no published 6.5.11 artifact.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@git-stunts/git-cas",
3
- "version": "6.5.10",
3
+ "version": "6.5.11",
4
4
  "description": "Content-addressed storage backed by Git's object database, with optional encryption and pluggable codecs",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -55,7 +55,8 @@
55
55
  "test/CONVENTIONS.md",
56
56
  "test/cycles/README.md",
57
57
  "LICENSE",
58
- "CHANGELOG.md"
58
+ "CHANGELOG.md",
59
+ "docs/releases/v6.5.11.md"
59
60
  ],
60
61
  "engines": {
61
62
  "node": ">=22.0.0"
@@ -86,17 +87,17 @@
86
87
  "provenance": true
87
88
  },
88
89
  "scripts": {
89
- "test": "vitest run test/unit",
90
+ "test": "docker compose run --build --rm test-node",
90
91
  "test:local": "vitest run test/unit",
91
92
  "test:node": "docker compose run --build --rm test-node",
92
93
  "test:bun": "docker compose run --build --rm test-bun",
93
94
  "test:deno": "docker compose run --build --rm test-deno",
94
- "test:integration": "vitest run test/integration --no-file-parallelism",
95
+ "test:integration": "docker compose run --build --rm test-node pnpm vitest run test/integration --no-file-parallelism",
95
96
  "test:integration:node": "docker compose run --build --rm test-node npx vitest run test/integration --no-file-parallelism",
96
97
  "test:integration:bun": "docker compose run --build --rm test-bun bunx vitest run test/integration --no-file-parallelism",
97
98
  "test:integration:deno": "docker compose run --build --rm test-deno deno run -A npm:vitest run test/integration --no-file-parallelism",
98
- "test:platforms": "bats --jobs 3 test/platform/runtimes.bats",
99
- "benchmark": "vitest bench test/benchmark",
99
+ "test:platforms": "docker compose run --build --rm test-node && docker compose run --build --rm test-bun && docker compose run --build --rm test-deno",
100
+ "benchmark": "docker compose run --build --rm test-node pnpm vitest bench test/benchmark",
100
101
  "benchmark:local": "vitest bench test/benchmark",
101
102
  "release:verify": "node scripts/release/verify.js",
102
103
  "stamp": "node scripts/stamp-build.js",
@@ -112,7 +113,7 @@
112
113
  "@flyingrobots/bijou-tui": "^7.2.0",
113
114
  "@flyingrobots/bijou-tui-app": "^7.2.0",
114
115
  "@git-stunts/alfred": "^0.10.0",
115
- "@git-stunts/plumbing": "^3.3.0",
116
+ "@git-stunts/plumbing": "^3.3.2",
116
117
  "@git-stunts/vault": "^1.0.1",
117
118
  "cbor-x": "^1.6.0",
118
119
  "commander": "14.0.3",
@@ -131,6 +132,7 @@
131
132
  "fast-check": "^4.6.0",
132
133
  "jsr": "^0.14.2",
133
134
  "prettier": "^3.4.2",
134
- "vitest": "^2.1.8"
135
+ "vitest": "^2.1.8",
136
+ "@git-stunts/docker-guard": "^0.1.0"
135
137
  }
136
138
  }
@@ -1 +1 @@
1
- export const PACKAGE_VERSION = '6.5.10';
1
+ export const PACKAGE_VERSION = '6.5.11';
@@ -66,11 +66,9 @@ sorted output semantics instead of assuming first-seen insertion order.
66
66
  If insertion order matters, assert it at the lower-level boundary that builds
67
67
  the tree entries before they are handed to Git.
68
68
 
69
- ## Integration Runtime Policy
69
+ ## Test Runtime Policy
70
70
 
71
- **Integration suites are Docker-only.** The integration tests intentionally
72
- refuse to run on the host and require `GIT_STUNTS_DOCKER=1` so Git, Bun, and
73
- Deno run in a consistent environment.
71
+ **All tests and benchmarks are Docker-only.** Vitest setup uses `@git-stunts/docker-guard` with a physical Docker marker before test modules load. Environment flags do not authorize host execution. Use COPY-based Docker Compose services without repository or Git-directory mounts. `npm test` routes to the Node service; `test:local` is an in-container command.
74
72
 
75
73
  **Integration files run with `fileParallelism: false`.** These tests spawn real
76
74
  Git and CLI subprocesses, so the integration workspace is intentionally kept to