@indexnetwork/protocol 14.3.0-rc.475.1 → 14.3.1-rc.476.1

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +62 -0
  2. package/package.json +4 -2
package/CHANGELOG.md CHANGED
@@ -20,6 +20,50 @@ went 6.7.1 → 8.0.2 with no 7.x in between because the whole 7.x line shipped a
20
20
  prereleases between the two promotions. To track every change, read `rc`; to
21
21
  pin a supported release, use `latest`.
22
22
 
23
+ ## 14.3.1 - 2026-08-16
24
+
25
+ No source change. Tooling and release record only.
26
+
27
+ ### Added
28
+
29
+ - `bun run architecture:exports` generates `architecture/exports.snapshot.json`
30
+ from `src/index.ts`, and `bun run check:exports` reports drift and exits
31
+ non-zero. `check:exports` is now part of `architecture:check`, which CI runs.
32
+
33
+ The inventory is read by `scripts/build-protocol-atlas.ts` as the export
34
+ inventory, but that only validates the subset in `ROOT_EXPORT_COMPONENTS` —
35
+ the other ~380 entries were hand-maintained, which is how 300 of them came to
36
+ point at directories renamed in 14.2.1. The generator derives `name`, `kind`,
37
+ and `source` from the entry point, so that class of drift cannot recur.
38
+
39
+ `stability` is the one field that is not mechanical: `src/index.ts` groups its
40
+ re-exports under banner comments, and a section carrying a standalone
41
+ `@experimental` line is experimental until the next banner. Two traps that
42
+ cost a wrong first implementation each are covered by tests — the file header
43
+ explains the tiering in prose ("Sections marked `@experimental` below"), which
44
+ must not match, and the marker scopes to its own section rather than to the
45
+ rest of the file.
46
+
47
+ Anything the inventory cannot describe — a bare `export *`, a locally
48
+ declared export, a re-export with no module specifier — raises rather than
49
+ being skipped. Silently dropping one means `check:exports` reports "matches"
50
+ while the public surface has grown unrecorded, which is the failure the
51
+ inventory exists to prevent. `export * as ns from` is representable and is
52
+ recorded as the single name it introduces.
53
+
54
+ Drift is compared positionally, not by set membership: the inventory mirrors
55
+ declaration order, so reordering or duplicating an entry is real drift that a
56
+ set comparison reports as an empty diff above a "stale" error.
57
+
58
+ Verified by reproducing the committed inventory byte-for-byte, all 443
59
+ entries.
60
+
61
+ ### Fixed
62
+
63
+ - Backfilled the missing `14.0.0` CHANGELOG section. That release shipped in
64
+ #1402 and bumped `package.json` without a changelog entry, so the record
65
+ jumped 13.2.1 → 14.1.0 with a breaking change unrecorded in between.
66
+
23
67
  ## 14.3.0 - 2026-08-16
24
68
 
25
69
  No public API change: all 443 exported symbols are byte-identical to 14.2.2.
@@ -220,6 +264,24 @@ This is internal structure only.
220
264
  touching `QUESTIONER_ENABLED` — so the accessor deliberately does not reuse
221
265
  `positiveIntEnv`. Configured by `QUESTIONER_INTENT_DAILY_CAP`.
222
266
 
267
+ ## 14.0.0 - 2026-08-15
268
+
269
+ Backfilled. This release shipped in #1402 and bumped `package.json` without a
270
+ CHANGELOG section, so the record jumped 13.2.1 → 14.1.0. Reconstructed from the
271
+ commit (`225425371d`) rather than from memory.
272
+
273
+ ### Removed
274
+
275
+ - **BREAKING**: retired the pre-personafication `orchestrator` chat persona.
276
+ `ORCHESTRATOR_PERSONA_ID` and `ORCHESTRATOR_PERSONA` are gone from the package
277
+ surface, and `ChatGraphFactory` and `ChatAgent.create()` now require a persona
278
+ — there is no default to fall back on, and unknown values fail closed.
279
+
280
+ Production evidence at the time: the orchestrator had written no new session
281
+ since 2026-08-04, and the presence of `onboarding`-persona rows showed the
282
+ Signal cutover flag was already on. The 9,464 historical orchestrator
283
+ conversations remain readable.
284
+
223
285
  ## 13.2.1 - 2026-08-16
224
286
 
225
287
  No public API change: all 441 exported symbols are byte-identical to 13.2.0, and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indexnetwork/protocol",
3
- "version": "14.3.0-rc.475.1",
3
+ "version": "14.3.1-rc.476.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -26,7 +26,9 @@
26
26
  "test:architecture": "bun test src/architecture/tests scripts/architecture/tests",
27
27
  "architecture:host-isolation": "bun scripts/architecture/host-isolation.ts",
28
28
  "architecture:capabilities": "bun scripts/architecture/capability-boundaries.ts",
29
- "architecture:check": "bun run architecture:host-isolation && bun run architecture:capabilities && bun run test:architecture",
29
+ "architecture:exports": "bun scripts/architecture/export-inventory.ts",
30
+ "check:exports": "bun scripts/architecture/export-inventory.ts --check",
31
+ "architecture:check": "bun run architecture:host-isolation && bun run architecture:capabilities && bun run check:exports && bun run test:architecture",
30
32
  "prepublishOnly": "bun run build",
31
33
  "prepack": "bun run build:package",
32
34
  "eval:matching": "bun --env-file=../../.env.test ./eval/matching/matching.eval.ts",