@cleocode/contracts 2026.10.5 → 2026.10.6
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/dist/__tests__/db-inventory.test.js +17 -0
- package/dist/__tests__/db-inventory.test.js.map +1 -1
- package/dist/caamp-markers.d.ts +12 -1
- package/dist/caamp-markers.d.ts.map +1 -1
- package/dist/caamp-markers.js +9 -0
- package/dist/caamp-markers.js.map +1 -1
- package/dist/db-inventory.d.ts +8 -0
- package/dist/db-inventory.d.ts.map +1 -1
- package/dist/db-inventory.js.map +1 -1
- package/dist/db-inventory.json +18 -15
- package/dist/doctor.d.ts +32 -7
- package/dist/doctor.d.ts.map +1 -1
- package/dist/done-plan.d.ts +1 -1
- package/dist/done-plan.d.ts.map +1 -1
- package/dist/graph.d.ts +33 -0
- package/dist/graph.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/nexus-cloud.d.ts +13 -0
- package/dist/nexus-cloud.d.ts.map +1 -1
- package/dist/nexus-cloud.js.map +1 -1
- package/dist/operations/docs.d.ts +15 -2
- package/dist/operations/docs.d.ts.map +1 -1
- package/dist/operations/docs.js.map +1 -1
- package/dist/operations/worktree.d.ts +24 -2
- package/dist/operations/worktree.d.ts.map +1 -1
- package/dist/release/plan.d.ts +1 -1
- package/dist/release/plan.d.ts.map +1 -1
- package/dist/release/plan.js +6 -2
- package/dist/release/plan.js.map +1 -1
- package/dist/row-identity.d.ts +2 -0
- package/dist/row-identity.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/__tests__/db-inventory.test.ts +24 -0
- package/src/caamp-markers.ts +18 -1
- package/src/db-inventory.json +18 -15
- package/src/db-inventory.ts +8 -0
- package/src/doctor.ts +36 -7
- package/src/done-plan.ts +1 -0
- package/src/graph.ts +36 -0
- package/src/index.ts +5 -0
- package/src/nexus-cloud.ts +14 -0
- package/src/operations/docs.ts +15 -2
- package/src/operations/worktree.ts +28 -2
- package/src/release/plan.ts +6 -2
- package/src/row-identity.ts +2 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan.d.ts","sourceRoot":"","sources":["../../src/release/plan.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,UAAU,CAAC;AAEnD;;;GAGG;AACH,eAAO,MAAM,uBAAuB,qDAAqD,CAAC;AAI1F;;;;;GAKG;AACH,eAAO,MAAM,eAAe,4CAA6C,CAAC;AAE1E;;;GAGG;AACH,eAAO,MAAM,cAAc,gDAAiD,CAAC;AAE7E;;;GAGG;AACH,eAAO,MAAM,YAAY,8CAA+C,CAAC;AAEzE;;;GAGG;AACH,eAAO,MAAM,cAAc,iHASjB,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,WAAW,wDAAyD,CAAC;AAElF;;;GAGG;AACH,eAAO,MAAM,SAAS,2EAA4E,CAAC;AAEnG;;;;GAIG;AACH,eAAO,MAAM,cAAc,yFAOjB,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,SAAS,yEAA0E,CAAC;AAEjG;;;GAGG;AACH,eAAO,MAAM,SAAS,uGAWZ,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,MAAM,sCAAuC,CAAC;AAE3D;;;GAGG;AACH,eAAO,MAAM,eAAe,oFAKlB,CAAC;AAIX,8CAA8C;AAC9C,eAAO,MAAM,oBAAoB;;;;;EAA0B,CAAC;AAE5D,6CAA6C;AAC7C,eAAO,MAAM,mBAAmB;;;;EAAyB,CAAC;AAE1D,2CAA2C;AAC3C,eAAO,MAAM,iBAAiB;;;;EAAuB,CAAC;AAEtD,6CAA6C;AAC7C,eAAO,MAAM,mBAAmB;;;;;;;;;EAAyB,CAAC;AAE1D,0CAA0C;AAC1C,eAAO,MAAM,gBAAgB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CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAI5D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,WAAW,CAE5D;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,OAAO,GACb,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAEhD"}
|
package/dist/release/plan.js
CHANGED
|
@@ -320,8 +320,12 @@ export const ReleasePlanSchema = z.object({
|
|
|
320
320
|
scheme: ReleaseSchemeSchema,
|
|
321
321
|
/** npm dist-tag channel for this release. */
|
|
322
322
|
channel: ReleaseChannelSchema,
|
|
323
|
-
/**
|
|
324
|
-
|
|
323
|
+
/**
|
|
324
|
+
* Epic ID this release ships: the `--epic` epic or the `--saga` saga. `null`
|
|
325
|
+
* for a `--tasks` plan, whose tasks may span several epics; each task's own
|
|
326
|
+
* epic is on its `epicAncestor` (T13323).
|
|
327
|
+
*/
|
|
328
|
+
epicId: NonEmptyString.nullable(),
|
|
325
329
|
/** Release-kind classification. */
|
|
326
330
|
releaseKind: ReleaseKindSchema,
|
|
327
331
|
/** ISO-8601 timestamp the plan was written. */
|
package/dist/release/plan.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan.js","sourceRoot":"","sources":["../../src/release/plan.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,gFAAgF;AAEhF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,OAAO,CAAC;AAEnD;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,kDAAkD,CAAC;AAE1F,gFAAgF;AAEhF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EA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C,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,6DAA6D;IAC7D,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,uEAAuE;IACvE,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,mCAAmC;IACnC,MAAM,EAAE,mBAAmB;IAC3B,+CAA+C;IAC/C,IAAI,EAAE,qBAAqB,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC;AA0DH,gFAAgF;AAEhF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,UAAU,gBAAgB,CAAC,KAAc;IAC7C,OAAO,iBAAiB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AACxC,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,oBAAoB,CAClC,KAAc;IAEd,OAAO,iBAAiB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC"}
|
package/dist/row-identity.d.ts
CHANGED
|
@@ -205,5 +205,7 @@ export interface RowIdentityRefillReport {
|
|
|
205
205
|
readonly snapshot: string | null;
|
|
206
206
|
/** `--apply`: how to undo the refill. */
|
|
207
207
|
readonly undo: string | null;
|
|
208
|
+
/** Whether this run cleared a recorded refusal, so the next open re-evaluates (T13305). */
|
|
209
|
+
readonly refusalCleared: boolean;
|
|
208
210
|
}
|
|
209
211
|
//# sourceMappingURL=row-identity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"row-identity.d.ts","sourceRoot":"","sources":["../src/row-identity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEnD;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,qCAAqC;IACrC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,2EAA2E;IAC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C,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,yCAAyC;IACzC,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,2FAA2F;IAC3F,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;CAClC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cleocode/contracts",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.6",
|
|
4
4
|
"description": "Domain types, interfaces, and contracts for the CLEO ecosystem",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
"dependencies": {
|
|
203
203
|
"zod": "^4.3.6",
|
|
204
204
|
"zod-to-json-schema": "^3.25.2",
|
|
205
|
-
"@cleocode/lafs": "2026.10.
|
|
205
|
+
"@cleocode/lafs": "2026.10.6"
|
|
206
206
|
},
|
|
207
207
|
"scripts": {
|
|
208
208
|
"build": "tsc -b --force && node scripts/copy-assets.mjs && node scripts/emit-schemas.mjs",
|
|
@@ -181,4 +181,28 @@ describe('CLEO database inventory (T10305 SSoT)', () => {
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
});
|
|
184
|
+
|
|
185
|
+
it('names no pre-consolidation file as a live store (T13245)', () => {
|
|
186
|
+
// tasks, brain and conduit live in the consolidated project cleo.db.
|
|
187
|
+
for (const role of ['tasks', 'brain', 'conduit']) {
|
|
188
|
+
const entry = DB_INVENTORY.find((e) => e.role === role);
|
|
189
|
+
expect(entry?.filePathTemplate, role).toBe('<projectRoot>/.cleo/cleo.db');
|
|
190
|
+
expect(entry?.legacyFilePathTemplate, role).toBe(`<projectRoot>/.cleo/${role}.db`);
|
|
191
|
+
expect(entry?.migrationsDir, role).toBe('packages/core/migrations/drizzle-cleo-project/');
|
|
192
|
+
}
|
|
193
|
+
// No role's live path is another role's legacy file.
|
|
194
|
+
const legacy = new Set(
|
|
195
|
+
DB_INVENTORY.map((e) => e.legacyFilePathTemplate).filter((t): t is string => t !== undefined),
|
|
196
|
+
);
|
|
197
|
+
for (const entry of DB_INVENTORY) {
|
|
198
|
+
expect(legacy.has(entry.filePathTemplate), `${entry.role} names a legacy file as live`).toBe(
|
|
199
|
+
false,
|
|
200
|
+
);
|
|
201
|
+
if (entry.legacyFilePathTemplate !== undefined) {
|
|
202
|
+
expect(entry.legacyFilePathTemplate.startsWith('<projectRoot>/')).toBe(
|
|
203
|
+
entry.tier === 'project',
|
|
204
|
+
);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
});
|
|
184
208
|
});
|
package/src/caamp-markers.ts
CHANGED
|
@@ -190,6 +190,16 @@ export const CAAMP_SOURCE_STAMP_PATTERN_SOURCE = '^<!-- CAAMP:SOURCE (\\S+) ([a-
|
|
|
190
190
|
*/
|
|
191
191
|
export const GLOBAL_INSTRUCTION_HUB_REFERENCE = '@~/.agents/AGENTS.md';
|
|
192
192
|
|
|
193
|
+
/**
|
|
194
|
+
* The command an owner runs to regenerate their user-global provider
|
|
195
|
+
* instruction files. CLEO itself never writes those files (T13409): its
|
|
196
|
+
* bootstrap, upgrade and session-start refresh only report them as stale and
|
|
197
|
+
* name this command.
|
|
198
|
+
*
|
|
199
|
+
* @task T13409
|
|
200
|
+
*/
|
|
201
|
+
export const GLOBAL_INSTRUCTION_REFRESH_COMMAND = 'caamp instructions update --global';
|
|
202
|
+
|
|
193
203
|
/**
|
|
194
204
|
* Delivery state of one global provider instruction file.
|
|
195
205
|
*
|
|
@@ -246,10 +256,17 @@ export interface GlobalInstructionStalenessReport {
|
|
|
246
256
|
* - `unresolved` — the hub could not be resolved into a complete delivery; nothing was written.
|
|
247
257
|
* - `no-providers` — no provider installation was detected.
|
|
248
258
|
* - `dry-run` — the planned targets were computed without writing.
|
|
259
|
+
* - `refused` — the caller is not a user-run command; nothing was written (T13409).
|
|
249
260
|
*
|
|
250
261
|
* @task T12377
|
|
262
|
+
* @task T13409
|
|
251
263
|
*/
|
|
252
|
-
export type GlobalInstructionSyncStatus =
|
|
264
|
+
export type GlobalInstructionSyncStatus =
|
|
265
|
+
| 'synced'
|
|
266
|
+
| 'unresolved'
|
|
267
|
+
| 'no-providers'
|
|
268
|
+
| 'dry-run'
|
|
269
|
+
| 'refused';
|
|
253
270
|
|
|
254
271
|
/**
|
|
255
272
|
* One provider instruction file targeted by a global regeneration.
|
package/src/db-inventory.json
CHANGED
|
@@ -8,41 +8,44 @@
|
|
|
8
8
|
{
|
|
9
9
|
"role": "tasks",
|
|
10
10
|
"tier": "project",
|
|
11
|
-
"filePathTemplate": "<projectRoot>/.cleo/
|
|
11
|
+
"filePathTemplate": "<projectRoot>/.cleo/cleo.db",
|
|
12
|
+
"legacyFilePathTemplate": "<projectRoot>/.cleo/tasks.db",
|
|
12
13
|
"drizzleSchemaPath": "packages/core/src/store/tasks-schema.ts",
|
|
13
|
-
"migrationsDir": "packages/core/migrations/drizzle-
|
|
14
|
+
"migrationsDir": "packages/core/migrations/drizzle-cleo-project/",
|
|
14
15
|
"ownerPackage": "@cleocode/core",
|
|
15
|
-
"openedVia": "
|
|
16
|
+
"openedVia": "getDb(cwd) — binds the consolidated project store .cleo/cleo.db (openDualScopeDb('project'); E6). The legacy per-domain file is read only by exodus.",
|
|
16
17
|
"concurrency": "single-writer",
|
|
17
18
|
"privacy": "local-only",
|
|
18
|
-
"backupPath": ".cleo/backups/sqlite/tasks-YYYYMMDD-HHmmss.db",
|
|
19
|
-
"documentedIn": "ADR-068 row 1; ADR-013 §9"
|
|
19
|
+
"backupPath": ".cleo/backups/sqlite/tasks-YYYYMMDD-HHmmss.db (session-end snapshot of .cleo/cleo.db) or .cleo/backups/sqlite/cleo.db.<backupId> (cleo backup add)",
|
|
20
|
+
"documentedIn": "ADR-068 row 1; ADR-013 §9; T13245 (live store is .cleo/cleo.db)"
|
|
20
21
|
},
|
|
21
22
|
{
|
|
22
23
|
"role": "brain",
|
|
23
24
|
"tier": "project",
|
|
24
|
-
"filePathTemplate": "<projectRoot>/.cleo/
|
|
25
|
+
"filePathTemplate": "<projectRoot>/.cleo/cleo.db",
|
|
26
|
+
"legacyFilePathTemplate": "<projectRoot>/.cleo/brain.db",
|
|
25
27
|
"drizzleSchemaPath": "packages/core/src/store/schema/memory-schema.ts",
|
|
26
|
-
"migrationsDir": "packages/core/migrations/drizzle-
|
|
28
|
+
"migrationsDir": "packages/core/migrations/drizzle-cleo-project/",
|
|
27
29
|
"ownerPackage": "@cleocode/brain",
|
|
28
|
-
"openedVia": "
|
|
30
|
+
"openedVia": "getBrainDb(cwd) — binds the consolidated project store .cleo/cleo.db (openDualScopeDb('project'); E6). The legacy per-domain file is read only by exodus.",
|
|
29
31
|
"concurrency": "single-writer",
|
|
30
32
|
"privacy": "local-only-pii",
|
|
31
|
-
"backupPath": ".cleo/backups/sqlite/brain-YYYYMMDD-HHmmss.db",
|
|
32
|
-
"documentedIn": "ADR-068 row 2; ADR-013 §9; audit §2 (P0 malformed 2026-05-23)"
|
|
33
|
+
"backupPath": ".cleo/backups/sqlite/brain-YYYYMMDD-HHmmss.db (session-end snapshot of .cleo/cleo.db) or .cleo/backups/sqlite/cleo.db.<backupId> (cleo backup add)",
|
|
34
|
+
"documentedIn": "ADR-068 row 2; ADR-013 §9; audit §2 (P0 malformed 2026-05-23); T13245 (live store is .cleo/cleo.db)"
|
|
33
35
|
},
|
|
34
36
|
{
|
|
35
37
|
"role": "conduit",
|
|
36
38
|
"tier": "project",
|
|
37
|
-
"filePathTemplate": "<projectRoot>/.cleo/
|
|
39
|
+
"filePathTemplate": "<projectRoot>/.cleo/cleo.db",
|
|
40
|
+
"legacyFilePathTemplate": "<projectRoot>/.cleo/conduit.db",
|
|
38
41
|
"drizzleSchemaPath": "packages/core/src/store/schema/conduit-schema.ts",
|
|
39
|
-
"migrationsDir": "packages/core/migrations/drizzle-
|
|
42
|
+
"migrationsDir": "packages/core/migrations/drizzle-cleo-project/",
|
|
40
43
|
"ownerPackage": "@cleocode/core",
|
|
41
|
-
"openedVia": "
|
|
44
|
+
"openedVia": "ensureConduitDb(cwd) — binds the consolidated project store .cleo/cleo.db (openDualScopeDb('project'); E6). The legacy per-domain file is read only by exodus.",
|
|
42
45
|
"concurrency": "single-writer",
|
|
43
46
|
"privacy": "local-only",
|
|
44
|
-
"backupPath": ".cleo/backups/sqlite/conduit-YYYYMMDD-HHmmss.db",
|
|
45
|
-
"documentedIn": "ADR-068 row 3; ADR-037 (signaldock→conduit split)"
|
|
47
|
+
"backupPath": ".cleo/backups/sqlite/conduit-YYYYMMDD-HHmmss.db (session-end snapshot of .cleo/cleo.db) or .cleo/backups/sqlite/cleo.db.<backupId> (cleo backup add)",
|
|
48
|
+
"documentedIn": "ADR-068 row 3; ADR-037 (signaldock→conduit split); T13245 (live store is .cleo/cleo.db)"
|
|
46
49
|
},
|
|
47
50
|
{
|
|
48
51
|
"role": "manifest",
|
package/src/db-inventory.ts
CHANGED
|
@@ -155,6 +155,14 @@ export interface DbInventoryEntry {
|
|
|
155
155
|
* Substitution convention is documented on {@link DbInventoryEntry}.
|
|
156
156
|
*/
|
|
157
157
|
readonly filePathTemplate: string;
|
|
158
|
+
/**
|
|
159
|
+
* The role's pre-consolidation file (same tokens as `filePathTemplate`),
|
|
160
|
+
* when the role now lives in a consolidated store: `tasks`, `brain` and
|
|
161
|
+
* `conduit` live in `<projectRoot>/.cleo/cleo.db`, and their old
|
|
162
|
+
* `tasks.db` / `brain.db` / `conduit.db` are read only by exodus. Never a
|
|
163
|
+
* live store (T13245).
|
|
164
|
+
*/
|
|
165
|
+
readonly legacyFilePathTemplate?: string;
|
|
158
166
|
/**
|
|
159
167
|
* Repo-relative path to the Drizzle schema TypeScript file. `null` when
|
|
160
168
|
* the schema is owned by an upstream library or the role is reserved.
|
package/src/doctor.ts
CHANGED
|
@@ -1131,14 +1131,31 @@ export interface SupersededStoreConflict {
|
|
|
1131
1131
|
* neither renumbers nor copies the legacy task. `withheld-undecided`: a
|
|
1132
1132
|
* task-graph table such a run did not copy at all, so the undecided task's
|
|
1133
1133
|
* children, dependencies and criteria cannot attach to the live task.
|
|
1134
|
+
* `deleted-live` (bare-strands mode, T13309): the row is, or refers to, a
|
|
1135
|
+
* task the live store recorded as deleted, so copying it would resurrect
|
|
1136
|
+
* it. `parent-absent` (bare-strands mode): the row refers to a task that
|
|
1137
|
+
* neither the live store nor the copy holds. `parent-skipped`
|
|
1138
|
+
* (bare-strands mode, T13334): the row refers to a bare task the same run
|
|
1139
|
+
* skipped, so copying it would dangle. `carried-then-deleted`
|
|
1140
|
+
* (bare-strands mode): an earlier reconcile copied the row into the twin
|
|
1141
|
+
* (its copy receipt is in the store) and the runtime deleted it since.
|
|
1134
1142
|
*/
|
|
1135
1143
|
reason:
|
|
1136
1144
|
| 'live-authoritative'
|
|
1137
1145
|
| 'collides-with-live'
|
|
1138
1146
|
| 'id-collision-undecided'
|
|
1139
|
-
| 'withheld-undecided'
|
|
1147
|
+
| 'withheld-undecided'
|
|
1148
|
+
| 'deleted-live'
|
|
1149
|
+
| 'parent-absent'
|
|
1150
|
+
| 'parent-skipped'
|
|
1151
|
+
| 'carried-then-deleted';
|
|
1140
1152
|
/** The legacy ids left uncopied, when the run can name them. */
|
|
1141
1153
|
ids?: string[];
|
|
1154
|
+
/**
|
|
1155
|
+
* Bare-strands mode (T13309): every skipped row's primary key (every column
|
|
1156
|
+
* for a keyless table), as a JSON array, so an operator can see each one.
|
|
1157
|
+
*/
|
|
1158
|
+
keys?: string[];
|
|
1142
1159
|
}
|
|
1143
1160
|
|
|
1144
1161
|
/**
|
|
@@ -1174,13 +1191,15 @@ export interface SupersededStoreIdRemap {
|
|
|
1174
1191
|
}
|
|
1175
1192
|
|
|
1176
1193
|
/**
|
|
1177
|
-
* One bare legacy table of the live store a reconcile
|
|
1194
|
+
* One bare legacy table of the live store a reconcile (full or bare-strands
|
|
1195
|
+
* mode) carried: its row count
|
|
1178
1196
|
* and key digest when the run verified (T13319). The run records it in the
|
|
1179
1197
|
* store (T13320) and in its receipt; the sync refusal for stranded bare rows
|
|
1180
1198
|
* stands down for a table that still matches, so a row the runtime later
|
|
1181
1199
|
* deletes from the prefixed twin is never mistaken for one never carried.
|
|
1182
1200
|
*
|
|
1183
1201
|
* @task T13319
|
|
1202
|
+
* @task T13309
|
|
1184
1203
|
*/
|
|
1185
1204
|
export interface SupersededStoreBareAccount {
|
|
1186
1205
|
/** The bare table, e.g. `task_labels`. */
|
|
@@ -1222,8 +1241,13 @@ export interface SupersededStoreReconcileResult {
|
|
|
1222
1241
|
* `additive` — for a project already running on the consolidated store:
|
|
1223
1242
|
* copy only rows whose keys are absent from live history tables, never
|
|
1224
1243
|
* touch the live task graph, and list everything left in `conflicts`.
|
|
1244
|
+
* `bare-strands` (T13309) — for a project already running on the
|
|
1245
|
+
* consolidated store whose live `cleo.db` still holds bare legacy rows its
|
|
1246
|
+
* prefixed tables lack: copy those rows (renumbering a task whose id a
|
|
1247
|
+
* different live task took), never overwrite a live row, and list every row
|
|
1248
|
+
* deliberately skipped in `conflicts`.
|
|
1225
1249
|
*/
|
|
1226
|
-
mode: 'full' | 'additive';
|
|
1250
|
+
mode: 'full' | 'additive' | 'bare-strands';
|
|
1227
1251
|
/**
|
|
1228
1252
|
* Legacy rows deliberately left uncopied: additive mode's live-authoritative
|
|
1229
1253
|
* tables, and in full mode the task-id collisions the run cannot decide.
|
|
@@ -1258,10 +1282,15 @@ export interface SupersededStoreReconcileResult {
|
|
|
1258
1282
|
/** Human-readable explanation, suitable for printing verbatim. */
|
|
1259
1283
|
reason: string;
|
|
1260
1284
|
/**
|
|
1261
|
-
* The live store's bare tables this run carried
|
|
1262
|
-
*
|
|
1263
|
-
* record the run wrote into the store itself,
|
|
1264
|
-
* (T13320).
|
|
1285
|
+
* The live store's bare tables this run carried (full mode) or settled
|
|
1286
|
+
* (bare-strands mode), on a `reconciled` receipt (T13319, T13309). Audit
|
|
1287
|
+
* only: the sync check reads the record the run wrote into the store itself,
|
|
1288
|
+
* which travels with backups (T13320).
|
|
1265
1289
|
*/
|
|
1266
1290
|
accounted?: SupersededStoreBareAccount[];
|
|
1291
|
+
/**
|
|
1292
|
+
* Bare-strands mode: the `VACUUM INTO` snapshot of the live store taken
|
|
1293
|
+
* before the copy, or `null` when no copy ran (T13309).
|
|
1294
|
+
*/
|
|
1295
|
+
snapshotPath?: string | null;
|
|
1267
1296
|
}
|
package/src/done-plan.ts
CHANGED
package/src/graph.ts
CHANGED
|
@@ -707,6 +707,35 @@ export interface GraphIndexFilePage {
|
|
|
707
707
|
rows: GraphIndexFileReport[];
|
|
708
708
|
}
|
|
709
709
|
|
|
710
|
+
/** Extraction limitation of one retained reference. */
|
|
711
|
+
export type GraphIndexReferenceKind = GraphIndexReferenceReport['kind'];
|
|
712
|
+
|
|
713
|
+
/** Retained references per limitation kind; every kind is present, zero included. */
|
|
714
|
+
export type GraphIndexReferenceKindCounts = Record<GraphIndexReferenceKind, number>;
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* One page of an assessment's retained references, in stored order (T13330).
|
|
718
|
+
*
|
|
719
|
+
* The list grows with the repository — 846 151 references, over 500 MB of
|
|
720
|
+
* JSON, on one 5 357-file project — so it is only ever returned a page at a time.
|
|
721
|
+
*/
|
|
722
|
+
export interface GraphIndexReferencePage {
|
|
723
|
+
/** References skipped before this page. */
|
|
724
|
+
offset: number;
|
|
725
|
+
/** Requested page size. */
|
|
726
|
+
limit: number;
|
|
727
|
+
/** Only references of this kind were paged; absent when unfiltered. */
|
|
728
|
+
kind?: GraphIndexReferenceKind;
|
|
729
|
+
/** References matching the filter, before paging. */
|
|
730
|
+
total: number;
|
|
731
|
+
/** References in this page. */
|
|
732
|
+
returned: number;
|
|
733
|
+
/** Offset of the next page; null when this page reaches the end. */
|
|
734
|
+
nextOffset: number | null;
|
|
735
|
+
/** The page itself. */
|
|
736
|
+
rows: GraphIndexReferenceReport[];
|
|
737
|
+
}
|
|
738
|
+
|
|
710
739
|
/**
|
|
711
740
|
* Bounded status projection of a {@link GraphIndexAssessment} (T12560).
|
|
712
741
|
*
|
|
@@ -725,6 +754,13 @@ export interface GraphIndexAssessmentProjection extends Omit<GraphIndexAssessmen
|
|
|
725
754
|
filesByStatus: GraphIndexFileStatusCounts;
|
|
726
755
|
/** The requested page of file rows; absent when `files` is complete. */
|
|
727
756
|
filesPage?: GraphIndexFilePage;
|
|
757
|
+
/** Retained references per kind; present when references were requested (T13330). */
|
|
758
|
+
referencesByKind?: GraphIndexReferenceKindCounts;
|
|
759
|
+
/**
|
|
760
|
+
* The requested page of retained references (T13330). `references` itself is
|
|
761
|
+
* never returned by status; `_withheld.references` carries its UTF-8 JSON size.
|
|
762
|
+
*/
|
|
763
|
+
referencesPage?: GraphIndexReferencePage;
|
|
728
764
|
}
|
|
729
765
|
|
|
730
766
|
/** Validated rows staged before an atomic graph publication. */
|
package/src/index.ts
CHANGED
|
@@ -754,6 +754,9 @@ export type {
|
|
|
754
754
|
GraphIndexFileStatus,
|
|
755
755
|
GraphIndexFileStatusCounts,
|
|
756
756
|
GraphIndexFreshness,
|
|
757
|
+
GraphIndexReferenceKind,
|
|
758
|
+
GraphIndexReferenceKindCounts,
|
|
759
|
+
GraphIndexReferencePage,
|
|
757
760
|
GraphIndexReferenceReport,
|
|
758
761
|
GraphIndexRunSummary,
|
|
759
762
|
GraphNode,
|
|
@@ -2028,6 +2031,8 @@ export type {
|
|
|
2028
2031
|
WorktreeLockAcquisitionStatus,
|
|
2029
2032
|
WorktreeLockHolder,
|
|
2030
2033
|
WorktreeLockRecord,
|
|
2034
|
+
WorktreeLockSessionProbe,
|
|
2035
|
+
WorktreeLockSessionState,
|
|
2031
2036
|
WorktreeSource,
|
|
2032
2037
|
WorktreeStatusCategory,
|
|
2033
2038
|
} from './operations/worktree.js';
|
package/src/nexus-cloud.ts
CHANGED
|
@@ -602,6 +602,18 @@ export interface CloudStatusHeld {
|
|
|
602
602
|
readonly warnDays: number;
|
|
603
603
|
}
|
|
604
604
|
|
|
605
|
+
/** `CloudStatusSyncStream.undo`: the store's undo against its budget (journal spec §3.5 Rule 2, D5). */
|
|
606
|
+
export interface CloudStatusUndoBudget {
|
|
607
|
+
/** Undo payload bytes held for unsequenced local transactions. */
|
|
608
|
+
readonly bytes: number;
|
|
609
|
+
/** The budget in bytes (256 MiB by default). */
|
|
610
|
+
readonly budget: number;
|
|
611
|
+
/** `warn` from 80% (pull to drain it); `exceeded` at 100%, which persists until a rebind. */
|
|
612
|
+
readonly state: 'ok' | 'warn' | 'exceeded';
|
|
613
|
+
/** When undo first reached the budget (a rebind is scheduled for the next pull), or `null`. */
|
|
614
|
+
readonly exceededAt: string | null;
|
|
615
|
+
}
|
|
616
|
+
|
|
605
617
|
export interface CloudStatusSyncStream {
|
|
606
618
|
/** Which store. */
|
|
607
619
|
readonly scope: 'project' | 'global';
|
|
@@ -625,6 +637,8 @@ export interface CloudStatusSyncStream {
|
|
|
625
637
|
readonly suspectTables: readonly string[];
|
|
626
638
|
/** Local writes a sync rebase holds, until their echo is decided (§3.5 Rule 5). */
|
|
627
639
|
readonly held: CloudStatusHeld;
|
|
640
|
+
/** Undo held against its budget (§3.5 Rule 2, D5). */
|
|
641
|
+
readonly undo: CloudStatusUndoBudget;
|
|
628
642
|
/** Sealed ops not yet handed to the outbox for sending. */
|
|
629
643
|
readonly unsentOps: CloudSyncFact<number>;
|
|
630
644
|
/** The last sequence this store pushed to the server. */
|
package/src/operations/docs.ts
CHANGED
|
@@ -168,6 +168,10 @@ export interface DocsAttachmentRow {
|
|
|
168
168
|
ownerId?: string;
|
|
169
169
|
/** Owner type (only populated by `docs list --project`). */
|
|
170
170
|
ownerType?: AttachmentOwnerType;
|
|
171
|
+
/** Display title (only populated by fetch/view envelopes, T13352). */
|
|
172
|
+
title?: string;
|
|
173
|
+
/** Backing blob name, e.g. `spec.md` (only populated by fetch/view envelopes, T13352). */
|
|
174
|
+
blobName?: string;
|
|
171
175
|
}
|
|
172
176
|
|
|
173
177
|
/**
|
|
@@ -352,9 +356,18 @@ export interface DocsFetchResult {
|
|
|
352
356
|
path?: string;
|
|
353
357
|
/** Total size in bytes. */
|
|
354
358
|
sizeBytes: number;
|
|
355
|
-
/**
|
|
359
|
+
/**
|
|
360
|
+
* Decoded UTF-8 content, populated by default for text MIME types
|
|
361
|
+
* (<= 1 MB) so consumers read text docs without a base64 round-trip
|
|
362
|
+
* (T13352). Binary docs carry {@link bytesBase64} instead.
|
|
363
|
+
*/
|
|
364
|
+
content?: string;
|
|
365
|
+
/**
|
|
366
|
+
* Base64-encoded content — only for NON-text attachments <= 1 MB
|
|
367
|
+
* (T13352; text docs carry {@link content} instead).
|
|
368
|
+
*/
|
|
356
369
|
bytesBase64?: string;
|
|
357
|
-
/** True when bytesBase64 is populated. */
|
|
370
|
+
/** True when content or bytesBase64 is populated. */
|
|
358
371
|
inlined: boolean;
|
|
359
372
|
/** Current attachment backend in use. */
|
|
360
373
|
attachmentBackend?: AttachmentBackend;
|
|
@@ -195,9 +195,26 @@ export interface WorktreeLockAcquisition {
|
|
|
195
195
|
/** The previous holder's record when the lock was reclaimed. */
|
|
196
196
|
reclaimedFrom?: WorktreeLockRecord;
|
|
197
197
|
/** Why the previous holder was judged dead (`reclaimed` only). */
|
|
198
|
-
reclaimReason?: 'pid-gone' | 'pid-recycled' | 'heartbeat-stale' | 'unreadable';
|
|
198
|
+
reclaimReason?: 'pid-gone' | 'pid-recycled' | 'heartbeat-stale' | 'unreadable' | 'session-ended';
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
+
/**
|
|
202
|
+
* Whether a worktree lock holder's CLEO session is still live (T13425).
|
|
203
|
+
*
|
|
204
|
+
* `active` keeps the lock held whatever the owner pid says, `ended` releases it
|
|
205
|
+
* even while the owner pid (a long-lived harness shared across sessions) is
|
|
206
|
+
* alive, and `unknown` leaves the verdict to the pid and heartbeat checks.
|
|
207
|
+
*/
|
|
208
|
+
export type WorktreeLockSessionState = 'active' | 'ended' | 'unknown';
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Reports a lock holder session's state; supplied by core, which owns the
|
|
212
|
+
* session store (`@cleocode/worktree` cannot read it).
|
|
213
|
+
*
|
|
214
|
+
* @task T13425
|
|
215
|
+
*/
|
|
216
|
+
export type WorktreeLockSessionProbe = (sessionId: string) => WorktreeLockSessionState;
|
|
217
|
+
|
|
201
218
|
// ---------------------------------------------------------------------------
|
|
202
219
|
// Create operation
|
|
203
220
|
// ---------------------------------------------------------------------------
|
|
@@ -286,6 +303,13 @@ export interface CreateWorktreeOptions {
|
|
|
286
303
|
* @task T12506
|
|
287
304
|
*/
|
|
288
305
|
holder?: WorktreeLockHolder;
|
|
306
|
+
/**
|
|
307
|
+
* Reports the existing lock holder's session state: an ended holder session
|
|
308
|
+
* makes the lock reclaimable even while its owner pid is alive (T13425).
|
|
309
|
+
*
|
|
310
|
+
* @task T13425
|
|
311
|
+
*/
|
|
312
|
+
sessionProbe?: WorktreeLockSessionProbe;
|
|
289
313
|
/**
|
|
290
314
|
* Heartbeat age (ms) beyond which an existing lock is reclaimable even when
|
|
291
315
|
* its owner pid is alive. Defaults to `CLEO_WORKTREE_LOCK_TTL_MS` or 4 hours.
|
|
@@ -724,7 +748,9 @@ export type WorktreeLifecycleAction =
|
|
|
724
748
|
| 'complete-skip'
|
|
725
749
|
| 'complete-manual'
|
|
726
750
|
| 'complete-conflict'
|
|
727
|
-
| 'adopt'
|
|
751
|
+
| 'adopt'
|
|
752
|
+
| 'lock-release'
|
|
753
|
+
| 'lock-reclaim';
|
|
728
754
|
|
|
729
755
|
/**
|
|
730
756
|
* One append-only entry written to `.cleo/audit/worktree-lifecycle.jsonl` by
|
package/src/release/plan.ts
CHANGED
|
@@ -360,8 +360,12 @@ export const ReleasePlanSchema = z.object({
|
|
|
360
360
|
scheme: ReleaseSchemeSchema,
|
|
361
361
|
/** npm dist-tag channel for this release. */
|
|
362
362
|
channel: ReleaseChannelSchema,
|
|
363
|
-
/**
|
|
364
|
-
|
|
363
|
+
/**
|
|
364
|
+
* Epic ID this release ships: the `--epic` epic or the `--saga` saga. `null`
|
|
365
|
+
* for a `--tasks` plan, whose tasks may span several epics; each task's own
|
|
366
|
+
* epic is on its `epicAncestor` (T13323).
|
|
367
|
+
*/
|
|
368
|
+
epicId: NonEmptyString.nullable(),
|
|
365
369
|
/** Release-kind classification. */
|
|
366
370
|
releaseKind: ReleaseKindSchema,
|
|
367
371
|
/** ISO-8601 timestamp the plan was written. */
|
package/src/row-identity.ts
CHANGED
|
@@ -227,4 +227,6 @@ export interface RowIdentityRefillReport {
|
|
|
227
227
|
readonly snapshot: string | null;
|
|
228
228
|
/** `--apply`: how to undo the refill. */
|
|
229
229
|
readonly undo: string | null;
|
|
230
|
+
/** Whether this run cleared a recorded refusal, so the next open re-evaluates (T13305). */
|
|
231
|
+
readonly refusalCleared: boolean;
|
|
230
232
|
}
|