@aligndottech/cli 0.63.0 → 0.64.0

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 (317) hide show
  1. package/dist/cli.d.ts +2 -2
  2. package/dist/cli.js +6 -6
  3. package/dist/cli.js.map +1 -1
  4. package/dist/commands/adjudicate.d.ts +3 -3
  5. package/dist/commands/capture.js +2 -2
  6. package/dist/commands/capture.js.map +1 -1
  7. package/dist/commands/check.d.ts +1 -1
  8. package/dist/commands/check.js +30 -30
  9. package/dist/commands/check.js.map +1 -1
  10. package/dist/commands/connect-agents.d.ts +4 -2
  11. package/dist/commands/connect-agents.d.ts.map +1 -1
  12. package/dist/commands/connect-agents.js +7 -7
  13. package/dist/commands/connect-agents.js.map +1 -1
  14. package/dist/commands/connect.d.ts +1 -1
  15. package/dist/commands/connector/index.js +1 -1
  16. package/dist/commands/connector/index.js.map +1 -1
  17. package/dist/commands/context.d.ts +4 -4
  18. package/dist/commands/context.js +7 -7
  19. package/dist/commands/context.js.map +1 -1
  20. package/dist/commands/decisions/index.js +4 -4
  21. package/dist/commands/decisions/index.js.map +1 -1
  22. package/dist/commands/default-action.d.ts.map +1 -1
  23. package/dist/commands/default-action.js +8 -5
  24. package/dist/commands/default-action.js.map +1 -1
  25. package/dist/commands/glossary.d.ts +1 -1
  26. package/dist/commands/import/confluence.js +1 -1
  27. package/dist/commands/import/confluence.js.map +1 -1
  28. package/dist/commands/import/git.js +4 -4
  29. package/dist/commands/import/git.js.map +1 -1
  30. package/dist/commands/import/jira.js +1 -1
  31. package/dist/commands/import/jira.js.map +1 -1
  32. package/dist/commands/import/sessions.d.ts +6 -6
  33. package/dist/commands/import/sessions.js +10 -10
  34. package/dist/commands/import/sessions.js.map +1 -1
  35. package/dist/commands/import.d.ts +2 -2
  36. package/dist/commands/import.js +2 -2
  37. package/dist/commands/invite.d.ts +1 -1
  38. package/dist/commands/invite.js +1 -1
  39. package/dist/commands/invite.js.map +1 -1
  40. package/dist/commands/local.js +3 -3
  41. package/dist/commands/local.js.map +1 -1
  42. package/dist/commands/mcp.d.ts +4 -4
  43. package/dist/commands/mcp.d.ts.map +1 -1
  44. package/dist/commands/mcp.js +34 -35
  45. package/dist/commands/mcp.js.map +1 -1
  46. package/dist/commands/ratify.d.ts +1 -1
  47. package/dist/commands/ratify.js +1 -1
  48. package/dist/commands/ratify.js.map +1 -1
  49. package/dist/commands/registry.d.ts +2 -2
  50. package/dist/commands/registry.js +3 -3
  51. package/dist/commands/registry.js.map +1 -1
  52. package/dist/commands/search.js +2 -2
  53. package/dist/commands/search.js.map +1 -1
  54. package/dist/commands/setup.d.ts +14 -10
  55. package/dist/commands/setup.d.ts.map +1 -1
  56. package/dist/commands/setup.js +133 -75
  57. package/dist/commands/setup.js.map +1 -1
  58. package/dist/commands/status.js +2 -2
  59. package/dist/commands/status.js.map +1 -1
  60. package/dist/commands/telemetry.d.ts +2 -2
  61. package/dist/commands/telemetry.js +3 -3
  62. package/dist/commands/telemetry.js.map +1 -1
  63. package/dist/commands/why.js +31 -31
  64. package/dist/commands/why.js.map +1 -1
  65. package/dist/detector/local-model-default.d.ts +1 -1
  66. package/dist/detector/local-model-default.js +1 -1
  67. package/dist/index.js +2 -2
  68. package/dist/index.js.map +1 -1
  69. package/dist/lib/access-capability.d.ts +1 -1
  70. package/dist/lib/access-capability.js +1 -1
  71. package/dist/lib/advisory-verdict.d.ts +3 -3
  72. package/dist/lib/advisory-verdict.js +3 -3
  73. package/dist/lib/agent-rules.d.ts +9 -0
  74. package/dist/lib/agent-rules.d.ts.map +1 -1
  75. package/dist/lib/agent-rules.js +55 -39
  76. package/dist/lib/agent-rules.js.map +1 -1
  77. package/dist/lib/approve-suggestions.d.ts +1 -1
  78. package/dist/lib/approve-suggestions.js +1 -1
  79. package/dist/lib/as-of.d.ts +6 -6
  80. package/dist/lib/as-of.js +6 -6
  81. package/dist/lib/ask-evidence.js +1 -1
  82. package/dist/lib/ask-key-offer.js +1 -1
  83. package/dist/lib/ask-listing.js +1 -1
  84. package/dist/lib/brand.d.ts +2 -2
  85. package/dist/lib/brand.js +3 -3
  86. package/dist/lib/capture-report.d.ts +1 -1
  87. package/dist/lib/capture-report.d.ts.map +1 -1
  88. package/dist/lib/capture-report.js +3 -3
  89. package/dist/lib/capture-report.js.map +1 -1
  90. package/dist/lib/capture-sources.d.ts +1 -1
  91. package/dist/lib/capture-sources.js +1 -1
  92. package/dist/lib/check-depth.d.ts +1 -1
  93. package/dist/lib/check-depth.js +1 -1
  94. package/dist/lib/claude-presence.d.ts +1 -1
  95. package/dist/lib/claude-presence.js +1 -1
  96. package/dist/lib/cli-oauth.js +1 -1
  97. package/dist/lib/cli-oauth.js.map +1 -1
  98. package/dist/lib/commands-doc.d.ts +1 -1
  99. package/dist/lib/commands-doc.js +1 -1
  100. package/dist/lib/commit-cite.js +2 -2
  101. package/dist/lib/commit-shape.d.ts +1 -1
  102. package/dist/lib/commit-shape.js +1 -1
  103. package/dist/lib/config.d.ts +6 -6
  104. package/dist/lib/config.js +7 -7
  105. package/dist/lib/config.js.map +1 -1
  106. package/dist/lib/connect-prompt.d.ts +1 -1
  107. package/dist/lib/connect-prompt.js +1 -1
  108. package/dist/lib/decider-kind.d.ts +4 -4
  109. package/dist/lib/decider-kind.js +4 -4
  110. package/dist/lib/decision-links.d.ts +7 -8
  111. package/dist/lib/decision-links.d.ts.map +1 -1
  112. package/dist/lib/decision-links.js +8 -9
  113. package/dist/lib/decision-links.js.map +1 -1
  114. package/dist/lib/decision-refs.d.ts +3 -3
  115. package/dist/lib/decision-refs.js +4 -4
  116. package/dist/lib/decision-refs.js.map +1 -1
  117. package/dist/lib/decision-relations.d.ts +4 -4
  118. package/dist/lib/decision-relations.js +4 -4
  119. package/dist/lib/decision-render.d.ts +2 -2
  120. package/dist/lib/decision-render.d.ts.map +1 -1
  121. package/dist/lib/decision-render.js +5 -5
  122. package/dist/lib/decision-render.js.map +1 -1
  123. package/dist/lib/decisions-context.d.ts +4 -4
  124. package/dist/lib/decisions-context.js +5 -5
  125. package/dist/lib/decisions-context.js.map +1 -1
  126. package/dist/lib/doctor-mcp.js +1 -1
  127. package/dist/lib/doctor.d.ts +2 -2
  128. package/dist/lib/embedding-assets.js +1 -1
  129. package/dist/lib/embedding-runtime.js +1 -1
  130. package/dist/lib/fetchers/capture.d.ts +1 -1
  131. package/dist/lib/fetchers/docs.d.ts +1 -1
  132. package/dist/lib/fetchers/docs.js +5 -5
  133. package/dist/lib/fetchers/docs.js.map +1 -1
  134. package/dist/lib/fetchers/git.d.ts +1 -1
  135. package/dist/lib/fetchers/git.js +1 -1
  136. package/dist/lib/fetchers/github.d.ts +2 -2
  137. package/dist/lib/fetchers/github.js +2 -2
  138. package/dist/lib/fetchers/linear.js +1 -1
  139. package/dist/lib/fetchers/slack.d.ts +2 -2
  140. package/dist/lib/fetchers/slack.js +2 -2
  141. package/dist/lib/first-decision.d.ts +1 -1
  142. package/dist/lib/first-decision.js +1 -1
  143. package/dist/lib/first-run-pr-import.d.ts +1 -1
  144. package/dist/lib/format-date.d.ts +1 -1
  145. package/dist/lib/format-date.js +1 -1
  146. package/dist/lib/found-summary.js +4 -4
  147. package/dist/lib/found-summary.js.map +1 -1
  148. package/dist/lib/gateway-client.d.ts +27 -27
  149. package/dist/lib/gateway-client.d.ts.map +1 -1
  150. package/dist/lib/gateway-client.js +30 -30
  151. package/dist/lib/gateway-client.js.map +1 -1
  152. package/dist/lib/git.d.ts +10 -10
  153. package/dist/lib/git.d.ts.map +1 -1
  154. package/dist/lib/git.js +12 -12
  155. package/dist/lib/git.js.map +1 -1
  156. package/dist/lib/hook-context.js +1 -1
  157. package/dist/lib/hook-payload.d.ts +1 -1
  158. package/dist/lib/hybrid-rank.d.ts +3 -3
  159. package/dist/lib/hybrid-rank.d.ts.map +1 -1
  160. package/dist/lib/hybrid-rank.js +3 -3
  161. package/dist/lib/hybrid-rank.js.map +1 -1
  162. package/dist/lib/import-defaults.d.ts +5 -5
  163. package/dist/lib/import-defaults.js +3 -3
  164. package/dist/lib/inline-rules.d.ts +1 -1
  165. package/dist/lib/inline-rules.js +1 -1
  166. package/dist/lib/invite-prompt.d.ts +1 -1
  167. package/dist/lib/invite-prompt.js +1 -1
  168. package/dist/lib/launch/mcp-child-env.js +1 -1
  169. package/dist/lib/launch/mcp-child-env.js.map +1 -1
  170. package/dist/lib/launch/strict-entry.js +2 -2
  171. package/dist/lib/launch/strict-entry.js.map +1 -1
  172. package/dist/lib/lexical-store.d.ts +1 -1
  173. package/dist/lib/lexical-store.js +1 -1
  174. package/dist/lib/lexical-terms.d.ts +1 -1
  175. package/dist/lib/lexical-terms.js +1 -1
  176. package/dist/lib/lexical-text.d.ts +2 -2
  177. package/dist/lib/lexical-text.js +2 -2
  178. package/dist/lib/llm-providers.d.ts +1 -1
  179. package/dist/lib/llm-providers.js +2 -2
  180. package/dist/lib/llm-providers.js.map +1 -1
  181. package/dist/lib/llm-trace.d.ts +1 -1
  182. package/dist/lib/llm-trace.js +1 -1
  183. package/dist/lib/llm-trace.js.map +1 -1
  184. package/dist/lib/local-candidate-classify.d.ts +1 -1
  185. package/dist/lib/local-candidate-classify.js +3 -3
  186. package/dist/lib/local-candidate-classify.js.map +1 -1
  187. package/dist/lib/local-db-migrate.d.ts +6 -6
  188. package/dist/lib/local-db-migrate.js +9 -9
  189. package/dist/lib/local-db-migrate.js.map +1 -1
  190. package/dist/lib/local-db-v11.d.ts +1 -1
  191. package/dist/lib/local-db.d.ts +33 -33
  192. package/dist/lib/local-db.d.ts.map +1 -1
  193. package/dist/lib/local-db.js +27 -27
  194. package/dist/lib/local-db.js.map +1 -1
  195. package/dist/lib/local-embeddings-native.js +1 -1
  196. package/dist/lib/local-embeddings.d.ts +2 -2
  197. package/dist/lib/local-embeddings.js +2 -2
  198. package/dist/lib/local-embeddings.js.map +1 -1
  199. package/dist/lib/local-gateway-client.d.ts +5 -5
  200. package/dist/lib/local-gateway-client.js +40 -40
  201. package/dist/lib/local-gateway-client.js.map +1 -1
  202. package/dist/lib/local-ingest.d.ts +3 -3
  203. package/dist/lib/local-ingest.js +3 -3
  204. package/dist/lib/local-link-pass.js +1 -1
  205. package/dist/lib/local-link-pass.js.map +1 -1
  206. package/dist/lib/local-llm.d.ts +21 -22
  207. package/dist/lib/local-llm.d.ts.map +1 -1
  208. package/dist/lib/local-llm.js +28 -30
  209. package/dist/lib/local-llm.js.map +1 -1
  210. package/dist/lib/local-mode.d.ts +1 -1
  211. package/dist/lib/local-mode.js +2 -2
  212. package/dist/lib/local-mode.js.map +1 -1
  213. package/dist/lib/local-provenance.d.ts +1 -1
  214. package/dist/lib/local-provenance.js +1 -1
  215. package/dist/lib/local-relationship-classifier.d.ts +6 -6
  216. package/dist/lib/local-relationship-classifier.js +7 -7
  217. package/dist/lib/local-relationship-classifier.js.map +1 -1
  218. package/dist/lib/local-thresholds.d.ts +3 -3
  219. package/dist/lib/local-thresholds.js +4 -4
  220. package/dist/lib/local-thresholds.js.map +1 -1
  221. package/dist/lib/mcp/share-status-tool.js +1 -1
  222. package/dist/lib/mcp/share-tool.js +1 -1
  223. package/dist/lib/mcp-setup.d.ts +11 -4
  224. package/dist/lib/mcp-setup.d.ts.map +1 -1
  225. package/dist/lib/mcp-setup.js +22 -12
  226. package/dist/lib/mcp-setup.js.map +1 -1
  227. package/dist/lib/mcp-timeline-tools.d.ts +5 -5
  228. package/dist/lib/mcp-timeline-tools.d.ts.map +1 -1
  229. package/dist/lib/mcp-timeline-tools.js +22 -23
  230. package/dist/lib/mcp-timeline-tools.js.map +1 -1
  231. package/dist/lib/next-step.d.ts +11 -5
  232. package/dist/lib/next-step.d.ts.map +1 -1
  233. package/dist/lib/next-step.js +12 -4
  234. package/dist/lib/next-step.js.map +1 -1
  235. package/dist/lib/personal-import.d.ts +3 -3
  236. package/dist/lib/personal-import.d.ts.map +1 -1
  237. package/dist/lib/personal-import.js +4 -4
  238. package/dist/lib/personal-import.js.map +1 -1
  239. package/dist/lib/personal-oauth.js +3 -3
  240. package/dist/lib/personal-oauth.js.map +1 -1
  241. package/dist/lib/query-expand.d.ts +1 -1
  242. package/dist/lib/query-expand.js +1 -1
  243. package/dist/lib/read-value-rollup.d.ts +2 -2
  244. package/dist/lib/read-value-rollup.js +3 -3
  245. package/dist/lib/read-value-rollup.js.map +1 -1
  246. package/dist/lib/reason-extract.d.ts +1 -1
  247. package/dist/lib/reason-extract.js +1 -1
  248. package/dist/lib/repo-identity.d.ts +2 -2
  249. package/dist/lib/repo-identity.js +3 -3
  250. package/dist/lib/resolve-env.d.ts +1 -1
  251. package/dist/lib/resolve-env.js +1 -1
  252. package/dist/lib/scope-defaults.js +1 -1
  253. package/dist/lib/scope-real.d.ts.map +1 -1
  254. package/dist/lib/scope-real.js +1 -1
  255. package/dist/lib/scope-real.js.map +1 -1
  256. package/dist/lib/search-query.d.ts +2 -2
  257. package/dist/lib/search-query.js +2 -2
  258. package/dist/lib/search-rerank.d.ts +1 -1
  259. package/dist/lib/search-rerank.js +1 -1
  260. package/dist/lib/sessions/confirm-freetext.d.ts +3 -3
  261. package/dist/lib/sessions/confirm-freetext.d.ts.map +1 -1
  262. package/dist/lib/sessions/confirm-freetext.js +2 -2
  263. package/dist/lib/sessions/extract-freetext.d.ts +3 -3
  264. package/dist/lib/sessions/extract-freetext.d.ts.map +1 -1
  265. package/dist/lib/sessions/import-summary.d.ts +1 -1
  266. package/dist/lib/sessions/import-summary.js +1 -1
  267. package/dist/lib/sessions/memory-files.d.ts +1 -1
  268. package/dist/lib/sessions/memory-files.js +5 -5
  269. package/dist/lib/sessions/source-url.d.ts +2 -2
  270. package/dist/lib/sessions/source-url.js +2 -2
  271. package/dist/lib/sessions/types.d.ts +6 -6
  272. package/dist/lib/sessions/types.js +4 -4
  273. package/dist/lib/setup-funnel.d.ts +2 -2
  274. package/dist/lib/setup-ux.d.ts +2 -2
  275. package/dist/lib/setup-ux.js +3 -3
  276. package/dist/lib/setup-ux.js.map +1 -1
  277. package/dist/lib/share/approval.js +1 -1
  278. package/dist/lib/share/browser-flow.d.ts +1 -1
  279. package/dist/lib/share/browser-flow.js +1 -1
  280. package/dist/lib/share/command.js +1 -1
  281. package/dist/lib/share/envelope.js +1 -1
  282. package/dist/lib/share/pending.d.ts +1 -1
  283. package/dist/lib/share/requests-client.d.ts +1 -1
  284. package/dist/lib/share/run.d.ts +1 -1
  285. package/dist/lib/sparse-graph.d.ts +20 -0
  286. package/dist/lib/sparse-graph.d.ts.map +1 -0
  287. package/dist/lib/sparse-graph.js +39 -0
  288. package/dist/lib/sparse-graph.js.map +1 -0
  289. package/dist/lib/suppress-sqlite-warning.d.ts +1 -1
  290. package/dist/lib/sync/real-env.d.ts.map +1 -1
  291. package/dist/lib/telemetry-env.d.ts +3 -3
  292. package/dist/lib/telemetry-env.js +1 -1
  293. package/dist/lib/token-estimate.d.ts +1 -1
  294. package/dist/lib/token-estimate.js +3 -3
  295. package/dist/lib/token-estimate.js.map +1 -1
  296. package/dist/lib/token-scope-gate.d.ts +1 -1
  297. package/dist/lib/token-scope-gate.js +1 -1
  298. package/dist/lib/trusted-align-bin.d.ts +2 -2
  299. package/dist/lib/trusted-align-bin.d.ts.map +1 -1
  300. package/dist/lib/trusted-align-bin.js +2 -2
  301. package/dist/lib/trusted-align-bin.js.map +1 -1
  302. package/dist/lib/usage-telemetry.d.ts +17 -17
  303. package/dist/lib/usage-telemetry.js +24 -24
  304. package/dist/lib/usage-telemetry.js.map +1 -1
  305. package/dist/lib/user-hooks.d.ts +1 -1
  306. package/dist/lib/user-hooks.d.ts.map +1 -1
  307. package/dist/lib/user-hooks.js +3 -3
  308. package/dist/lib/user-hooks.js.map +1 -1
  309. package/dist/lib/value-rollup.d.ts +7 -7
  310. package/dist/lib/value-rollup.d.ts.map +1 -1
  311. package/dist/lib/value-rollup.js +12 -12
  312. package/dist/lib/value-rollup.js.map +1 -1
  313. package/dist/lib/write-confirm.d.ts +53 -0
  314. package/dist/lib/write-confirm.d.ts.map +1 -0
  315. package/dist/lib/write-confirm.js +70 -0
  316. package/dist/lib/write-confirm.js.map +1 -0
  317. package/package.json +1 -1
@@ -7,22 +7,22 @@ export interface DecisionRow {
7
7
  sourceUrl: string | null;
8
8
  platform: string;
9
9
  createdAt: string;
10
- /** ALI-829: when the decision was MADE, from the source's own timestamp (ISO-8601 Z), as
10
+ /** When the decision was MADE, from the source's own timestamp (ISO-8601 Z), as
11
11
  * distinct from `createdAt`, the minute this CLI imported it. Null when the source did not
12
12
  * say - never the ingest minute wearing the wrong name. */
13
13
  decidedAt: string | null;
14
- /** ALI-798: which repo this decision came from (host/owner/repo, or a repo root
14
+ /** Which repo this decision came from (host/owner/repo, or a repo root
15
15
  * path for a remoteless git repo) - null for anything that is not code, or code
16
16
  * whose repo could not be identified. */
17
17
  repo: string | null;
18
- /** ALI-831: which kind of actor decided. Null for a row captured before the column
18
+ /** Which kind of actor decided. Null for a row captured before the column
19
19
  * existed - read as 'unknown', never backfilled (see migrate, step 5). */
20
20
  deciderKind: DeciderKind | null;
21
- /** ALI-831: "this was said" - the two flags are separate acts (Tom, 2026-09-03). Confirm
22
- * is written by the session importer (ALI-808); ratify is the human act below. */
21
+ /** "this was said" - the two flags are separate acts (Tom, 2026-09-03). Confirm
22
+ * is written by the session importer; ratify is the human act below. */
23
23
  confirmedBy: string | null;
24
24
  confirmedAt: string | null;
25
- /** ALI-831: "this governs". Set once by `align ratify`; the first ratification stands. */
25
+ /** "this governs". Set once by `align ratify`; the first ratification stands. */
26
26
  ratifiedBy: string | null;
27
27
  ratifiedAt: string | null;
28
28
  }
@@ -49,7 +49,7 @@ export interface LinkRow {
49
49
  targetId: string;
50
50
  relation: string;
51
51
  confidence: number;
52
- /** ALI-1087: when the edge itself was recorded, distinct from either endpoint's own
52
+ /** When the edge itself was recorded, distinct from either endpoint's own
53
53
  * `createdAt`. An as-of query has to bound both separately - the two decisions can
54
54
  * predate a cutoff while the edge asserting a relation between them was written after
55
55
  * it, and a relation nobody had recorded yet is not one the as-of answer may use. */
@@ -61,7 +61,7 @@ export interface DbStats {
61
61
  }
62
62
  export { SCHEMA_VERSION } from './local-db-migrate.js';
63
63
  /**
64
- * ALI-829: a source timestamp as this database stores it - ISO-8601 Z - or null.
64
+ * A source timestamp as this database stores it - ISO-8601 Z - or null.
65
65
  *
66
66
  * Null rather than a fallback: a null date says "unknown", and a plausible wrong date is
67
67
  * indistinguishable from a measurement to everything downstream. NaN is checked explicitly
@@ -110,7 +110,7 @@ export declare function createLocalDb(dbPath: string): {
110
110
  * a special case here.
111
111
  */
112
112
  /**
113
- * `repo` (ALI-798): the identity of the checkout this decision came from, or null for
113
+ * `repo`: the identity of the checkout this decision came from, or null for
114
114
  * anything that is not code (Jira, Slack, a bare capture). Optional so every existing
115
115
  * caller keeps compiling unchanged - omitting it inserts NULL, same as it always did.
116
116
  *
@@ -127,11 +127,11 @@ export declare function createLocalDb(dbPath: string): {
127
127
  sourceUrl: string | null;
128
128
  platform: string;
129
129
  repo?: string | null;
130
- /** ALI-829: already normalised (normaliseDecidedAt) by the caller, or absent. COALESCE on
130
+ /** Already normalised (normaliseDecidedAt) by the caller, or absent. COALESCE on
131
131
  * the upsert for the same reason `repo` has it: a re-import that resolved no date must
132
132
  * never blank a date the row already carries. */
133
133
  decidedAt?: string | null;
134
- /** ALI-831: who decided. Set on INSERT and never rewritten by the upsert - origin is
134
+ /** Who decided. Set on INSERT and never rewritten by the upsert - origin is
135
135
  * immutable, so a human re-capture cannot launder an agent claim into 'human' (the
136
136
  * cloud's snapshots.ts rule). Omitted stores NULL, which reads as 'unknown'. */
137
137
  deciderKind?: DeciderKind | null;
@@ -147,7 +147,7 @@ export declare function createLocalDb(dbPath: string): {
147
147
  /**
148
148
  * The id this graph already holds for `(source_url, title)`, or null.
149
149
  *
150
- * Exists so a caller can tell an insert from a refresh (ALI-770): `insertDecision`
150
+ * Exists so a caller can tell an insert from a refresh: `insertDecision`
151
151
  * upserts and returns the surviving id either way, so an import could not say whether
152
152
  * it added anything. It reported every re-import as "Imported N decisions" while the
153
153
  * graph did not move, which reads as having imported twice.
@@ -193,7 +193,7 @@ export declare function createLocalDb(dbPath: string): {
193
193
  /** A capture of a URL a connector already imported: audit it, change nothing, return the row. */
194
194
  noteCaptureOfHeldItem(url: string): DecisionRow | null;
195
195
  /**
196
- * `filter.repo` scopes to one repo's rows. `includeUnattributed` (ALI-798's own rule:
196
+ * `filter.repo` scopes to one repo's rows. `includeUnattributed` (the own rule:
197
197
  * "repo = ? OR repo IS NULL") also returns rows with no repo at all - a Jira ticket, a
198
198
  * Slack thread, anything not code - because a strict `repo = ?` would make 36% of a
199
199
  * measured real graph (every non-code decision) invisible from inside any one repo,
@@ -208,7 +208,7 @@ export declare function createLocalDb(dbPath: string): {
208
208
  }): DecisionRow[];
209
209
  getDecisionById(id: string): DecisionRow | null;
210
210
  /**
211
- * ALI-831: the human act. Writes both columns in one statement guarded by
211
+ * The human act. Writes both columns in one statement guarded by
212
212
  * `ratified_at IS NULL`, so the first ratification stands and a concurrent second caller
213
213
  * sees null rather than overwriting it - the same first-wins rule as the cloud's
214
214
  * ratifyDecision use case. Null for a missing id too; the caller tells the two apart by
@@ -218,9 +218,9 @@ export declare function createLocalDb(dbPath: string): {
218
218
  ratifiedAt: string;
219
219
  } | null;
220
220
  /**
221
- * ALI-808: "this was said" - the session importer's act, written once at the moment a
221
+ * "this was said" - the session importer's act, written once at the moment a
222
222
  * human accepts a session-derived candidate into the graph (confirm-each). The columns
223
- * were reserved for this by ALI-831 (see DecisionRow's own doc), which landed first;
223
+ * were reserved for this by the provenance work (see DecisionRow's own doc), which landed first;
224
224
  * this is the one write path for them. No first-wins guard: unlike ratify there is no
225
225
  * later racing caller to protect against - the importer calls this exactly once, right
226
226
  * after the insert it just made. A missing id updates zero rows and returns null, same
@@ -237,7 +237,7 @@ export declare function createLocalDb(dbPath: string): {
237
237
  */
238
238
  markEnriched(id: string): void;
239
239
  getEnrichedAt(id: string): string | null;
240
- /** ALI-831: one row per human act on a decision (ratified, pushed), so "who stood behind
240
+ /** One row per human act on a decision (ratified, pushed), so "who stood behind
241
241
  * this, and when" is answerable after the fact. Append-only by construction. */
242
242
  insertAudit(entry: {
243
243
  decisionId: string;
@@ -247,7 +247,7 @@ export declare function createLocalDb(dbPath: string): {
247
247
  }): void;
248
248
  listAudit(decisionId: string): AuditRow[];
249
249
  /**
250
- * ALI-829: drop the tombstone-titled twin of a Slack thread that is being written under
250
+ * Drop the tombstone-titled twin of a Slack thread that is being written under
251
251
  * a real title. The v4 migration sweeps the tombstones that exist at upgrade time, but a
252
252
  * connector-core older than 0.6.0 can still MAKE one afterwards (it titles a thread from
253
253
  * its deleted root), and the migration never runs again. So the reconciliation also
@@ -276,7 +276,7 @@ export declare function createLocalDb(dbPath: string): {
276
276
  * repo identities are. */
277
277
  hasDocsForRepo(repo: string): boolean;
278
278
  /**
279
- * ALI-787: `model` tags which HF model produced `embedding`, so a future model swap
279
+ * `model` tags which HF model produced `embedding`, so a future model swap
280
280
  * cannot compare two models' vectors as if they were interchangeable - same-length
281
281
  * float arrays from different models pass cosineSimilarity's length check and produce a
282
282
  * plausible, meaningless score with nothing to catch it (see local-embeddings.ts,
@@ -290,7 +290,7 @@ export declare function createLocalDb(dbPath: string): {
290
290
  */
291
291
  setEmbedding(decisionId: string, embedding: Float32Array, model?: string): void;
292
292
  getEmbedding(decisionId: string): Float32Array | null;
293
- /** ALI-787: which model tagged this decision's stored embedding, or null when there is
293
+ /** Which model tagged this decision's stored embedding, or null when there is
294
294
  * no embedding row, or the row predates tagging and was never backfilled (should not
295
295
  * happen post-migration, but reads as "unknown" rather than a false match either way). */
296
296
  getEmbeddingModel(decisionId: string): string | null;
@@ -302,20 +302,20 @@ export declare function createLocalDb(dbPath: string): {
302
302
  * ranking - filtering post-rank would silently return fewer than `topK` results whenever
303
303
  * some of the best global matches fall outside the scope.
304
304
  *
305
- * ALI-787: `filter.model`, when given, excludes rows tagged with a DIFFERENT (non-null)
305
+ * `filter.model`, when given, excludes rows tagged with a DIFFERENT (non-null)
306
306
  * model - the "degrade honestly" half of the model tag: a decision embedded by a retired
307
307
  * model drops out of ranking rather than being compared to a current-model vector it is
308
308
  * not compatible with. A NULL-tagged row (no model recorded at all) is treated as
309
309
  * compatible rather than excluded, the same "unknown, not wrong" leniency checkDrift
310
310
  * applies to a single decision - the migration backfills every pre-existing row, so NULL
311
311
  * should not occur in a real graph, and this is what keeps a hand-built test fixture that
312
- * predates ALI-787 (a bare 2-arg setEmbedding) behaving as it always did. Omitted (the
312
+ * predates embedding-model tagging (a bare 2-arg setEmbedding) behaving as it always did. Omitted (the
313
313
  * default) applies no filter at all, which is what most existing callers and tests rely
314
314
  * on - only local-gateway-client.ts's findSimilar passes it, with the currently active
315
315
  * EMBEDDING_MODEL_ID.
316
316
  */
317
317
  /**
318
- * ALI-1087: `createdBefore` excludes any decision whose OWN `created_at` is at or after
318
+ * `createdBefore` excludes any decision whose OWN `created_at` is at or after
319
319
  * the cutoff, so an as-of query never ranks a candidate that did not exist yet at that
320
320
  * moment. Joins `decisions` whenever either it or `repo` is set - both need the same
321
321
  * table, and joining twice would be a second writer of the same predicate.
@@ -358,7 +358,7 @@ export declare function createLocalDb(dbPath: string): {
358
358
  */
359
359
  deleteMarkLink(judgementId: string): number;
360
360
  /**
361
- * ALI-1065: a pair gets ONE edge, never two. `insertLinkRow`'s unique index is on
361
+ * A pair gets ONE edge, never two. `insertLinkRow`'s unique index is on
362
362
  * (source_id, target_id, relation), so writing `supersedes` for a pair that already
363
363
  * carries a `relates` row for the SAME pair does not collide - it appends a second
364
364
  * row, and a reader would see both. This deletes any existing edge between the pair
@@ -367,11 +367,11 @@ export declare function createLocalDb(dbPath: string): {
367
367
  */
368
368
  replaceLink(link: Omit<NewLink, "id">): void;
369
369
  /**
370
- * ALI-792: what this decision's text points at (ticket keys, #N, tool URLs).
370
+ * What this decision's text points at (ticket keys, #N, tool URLs).
371
371
  * REPLACE semantics, deliberately: insertDecision refreshes the summary on
372
372
  * re-import (a rewritten commit message should be current), so the refs derived
373
373
  * from that text must follow it - appending would keep refs the text no longer
374
- * carries, and the gap prompt (ALI-796) would name gaps that no longer exist.
374
+ * carries, and the gap prompt would name gaps that no longer exist.
375
375
  */
376
376
  replaceRefs(decisionId: string, refs: Array<{
377
377
  ref: string;
@@ -382,7 +382,7 @@ export declare function createLocalDb(dbPath: string): {
382
382
  platform: string;
383
383
  }>;
384
384
  /**
385
- * Every ref across every decision, for the gap resolver (ALI-796): it needs to
385
+ * Every ref across every decision, for the gap resolver: it needs to
386
386
  * count DISTINCT decisions per platform graph-wide, which a per-decision
387
387
  * `getRefs` cannot do without one round trip per decision.
388
388
  */
@@ -392,8 +392,8 @@ export declare function createLocalDb(dbPath: string): {
392
392
  platform: string;
393
393
  }>;
394
394
  /**
395
- * ALI-796's payoff: a newly-ingested decision may be the exact thing an EARLIER
396
- * decision's text already cited (a git commit citing "ALI-123", now that the Jira
395
+ * The payoff: a newly-ingested decision may be the exact thing an EARLIER
396
+ * decision's text already cited (a git commit citing "APP-123", now that the Jira
397
397
  * issue for it has been imported). `candidates` is that new decision's own
398
398
  * identity (decision-refs.ts's `refIdentityFor`) - every shape another decision
399
399
  * could have recorded it as. For each one that some existing ref already names,
@@ -407,7 +407,7 @@ export declare function createLocalDb(dbPath: string): {
407
407
  * repo it is later linked from is the case this does not cover.
408
408
  *
409
409
  * `relation: 'relates'` at confidence 1.0 - not a guess like the cosine-similarity
410
- * `relates` edges elsewhere (ALI-503): this one is a deterministic exact-key match,
410
+ * `relates` edges elsewhere: this one is a deterministic exact-key match,
411
411
  * and 1.0 says so. `insertLinkRow`'s unique index on (source, target, relation)
412
412
  * makes re-resolving the same pair on a later import a no-op rather than a
413
413
  * duplicate edge.
@@ -417,7 +417,7 @@ export declare function createLocalDb(dbPath: string): {
417
417
  platform: string;
418
418
  }>): void;
419
419
  /**
420
- * ALI-1087: `createdBefore` bounds the edge itself to what existed as of that instant.
420
+ * `createdBefore` bounds the edge itself to what existed as of that instant.
421
421
  * `julianday(...)`, not a raw string compare - `created_at` is written only by SQLite's
422
422
  * `datetime('now')` default, in the same space-separated, offset-less format that makes
423
423
  * a plain TEXT comparison against an ISO cutoff wrong on the cutoff's own calendar day
@@ -433,7 +433,7 @@ export declare function createLocalDb(dbPath: string): {
433
433
  getStats(): DbStats;
434
434
  dropAll(): void;
435
435
  /**
436
- * ALI-1749: run `fn` with `synchronous = NORMAL`. In WAL mode the default (FULL) syncs the log on
436
+ * Run `fn` with `synchronous = NORMAL`. In WAL mode the default (FULL) syncs the log on
437
437
  * every commit, and an import commits about six statements per item: a CPU profile of a
438
438
  * 1,000-commit git import put 28 of its 39 seconds in those commits, not in the embedding model.
439
439
  * NORMAL syncs at checkpoints instead. The file cannot corrupt either way; what NORMAL risks is
@@ -456,7 +456,7 @@ export declare function createLocalDb(dbPath: string): {
456
456
  /** Stored embeddings of every model: an upper bound on what a matrix would hold, read
457
457
  * before building one so a huge graph is never loaded just to be refused. */
458
458
  countEmbeddings(): number;
459
- /** ALI-1749: the persisted lexical index of this graph's git decisions (lexical-store.ts), built on first use. */
459
+ /** The persisted lexical index of this graph's git decisions (lexical-store.ts), built on first use. */
460
460
  lexicalStore(): LexicalStore;
461
461
  close(): void;
462
462
  };
@@ -1 +1 @@
1
- {"version":3,"file":"local-db.d.ts","sourceRoot":"","sources":["../../src/lib/local-db.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAM3E,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB;;gEAE4D;IAC5D,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;8CAE0C;IAC1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AG,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IAM1E;;;;;;;;;;;;;;;;;;;;OAoBG;+BACwB,MAAM,cAAc,KAAK,CAAC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,IAAI;IAa9F;;;;;;OAMG;uBACgB;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,aAAa,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,EAAE;IASjG,sIAAsI;6BAC7G,MAAM,GAAG,OAAO;gBAO7B,OAAO;eAQR,IAAI;IAQf;;;;;;;;;OASG;oBACmB,CAAC,MAAM,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAS1D,4GAA4G;gBAChG,MAAM;IAIlB;;gDAE4C;mBAC7B,MAAM;IAIrB;;6DAEyD;mBAC1C,MAAM;IAIrB;kFAC8E;uBAC3D,MAAM;IAIzB,wGAAwG;oBACxF,YAAY;aAInB,IAAI;EAKhB;AAED,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC"}
@@ -11,7 +11,7 @@ import { connectorItemKey, KEYED_PLATFORMS } from './source-key.js';
11
11
  import { alignConfigDir, ensurePrivateDir, precreatePrivateFile, tightenGraphFiles } from './private-files.js';
12
12
  export { SCHEMA_VERSION } from './local-db-migrate.js';
13
13
  /**
14
- * ALI-829: a source timestamp as this database stores it - ISO-8601 Z - or null.
14
+ * A source timestamp as this database stores it - ISO-8601 Z - or null.
15
15
  *
16
16
  * Null rather than a fallback: a null date says "unknown", and a plausible wrong date is
17
17
  * indistinguishable from a measurement to everything downstream. NaN is checked explicitly
@@ -123,7 +123,7 @@ export function createLocalDb(dbPath) {
123
123
  db.close();
124
124
  throw err;
125
125
  }
126
- // Shared by insertLink and resolveRefs (ALI-796), so there is one writer of the
126
+ // Shared by insertLink and resolveRefs, so there is one writer of the
127
127
  // decision_links insert rather than two copies of the same ON CONFLICT clause.
128
128
  // `detectorVersion` (schema v12): which detector wrote the edge. Omitted means 'v0'; only the
129
129
  // v1 detector passes 'v1'. A conflict on the triple keeps the stored version: same relation,
@@ -149,7 +149,7 @@ export function createLocalDb(dbPath) {
149
149
  * a special case here.
150
150
  */
151
151
  /**
152
- * `repo` (ALI-798): the identity of the checkout this decision came from, or null for
152
+ * `repo`: the identity of the checkout this decision came from, or null for
153
153
  * anything that is not code (Jira, Slack, a bare capture). Optional so every existing
154
154
  * caller keeps compiling unchanged - omitting it inserts NULL, same as it always did.
155
155
  *
@@ -199,7 +199,7 @@ export function createLocalDb(dbPath) {
199
199
  /**
200
200
  * The id this graph already holds for `(source_url, title)`, or null.
201
201
  *
202
- * Exists so a caller can tell an insert from a refresh (ALI-770): `insertDecision`
202
+ * Exists so a caller can tell an insert from a refresh: `insertDecision`
203
203
  * upserts and returns the surviving id either way, so an import could not say whether
204
204
  * it added anything. It reported every re-import as "Imported N decisions" while the
205
205
  * graph did not move, which reads as having imported twice.
@@ -310,7 +310,7 @@ export function createLocalDb(dbPath) {
310
310
  return row;
311
311
  },
312
312
  /**
313
- * `filter.repo` scopes to one repo's rows. `includeUnattributed` (ALI-798's own rule:
313
+ * `filter.repo` scopes to one repo's rows. `includeUnattributed` (the own rule:
314
314
  * "repo = ? OR repo IS NULL") also returns rows with no repo at all - a Jira ticket, a
315
315
  * Slack thread, anything not code - because a strict `repo = ?` would make 36% of a
316
316
  * measured real graph (every non-code decision) invisible from inside any one repo,
@@ -326,7 +326,7 @@ export function createLocalDb(dbPath) {
326
326
  where.push(filter.includeUnattributed ? `(repo = ? OR repo IS NULL)` : `repo = ?`);
327
327
  params.push(filter.repo);
328
328
  }
329
- // ALI-831: the human queue. Both predicates, because "unratified" alone would list every
329
+ // The human queue. Both predicates, because "unratified" alone would list every
330
330
  // human decision ever captured (nothing ratifies those) and the queue would be useless.
331
331
  if (filter.unratified)
332
332
  where.push(`decider_kind = 'agent' AND ratified_at IS NULL`);
@@ -339,7 +339,7 @@ export function createLocalDb(dbPath) {
339
339
  return db.prepare(`SELECT ${DECISION_COLUMNS} FROM decisions WHERE id = ?`).get(id) ?? null;
340
340
  },
341
341
  /**
342
- * ALI-831: the human act. Writes both columns in one statement guarded by
342
+ * The human act. Writes both columns in one statement guarded by
343
343
  * `ratified_at IS NULL`, so the first ratification stands and a concurrent second caller
344
344
  * sees null rather than overwriting it - the same first-wins rule as the cloud's
345
345
  * ratifyDecision use case. Null for a missing id too; the caller tells the two apart by
@@ -353,9 +353,9 @@ export function createLocalDb(dbPath) {
353
353
  return row ?? null;
354
354
  },
355
355
  /**
356
- * ALI-808: "this was said" - the session importer's act, written once at the moment a
356
+ * "this was said" - the session importer's act, written once at the moment a
357
357
  * human accepts a session-derived candidate into the graph (confirm-each). The columns
358
- * were reserved for this by ALI-831 (see DecisionRow's own doc), which landed first;
358
+ * were reserved for this by the provenance work (see DecisionRow's own doc), which landed first;
359
359
  * this is the one write path for them. No first-wins guard: unlike ratify there is no
360
360
  * later racing caller to protect against - the importer calls this exactly once, right
361
361
  * after the insert it just made. A missing id updates zero rows and returns null, same
@@ -381,7 +381,7 @@ export function createLocalDb(dbPath) {
381
381
  const row = db.prepare(`SELECT enriched_at AS e FROM decisions WHERE id = ?`).get(id);
382
382
  return row?.e ?? null;
383
383
  },
384
- /** ALI-831: one row per human act on a decision (ratified, pushed), so "who stood behind
384
+ /** One row per human act on a decision (ratified, pushed), so "who stood behind
385
385
  * this, and when" is answerable after the fact. Append-only by construction. */
386
386
  insertAudit(entry) {
387
387
  db.prepare(`INSERT INTO decision_audit (id, decision_id, action, actor, detail) VALUES (?, ?, ?, ?, ?)`).run(randomUUID(), entry.decisionId, entry.action, entry.actor, entry.detail ?? null);
@@ -391,7 +391,7 @@ export function createLocalDb(dbPath) {
391
391
  FROM decision_audit WHERE decision_id = ? ORDER BY rowid`).all(decisionId);
392
392
  },
393
393
  /**
394
- * ALI-829: drop the tombstone-titled twin of a Slack thread that is being written under
394
+ * Drop the tombstone-titled twin of a Slack thread that is being written under
395
395
  * a real title. The v4 migration sweeps the tombstones that exist at upgrade time, but a
396
396
  * connector-core older than 0.6.0 can still MAKE one afterwards (it titles a thread from
397
397
  * its deleted root), and the migration never runs again. So the reconciliation also
@@ -439,7 +439,7 @@ export function createLocalDb(dbPath) {
439
439
  return row !== undefined;
440
440
  },
441
441
  /**
442
- * ALI-787: `model` tags which HF model produced `embedding`, so a future model swap
442
+ * `model` tags which HF model produced `embedding`, so a future model swap
443
443
  * cannot compare two models' vectors as if they were interchangeable - same-length
444
444
  * float arrays from different models pass cosineSimilarity's length check and produce a
445
445
  * plausible, meaningless score with nothing to catch it (see local-embeddings.ts,
@@ -464,7 +464,7 @@ export function createLocalDb(dbPath) {
464
464
  return null;
465
465
  return new Float32Array(row.embedding.buffer, row.embedding.byteOffset, row.embedding.byteLength / 4);
466
466
  },
467
- /** ALI-787: which model tagged this decision's stored embedding, or null when there is
467
+ /** Which model tagged this decision's stored embedding, or null when there is
468
468
  * no embedding row, or the row predates tagging and was never backfilled (should not
469
469
  * happen post-migration, but reads as "unknown" rather than a false match either way). */
470
470
  getEmbeddingModel(decisionId) {
@@ -479,20 +479,20 @@ export function createLocalDb(dbPath) {
479
479
  * ranking - filtering post-rank would silently return fewer than `topK` results whenever
480
480
  * some of the best global matches fall outside the scope.
481
481
  *
482
- * ALI-787: `filter.model`, when given, excludes rows tagged with a DIFFERENT (non-null)
482
+ * `filter.model`, when given, excludes rows tagged with a DIFFERENT (non-null)
483
483
  * model - the "degrade honestly" half of the model tag: a decision embedded by a retired
484
484
  * model drops out of ranking rather than being compared to a current-model vector it is
485
485
  * not compatible with. A NULL-tagged row (no model recorded at all) is treated as
486
486
  * compatible rather than excluded, the same "unknown, not wrong" leniency checkDrift
487
487
  * applies to a single decision - the migration backfills every pre-existing row, so NULL
488
488
  * should not occur in a real graph, and this is what keeps a hand-built test fixture that
489
- * predates ALI-787 (a bare 2-arg setEmbedding) behaving as it always did. Omitted (the
489
+ * predates embedding-model tagging (a bare 2-arg setEmbedding) behaving as it always did. Omitted (the
490
490
  * default) applies no filter at all, which is what most existing callers and tests rely
491
491
  * on - only local-gateway-client.ts's findSimilar passes it, with the currently active
492
492
  * EMBEDDING_MODEL_ID.
493
493
  */
494
494
  /**
495
- * ALI-1087: `createdBefore` excludes any decision whose OWN `created_at` is at or after
495
+ * `createdBefore` excludes any decision whose OWN `created_at` is at or after
496
496
  * the cutoff, so an as-of query never ranks a candidate that did not exist yet at that
497
497
  * moment. Joins `decisions` whenever either it or `repo` is set - both need the same
498
498
  * table, and joining twice would be a second writer of the same predicate.
@@ -557,7 +557,7 @@ export function createLocalDb(dbPath) {
557
557
  return Number(db.prepare(`DELETE FROM decision_links WHERE id = ? AND relation = 'supersedes'`).run(`mark:${judgementId}`).changes);
558
558
  },
559
559
  /**
560
- * ALI-1065: a pair gets ONE edge, never two. `insertLinkRow`'s unique index is on
560
+ * A pair gets ONE edge, never two. `insertLinkRow`'s unique index is on
561
561
  * (source_id, target_id, relation), so writing `supersedes` for a pair that already
562
562
  * carries a `relates` row for the SAME pair does not collide - it appends a second
563
563
  * row, and a reader would see both. This deletes any existing edge between the pair
@@ -587,11 +587,11 @@ export function createLocalDb(dbPath) {
587
587
  }
588
588
  },
589
589
  /**
590
- * ALI-792: what this decision's text points at (ticket keys, #N, tool URLs).
590
+ * What this decision's text points at (ticket keys, #N, tool URLs).
591
591
  * REPLACE semantics, deliberately: insertDecision refreshes the summary on
592
592
  * re-import (a rewritten commit message should be current), so the refs derived
593
593
  * from that text must follow it - appending would keep refs the text no longer
594
- * carries, and the gap prompt (ALI-796) would name gaps that no longer exist.
594
+ * carries, and the gap prompt would name gaps that no longer exist.
595
595
  */
596
596
  replaceRefs(decisionId, refs) {
597
597
  // One transaction, for the same reason migrate() uses one: the advisory hook
@@ -616,7 +616,7 @@ export function createLocalDb(dbPath) {
616
616
  return db.prepare(`SELECT ref, platform FROM decision_refs WHERE decision_id = ? ORDER BY rowid`).all(decisionId);
617
617
  },
618
618
  /**
619
- * Every ref across every decision, for the gap resolver (ALI-796): it needs to
619
+ * Every ref across every decision, for the gap resolver: it needs to
620
620
  * count DISTINCT decisions per platform graph-wide, which a per-decision
621
621
  * `getRefs` cannot do without one round trip per decision.
622
622
  */
@@ -624,8 +624,8 @@ export function createLocalDb(dbPath) {
624
624
  return db.prepare(`SELECT decision_id as decisionId, ref, platform FROM decision_refs ORDER BY rowid`).all();
625
625
  },
626
626
  /**
627
- * ALI-796's payoff: a newly-ingested decision may be the exact thing an EARLIER
628
- * decision's text already cited (a git commit citing "ALI-123", now that the Jira
627
+ * The payoff: a newly-ingested decision may be the exact thing an EARLIER
628
+ * decision's text already cited (a git commit citing "APP-123", now that the Jira
629
629
  * issue for it has been imported). `candidates` is that new decision's own
630
630
  * identity (decision-refs.ts's `refIdentityFor`) - every shape another decision
631
631
  * could have recorded it as. For each one that some existing ref already names,
@@ -639,7 +639,7 @@ export function createLocalDb(dbPath) {
639
639
  * repo it is later linked from is the case this does not cover.
640
640
  *
641
641
  * `relation: 'relates'` at confidence 1.0 - not a guess like the cosine-similarity
642
- * `relates` edges elsewhere (ALI-503): this one is a deterministic exact-key match,
642
+ * `relates` edges elsewhere: this one is a deterministic exact-key match,
643
643
  * and 1.0 says so. `insertLinkRow`'s unique index on (source, target, relation)
644
644
  * makes re-resolving the same pair on a later import a no-op rather than a
645
645
  * duplicate edge.
@@ -656,7 +656,7 @@ export function createLocalDb(dbPath) {
656
656
  }
657
657
  },
658
658
  /**
659
- * ALI-1087: `createdBefore` bounds the edge itself to what existed as of that instant.
659
+ * `createdBefore` bounds the edge itself to what existed as of that instant.
660
660
  * `julianday(...)`, not a raw string compare - `created_at` is written only by SQLite's
661
661
  * `datetime('now')` default, in the same space-separated, offset-less format that makes
662
662
  * a plain TEXT comparison against an ISO cutoff wrong on the cutoff's own calendar day
@@ -687,7 +687,7 @@ export function createLocalDb(dbPath) {
687
687
  getStats() {
688
688
  const decisions = db.prepare(`SELECT COUNT(*) as n FROM decisions`).get().n;
689
689
  const embeddings = db.prepare(`SELECT COUNT(*) as n FROM decision_embeddings`).get().n;
690
- // ALI-503 removed a `conflicts` count here: it had no production reader (only a test)
690
+ // A `conflicts` count was removed here: it had no production reader (only a test)
691
691
  // and after the relabelling it could only ever report 0, which is a decoy.
692
692
  return { decisions, embeddings };
693
693
  },
@@ -699,7 +699,7 @@ export function createLocalDb(dbPath) {
699
699
  db.exec(`DELETE FROM decision_refs; DELETE FROM decision_links; DELETE FROM decision_embeddings; DELETE FROM decisions;`);
700
700
  },
701
701
  /**
702
- * ALI-1749: run `fn` with `synchronous = NORMAL`. In WAL mode the default (FULL) syncs the log on
702
+ * Run `fn` with `synchronous = NORMAL`. In WAL mode the default (FULL) syncs the log on
703
703
  * every commit, and an import commits about six statements per item: a CPU profile of a
704
704
  * 1,000-commit git import put 28 of its 39 seconds in those commits, not in the embedding model.
705
705
  * NORMAL syncs at checkpoints instead. The file cannot corrupt either way; what NORMAL risks is
@@ -738,7 +738,7 @@ export function createLocalDb(dbPath) {
738
738
  countEmbeddings() {
739
739
  return db.prepare('SELECT COUNT(*) AS n FROM decision_embeddings').get().n;
740
740
  },
741
- /** ALI-1749: the persisted lexical index of this graph's git decisions (lexical-store.ts), built on first use. */
741
+ /** The persisted lexical index of this graph's git decisions (lexical-store.ts), built on first use. */
742
742
  lexicalStore() {
743
743
  return (lexical ??= createLexicalStore(db));
744
744
  },
@@ -1 +1 @@
1
- {"version":3,"file":"local-db.js","sourceRoot":"","sources":["../../src/lib/local-db.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,M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WAAW;YACT,OAAO,CAAC,eAAe,KAAK,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC,GAAG,EAAG,CAAC,cAAc,CAAW,CAAC;QAClG,CAAC;QAED;sFAC8E;QAC9E,eAAe;YACb,OAAQ,EAAE,CAAC,OAAO,CAAC,+CAA+C,CAAC,CAAC,GAAG,EAAoB,CAAC,CAAC,CAAC;QAChG,CAAC;QAED,wGAAwG;QACxG,YAAY;YACV,OAAO,CAAC,OAAO,KAAK,kBAAkB,CAAC,EAAE,CAAC,CAAC,CAAC;QAC9C,CAAC;QAED,KAAK;YACH,EAAE,CAAC,KAAK,EAAE,CAAC;QACb,CAAC;KACF,CAAC;IACF,OAAO,GAAG,CAAC;AACb,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The npm distribution's embedding backend (ALI-1781): the same model, the same weights and the
2
+ * The npm distribution's embedding backend: the same model, the same weights and the
3
3
  * same arithmetic transformers.js ran, without transformers.js.
4
4
  *
5
5
  * transformers.js was only ever glue here - tokenize, run one ONNX graph, mean-pool, normalise -
@@ -7,7 +7,7 @@
7
7
  * from this constant by the one production caller (local-gateway-client.ts), so a future
8
8
  * model change is one line here plus a migration, not a hunt across three files.
9
9
  *
10
- * ALI-787 evaluated bge-small-en-v1.5 as a replacement and did NOT adopt it - see
10
+ * An evaluation of bge-small-en-v1.5 as a replacement did NOT adopt it - see
11
11
  * docs/embedding-model-evaluation.md for the measured numbers and why.
12
12
  */
13
13
  export declare const EMBEDDING_MODEL_ID = "Xenova/all-MiniLM-L6-v2";
@@ -20,7 +20,7 @@ type EmbeddingPipeline = (text: string, options: Record<string, unknown>) => Pro
20
20
  *
21
21
  * The standalone binary cannot use the default loader below: `@huggingface/transformers`
22
22
  * resolves `onnxruntime-node`, and a compiled binary does not resolve bare specifiers for
23
- * files outside itself - measured, and true whatever the on-disk layout (ALI-744). So the
23
+ * files outside itself - measured, and true whatever the on-disk layout. So the
24
24
  * binary registers a WASM backend instead, from `src/index.bun.ts`.
25
25
  *
26
26
  * Injected rather than branched on `alignDistribution()` here, because the WASM module has
@@ -9,7 +9,7 @@ import { embeddingLengthMismatch } from './similarity/embedding-matrix.js';
9
9
  * from this constant by the one production caller (local-gateway-client.ts), so a future
10
10
  * model change is one line here plus a migration, not a hunt across three files.
11
11
  *
12
- * ALI-787 evaluated bge-small-en-v1.5 as a replacement and did NOT adopt it - see
12
+ * An evaluation of bge-small-en-v1.5 as a replacement did NOT adopt it - see
13
13
  * docs/embedding-model-evaluation.md for the measured numbers and why.
14
14
  */
15
15
  export const EMBEDDING_MODEL_ID = 'Xenova/all-MiniLM-L6-v2';
@@ -68,7 +68,7 @@ async function setupPipeline() {
68
68
  const { EmbeddingAssetsMissing } = await import('./embedding-runtime.js');
69
69
  try {
70
70
  const { createNativeEmbeddingPipeline } = await import('./local-embeddings-native.js');
71
- // ALI-1781: the npm package no longer depends on @huggingface/transformers. The native
71
+ // The npm package no longer depends on @huggingface/transformers. The native
72
72
  // runtime for this os/arch and the model files are fetched once, digest-checked, into the
73
73
  // user cache dir (embedding-runtime.ts), then everything runs offline.
74
74
  built = await createNativeEmbeddingPipeline();