@cleocode/core 2026.9.24 → 2026.9.25

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 (328) hide show
  1. package/dist/audit-prune.d.ts +32 -0
  2. package/dist/audit-prune.d.ts.map +1 -1
  3. package/dist/audit-prune.js +37 -3
  4. package/dist/audit-prune.js.map +1 -1
  5. package/dist/build-provenance.json +2 -2
  6. package/dist/cloud/crypto.d.ts +1 -2
  7. package/dist/cloud/crypto.d.ts.map +1 -1
  8. package/dist/cloud/crypto.js +1 -11
  9. package/dist/cloud/crypto.js.map +1 -1
  10. package/dist/cloud/uuidv7.d.ts +9 -0
  11. package/dist/cloud/uuidv7.d.ts.map +1 -0
  12. package/dist/cloud/uuidv7.js +19 -0
  13. package/dist/cloud/uuidv7.js.map +1 -0
  14. package/dist/decide/bench/index.d.ts +1 -1
  15. package/dist/decide/bench/index.d.ts.map +1 -1
  16. package/dist/decide/bench/index.js +1 -1
  17. package/dist/decide/bench/index.js.map +1 -1
  18. package/dist/decide/bench/operation.d.ts +1 -1
  19. package/dist/decide/bench/operation.d.ts.map +1 -1
  20. package/dist/decide/bench/operation.js +1 -1
  21. package/dist/decide/bench/operation.js.map +1 -1
  22. package/dist/decide/bench/profiles.d.ts +50 -22
  23. package/dist/decide/bench/profiles.d.ts.map +1 -1
  24. package/dist/decide/bench/profiles.js +103 -59
  25. package/dist/decide/bench/profiles.js.map +1 -1
  26. package/dist/decide/bench/report.d.ts.map +1 -1
  27. package/dist/decide/bench/report.js +6 -1
  28. package/dist/decide/bench/report.js.map +1 -1
  29. package/dist/decide/bench/runner.d.ts +6 -1
  30. package/dist/decide/bench/runner.d.ts.map +1 -1
  31. package/dist/decide/bench/runner.js +1 -0
  32. package/dist/decide/bench/runner.js.map +1 -1
  33. package/dist/decide/client.d.ts.map +1 -1
  34. package/dist/decide/client.js +11 -5
  35. package/dist/decide/client.js.map +1 -1
  36. package/dist/decide/jev-wire.d.ts +31 -1
  37. package/dist/decide/jev-wire.d.ts.map +1 -1
  38. package/dist/decide/jev-wire.js +61 -7
  39. package/dist/decide/jev-wire.js.map +1 -1
  40. package/dist/docs/export-document.js +17181 -15536
  41. package/dist/docs/export-document.js.map +3 -3
  42. package/dist/doctor/orphan-ac-bindings.d.ts +64 -0
  43. package/dist/doctor/orphan-ac-bindings.d.ts.map +1 -0
  44. package/dist/doctor/orphan-ac-bindings.js +59 -0
  45. package/dist/doctor/orphan-ac-bindings.js.map +1 -0
  46. package/dist/doctor/projects.d.ts.map +1 -1
  47. package/dist/doctor/projects.js +43 -29
  48. package/dist/doctor/projects.js.map +1 -1
  49. package/dist/doctor/row-identity.d.ts +31 -0
  50. package/dist/doctor/row-identity.d.ts.map +1 -0
  51. package/dist/doctor/row-identity.js +93 -0
  52. package/dist/doctor/row-identity.js.map +1 -0
  53. package/dist/doctor/twin-collapse.d.ts +58 -2
  54. package/dist/doctor/twin-collapse.d.ts.map +1 -1
  55. package/dist/doctor/twin-collapse.js +212 -14
  56. package/dist/doctor/twin-collapse.js.map +1 -1
  57. package/dist/lifecycle/verification/satisfies-validator.d.ts.map +1 -1
  58. package/dist/lifecycle/verification/satisfies-validator.js +10 -0
  59. package/dist/lifecycle/verification/satisfies-validator.js.map +1 -1
  60. package/dist/llm/plugin-facade.js +17045 -15400
  61. package/dist/llm/plugin-facade.js.map +3 -3
  62. package/dist/memory/index.d.ts.map +1 -1
  63. package/dist/memory/index.js +19 -10
  64. package/dist/memory/index.js.map +1 -1
  65. package/dist/memory/manifest-identity.d.ts +171 -0
  66. package/dist/memory/manifest-identity.d.ts.map +1 -0
  67. package/dist/memory/manifest-identity.js +345 -0
  68. package/dist/memory/manifest-identity.js.map +1 -0
  69. package/dist/memory/mental-model-queue.d.ts +14 -4
  70. package/dist/memory/mental-model-queue.d.ts.map +1 -1
  71. package/dist/memory/mental-model-queue.js +64 -35
  72. package/dist/memory/mental-model-queue.js.map +1 -1
  73. package/dist/memory/pipeline-manifest-sqlite.d.ts +47 -5
  74. package/dist/memory/pipeline-manifest-sqlite.d.ts.map +1 -1
  75. package/dist/memory/pipeline-manifest-sqlite.js +130 -14
  76. package/dist/memory/pipeline-manifest-sqlite.js.map +1 -1
  77. package/dist/memory/retrieval/observe.d.ts.map +1 -1
  78. package/dist/memory/retrieval/observe.js +2 -0
  79. package/dist/memory/retrieval/observe.js.map +1 -1
  80. package/dist/memory/transcript-scanner.js +1 -1
  81. package/dist/nexus/deps.d.ts.map +1 -1
  82. package/dist/nexus/deps.js +7 -14
  83. package/dist/nexus/deps.js.map +1 -1
  84. package/dist/nexus/discover.d.ts.map +1 -1
  85. package/dist/nexus/discover.js +6 -9
  86. package/dist/nexus/discover.js.map +1 -1
  87. package/dist/nexus/git-state.d.ts.map +1 -1
  88. package/dist/nexus/git-state.js +10 -1
  89. package/dist/nexus/git-state.js.map +1 -1
  90. package/dist/nexus/projects-clean.d.ts.map +1 -1
  91. package/dist/nexus/projects-clean.js +22 -11
  92. package/dist/nexus/projects-clean.js.map +1 -1
  93. package/dist/nexus/projects-scan.d.ts.map +1 -1
  94. package/dist/nexus/projects-scan.js +8 -13
  95. package/dist/nexus/projects-scan.js.map +1 -1
  96. package/dist/nexus/query.d.ts.map +1 -1
  97. package/dist/nexus/query.js +4 -12
  98. package/dist/nexus/query.js.map +1 -1
  99. package/dist/nexus/registry-roots.d.ts +5 -2
  100. package/dist/nexus/registry-roots.d.ts.map +1 -1
  101. package/dist/nexus/registry-roots.js +8 -10
  102. package/dist/nexus/registry-roots.js.map +1 -1
  103. package/dist/nexus/registry.d.ts +18 -0
  104. package/dist/nexus/registry.d.ts.map +1 -1
  105. package/dist/nexus/registry.js +37 -16
  106. package/dist/nexus/registry.js.map +1 -1
  107. package/dist/orchestrate/worktree-complete.d.ts.map +1 -1
  108. package/dist/orchestrate/worktree-complete.js +40 -2
  109. package/dist/orchestrate/worktree-complete.js.map +1 -1
  110. package/dist/orchestration/spawn-prompt.d.ts +26 -0
  111. package/dist/orchestration/spawn-prompt.d.ts.map +1 -1
  112. package/dist/orchestration/spawn-prompt.js +62 -91
  113. package/dist/orchestration/spawn-prompt.js.map +1 -1
  114. package/dist/release/ci-evidence.d.ts +190 -0
  115. package/dist/release/ci-evidence.d.ts.map +1 -1
  116. package/dist/release/ci-evidence.js +436 -4
  117. package/dist/release/ci-evidence.js.map +1 -1
  118. package/dist/sdk/validator-ac-pull.d.ts.map +1 -1
  119. package/dist/sdk/validator-ac-pull.js +2 -1
  120. package/dist/sdk/validator-ac-pull.js.map +1 -1
  121. package/dist/selfimprove/fix-gen.js +17049 -15404
  122. package/dist/selfimprove/fix-gen.js.map +3 -3
  123. package/dist/sentient/cross-project-hygiene.d.ts +5 -0
  124. package/dist/sentient/cross-project-hygiene.d.ts.map +1 -1
  125. package/dist/sentient/cross-project-hygiene.js +7 -1
  126. package/dist/sentient/cross-project-hygiene.js.map +1 -1
  127. package/dist/sentient/propose-tick.d.ts.map +1 -1
  128. package/dist/sentient/propose-tick.js +2 -3
  129. package/dist/sentient/propose-tick.js.map +1 -1
  130. package/dist/sentient/stage-drift-tick.d.ts.map +1 -1
  131. package/dist/sentient/stage-drift-tick.js +2 -3
  132. package/dist/sentient/stage-drift-tick.js.map +1 -1
  133. package/dist/skills/manifests/research.js +2 -0
  134. package/dist/skills/manifests/research.js.map +1 -1
  135. package/dist/skills/orchestrator/validator.d.ts.map +1 -1
  136. package/dist/skills/orchestrator/validator.js +9 -2
  137. package/dist/skills/orchestrator/validator.js.map +1 -1
  138. package/dist/skills/validation.d.ts +4 -1
  139. package/dist/skills/validation.d.ts.map +1 -1
  140. package/dist/skills/validation.js +11 -3
  141. package/dist/skills/validation.js.map +1 -1
  142. package/dist/spawn/branch-lock.d.ts +111 -7
  143. package/dist/spawn/branch-lock.d.ts.map +1 -1
  144. package/dist/spawn/branch-lock.js +296 -8
  145. package/dist/spawn/branch-lock.js.map +1 -1
  146. package/dist/store/ac-binding-prune.d.ts +144 -0
  147. package/dist/store/ac-binding-prune.d.ts.map +1 -0
  148. package/dist/store/ac-binding-prune.js +293 -0
  149. package/dist/store/ac-binding-prune.js.map +1 -0
  150. package/dist/store/agent-registry-store.d.ts.map +1 -1
  151. package/dist/store/agent-registry-store.js +3 -2
  152. package/dist/store/agent-registry-store.js.map +1 -1
  153. package/dist/store/backup-sidecar.d.ts +85 -2
  154. package/dist/store/backup-sidecar.d.ts.map +1 -1
  155. package/dist/store/backup-sidecar.js +173 -1
  156. package/dist/store/backup-sidecar.js.map +1 -1
  157. package/dist/store/conduit-sqlite.d.ts.map +1 -1
  158. package/dist/store/conduit-sqlite.js +3 -2
  159. package/dist/store/conduit-sqlite.js.map +1 -1
  160. package/dist/store/credential-transfer.d.ts.map +1 -1
  161. package/dist/store/credential-transfer.js +3 -0
  162. package/dist/store/credential-transfer.js.map +1 -1
  163. package/dist/store/db-helpers.d.ts +17 -11
  164. package/dist/store/db-helpers.d.ts.map +1 -1
  165. package/dist/store/db-helpers.js +61 -38
  166. package/dist/store/db-helpers.js.map +1 -1
  167. package/dist/store/display-id-alias.d.ts +529 -0
  168. package/dist/store/display-id-alias.d.ts.map +1 -0
  169. package/dist/store/display-id-alias.js +1063 -0
  170. package/dist/store/display-id-alias.js.map +1 -0
  171. package/dist/store/dual-scope-db.d.ts.map +1 -1
  172. package/dist/store/dual-scope-db.js +21 -0
  173. package/dist/store/dual-scope-db.js.map +1 -1
  174. package/dist/store/exodus/reconcile.d.ts.map +1 -1
  175. package/dist/store/exodus/reconcile.js +7 -2
  176. package/dist/store/exodus/reconcile.js.map +1 -1
  177. package/dist/store/exodus/recovery.d.ts.map +1 -1
  178. package/dist/store/exodus/recovery.js +20 -1
  179. package/dist/store/exodus/recovery.js.map +1 -1
  180. package/dist/store/legacy-tasks-lineage.d.ts.map +1 -1
  181. package/dist/store/legacy-tasks-lineage.js +19 -2
  182. package/dist/store/legacy-tasks-lineage.js.map +1 -1
  183. package/dist/store/row-identity-flag.d.ts +26 -0
  184. package/dist/store/row-identity-flag.d.ts.map +1 -0
  185. package/dist/store/row-identity-flag.js +31 -0
  186. package/dist/store/row-identity-flag.js.map +1 -0
  187. package/dist/store/row-identity-registry.d.ts +61 -0
  188. package/dist/store/row-identity-registry.d.ts.map +1 -0
  189. package/dist/store/row-identity-registry.js +198 -0
  190. package/dist/store/row-identity-registry.js.map +1 -0
  191. package/dist/store/row-identity.d.ts +390 -0
  192. package/dist/store/row-identity.d.ts.map +1 -0
  193. package/dist/store/row-identity.js +1240 -0
  194. package/dist/store/row-identity.js.map +1 -0
  195. package/dist/store/safety-data-accessor.d.ts +2 -0
  196. package/dist/store/safety-data-accessor.d.ts.map +1 -1
  197. package/dist/store/safety-data-accessor.js +4 -0
  198. package/dist/store/safety-data-accessor.js.map +1 -1
  199. package/dist/store/schema/attachments.d.ts +1 -1
  200. package/dist/store/schema/audit.d.ts +4 -4
  201. package/dist/store/schema/background-jobs.d.ts +1 -1
  202. package/dist/store/schema/cleo-global/nexus.d.ts +1 -1
  203. package/dist/store/schema/cleo-global/skills.d.ts +2 -2
  204. package/dist/store/schema/cleo-project/audit.d.ts +4 -4
  205. package/dist/store/schema/cleo-project/docs.d.ts +1 -1
  206. package/dist/store/schema/cleo-project/lifecycle.d.ts +4 -4
  207. package/dist/store/schema/cleo-project/nexus-graph.d.ts +3 -3
  208. package/dist/store/schema/cleo-project/provenance-commits.d.ts +2 -2
  209. package/dist/store/schema/cleo-project/provenance-rest.d.ts +3 -3
  210. package/dist/store/schema/cleo-project/runtime.d.ts +3 -3
  211. package/dist/store/schema/cleo-project/tasks-core-batch2.d.ts +87 -1
  212. package/dist/store/schema/cleo-project/tasks-core-batch2.d.ts.map +1 -1
  213. package/dist/store/schema/cleo-project/tasks-core-batch2.js +35 -0
  214. package/dist/store/schema/cleo-project/tasks-core-batch2.js.map +1 -1
  215. package/dist/store/schema/cleo-project/tasks-core.d.ts +183 -7
  216. package/dist/store/schema/cleo-project/tasks-core.d.ts.map +1 -1
  217. package/dist/store/schema/cleo-project/tasks-core.js +52 -1
  218. package/dist/store/schema/cleo-project/tasks-core.js.map +1 -1
  219. package/dist/store/schema/cleo-shared/brain.d.ts +6 -6
  220. package/dist/store/schema/lifecycle.d.ts +4 -4
  221. package/dist/store/schema/manifest.d.ts +1 -1
  222. package/dist/store/schema/memory-schema.d.ts +5 -5
  223. package/dist/store/schema/nexus-schema.d.ts +3 -3
  224. package/dist/store/schema/provenance/releases.d.ts +1 -1
  225. package/dist/store/schema/skills-schema.d.ts +2 -2
  226. package/dist/store/schema/tasks.d.ts +6 -6
  227. package/dist/store/split-brain-import.d.ts +2 -14
  228. package/dist/store/split-brain-import.d.ts.map +1 -1
  229. package/dist/store/split-brain-import.js +4 -19
  230. package/dist/store/split-brain-import.js.map +1 -1
  231. package/dist/store/sqlite-data-accessor.d.ts +279 -2
  232. package/dist/store/sqlite-data-accessor.d.ts.map +1 -1
  233. package/dist/store/sqlite-data-accessor.js +544 -44
  234. package/dist/store/sqlite-data-accessor.js.map +1 -1
  235. package/dist/store/sync/clock-store.d.ts +67 -0
  236. package/dist/store/sync/clock-store.d.ts.map +1 -0
  237. package/dist/store/sync/clock-store.js +117 -0
  238. package/dist/store/sync/clock-store.js.map +1 -0
  239. package/dist/store/sync/flags.d.ts +51 -0
  240. package/dist/store/sync/flags.d.ts.map +1 -0
  241. package/dist/store/sync/flags.js +81 -0
  242. package/dist/store/sync/flags.js.map +1 -0
  243. package/dist/store/sync/hlc.d.ts +115 -0
  244. package/dist/store/sync/hlc.d.ts.map +1 -0
  245. package/dist/store/sync/hlc.js +172 -0
  246. package/dist/store/sync/hlc.js.map +1 -0
  247. package/dist/store/sync/index.d.ts +20 -0
  248. package/dist/store/sync/index.d.ts.map +1 -0
  249. package/dist/store/sync/index.js +20 -0
  250. package/dist/store/sync/index.js.map +1 -0
  251. package/dist/store/sync/replica-registry.d.ts +85 -0
  252. package/dist/store/sync/replica-registry.d.ts.map +1 -0
  253. package/dist/store/sync/replica-registry.js +147 -0
  254. package/dist/store/sync/replica-registry.js.map +1 -0
  255. package/dist/store/sync/replica.d.ts +181 -0
  256. package/dist/store/sync/replica.d.ts.map +1 -0
  257. package/dist/store/sync/replica.js +305 -0
  258. package/dist/store/sync/replica.js.map +1 -0
  259. package/dist/store/sync/schema.d.ts +68 -0
  260. package/dist/store/sync/schema.d.ts.map +1 -0
  261. package/dist/store/sync/schema.js +130 -0
  262. package/dist/store/sync/schema.js.map +1 -0
  263. package/dist/store/sync/skew-hold.d.ts +71 -0
  264. package/dist/store/sync/skew-hold.d.ts.map +1 -0
  265. package/dist/store/sync/skew-hold.js +89 -0
  266. package/dist/store/sync/skew-hold.js.map +1 -0
  267. package/dist/store/table-classification.d.ts +10 -8
  268. package/dist/store/table-classification.d.ts.map +1 -1
  269. package/dist/store/table-classification.js +93 -25
  270. package/dist/store/table-classification.js.map +1 -1
  271. package/dist/store/tasks-sqlite.d.ts.map +1 -1
  272. package/dist/store/tasks-sqlite.js +9 -1
  273. package/dist/store/tasks-sqlite.js.map +1 -1
  274. package/dist/store/twin-collapse.d.ts +113 -2
  275. package/dist/store/twin-collapse.d.ts.map +1 -1
  276. package/dist/store/twin-collapse.js +247 -19
  277. package/dist/store/twin-collapse.js.map +1 -1
  278. package/dist/store/umbrella-data-accessor.d.ts +2 -0
  279. package/dist/store/umbrella-data-accessor.d.ts.map +1 -1
  280. package/dist/store/umbrella-data-accessor.js +4 -0
  281. package/dist/store/umbrella-data-accessor.js.map +1 -1
  282. package/dist/store/validation-schemas.d.ts +241 -49
  283. package/dist/store/validation-schemas.d.ts.map +1 -1
  284. package/dist/system/health.d.ts.map +1 -1
  285. package/dist/system/health.js +3 -0
  286. package/dist/system/health.js.map +1 -1
  287. package/dist/system/project-health.d.ts +9 -2
  288. package/dist/system/project-health.d.ts.map +1 -1
  289. package/dist/system/project-health.js +8 -3
  290. package/dist/system/project-health.js.map +1 -1
  291. package/dist/tasks/ac-coverage-gate.d.ts.map +1 -1
  292. package/dist/tasks/ac-coverage-gate.js +3 -0
  293. package/dist/tasks/ac-coverage-gate.js.map +1 -1
  294. package/dist/tasks/ac-table.d.ts +35 -7
  295. package/dist/tasks/ac-table.d.ts.map +1 -1
  296. package/dist/tasks/ac-table.js +119 -14
  297. package/dist/tasks/ac-table.js.map +1 -1
  298. package/dist/tasks/add.d.ts.map +1 -1
  299. package/dist/tasks/add.js +48 -2
  300. package/dist/tasks/add.js.map +1 -1
  301. package/dist/tasks/backfill-child-projections.js +47 -6
  302. package/dist/tasks/backfill-child-projections.js.map +1 -1
  303. package/dist/tasks/complete.d.ts.map +1 -1
  304. package/dist/tasks/complete.js +6 -1
  305. package/dist/tasks/complete.js.map +1 -1
  306. package/dist/tasks/completion-evaluation.d.ts.map +1 -1
  307. package/dist/tasks/completion-evaluation.js +3 -0
  308. package/dist/tasks/completion-evaluation.js.map +1 -1
  309. package/dist/tasks/evidence.d.ts.map +1 -1
  310. package/dist/tasks/evidence.js +14 -3
  311. package/dist/tasks/evidence.js.map +1 -1
  312. package/dist/validation/compliance.d.ts +5 -1
  313. package/dist/validation/compliance.d.ts.map +1 -1
  314. package/dist/validation/compliance.js +24 -3
  315. package/dist/validation/compliance.js.map +1 -1
  316. package/dist/validation/index.d.ts +1 -1
  317. package/dist/validation/index.d.ts.map +1 -1
  318. package/dist/validation/index.js +1 -1
  319. package/dist/validation/index.js.map +1 -1
  320. package/dist/validation/protocol-common.d.ts +47 -2
  321. package/dist/validation/protocol-common.d.ts.map +1 -1
  322. package/dist/validation/protocol-common.js +86 -21
  323. package/dist/validation/protocol-common.js.map +1 -1
  324. package/migrations/README.md +12 -0
  325. package/migrations/drizzle-cleo-project/20260928120000_t12341-row-uids/migration.sql +169 -0
  326. package/migrations/sync-journal/20260929140000_t12342-sync-clock/migration.sql +42 -0
  327. package/package.json +13 -13
  328. package/templates/CLEO-REFERENCE.md +4 -0
@@ -10,9 +10,9 @@
10
10
  *
11
11
  * @epic T4454
12
12
  */
13
- import type { DatabaseSync } from 'node:sqlite';
13
+ import type { DatabaseSync, SQLInputValue } from 'node:sqlite';
14
14
  import { type WorktreeScope } from '../project-scope.js';
15
- import type { DataAccessor, TransactionAccessor } from './data-accessor.js';
15
+ import type { DataAccessor, TaskClaimGuard, TransactionAccessor } from './data-accessor.js';
16
16
  /** Write metadata through the same ownership queue as task mutations. */
17
17
  export declare function setMetaValue(cwd: string | undefined, key: string, value: unknown): Promise<void>;
18
18
  /**
@@ -29,6 +29,283 @@ export declare function setMetaValue(cwd: string | undefined, key: string, value
29
29
  * @task T12535
30
30
  */
31
31
  export declare function advanceTaskIdSequence(nativeDb: DatabaseSync, floor: number): number | undefined;
32
+ /** A local column that holds a task's display id (from store/display-id-alias.ts). */
33
+ export interface TaskReferenceColumn {
34
+ readonly table: string;
35
+ readonly column: string;
36
+ readonly jsonArray: boolean;
37
+ }
38
+ /**
39
+ * Give the task with `uid` the display id `toId`: a compare-and-set on the
40
+ * stored version AND claim lease that advances the version (so a stale
41
+ * `--if-match` writer fails, #1698), with the claim columns carried unchanged
42
+ * (#1701), then every local reference rewritten. Runs in the caller's
43
+ * transaction with foreign keys deferred to its commit.
44
+ *
45
+ * A collision re-mint is a system write: it passes no claim guard and never
46
+ * takes or drops a lease, but the version bump makes the lease holder's next
47
+ * guarded write re-read. A caller acting for a session (a manual rename)
48
+ * passes `guard`: `expectedUpdatedAt` fails with `E_CONFLICT` when the task
49
+ * moved on, `claim` fails with `E_TASK_CLAIMED` when another session holds it.
50
+ *
51
+ * @param nativeDb - The project `cleo.db` handle holding the transaction.
52
+ * @param uid - Uid of the task to rename.
53
+ * @param toId - Its new display id.
54
+ * @param refs - Columns that hold task display ids.
55
+ * @param guard - Optional version / claim guard.
56
+ * @returns The id it had and the rows rewritten per `table.column`.
57
+ * @task T12341
58
+ * @task T12748
59
+ */
60
+ export declare function renameTaskDisplayIdNative(nativeDb: DatabaseSync, uid: string, toId: string, refs: readonly TaskReferenceColumn[], guard?: {
61
+ readonly expectedUpdatedAt?: string;
62
+ readonly claim?: TaskClaimGuard;
63
+ }): {
64
+ fromId: string;
65
+ rewritten: Record<string, number>;
66
+ };
67
+ /**
68
+ * After a task's display id changed from `fromId` to `toId`, re-derive the
69
+ * ids of the acceptance criteria derived from it (`buildAcRowId(taskId,
70
+ * identity)`): the task's own criteria, and a parent's child-projection
71
+ * criteria (`child:<id>`, whose source key is rewritten too). The binding and
72
+ * history rows that point at a re-derived id follow. A criterion whose id was
73
+ * not derived from the old id (an explicit id) keeps it. Without this, two
74
+ * tasks that once shared a display id keep identical ids for same-text
75
+ * criteria ("tests pass") and collide on every merge (T12799).
76
+ *
77
+ * @param nativeDb - The project `cleo.db` handle, inside the rename's transaction.
78
+ * @param fromId - The task's old display id.
79
+ * @param toId - Its new display id (the task row already carries it).
80
+ * @returns Rows rewritten per `table.column`.
81
+ * @task T12799
82
+ */
83
+ export declare function rederiveAcIdsNative(nativeDb: DatabaseSync, fromId: string, toId: string): Record<string, number>;
84
+ /** One row of `tasks_display_id_aliases`. */
85
+ export interface DisplayIdAliasRow {
86
+ readonly uid: string;
87
+ readonly entityTable: string;
88
+ readonly displayId: string;
89
+ readonly entityUid: string;
90
+ readonly reason: string;
91
+ readonly origin: string | null;
92
+ readonly displacedHlc: string | null;
93
+ readonly createdAt: string;
94
+ /** Birth fingerprint of the entity, so a uid collision cannot confuse two rows. */
95
+ readonly entityBirthFp: string | null;
96
+ }
97
+ /**
98
+ * Insert a display-id alias row (idempotent on its uid).
99
+ *
100
+ * @param nativeDb - The project `cleo.db` handle.
101
+ * @param row - The alias.
102
+ * @task T12341
103
+ */
104
+ export declare function insertDisplayIdAliasNative(nativeDb: DatabaseSync, row: DisplayIdAliasRow): void;
105
+ /**
106
+ * Delete one display-id alias row (a local alias whose entity was re-keyed is
107
+ * re-inserted under its new entity uid by the caller).
108
+ *
109
+ * @param nativeDb - The project `cleo.db` handle.
110
+ * @param uid - The alias row's uid.
111
+ * @task T12341
112
+ */
113
+ export declare function deleteDisplayIdAliasNative(nativeDb: DatabaseSync, uid: string): void;
114
+ /** One row of `tasks_uid_aliases`. */
115
+ export interface UidAliasRow {
116
+ readonly uid: string;
117
+ readonly entityTable: string;
118
+ readonly oldUid: string;
119
+ readonly oldBirthFp: string;
120
+ readonly newUid: string;
121
+ readonly origin: string | null;
122
+ readonly displacedHlc: string | null;
123
+ readonly createdAt: string;
124
+ }
125
+ /**
126
+ * Insert a uid re-key alias row (idempotent on its uid).
127
+ *
128
+ * @param nativeDb - The project `cleo.db` handle.
129
+ * @param row - The alias.
130
+ * @task T12341
131
+ */
132
+ export declare function insertUidAliasNative(nativeDb: DatabaseSync, row: UidAliasRow): void;
133
+ /** One row of `tasks_identity_quarantine`. */
134
+ export interface QuarantineRow {
135
+ readonly entityTable: string;
136
+ readonly uid: string;
137
+ readonly birthFp: string;
138
+ readonly reason: 'uid-collision' | 'display-id-collision' | 'key-collision' | 'ref-pending';
139
+ readonly contestedId: string | null;
140
+ readonly rowJson: string;
141
+ readonly receivedHlc: string | null;
142
+ readonly createdAt: string;
143
+ }
144
+ /**
145
+ * Hold an incoming row the merge cannot place yet (replacing an older hold of
146
+ * the same row).
147
+ *
148
+ * @param nativeDb - The project `cleo.db` handle.
149
+ * @param row - The held row.
150
+ * @task T12341
151
+ */
152
+ export declare function insertQuarantineNative(nativeDb: DatabaseSync, row: QuarantineRow): void;
153
+ /**
154
+ * Drop a held row (released or superseded).
155
+ *
156
+ * @param nativeDb - The project `cleo.db` handle.
157
+ * @param key - The held row's table, uid and birth fingerprint.
158
+ * @task T12341
159
+ */
160
+ export declare function deleteQuarantineNative(nativeDb: DatabaseSync, key: {
161
+ readonly entityTable: string;
162
+ readonly uid: string;
163
+ readonly birthFp: string;
164
+ }): void;
165
+ /**
166
+ * Write a row-identity meta value (the recipe marker, a re-mint record).
167
+ *
168
+ * @param nativeDb - The project `cleo.db` handle.
169
+ * @param key - Meta key.
170
+ * @param value - Meta value.
171
+ * @task T12341
172
+ */
173
+ export declare function writeRowIdentityMetaNative(nativeDb: DatabaseSync, key: string, value: string): void;
174
+ /**
175
+ * Hand a criterion back the uid its deleted predecessor carried (AC uid
176
+ * graveyard re-link, spec §6.5), with that predecessor's birth fingerprint.
177
+ *
178
+ * @param nativeDb - The project `cleo.db` handle.
179
+ * @param acId - The criterion to re-link (its uid is NULL).
180
+ * @param uid - The uid to hand back.
181
+ * @param birthFp - The fingerprint that goes with it, when recorded.
182
+ * @returns Rows changed (0 or 1).
183
+ * @task T12341
184
+ */
185
+ export declare function relinkAcUidNative(nativeDb: DatabaseSync, acId: string, uid: string, birthFp: string | null): number;
186
+ /**
187
+ * Empty the AC uid graveyard (after the open pass consumed it).
188
+ *
189
+ * @param nativeDb - The project `cleo.db` handle.
190
+ * @task T12341
191
+ */
192
+ export declare function clearAcUidGraveyardNative(nativeDb: DatabaseSync): void;
193
+ /**
194
+ * Fill a NULL identity column (`uid`, `birth_fp`, a stored reference uid) of a
195
+ * declared table from its recipe SQL (the row-uid open pass, spec §6.1).
196
+ *
197
+ * @param nativeDb - The `cleo.db` handle holding the cold-open lease.
198
+ * @param table - Declared table.
199
+ * @param column - Identity column.
200
+ * @param valueSql - Recipe expression over `main."<table>"` columns.
201
+ * @param rowid - One row only (the clash fallback); all NULL rows otherwise.
202
+ * @returns Rows written.
203
+ * @task T12341
204
+ */
205
+ export declare function fillIdentityColumnNative(nativeDb: DatabaseSync, table: string, column: string, valueSql: string, rowid?: number): number;
206
+ /**
207
+ * Clear one pre-release birth fingerprint so the fill re-derives it (spec §12.1).
208
+ *
209
+ * @param nativeDb - The `cleo.db` handle holding the cold-open lease.
210
+ * @param table - Declared minted table.
211
+ * @param rowid - The row.
212
+ * @task T12341
213
+ */
214
+ export declare function clearBirthFpNative(nativeDb: DatabaseSync, table: string, rowid: number): void;
215
+ /**
216
+ * Insert one row into a declared identity table, with the columns the row
217
+ * carries that the table has (a row released from the identity quarantine).
218
+ *
219
+ * @param nativeDb - The project `cleo.db` handle.
220
+ * @param table - Declared table.
221
+ * @param row - Column → value.
222
+ * @task T12341
223
+ */
224
+ export declare function insertIdentityRowNative(nativeDb: DatabaseSync, table: string, row: Readonly<Record<string, SQLInputValue>>): void;
225
+ /**
226
+ * Give the row of `table` identified by (`oldUid`, `birthFp`) the uid
227
+ * `newUid` (a uid re-key; the birth fingerprint never changes).
228
+ *
229
+ * @param nativeDb - The project `cleo.db` handle.
230
+ * @param table - Declared minted table.
231
+ * @param oldUid - The colliding uid.
232
+ * @param birthFp - The row's birth fingerprint.
233
+ * @param newUid - Its new uid.
234
+ * @returns Rows changed (0 or 1).
235
+ * @task T12341
236
+ */
237
+ export declare function setRowUidNative(nativeDb: DatabaseSync, table: string, oldUid: string, birthFp: string, newUid: string): number;
238
+ /**
239
+ * Point a stored reference uid column (`ac_uid`) of the rows that reference
240
+ * the re-keyed row by key at its new uid. Scoped by the key column, so a row
241
+ * referencing the OTHER holder of a colliding uid is never touched.
242
+ *
243
+ * @param nativeDb - The project `cleo.db` handle.
244
+ * @param table - Table holding the column.
245
+ * @param column - The stored reference uid column.
246
+ * @param fromColumn - The column that references the row by key (`ac_id`).
247
+ * @param key - The re-keyed row's local key.
248
+ * @param oldUid - Old referenced uid.
249
+ * @param newUid - New referenced uid.
250
+ * @returns Rows changed.
251
+ * @task T12341
252
+ */
253
+ export declare function rewriteStoredRefUidNative(nativeDb: DatabaseSync, table: string, column: string, fromColumn: string, key: string, oldUid: string, newUid: string): number;
254
+ /**
255
+ * Clear one row's uid so the natural recipe re-derives it (a uid re-key
256
+ * changed an endpoint's uid).
257
+ *
258
+ * @param nativeDb - The project `cleo.db` handle.
259
+ * @param table - Declared natural table.
260
+ * @param rowid - The row.
261
+ * @task T12341
262
+ */
263
+ export declare function clearRowUidNative(nativeDb: DatabaseSync, table: string, rowid: number): void;
264
+ /**
265
+ * Delete a row-identity meta value (a re-mint record that moved with a re-key).
266
+ *
267
+ * @param nativeDb - The project `cleo.db` handle.
268
+ * @param key - Meta key.
269
+ * @task T12341
270
+ */
271
+ export declare function deleteRowIdentityMetaNative(nativeDb: DatabaseSync, key: string): void;
272
+ /**
273
+ * Set a natural row's uid by its current uid (a re-key re-derives the natural
274
+ * uids keyed by the re-keyed row; a receiver applies the published values).
275
+ *
276
+ * @param nativeDb - The project `cleo.db` handle.
277
+ * @param table - Declared natural table.
278
+ * @param oldUid - Current uid.
279
+ * @param newUid - New uid.
280
+ * @returns Rows changed.
281
+ * @task T12341
282
+ */
283
+ export declare function setNaturalUidNative(nativeDb: DatabaseSync, table: string, oldUid: string, newUid: string): number;
284
+ /**
285
+ * Rewrite a held row (identity quarantine) under a new uid: a uid re-key of a
286
+ * row this replica holds but has not placed.
287
+ *
288
+ * @param nativeDb - The project `cleo.db` handle.
289
+ * @param key - The held row's table, uid and birth fingerprint.
290
+ * @param newUid - Its new uid.
291
+ * @param rowJson - Its wire form with the new uid.
292
+ * @task T12341
293
+ */
294
+ export declare function rekeyQuarantineNative(nativeDb: DatabaseSync, key: {
295
+ readonly entityTable: string;
296
+ readonly uid: string;
297
+ readonly birthFp: string;
298
+ }, newUid: string, rowJson: string): void;
299
+ /**
300
+ * Add labels to a task's label junction (idempotent), for writers that
301
+ * insert a task with raw SQL (the sentient proposal ticks).
302
+ *
303
+ * @param nativeDb - The project `cleo.db` handle.
304
+ * @param taskId - The task.
305
+ * @param labels - Labels to add.
306
+ * @task T12341
307
+ */
308
+ export declare function addTaskLabelsNative(nativeDb: DatabaseSync, taskId: string, labels: readonly string[]): void;
32
309
  /**
33
310
  * Compatible task-accessor name for the shared project ownership capture policy.
34
311
  * @remarks This is the same function as `captureProjectScope`; identity validation
@@ -1 +1 @@
1
- {"version":3,"file":"sqlite-data-accessor.d.ts","sourceRoot":"","sources":["../../src/store/sqlite-data-accessor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAyBhD,OAAO,EAGL,KAAK,aAAa,EAEnB,MAAM,qBAAqB,CAAC;AAI7B,OAAO,KAAK,EAEV,YAAY,EASZ,mBAAmB,EACpB,MAAM,oB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