chainlesschain 0.166.146 → 0.166.148
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/README.md +25 -5
- package/package.json +1 -1
- package/src/assets/linux-subreaper/linux-arm64/manifest.json +1 -1
- package/src/assets/linux-subreaper/linux-x64/manifest.json +1 -1
- package/src/commands/evolution-deployment.js +16 -0
- package/src/data/changelog.json +26 -0
- package/src/lib/evolution/evolution-deployment-config.js +27 -0
- package/src/lib/evolution/evolution-ledger-file-manifest-head-store.js +19 -0
- package/src/lib/evolution/evolution-ledger-manifest-catalog.js +13 -0
- package/src/lib/evolution/evolution-ledger-manifest-head-store.js +17 -0
- package/src/lib/evolution/evolution-ledger-v2-manifest-backend.js +29 -2
package/README.md
CHANGED
|
@@ -2,15 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
Command-line interface for installing, configuring, and managing [ChainlessChain](https://www.chainlesschain.com), including the coding agent, governed tools, sessions, memory, and IDE integrations.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## CLI 0.166.148 / IDE pairing candidate (2026-11-13)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
This candidate carries the CLI-owned self-evolution capability status projection into deployment status and the paired IDE configuration surfaces. Publication remains gated on the exact CLI CI, Strict Sandbox, and OIDC workflow for this commit.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
CLI **0.166.148** is a release candidate; install it only after the exact tag workflow publishes it. The paired candidates are VS Code **0.37.187** and JetBrains **0.4.202**.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
## Public CLI 0.166.147 / IDE pairing (2026-11-12)
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
This version retains original manifest catalog/head ownership through Evolution Ledger factories, rejecting substituted directories and mixed head ports while preserving custom-backend behavior. These local storage capabilities do not grant promotion authority. The separate original 36-task plus nine-first-run evaluation retains fixed source, model, budgets and independent acceptance; preparation is not a new task-completion result.
|
|
14
|
+
|
|
15
|
+
CLI **0.166.147** is public through [Actions OIDC](https://github.com/chainlesschain/chainlesschain/actions/runs/42976618525). Exact source `32451e4d568e414acdb9c956208e5cff827cd6e0` passed all **76 CLI CI** and **6 Strict Sandbox** jobs. The [public readback](https://github.com/chainlesschain/chainlesschain/actions/runs/43032767673) verified npm provenance and byte identity with the official immutable tarball. Install `npm i -g chainlesschain@0.166.147 --registry https://registry.npmjs.org`, restart hosts, then run `cc --version` and `cc doctor`.
|
|
16
|
+
|
|
17
|
+
Open VSX **0.37.186** is public and byte-identical to the official VSIX, recommending CLI **0.166.147**. JetBrains **0.4.201** is awaiting completion of its official tag workflow; upload is not yet verified. Both new IDE versions recommend CLI **0.166.147**; their exact source `703b22e895bff2c0f40cd7f350aef0757dc3bdd5` passed the complete host and ARM64 gates. Session Core **0.3.27**, Protocol **0.1.13**, Agent SDK **0.2.18** and Context/Memory Kernel **0.1.12** are unchanged. [Download the public 0.37.186 VSIX](https://open-vsx.org/api/chainlesschain/chainlesschain-ide/0.37.186/file/chainlesschain.chainlesschain-ide-0.37.186.vsix).
|
|
18
|
+
|
|
19
|
+
The [upgrade and release-status guide](../../docs-site/docs/chainlesschain/cli-ide-update-2026-11-11-147.md) records each channel separately. Microsoft Marketplace was not published by this tag run; it requires an explicit exact-tag backfill and a configured VSCE_PAT. Public mobile/PC clients remain **v5.0.3.145**. Automatic promotion, independent business effects, invoice reconciliation and paid admission remain incomplete; **NOT_PAID_READY / NOT_ADMITTED / HOLD** remain. [Publication evidence](../../docs/research/cli/evidence/release147-public/README.md).
|
|
20
|
+
|
|
21
|
+
## Previous public CLI 0.166.146 / verified IDE pairing (2026-11-10)
|
|
22
|
+
|
|
23
|
+
CLI **0.166.146**, Context/Memory Kernel **0.1.12**, Protocol **0.1.13** and Agent SDK **0.2.18** are public. Session Core remains **0.3.27**. Immutable source `daafda2cf7790580467dae8ce006ceaa1285d3b4` passed the [official Actions OIDC publication](https://github.com/chainlesschain/chainlesschain/actions/runs/42758119265), including exact-source CLI CI / Strict Sandbox gates, public registry bytes/provenance and registry-only child installation. Public npm version queries also succeeded. [Publication receipt](../../docs/research/cli/evidence/release146-public/publication.json).
|
|
24
|
+
|
|
25
|
+
Install `npm i -g chainlesschain@0.166.146 --registry https://registry.npmjs.org`, restart CLI/IDE hosts, then run `cc --version` and `cc doctor`.
|
|
26
|
+
|
|
27
|
+
Paired Open VSX **0.37.185** and JetBrains **0.4.199** are public and both recommend CLI **0.166.146**. The [VS Code/Open VSX release](https://github.com/chainlesschain/chainlesschain/actions/runs/42819326161) uses source `2ae832f9054ac834b06d00a38ce1a95038ff43bb`; the [JetBrains release](https://github.com/chainlesschain/chainlesschain/actions/runs/42761723143) uses `daafda2cf7790580467dae8ce006ceaa1285d3b4` and has completed Marketplace approval. Microsoft Marketplace remains unpublished; VS Code users can install the versioned Open VSX VSIX.
|
|
28
|
+
|
|
29
|
+
PC/mobile **v5.0.3.146** is not fully released; public clients remain **v5.0.3.145**. Android's fixed bundle still contains CLI .145 and failed the release version check; a bundle refresh has started, and complete five-platform product and public-asset verification remains required. Successful IDE or individual platform builds do not upgrade the public clients. See the [current upgrade guide](../../docs-site/docs/chainlesschain/cli-ide-update-2026-11-10-146.md). The earlier publication receipt and candidate records retain their dated scope.
|
|
30
|
+
|
|
31
|
+
This release adds canonical `memory inspect` and revision-checked `memory correct`, body-free correction notifications and persisted stream model-input diagnostics. The paired public JetBrains plugin restores tool traces; VS Code .185 retains the strict Remote-SSH host gate with bounded container dependency installation. A correction conflicts on a stale revision; an error after durable publication exits 2 and must be inspected without automatic replay. SQLite stores that contain correction events require the newer reader. Explicit output-token limits and durable MCP continuation retain their documented scope. Natural-language multilingual retrieval, complete lifecycle/platform acceptance, billing reconciliation and paid admission remain incomplete. **NOT_PAID_READY / NOT_ADMITTED / HOLD** remain.
|
|
32
|
+
|
|
33
|
+
## Historical public CLI 0.166.145 / verified IDE pairing
|
|
14
34
|
|
|
15
35
|
Public versions checked 2026-11-09: Session Core **0.3.27**, CLI **0.166.145**, Open VSX **0.37.181**, JetBrains **0.4.198**. Both IDEs recommend CLI .145. Open VSX passed **70K+ downloads** (owner-confirmed milestone). Source VS Code .182 is separate from public .181.
|
|
16
36
|
|
package/package.json
CHANGED
|
@@ -27,6 +27,22 @@ function printStatus(status) {
|
|
|
27
27
|
chalk.yellow(" Warning: TEST ONLY — not production credentials"),
|
|
28
28
|
);
|
|
29
29
|
logger.log(` Auto promotion: HOLD (manual review required)`);
|
|
30
|
+
const policy = status.evolutionPolicy || {};
|
|
31
|
+
logger.log(
|
|
32
|
+
` Production auth: ${policy.productionAuthority === true ? "available" : "not available"}`,
|
|
33
|
+
);
|
|
34
|
+
logger.log(
|
|
35
|
+
` Runtime evidence: ${policy.runtimeEvidence === true ? "present" : "absent"}`,
|
|
36
|
+
);
|
|
37
|
+
const capabilities = status.evolutionStatus?.capabilities;
|
|
38
|
+
if (Array.isArray(capabilities) && capabilities.length) {
|
|
39
|
+
logger.log(" Capability state:");
|
|
40
|
+
for (const capability of capabilities) {
|
|
41
|
+
logger.log(
|
|
42
|
+
` ${capability.id}: ${capability.state} (wired=${capability.wired === true}, verified=${capability.verified === true})`,
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
30
46
|
logger.log(` Profile: ${status.profilePath}`);
|
|
31
47
|
if (status.descriptorPath)
|
|
32
48
|
logger.log(` Descriptor: ${status.descriptorPath}`);
|
package/src/data/changelog.json
CHANGED
|
@@ -1,6 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"source": "CHANGELOG.md",
|
|
3
3
|
"releases": [
|
|
4
|
+
{
|
|
5
|
+
"productVersion": null,
|
|
6
|
+
"cliVersion": "0.166.148",
|
|
7
|
+
"cliVersions": ["0.166.148"],
|
|
8
|
+
"date": "2026-11-13",
|
|
9
|
+
"title": "",
|
|
10
|
+
"sections": [
|
|
11
|
+
{
|
|
12
|
+
"heading": "Added - cc CLI 0.166.148: self-evolution capability status projection (candidate, 2026-11-13)",
|
|
13
|
+
"body": "- Expose source-level self-evolution capability status and the governed deployment policy through the CLI deployment status command, making production authority, runtime evidence and automatic-promotion state explicit.\n- Pair with VS Code/Open VSX 0.37.187 and JetBrains 0.4.202; both IDEs surface the same CLI-owned capability state and recommend CLI 0.166.148. Publication remains gated on exact-source CI, host matrices and public readback.\n- Keep automatic promotion on HOLD: this release reports wiring evidence only and does not claim runtime producer/storage graphs, experiment acceptance or production promotion authority."
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"productVersion": null,
|
|
19
|
+
"cliVersion": "0.166.147",
|
|
20
|
+
"cliVersions": ["0.166.147"],
|
|
21
|
+
"date": "2026-11-11",
|
|
22
|
+
"title": "",
|
|
23
|
+
"sections": [
|
|
24
|
+
{
|
|
25
|
+
"heading": "Added - cc CLI 0.166.147: original manifest ownership and verified retest preparation (candidate, 2026-11-11)",
|
|
26
|
+
"body": "- Retain original file catalog/head ownership through the actual Evolution Ledger factories. Reject mixed load/CAS ports, forwarding wrappers and replaced directories without changing existing custom-backend read/write behavior or granting storage-graph/promotion authority.\n- Pair with VS Code/Open VSX 0.37.186 and JetBrains 0.4.201, both recommending CLI 0.166.147. Keep the public JetBrains 0.4.200 Rewind fix. Required child package versions remain unchanged.\n- Prepare a separately identified 36-task plus nine-first-run Volcengine round with the original task source/allocation, fixed model and budgets, explicit-output-limit preservation and publication evidence. This prepares evaluation; it does not claim new model-task results or self-evolution gains.\n- Update the Mongoose dependency lock and reject malformed or timed-out audit reports. Add a synthetic-clock native DMM overnight notification journey, with real timers and independent host verification; actual overnight wall time and installed-client acceptance remain separate.\n- Publish only after exact-source CLI CI and Strict Sandbox on all configured systems, using Actions OIDC, then IDE host matrices and public readback. Automatic promotion remains HOLD; complete business, billing and paid admission remain open."
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
},
|
|
4
30
|
{
|
|
5
31
|
"productVersion": null,
|
|
6
32
|
"cliVersion": "0.166.146",
|
|
@@ -14,6 +14,31 @@ import {
|
|
|
14
14
|
resolveEvolutionEnabled,
|
|
15
15
|
writeEvolutionEnabled,
|
|
16
16
|
} from "./evolution-enabled.js";
|
|
17
|
+
import {
|
|
18
|
+
CAPABILITY_MANIFEST,
|
|
19
|
+
buildEvolutionStatus,
|
|
20
|
+
} from "../capability-manifest.js";
|
|
21
|
+
|
|
22
|
+
// This is deliberately a static, fail-closed projection. Deployment
|
|
23
|
+
// verification proves that a signed host may be selected; it does not prove
|
|
24
|
+
// that a capability has produced a verified learning receipt or that active
|
|
25
|
+
// promotion is safe. Keep those claims separate so CLI and IDE clients cannot
|
|
26
|
+
// infer production readiness from a valid deployment alone.
|
|
27
|
+
const EVOLUTION_STATUS_PROJECTION = Object.freeze({
|
|
28
|
+
automaticPromotion: "hold",
|
|
29
|
+
productionAuthority: false,
|
|
30
|
+
runtimeEvidence: false,
|
|
31
|
+
scope: "cli-manifest-and-deployment-admission",
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
// The CLI composition owns these capability seams. Marking them wired only
|
|
35
|
+
// records source-level composition; verification still requires a digest-bound
|
|
36
|
+
// receipt and therefore remains false until a real evaluator/producer emits it.
|
|
37
|
+
const EVOLUTION_WIRING_EVIDENCE = Object.freeze(
|
|
38
|
+
Object.fromEntries(
|
|
39
|
+
CAPABILITY_MANIFEST.evolutionCapabilities.map(({ id }) => [id, { wired: true }]),
|
|
40
|
+
),
|
|
41
|
+
);
|
|
17
42
|
|
|
18
43
|
function environmentSelection(env) {
|
|
19
44
|
const descriptorPath = env.CHAINLESSCHAIN_EVOLUTION_DEPLOYMENT_DESCRIPTOR;
|
|
@@ -155,6 +180,8 @@ export async function getEvolutionDeploymentStatus(options = {}) {
|
|
|
155
180
|
verified: false,
|
|
156
181
|
error: saved.error,
|
|
157
182
|
autoPromotion: "hold",
|
|
183
|
+
evolutionStatus: buildEvolutionStatus({ evidence: EVOLUTION_WIRING_EVIDENCE }),
|
|
184
|
+
evolutionPolicy: EVOLUTION_STATUS_PROJECTION,
|
|
158
185
|
};
|
|
159
186
|
if (!selected || saved.error) return withDeploymentReadiness(base);
|
|
160
187
|
try {
|
|
@@ -20,6 +20,8 @@ const STATE_SCHEMA =
|
|
|
20
20
|
const STATE_KEYS = new Set(["head", "schema"]);
|
|
21
21
|
const DEFAULT_MAXIMUM_BYTES = 256 * 1024;
|
|
22
22
|
const DIRECTORY_BOUNDARIES = new WeakMap();
|
|
23
|
+
const LOAD_OWNERS = new WeakMap();
|
|
24
|
+
const CAS_OWNERS = new WeakMap();
|
|
23
25
|
|
|
24
26
|
function exactRecord(value, keys, label) {
|
|
25
27
|
if (
|
|
@@ -222,9 +224,26 @@ export function createEvolutionLedgerFileManifestHeadBackend({
|
|
|
222
224
|
backend,
|
|
223
225
|
captureEvolutionManifestStateReaderDirectoryBoundary(stateReader),
|
|
224
226
|
);
|
|
227
|
+
LOAD_OWNERS.set(backend.load, backend);
|
|
228
|
+
CAS_OWNERS.set(backend.compareAndSet, backend);
|
|
225
229
|
return backend;
|
|
226
230
|
}
|
|
227
231
|
|
|
232
|
+
/** A head-store factory must retain both original ports from the same backend. */
|
|
233
|
+
export function captureEvolutionLedgerFileManifestHeadPortsDirectoryBoundary(
|
|
234
|
+
load,
|
|
235
|
+
compareAndSet,
|
|
236
|
+
) {
|
|
237
|
+
if (arguments.length !== 2)
|
|
238
|
+
throw new TypeError("head directory capture takes two original ports");
|
|
239
|
+
const owner = LOAD_OWNERS.get(load);
|
|
240
|
+
if (!owner || CAS_OWNERS.get(compareAndSet) !== owner)
|
|
241
|
+
throw new TypeError(
|
|
242
|
+
"original load and CAS ports from one file head backend are required",
|
|
243
|
+
);
|
|
244
|
+
return captureEvolutionLedgerFileManifestHeadDirectoryBoundary(owner);
|
|
245
|
+
}
|
|
246
|
+
|
|
228
247
|
/** Original local head directory only; structural wrappers are not owners. */
|
|
229
248
|
export function captureEvolutionLedgerFileManifestHeadDirectoryBoundary(
|
|
230
249
|
backend,
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { types as utilTypes } from "node:util";
|
|
2
|
+
import { captureEvolutionLedgerFileManifestCatalogDirectoryBoundary } from "./evolution-ledger-file-manifest-catalog.js";
|
|
3
|
+
|
|
4
|
+
const ORIGINAL_BACKENDS = new WeakMap();
|
|
2
5
|
|
|
3
6
|
import {
|
|
4
7
|
captureEvolutionLedgerManifestAuthority,
|
|
@@ -437,9 +440,19 @@ export function createEvolutionLedgerManifestCatalog(options = undefined) {
|
|
|
437
440
|
readLatest,
|
|
438
441
|
});
|
|
439
442
|
CATALOGS.add(catalog);
|
|
443
|
+
ORIGINAL_BACKENDS.set(catalog, backend);
|
|
440
444
|
return catalog;
|
|
441
445
|
}
|
|
442
446
|
|
|
447
|
+
/** Reuse the exact backend retained by this factory, never its public path. */
|
|
448
|
+
export function captureEvolutionLedgerManifestCatalogDirectoryBoundary(value) {
|
|
449
|
+
if (arguments.length !== 1 || !ORIGINAL_BACKENDS.has(value))
|
|
450
|
+
throw new TypeError("one original manifest catalog is required");
|
|
451
|
+
return captureEvolutionLedgerFileManifestCatalogDirectoryBoundary(
|
|
452
|
+
ORIGINAL_BACKENDS.get(value),
|
|
453
|
+
);
|
|
454
|
+
}
|
|
455
|
+
|
|
443
456
|
export function captureEvolutionLedgerManifestCatalog(
|
|
444
457
|
value,
|
|
445
458
|
expected = undefined,
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { types as utilTypes } from "node:util";
|
|
2
|
+
import { captureEvolutionLedgerFileManifestHeadPortsDirectoryBoundary } from "./evolution-ledger-file-manifest-head-store.js";
|
|
3
|
+
|
|
4
|
+
const ORIGINAL_PORTS = new WeakMap();
|
|
2
5
|
|
|
3
6
|
import {
|
|
4
7
|
captureEvolutionLedgerManifestAuthority,
|
|
@@ -373,9 +376,23 @@ export function createEvolutionLedgerManifestHeadStore(options = undefined) {
|
|
|
373
376
|
},
|
|
374
377
|
});
|
|
375
378
|
STORES.add(store);
|
|
379
|
+
ORIGINAL_PORTS.set(store, Object.freeze({ load, compareAndSet }));
|
|
376
380
|
return store;
|
|
377
381
|
}
|
|
378
382
|
|
|
383
|
+
/** Only the same original raw backend can own both captured head-store ports. */
|
|
384
|
+
export function captureEvolutionLedgerManifestHeadStoreDirectoryBoundary(
|
|
385
|
+
value,
|
|
386
|
+
) {
|
|
387
|
+
if (arguments.length !== 1 || !ORIGINAL_PORTS.has(value))
|
|
388
|
+
throw new TypeError("one original manifest head store is required");
|
|
389
|
+
const ports = ORIGINAL_PORTS.get(value);
|
|
390
|
+
return captureEvolutionLedgerFileManifestHeadPortsDirectoryBoundary(
|
|
391
|
+
ports.load,
|
|
392
|
+
ports.compareAndSet,
|
|
393
|
+
);
|
|
394
|
+
}
|
|
395
|
+
|
|
379
396
|
export function captureEvolutionLedgerManifestHeadStore(
|
|
380
397
|
value,
|
|
381
398
|
expected = undefined,
|
|
@@ -9,8 +9,14 @@ import {
|
|
|
9
9
|
verifyEvolutionLedgerManifestChain,
|
|
10
10
|
readEvolutionLedgerManifestEvents,
|
|
11
11
|
} from "./evolution-ledger-manifest-chain.js";
|
|
12
|
-
import {
|
|
13
|
-
|
|
12
|
+
import {
|
|
13
|
+
captureEvolutionLedgerManifestHeadStore,
|
|
14
|
+
captureEvolutionLedgerManifestHeadStoreDirectoryBoundary,
|
|
15
|
+
} from "./evolution-ledger-manifest-head-store.js";
|
|
16
|
+
import {
|
|
17
|
+
captureEvolutionLedgerManifestCatalog,
|
|
18
|
+
captureEvolutionLedgerManifestCatalogDirectoryBoundary,
|
|
19
|
+
} from "./evolution-ledger-manifest-catalog.js";
|
|
14
20
|
import { captureEvolutionLedgerManifestWitnessAdapter } from "./evolution-ledger-manifest-witness-adapter.js";
|
|
15
21
|
|
|
16
22
|
export const EVOLUTION_LEDGER_V2_MANIFEST_BACKEND_SCHEMA =
|
|
@@ -52,6 +58,7 @@ const APPEND_KEYS = new Set([
|
|
|
52
58
|
]);
|
|
53
59
|
const VERIFY_KEYS = new Set();
|
|
54
60
|
const BACKENDS = new WeakSet();
|
|
61
|
+
const ORIGINAL_MANIFEST_COMPONENTS = new WeakMap();
|
|
55
62
|
|
|
56
63
|
export class EvolutionLedgerV2ManifestBackendError extends Error {
|
|
57
64
|
constructor(code, message, options = undefined) {
|
|
@@ -602,9 +609,29 @@ export function createEvolutionLedgerV2ManifestBackend(options = undefined) {
|
|
|
602
609
|
},
|
|
603
610
|
});
|
|
604
611
|
BACKENDS.add(backend);
|
|
612
|
+
ORIGINAL_MANIFEST_COMPONENTS.set(backend, {
|
|
613
|
+
catalog,
|
|
614
|
+
headStore,
|
|
615
|
+
boundaries: null,
|
|
616
|
+
});
|
|
605
617
|
return backend;
|
|
606
618
|
}
|
|
607
619
|
|
|
620
|
+
/** Local metadata only. Capturing these components does not authenticate state. */
|
|
621
|
+
export function captureEvolutionLedgerV2ManifestDirectoryBoundaries(value) {
|
|
622
|
+
if (arguments.length !== 1 || !ORIGINAL_MANIFEST_COMPONENTS.has(value))
|
|
623
|
+
throw new TypeError("one original v2 manifest backend is required");
|
|
624
|
+
const components = ORIGINAL_MANIFEST_COMPONENTS.get(value);
|
|
625
|
+
const catalog = captureEvolutionLedgerManifestCatalogDirectoryBoundary(
|
|
626
|
+
components.catalog,
|
|
627
|
+
);
|
|
628
|
+
const head = captureEvolutionLedgerManifestHeadStoreDirectoryBoundary(
|
|
629
|
+
components.headStore,
|
|
630
|
+
);
|
|
631
|
+
components.boundaries ??= Object.freeze({ catalog, head });
|
|
632
|
+
return components.boundaries;
|
|
633
|
+
}
|
|
634
|
+
|
|
608
635
|
export function captureEvolutionLedgerV2ManifestBackend(value) {
|
|
609
636
|
if (!BACKENDS.has(value)) {
|
|
610
637
|
throw new TypeError(
|