@calcit/procs 0.13.8 → 0.13.10
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/.yarn/install-state.gz +0 -0
- package/editing-history/202608111322-agent-migration-convergence.md +40 -0
- package/editing-history/202608111349-release-0.13.10.md +13 -0
- package/history/202608101101-release-pr-workflow.md +8 -0
- package/history/202608101102-release-doc-tracked-path.md +5 -0
- package/history/202608110054-small-edit-advice.md +13 -0
- package/history/202608110125-review-optional-list-first.md +4 -0
- package/history/202608110133-review-core-call-sites-and-thresholds.md +5 -0
- package/history/202608110140-release-0.13.9.md +4 -0
- package/lib/package.json +1 -1
- package/package.json +1 -1
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Improve agent migration convergence
|
|
2
|
+
|
|
3
|
+
Migrating Respo and its dependent modules to stricter Calcit types exposed a
|
|
4
|
+
few CLI and compiler failures that made automated repairs unnecessarily slow or
|
|
5
|
+
unsafe:
|
|
6
|
+
|
|
7
|
+
- `cr edit imports` documented Cirru input but only accepted a single flat rule;
|
|
8
|
+
multi-rule input effectively required JSON.
|
|
9
|
+
- Cirru transaction output expanded quoted empty lists into a shape that did not
|
|
10
|
+
round-trip, blocking safe insertion of zero-argument function definitions.
|
|
11
|
+
- definition revision hashes rejected leaf-shaped examples/tests, so semantic
|
|
12
|
+
queries failed on otherwise valid definition-attached tests.
|
|
13
|
+
- large but finite UI/Markdown dependency graphs overflowed the 16 MiB codegen
|
|
14
|
+
worker stack before diagnostics could identify the actual type errors.
|
|
15
|
+
- several tree command help strings still advertised removed comma-separated
|
|
16
|
+
paths even though the parser requires `@2.1.0` coordinates.
|
|
17
|
+
- concurrent mutation processes can overwrite each other's snapshot changes,
|
|
18
|
+
which was easy to trigger when an agent updated multiple entries in parallel.
|
|
19
|
+
|
|
20
|
+
Changes:
|
|
21
|
+
|
|
22
|
+
- Accept a quoted Cirru `[]` whose child expressions are import rules in
|
|
23
|
+
`cr edit imports`, while preserving JSON compatibility and rejecting
|
|
24
|
+
malformed flat children.
|
|
25
|
+
- Emit inline Cirru for transaction quoted code so empty lists round-trip.
|
|
26
|
+
- Give leaf examples/tests stable revision encodings without changing existing
|
|
27
|
+
list revision hashes.
|
|
28
|
+
- Raise the dedicated codegen worker stack to 64 MiB, which is sufficient for
|
|
29
|
+
the current Respo UI/Markdown graph and still keeps recursion isolated from
|
|
30
|
+
the process main thread.
|
|
31
|
+
- Align all path option help with the dot-separated coordinate parser.
|
|
32
|
+
- Document that writes to one snapshot must be serialized, or grouped in a
|
|
33
|
+
revision-guarded transaction; independent snapshots/worktrees may still run
|
|
34
|
+
in parallel.
|
|
35
|
+
|
|
36
|
+
Real-project validation used local Respo, Router, Markdown, UI, Reel, and Alerts
|
|
37
|
+
snapshots after removing the obsolete Lilac module dependency. UI, Router, Reel,
|
|
38
|
+
Alerts, and all three Markdown entries completed JS codegen. Calcit built-in
|
|
39
|
+
tests passed 35/35 in Respo and 6/6 in Router; no external `calcit-test` runner
|
|
40
|
+
was used.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Release 0.13.10
|
|
2
|
+
|
|
3
|
+
Release the agent migration convergence improvements merged in PR #333:
|
|
4
|
+
|
|
5
|
+
- quoted Cirru import-list input for `cr edit imports`;
|
|
6
|
+
- safe transaction round-tripping for quoted empty lists;
|
|
7
|
+
- revision support for leaf examples and definition-attached tests;
|
|
8
|
+
- a larger codegen worker stack for finite real-world module graphs;
|
|
9
|
+
- corrected tree path help and serialized snapshot mutation guidance.
|
|
10
|
+
|
|
11
|
+
The changes were validated against the Respo dependency chain without Lilac or
|
|
12
|
+
the external `calcit-test` module, in addition to the full Calcit Rust, native,
|
|
13
|
+
JavaScript, agent-interface, and WASM gates.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
## Release PR workflow
|
|
2
|
+
|
|
3
|
+
- `main` is protected by a pull-request requirement, including release version
|
|
4
|
+
changes; release commits must be created on a dedicated release branch.
|
|
5
|
+
- A release tag is created only after the release PR is green, merged, and
|
|
6
|
+
fetched back onto local `main`.
|
|
7
|
+
- Publication verification uses non-interactive `gh pr checks` and `gh run
|
|
8
|
+
list` polling, then confirms matching crates.io and npm versions.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
## Suppress structural-edit advice for small definitions
|
|
2
|
+
|
|
3
|
+
- Structural-edit guidance now requires either the existing or incoming Cirru
|
|
4
|
+
tree to contain at least 32 AST nodes.
|
|
5
|
+
- Tiny definitions do not benefit from a path-finding workflow, so full
|
|
6
|
+
definition updates no longer emit a misleadingly heavyweight warning.
|
|
7
|
+
- Keep the threshold in `analyze_cirru_edit_advice` so every caller shares the
|
|
8
|
+
same behavior, including identical-definition advice.
|
|
9
|
+
- `&list:first` now consistently reports its nullable `Optional<T>` result to
|
|
10
|
+
static analysis, matching the Core schema and its `nil` result for empty
|
|
11
|
+
lists.
|
|
12
|
+
- Core macros and comparison helpers that first establish non-emptiness now
|
|
13
|
+
use the explicitly indexed low-level read `&list:nth xs 0`.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
## Follow-up review fixes for nullable list-first
|
|
2
|
+
|
|
3
|
+
- Migrate remaining guarded Core reads in max/min, comparison folding, and list destructuring to `&list:nth ... 0`.
|
|
4
|
+
- Tag the empty-list regression as both `:core` and `:unit`.
|
|
5
|
+
- Make edit-advice fixtures assert exact 31/32-node boundary behavior, including one-sided threshold crossings.
|
package/lib/package.json
CHANGED