@calcit/procs 0.13.60 → 0.13.62

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.
Binary file
@@ -0,0 +1,6 @@
1
+ # Host capability ownership boundary
2
+
3
+ - Added the architecture rule that separates Calcit core, pure/typed libraries, host adapters, `calcit_native_ffi`, and macros.
4
+ - Documented the current native/Node/browser/WASM capability matrix and canonical JSON, `FsPath`, clock, and typed FFI capability surfaces.
5
+ - Defined required backend evidence, explicit unavailable behavior, macro expansion permissions, module migration order, and the review checklist for new effects.
6
+ - Linked the new architecture document from the installation hub and native FFI reference.
@@ -0,0 +1,24 @@
1
+ # Snapshot mutation toolchain guard
2
+
3
+ ## Context
4
+
5
+ Calcit 0.13.60 writes canonical symbol keys for Snapshot namespaces and definitions. A globally installed newer CLI could therefore rewrite a project whose `deps.cirru` and CI still pin an older reader, leaving the project unreadable to its declared toolchain.
6
+
7
+ ## Change
8
+
9
+ - Added a shared preflight that reads the `deps.cirru` adjacent to the selected Snapshot.
10
+ - Snapshot-writing `edit`, `tree`, `config`, and cursor operations now reject an exact `:calcit-version` mismatch before loading or writing the target file.
11
+ - Read-only commands, dry-runs, cursor navigation, projects without `deps.cirru`, and legacy manifests without `:calcit-version` remain usable.
12
+ - Invalid non-string or non-semver declarations fail with a manifest-specific diagnostic.
13
+ - The failure explains both safe paths: use the pinned Calcit release, or explicitly upgrade the project with `caps <deps-file> upgrade --all`.
14
+
15
+ ## Verification
16
+
17
+ - Unit coverage for matching, absent, mismatched, and invalid declarations.
18
+ - Real-project smoke confirmed `config show` remains readable while `edit format` is blocked without changing the Snapshot hash.
19
+ - `cargo fmt --check`
20
+ - `cargo clippy --all-targets -- -D warnings`
21
+ - `cargo test`
22
+ - `yarn compile`
23
+ - `yarn check-agent-interface` (17/17)
24
+ - `yarn check-all` (Calcit core 223/223, JS/IR/WASM and performance checks)
@@ -0,0 +1,3 @@
1
+ # Preserve `caps` manifest argument order in mutation guidance
2
+
3
+ The custom `deps.cirru` path is a top-level `caps` positional argument. Guidance must use `caps <deps-file> upgrade --all`; placing the path after `upgrade --all` makes argh parse it as a dependency package name. The mismatch regression test now locks the correct ordering.
@@ -0,0 +1,3 @@
1
+ # Quote the manifest path in mutation guidance
2
+
3
+ The Snapshot toolchain guard now renders the adjacent `deps.cirru` path with the existing shell quoting helper. A regression fixture uses a directory containing whitespace and verifies the suggested `caps '<deps-file>' upgrade --all` command remains a single shell argument. The fixture identity also combines a timestamp with an atomic sequence so parallel tests cannot share a manifest.
@@ -0,0 +1,3 @@
1
+ # Release 0.13.61
2
+
3
+ Patch release for the Snapshot mutation toolchain guard from PR #517. Snapshot-writing CLI commands now reject a mismatch with adjacent `deps.cirru :calcit-version` before any write, while read-only and dry-run workflows remain available. Diagnostics preserve custom manifest paths, argument order, and shell quoting.
@@ -0,0 +1,18 @@
1
+ # Keep network work outside the caps metadata lock
2
+
3
+ ## Context
4
+
5
+ `caps` resolves independent modules in parallel. A cache miss previously acquired the global `.metadata.lock` before cloning a repository and held the lock for the entire network operation. A clone lasting longer than the lock retry window caused otherwise independent workers to fail with a misleading lock timeout.
6
+
7
+ ## Change
8
+
9
+ - Keep the first cache lookup and metadata refresh under a short lock.
10
+ - Clone a missing repository into its process-unique temporary path without holding the global lock.
11
+ - Reacquire the lock only to resolve an installation race, atomically rename the clone into the content-addressed store, and update metadata.
12
+ - Preserve validation when another process installs the same commit first.
13
+
14
+ ## Verification
15
+
16
+ - Rust tests and strict Clippy pass.
17
+ - TypeScript compilation and the 17/17 agent-interface suite pass.
18
+ - A real cold-cache `caps --strict --ci` run over calcium-workflow's dependency graph cloned concurrent modules without a metadata-lock timeout.
@@ -0,0 +1,4 @@
1
+ # Release 0.13.62
2
+
3
+ - Publish the `caps` cold-cache concurrency fix so dependency upgrades do not hold the global metadata lock during network clones.
4
+ - Keep the Cargo and npm package versions aligned at 0.13.62.
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calcit/procs",
3
- "version": "0.13.60",
3
+ "version": "0.13.62",
4
4
  "main": "./lib/calcit.procs.mjs",
5
5
  "devDependencies": {
6
6
  "@types/node": "^25.7.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calcit/procs",
3
- "version": "0.13.60",
3
+ "version": "0.13.62",
4
4
  "main": "./lib/calcit.procs.mjs",
5
5
  "devDependencies": {
6
6
  "@types/node": "^25.7.0",