@kudzujs/core 0.16.13 → 0.16.14

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.
@@ -57,7 +57,7 @@ Syntax compatibility does not mean reproducing React wholesale. Kudzu accepts th
57
57
  - stronger JavaScript failure resilience;
58
58
  - no remaining material large-route build-scaling weakness.
59
59
 
60
- The completed 0.9 plan defines the cross-framework comparison and release gate. The active application packet is `0.20.3` in the capability release plan below. Benchmark-only feature omission, unmatched accessibility, weighted scores that hide losses, and unrecorded environment differences do not count as proof.
60
+ The completed 0.9 plan defines the cross-framework comparison and release gate. The active application packet is `0.20.5` in the capability release plan below. Benchmark-only feature omission, unmatched accessibility, weighted scores that hide losses, and unrecorded environment differences do not count as proof.
61
61
 
62
62
  ### 0.10.0 Through 0.21.x: Application Capability Release Train
63
63
 
package/PERFORMANCE.md CHANGED
@@ -1,6 +1,20 @@
1
1
  # Performance Records
2
2
 
3
- Reproducibility classes: `npm run benchmark`, `npm run benchmark:keyed`, `npm run benchmark:native`, `npm run benchmark:module-cache`, `npm run benchmark:project-navigation`, `npm run benchmark:project-state`, and `npm run benchmark:source-scale` are maintained in this repository; `npm run benchmark:commerce` is a maintained paired runner over the public external storefront; older excluded-workspace sections are historical provenance only and are not current framework rankings.
3
+ Reproducibility classes: `npm run benchmark`, `npm run benchmark:keyed`, `npm run benchmark:native`, `npm run benchmark:module-cache`, `npm run benchmark:project-navigation`, `npm run benchmark:project-state`, `npm run benchmark:source-scale`, and `npm run benchmark:ai-delivery` are maintained in this repository; `npm run benchmark:commerce` is a maintained paired runner over the public external storefront; older excluded-workspace sections are historical provenance only and are not current framework rankings.
4
+
5
+ ## 0.16.14 Fair AI Delivery Evidence
6
+
7
+ Measured 2026-09-01 on Linux x64 with Node 24.14.0. The deterministic protocol
8
+ fixture records two interleaved attempts per variant, including one success and
9
+ one retained failure each. Both variants therefore report a 50% fixture success
10
+ rate, 50 nanos median successful cost, and 100 nanos total cost per success when
11
+ failed attempts remain in the numerator. Successful artifacts are one 63 raw /
12
+ 66 gzip B HTML file with digest
13
+ `0d22f579d793d0034c967c7ffa08e0b2c377bc36c959c7b4bafab587fd5dda60`.
14
+ This validates evidence accounting only and is not a model-driven framework
15
+ comparison. Compiler passes, runtime concepts, representative deploy output, and
16
+ browser bytes are unchanged. Browser-disabled and required-Chrome suites pass
17
+ 297/297 tests, package smoke passes, and the runner adds no dependency.
4
18
 
5
19
  ## 0.16.13 Route Artifact Explanations
6
20
 
package/README.md CHANGED
@@ -14,7 +14,7 @@ Kudzu compiles ordinary React-shaped TypeScript and TSX into complete static HTM
14
14
 
15
15
  > Experimental `0.16.x`: the compiler API and supported TSX surface may change.
16
16
 
17
- **Latest release: 0.16.13 - Route artifact explanations.** `kudzu explain --route <route> --json` now traces one exact emitted route from authored source and semantic ownership through its capability family and selected runtime, handler, chunk, style, and Worker bytes without exposing raw IR. Read the [release notes](./RELEASES.md#01613---route-artifact-explanations), open the [release page](https://github.com/kudzujs/kudzu/releases/tag/v0.16.13), or follow the [architecture packet](./docs/next-architecture/README.md).
17
+ **Latest release: 0.16.14 - Fair AI delivery evidence.** The repository-owned AI delivery runner now pins equal Kudzu and React+Vite conditions, preserves successful and failed attempts, and records attribution, cost, source retention, acceptance, and browser artifacts without claiming a framework winner. Read the [release notes](./RELEASES.md#01614---fair-ai-delivery-evidence), open the [release page](https://github.com/kudzujs/kudzu/releases/tag/v0.16.14), or follow the [architecture packet](./docs/next-architecture/README.md).
18
18
 
19
19
  - [Documentation](https://kudzujs.cloud/docs)
20
20
  - [Installation guide](https://kudzujs.cloud/docs#install)
package/RELEASES.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # Kudzu Releases
2
2
 
3
+ ## 0.16.14 - Fair AI Delivery Evidence
4
+
5
+ Kudzu 0.16.14 adds a repository-owned protocol and runner for equal-condition,
6
+ fully retained Kudzu and React+Vite delivery attempts.
7
+
8
+ ### Changed in 0.16.14
9
+
10
+ - Adds `npm run benchmark:ai-delivery`, backed only by Node standard-library
11
+ process, hash, filesystem, timing, and compression APIs.
12
+ - Pins model revision, pricing, tool permissions, prompt, budgets, adapter,
13
+ acceptance command, starter trees, public context, and paired attempt order.
14
+ - Runs every attempt in an isolated starter copy, then independently reruns the
15
+ declared build and framework-neutral acceptance command.
16
+ - Preserves raw adapter/build/acceptance output, final authored source, browser
17
+ artifacts, hashes, token/cost/tool/file/build metrics, and source retention.
18
+ - Includes deliberate failures in the evidence and total cost-per-success
19
+ numerator rather than cherry-picking successful attempts.
20
+ - Adds no compiler pass, semantic primitive, runtime concept, application API,
21
+ dependency, or browser byte.
22
+ - Uses a deterministic fixture only to validate the protocol. It does not claim
23
+ that Kudzu outperforms React+Vite; measured tooling-cost validation remains the
24
+ next packet.
25
+ - Updates `create-kudzu@0.1.139` to generate projects on
26
+ `@kudzujs/core@^0.16.14`.
27
+
28
+ ### Upgrade
29
+
30
+ ```sh
31
+ npm install @kudzujs/core@^0.16.14
32
+ ```
33
+
3
34
  ## 0.16.13 - Route Artifact Explanations
4
35
 
5
36
  Kudzu 0.16.13 lets tools ask why one exact emitted route owns its browser bytes
@@ -15,7 +15,7 @@ The completed `0.9.0` milestone is recorded in [`0.9-semantic-compression.md`](.
15
15
 
16
16
  [`1.0-large-application-compatibility-audit.md`](./1.0-large-application-compatibility-audit.md) records the first post-0.9 probes against Memos, Apache Answer, and Actual Budget. The audit finds that reduced slices build but whole-application source retention and behavior parity do not yet pass.
17
17
 
18
- [`application-capability-release-plan.md`](./application-capability-release-plan.md) is the authoritative post-0.9 execution queue, currently at `0.20.3`. It assigns one application-capability section to each minor release and one independently accepted evidence packet to each patch release from `0.10.0` through the `1.0.0` gate. It supersedes the provisional 0.10/0.11/0.12 tool-first ordering in the completed 0.9 handoff without rewriting that historical record.
18
+ [`application-capability-release-plan.md`](./application-capability-release-plan.md) is the authoritative post-0.9 execution queue, currently at `0.20.5`. It assigns one application-capability section to each minor release and one independently accepted evidence packet to each patch release from `0.10.0` through the `1.0.0` gate. It supersedes the provisional 0.10/0.11/0.12 tool-first ordering in the completed 0.9 handoff without rewriting that historical record.
19
19
 
20
20
  ## Required Invariants
21
21
 
@@ -1881,6 +1881,21 @@ HTML, generated code, captures, and state values.
1881
1881
  - **Stop condition:** canonical compiler source replaces ordinary authored TSX.
1882
1882
  - **Done condition:** each fix has one diagnostic code and explicit preconditions.
1883
1883
 
1884
+ Deferred by the evidence gate without production changes or a release. A complete
1885
+ repository inventory found no recorded model prompt, model/tool version, raw
1886
+ attempt, correction cycle, token/cost trace, or repeated source edit proving any
1887
+ automatic fix useful. Existing diagnostics offer migration guidance but do not
1888
+ identify a uniquely safe edit; replacing a non-null ref initializer would change
1889
+ authored behavior. The existing lazy-state-literal normalization could support a
1890
+ narrow exact-range rewrite while preserving comments and output bytes, but no AI
1891
+ trial records it as a correction or cost reduction. Adding check/preview/write
1892
+ infrastructure now would therefore be speculative and violate the packet purpose.
1893
+ Resume this packet only after `0.20.4` records a repeated correction with one
1894
+ stable diagnostic code, a unique semantics-preserving replacement, and
1895
+ compiler-proven preconditions. No fixture, analyzer, fix command, formatter,
1896
+ compiler pass, runtime concept, browser module, package version, or release was
1897
+ added.
1898
+
1884
1899
  ### `0.20.4`: AI Delivery Protocol And Runner
1885
1900
 
1886
1901
  - **Purpose:** track fair Kudzu and React+Vite delivery attempts.
@@ -1891,6 +1906,20 @@ HTML, generated code, captures, and state values.
1891
1906
  comparator.
1892
1907
  - **Done condition:** every attempt is reproducible or fully attributable.
1893
1908
 
1909
+ Completed by `@kudzujs/core@0.16.14` and `create-kudzu@0.1.139`. The
1910
+ repository-owned Node standard-library runner pins the model revision, pricing,
1911
+ tools, prompt, budgets, adapter, acceptance command, starter digests, optional
1912
+ public context, and paired schedule before creating isolated workspaces. It
1913
+ retains raw adapter/build/acceptance streams, final source, browser artifacts,
1914
+ hashes, attribution, token/cost/tool/file/build metrics, source retention, and
1915
+ both successful and failed attempts. The deterministic two-attempt-per-variant
1916
+ fixture proves equal ordering, one retained failure per variant, independent
1917
+ final builds, framework-neutral acceptance, and failure-inclusive cost per
1918
+ success. It is protocol evidence only and makes no Kudzu versus React+Vite
1919
+ delivery claim. No dependency, compiler pass, semantic primitive, runtime
1920
+ concept, application API, or browser byte was added. Browser-disabled and
1921
+ required-Chrome suites pass 297/297 tests, and package smoke passes.
1922
+
1894
1923
  ### `0.20.5`: Tooling Cost Validation
1895
1924
 
1896
1925
  - **Purpose:** prove that diagnostics/inspect/explain/fix lower total cost per
@@ -2091,3 +2120,5 @@ release transaction where possible or document and publish a forward-fix patch.
2091
2120
  | `0.20.0` | Released as `0.16.11` | Preserve stable diagnostic schema/codes, authored ranges, human errors, compatibility reuse, and zero browser/output delta. | Patch release retained the `0.16.x` public version line |
2092
2121
  | `0.20.1` | Released as `0.16.12` | Preserve bounded deterministic reachable inventory, first-blocker retention, existing-record reuse, and zero browser/output delta. | Patch release retained the `0.16.x` public version line |
2093
2122
  | `0.20.2` | Released as `0.16.13` | Preserve exact emitted-route lookup, authored provenance, semantic ownership, capability/artifact byte reasons and hashes, bounded deterministic output, structured missing-route diagnostics, and zero-JavaScript explanation. | Patch release retained the `0.16.x` public version line |
2123
+ | `0.20.3` | Deferred by evidence gate | Resume only after recorded AI trials prove one repeated correction safe and useful with a stable diagnostic code and compiler-proven preconditions. | No recorded AI trials; no production change or release consumed |
2124
+ | `0.20.4` | Released as `0.16.14` | Preserve pinned equal conditions, isolated paired attempts, raw failures, independent acceptance, attribution, failure-inclusive costs, source retention, and browser artifact evidence. | Deterministic fixture validates the protocol only; no framework ranking claimed |
@@ -1,6 +1,6 @@
1
1
  # Current Compiler Architecture
2
2
 
3
- This maps the current `0.16.13` architecture, built on the completed `0.9.0` semantic-compression release and `0.8.23` Goal A compiler foundation. The active application packet is `0.20.3`; file and function names are the stable references, while line numbers are intentionally omitted because later work may still move code.
3
+ This maps the current `0.16.14` architecture, built on the completed `0.9.0` semantic-compression release and `0.8.23` Goal A compiler foundation. The active application packet is `0.20.5`; file and function names are the stable references, while line numbers are intentionally omitted because later work may still move code.
4
4
 
5
5
  ## Responsibility Map
6
6
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  ## Status
4
4
 
5
- Completed compiler-foundation record and longer-term plan after `0.8.35`. The [`0.9-semantic-compression.md`](./0.9-semantic-compression.md) execution queue is complete. The active queue for current work is [`application-capability-release-plan.md`](./application-capability-release-plan.md) at packet `0.20.3`. This document does not mark any remaining planned capability as supported and does not authorize a React runtime, VDOM, hydration, retained browser component tree, generic rerenderer, public store/query/resource API, SPA router, or islands.
5
+ Completed compiler-foundation record and longer-term plan after `0.8.35`. The [`0.9-semantic-compression.md`](./0.9-semantic-compression.md) execution queue is complete. The active queue for current work is [`application-capability-release-plan.md`](./application-capability-release-plan.md) at packet `0.20.5`. This document does not mark any remaining planned capability as supported and does not authorize a React runtime, VDOM, hydration, retained browser component tree, generic rerenderer, public store/query/resource API, SPA router, or islands.
6
6
 
7
- [`MIGRATION_ROADMAP.md`](../../MIGRATION_ROADMAP.md) remains the product authority for product invariants and fixture-driven feature selection. [`application-capability-release-plan.md`](./application-capability-release-plan.md) is authoritative for current work order and evidence at packet `0.20.3`; this plan retains the completed foundation, deferred program, and long-term production gates. If implementation evidence changes either boundary, update the relevant document before broadening a patch.
7
+ [`MIGRATION_ROADMAP.md`](../../MIGRATION_ROADMAP.md) remains the product authority for product invariants and fixture-driven feature selection. [`application-capability-release-plan.md`](./application-capability-release-plan.md) is authoritative for current work order and evidence at packet `0.20.5`; this plan retains the completed foundation, deferred program, and long-term production gates. If implementation evidence changes either boundary, update the relevant document before broadening a patch.
8
8
 
9
9
  ## Product Outcome
10
10
 
@@ -483,4 +483,4 @@ The first comparison is Kudzu versus React + Vite using the same agent, model, t
483
483
 
484
484
  ## Immediate Decision
485
485
 
486
- All listed foundation and `0.9` slices are complete. Current work continues at `0.20.3` deterministic normalize and fix under the [`application-capability-release-plan.md`](./application-capability-release-plan.md); keep ResourceIR limited to qualifying independent fixtures, and do not add range ownership, virtualization, optimistic transactions, a public adapter/store API, or a router before evidence justifies them.
486
+ All listed foundation and `0.9` slices are complete. Current work continues at `0.20.5` tooling cost validation under the [`application-capability-release-plan.md`](./application-capability-release-plan.md); keep ResourceIR limited to qualifying independent fixtures, and do not add range ownership, virtualization, optimistic transactions, a public adapter/store API, or a router before evidence justifies them.
@@ -1,6 +1,6 @@
1
1
  # Planned Version Sequence
2
2
 
3
- This is an execution sequence, not release history. `0.8.16` through `0.8.62` are completed scopes represented by package/release records. The `0.10.0` through `1.0.0` minor/patch sequence is maintained in [`application-capability-release-plan.md`](./application-capability-release-plan.md), currently at `0.20.3`; that plan supersedes the provisional tool-first 0.10/0.11/0.12 ordering in the completed 0.9 handoff.
3
+ This is an execution sequence, not release history. `0.8.16` through `0.8.62` are completed scopes represented by package/release records. The `0.10.0` through `1.0.0` minor/patch sequence is maintained in [`application-capability-release-plan.md`](./application-capability-release-plan.md), currently at `0.20.5`; that plan supersedes the provisional tool-first 0.10/0.11/0.12 ordering in the completed 0.9 handoff.
4
4
 
5
5
  Keep each patch behavior-preserving and independently reviewable. If a boundary proves inseparable, revise this plan before combining releases; do not silently broaden a patch.
6
6
 
@@ -66,7 +66,7 @@ Keep each patch behavior-preserving and independently reviewable. If a boundary
66
66
 
67
67
  ## Generator Versions
68
68
 
69
- `create-kudzu@0.1.138` retains the explicit install instructions and generates projects with `@kudzujs/core@^0.16.13`.
69
+ `create-kudzu@0.1.139` retains the explicit install instructions and generates projects with `@kudzujs/core@^0.16.14`.
70
70
 
71
71
  ## Release Boundary
72
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kudzujs/core",
3
- "version": "0.16.13",
3
+ "version": "0.16.14",
4
4
  "description": "HTML-first TSX framework with synchronous state semantics and no virtual DOM",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -65,6 +65,7 @@
65
65
  "benchmark:project-list-decision": "node test/project-list-decision-performance.mjs",
66
66
  "benchmark:project-state": "node test/project-state-performance.mjs",
67
67
  "benchmark:source-scale": "node test/source-scale-performance.mjs",
68
+ "benchmark:ai-delivery": "node test/ai-delivery-runner.mjs",
68
69
  "prepublishOnly": "npm run check && npm test",
69
70
  "deploy": "wrangler deploy",
70
71
  "preview": "wrangler dev"