akm-cli 0.9.0-rc.8 → 0.9.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 (450) hide show
  1. package/CHANGELOG.md +1063 -44
  2. package/README.md +51 -25
  3. package/SECURITY.md +14 -1
  4. package/STABILITY.md +497 -0
  5. package/dist/akm +148 -35
  6. package/dist/{akm-migrate-storage → akm-migrate} +6 -9
  7. package/dist/assets/hints/cli-hints-full.md +223 -95
  8. package/dist/assets/hints/cli-hints-short.md +85 -22
  9. package/dist/assets/improve-strategies/default.json +1 -1
  10. package/dist/assets/improve-strategies/reflect-distill.json +1 -1
  11. package/dist/assets/prompts/memory-infer-user.md +2 -3
  12. package/dist/assets/stash-skeleton/README.md +6 -5
  13. package/dist/assets/stash-skeleton/facts/conventions/assets/agent.md +2 -0
  14. package/dist/assets/stash-skeleton/facts/conventions/assets/command.md +2 -0
  15. package/dist/assets/stash-skeleton/facts/conventions/assets/fact.md +2 -0
  16. package/dist/assets/stash-skeleton/facts/conventions/assets/knowledge.md +2 -0
  17. package/dist/assets/stash-skeleton/facts/conventions/assets/lesson.md +2 -0
  18. package/dist/assets/stash-skeleton/facts/conventions/assets/memory.md +2 -0
  19. package/dist/assets/stash-skeleton/facts/conventions/assets/script.md +2 -0
  20. package/dist/assets/stash-skeleton/facts/conventions/assets/skill.md +2 -0
  21. package/dist/assets/stash-skeleton/facts/conventions/assets/workflow.md +2 -0
  22. package/dist/assets/stash-skeleton/facts/conventions/backlinks.md +2 -0
  23. package/dist/assets/stash-skeleton/facts/conventions/domains.md +2 -0
  24. package/dist/assets/stash-skeleton/facts/conventions/organization.md +20 -9
  25. package/dist/assets/tasks/core/extract.yml +1 -1
  26. package/dist/assets/tasks/core/version-check.yml +1 -1
  27. package/dist/assets/tasks/improve/akm-graph-refresh-weekly.yml +5 -0
  28. package/dist/assets/tasks/improve/akm-improve-catchup.yml +8 -0
  29. package/dist/assets/tasks/improve/akm-improve-consolidate.yml +5 -0
  30. package/dist/assets/tasks/improve/akm-improve-frequent.yml +5 -0
  31. package/dist/assets/tasks/improve/akm-improve-nightly.yml +5 -0
  32. package/dist/assets/templates/html/health.html +1 -3
  33. package/dist/assets/workflows/workflow-template.md +32 -15
  34. package/dist/cli/invocation.js +40 -15
  35. package/dist/cli/parse-args.js +0 -22
  36. package/dist/cli/retired-commands.js +121 -0
  37. package/dist/cli/shared.js +154 -22
  38. package/dist/cli/unknown-flags.js +236 -0
  39. package/dist/cli-node.mjs +2 -1
  40. package/dist/cli.js +696 -258
  41. package/dist/commands/agent/agent-dispatch.js +14 -3
  42. package/dist/commands/agent/contribute-cli.js +73 -88
  43. package/dist/commands/completions.js +79 -22
  44. package/dist/commands/config-cli.js +17 -150
  45. package/dist/commands/env/env-cli.js +59 -143
  46. package/dist/commands/env/env.js +12 -163
  47. package/dist/commands/env/marker-path.js +6 -0
  48. package/dist/commands/env/secret-cli.js +36 -66
  49. package/dist/commands/env/secret.js +24 -57
  50. package/dist/commands/feedback-cli.js +141 -87
  51. package/dist/commands/health/accept-rate.js +58 -0
  52. package/dist/commands/health/advisories.js +3 -4
  53. package/dist/commands/health/checks.js +85 -23
  54. package/dist/commands/health/html-report.js +7 -10
  55. package/dist/commands/health/improve-metrics.js +25 -83
  56. package/dist/commands/health/md-report.js +5 -9
  57. package/dist/commands/health/metrics.js +62 -20
  58. package/dist/commands/health/renderers.js +47 -0
  59. package/dist/commands/health/report-view-model.js +4 -5
  60. package/dist/commands/health/stash-exposure.js +1 -1
  61. package/dist/commands/health/surfaces.js +3 -48
  62. package/dist/commands/health/task-runs.js +3 -67
  63. package/dist/commands/health/types-improve.js +7 -0
  64. package/dist/commands/health.js +99 -28
  65. package/dist/commands/improve/anti-collapse.js +2 -2
  66. package/dist/commands/improve/autonomy-gate.js +68 -0
  67. package/dist/commands/improve/collapse-detector.js +41 -40
  68. package/dist/commands/improve/consolidate/eligibility.js +1 -23
  69. package/dist/commands/improve/consolidate/merge.js +4 -0
  70. package/dist/commands/improve/consolidate.js +140 -1000
  71. package/dist/commands/improve/distill/promote-memory.js +12 -12
  72. package/dist/commands/improve/distill/quality-gate.js +6 -6
  73. package/dist/commands/improve/distill.js +58 -69
  74. package/dist/commands/improve/eligibility.js +105 -57
  75. package/dist/commands/improve/extract-cli.js +14 -133
  76. package/dist/commands/improve/improve-cli.js +98 -114
  77. package/dist/commands/improve/improve-result-file.js +1 -28
  78. package/dist/commands/improve/improve-strategies.js +8 -5
  79. package/dist/commands/improve/improve.js +128 -91
  80. package/dist/commands/improve/loop-stages.js +182 -20
  81. package/dist/commands/improve/memory/derived-ref.js +45 -43
  82. package/dist/commands/improve/memory/memory-belief.js +1 -1
  83. package/dist/commands/improve/memory/memory-contradiction-detect.js +4 -12
  84. package/dist/commands/improve/memory/memory-improve.js +6 -5
  85. package/dist/commands/improve/outcome-loop.js +22 -65
  86. package/dist/commands/improve/preparation.js +114 -123
  87. package/dist/commands/improve/proactive-maintenance.js +2 -5
  88. package/dist/commands/improve/reflect.js +56 -160
  89. package/dist/commands/improve/salience.js +11 -122
  90. package/dist/commands/improve/source-identity.js +10 -38
  91. package/dist/commands/lint/base-linter.js +20 -124
  92. package/dist/commands/lint/env-key-rules.js +31 -47
  93. package/dist/commands/lint/index.js +249 -43
  94. package/dist/commands/{events.js → log.js} +33 -38
  95. package/dist/commands/migrate-cli.js +92 -12
  96. package/dist/commands/migration-tool.js +46 -0
  97. package/dist/commands/observability-cli.js +70 -209
  98. package/dist/commands/proposal/drain.js +101 -29
  99. package/dist/commands/proposal/proposal-cli.js +76 -48
  100. package/dist/commands/proposal/proposal.js +54 -18
  101. package/dist/commands/proposal/propose-cli.js +88 -0
  102. package/dist/commands/proposal/propose.js +23 -15
  103. package/dist/commands/proposal/repository.js +701 -278
  104. package/dist/commands/proposal/validators/proposal-quality-validators.js +2 -8
  105. package/dist/commands/proposal/validators/proposal-validators.js +55 -7
  106. package/dist/commands/proposal/validators/proposals.js +4 -7
  107. package/dist/commands/read/curate.js +34 -53
  108. package/dist/commands/read/knowledge.js +150 -95
  109. package/dist/commands/read/registry-search.js +2 -2
  110. package/dist/commands/read/remember-cli.js +42 -15
  111. package/dist/commands/read/search-cli.js +180 -78
  112. package/dist/commands/read/search.js +58 -43
  113. package/dist/commands/read/show.js +197 -141
  114. package/dist/commands/registry-cli.js +12 -51
  115. package/dist/commands/remember.js +14 -57
  116. package/dist/commands/sources/add-cli.js +100 -31
  117. package/dist/commands/sources/bundle-cli.js +166 -0
  118. package/dist/commands/sources/bundle-config-ops.js +7 -2
  119. package/dist/commands/sources/info.js +18 -5
  120. package/dist/commands/sources/init.js +12 -12
  121. package/dist/commands/sources/installed-stashes.js +382 -98
  122. package/dist/commands/sources/schema-repair.js +3 -2
  123. package/dist/commands/sources/self-update.js +131 -38
  124. package/dist/commands/sources/source-add.js +72 -17
  125. package/dist/commands/sources/source-clone.js +129 -45
  126. package/dist/commands/sources/source-manage.js +43 -23
  127. package/dist/commands/sources/sources-cli.js +57 -208
  128. package/dist/commands/sources/stash-cli.js +46 -53
  129. package/dist/commands/tasks/tasks-cli.js +91 -97
  130. package/dist/commands/tasks/tasks.js +276 -421
  131. package/dist/commands/workflow-cli.js +175 -450
  132. package/dist/core/adapter/adapters/akm-adapter.js +47 -28
  133. package/dist/core/adapter/adapters/akm-lint.js +42 -27
  134. package/dist/core/adapter/adapters/akm-metadata.js +15 -44
  135. package/dist/core/adapter/adapters/akm-task-adapter.js +15 -13
  136. package/dist/core/adapter/adapters/akm-workflow-adapter.js +55 -71
  137. package/dist/core/adapter/adapters/dotenv-adapter.js +1 -1
  138. package/dist/core/adapter/adapters/generic-files-adapter.js +2 -0
  139. package/dist/core/adapter/adapters/index.js +6 -6
  140. package/dist/core/adapter/adapters/llm-wiki-adapter.js +14 -8
  141. package/dist/core/adapter/adapters/okf-adapter.js +187 -19
  142. package/dist/core/adapter/adapters/shared.js +3 -19
  143. package/dist/core/adapter/adapters/tool-dir-shared.js +8 -3
  144. package/dist/core/adapter/adapters/website-snapshot-adapter.js +1 -0
  145. package/dist/core/adapter/detect-adapter.js +17 -0
  146. package/dist/core/adapter/recognize-match.js +6 -4
  147. package/dist/core/adapter/validate-context.js +214 -0
  148. package/dist/core/asset/akm-markdown.js +63 -0
  149. package/dist/core/asset/asset-placement.js +20 -6
  150. package/dist/core/asset/asset-ref.js +11 -9
  151. package/dist/core/asset/frontmatter-lint.js +30 -0
  152. package/dist/core/asset/frontmatter.js +37 -9
  153. package/dist/core/asset/markdown.js +40 -51
  154. package/dist/core/asset/resolve-ref.js +89 -18
  155. package/dist/core/asset/stash-meta.js +1 -1
  156. package/dist/core/bundle-id.js +51 -0
  157. package/dist/core/common.js +152 -38
  158. package/dist/core/config/config-io.js +12 -1
  159. package/dist/core/config/config-schema.js +35 -8
  160. package/dist/core/config/config-sources.js +55 -11
  161. package/dist/core/config/config-walker.js +25 -9
  162. package/dist/core/config/config.js +9 -48
  163. package/dist/core/config/experimental.js +21 -0
  164. package/dist/core/config/schema/embedding.js +5 -1
  165. package/dist/core/config/schema/experimental.js +30 -0
  166. package/dist/core/config/schema/improve-processes.js +0 -6
  167. package/dist/core/config/schema/improve.js +21 -3
  168. package/dist/core/config/schema/index-config.js +8 -15
  169. package/dist/core/config/schema/output.js +4 -1
  170. package/dist/core/config/schema/setup.js +9 -18
  171. package/dist/core/config/schema/sources-bundles.js +49 -33
  172. package/dist/core/config/schema/workflow.js +3 -3
  173. package/dist/core/env-secret-ref.js +76 -46
  174. package/dist/core/errors.js +18 -12
  175. package/dist/core/events.js +46 -128
  176. package/dist/core/file-change.js +6 -5
  177. package/dist/core/fs-txn.js +83 -7
  178. package/dist/core/git-message.js +2 -2
  179. package/dist/core/improve-result.js +1 -100
  180. package/dist/core/lesson-lint.js +1 -17
  181. package/dist/core/logs-db.js +2 -1
  182. package/dist/core/migration-operation.js +16 -0
  183. package/dist/core/mutation-target.js +78 -0
  184. package/dist/core/parse.js +4 -1
  185. package/dist/core/paths.js +17 -20
  186. package/dist/core/recognition-util.js +12 -14
  187. package/dist/core/redaction.js +34 -0
  188. package/dist/core/standards/resolve-standards-context.js +2 -14
  189. package/dist/core/standards/resolve-stash-standards.js +2 -2
  190. package/dist/core/standards/resolve-type-conventions.js +2 -2
  191. package/dist/core/state/migrations.js +41 -18
  192. package/dist/core/state-db.js +5 -14
  193. package/dist/core/structured.js +1 -1
  194. package/dist/core/subprocess.js +6 -4
  195. package/dist/core/text-truncation.js +9 -5
  196. package/dist/core/type-presentation.js +3 -3
  197. package/dist/core/warn.js +0 -3
  198. package/dist/core/write-source.js +771 -95
  199. package/dist/indexer/bundle-identity-guard.js +3 -2
  200. package/dist/indexer/db/graph-db.js +0 -24
  201. package/dist/indexer/ensure-index.js +1 -0
  202. package/dist/indexer/graph/graph-boost.js +9 -34
  203. package/dist/indexer/graph/graph-extraction.js +8 -5
  204. package/dist/indexer/index-writer-lock.js +53 -17
  205. package/dist/indexer/index-written-assets.js +16 -22
  206. package/dist/indexer/indexer.js +497 -239
  207. package/dist/indexer/installations.js +14 -96
  208. package/dist/indexer/passes/dir-staleness.js +16 -9
  209. package/dist/indexer/passes/memory-inference.js +11 -9
  210. package/dist/indexer/passes/metadata.js +113 -47
  211. package/dist/indexer/scan/doc-to-entry.js +38 -1
  212. package/dist/indexer/scan/drain-dir.js +13 -23
  213. package/dist/indexer/search/db-search.js +99 -54
  214. package/dist/indexer/search/fts-query.js +47 -24
  215. package/dist/indexer/search/ranking-contributors.js +42 -20
  216. package/dist/indexer/search/ranking.js +18 -99
  217. package/dist/indexer/search/search-fields.js +7 -2
  218. package/dist/indexer/search/search-source.js +82 -93
  219. package/dist/indexer/usage/usage-events.js +0 -89
  220. package/dist/indexer/walk/file-context.js +2 -1
  221. package/dist/indexer/walk/matchers.js +30 -43
  222. package/dist/indexer/walk/path-resolver.js +7 -2
  223. package/dist/indexer/walk/walker.js +38 -12
  224. package/dist/integrations/agent/builders.js +0 -6
  225. package/dist/integrations/agent/config.js +2 -2
  226. package/dist/integrations/agent/detect.js +49 -19
  227. package/dist/integrations/agent/engine-fallback.js +76 -0
  228. package/dist/integrations/agent/profiles.js +14 -0
  229. package/dist/integrations/agent/prompts.js +12 -8
  230. package/dist/integrations/agent/runner-dispatch.js +4 -2
  231. package/dist/integrations/agent/runner.js +0 -1
  232. package/dist/integrations/agent/spawn.js +5 -6
  233. package/dist/integrations/github.js +1 -1
  234. package/dist/integrations/harnesses/aider/agent-builder.js +6 -4
  235. package/dist/integrations/harnesses/amazonq/agent-builder.js +7 -4
  236. package/dist/integrations/harnesses/claude/session-log.js +0 -10
  237. package/dist/integrations/harnesses/codex/agent-builder.js +5 -2
  238. package/dist/integrations/harnesses/copilot/agent-builder.js +5 -3
  239. package/dist/integrations/harnesses/gemini/agent-builder.js +5 -3
  240. package/dist/integrations/harnesses/index.js +3 -7
  241. package/dist/integrations/harnesses/opencode/agent-builder.js +21 -2
  242. package/dist/integrations/harnesses/opencode/session-log.js +0 -15
  243. package/dist/integrations/harnesses/opencode-sdk/sdk-runner.js +13 -4
  244. package/dist/integrations/harnesses/openhands/agent-builder.js +9 -6
  245. package/dist/integrations/harnesses/pi/agent-builder.js +6 -4
  246. package/dist/integrations/lockfile.js +101 -6
  247. package/dist/integrations/session-logs/index.js +3 -28
  248. package/dist/llm/client.js +136 -100
  249. package/dist/llm/embedders/remote.js +13 -5
  250. package/dist/llm/feature-gate.js +4 -12
  251. package/dist/llm/graph-extract.js +5 -11
  252. package/dist/llm/memory-infer.js +144 -1
  253. package/dist/llm/metadata-enhance.js +5 -7
  254. package/dist/llm/structured-call.js +1 -1
  255. package/dist/llm/usage-persist.js +26 -5
  256. package/dist/llm/usage-telemetry.js +25 -2
  257. package/dist/output/cli-hints.js +1 -2
  258. package/dist/output/context.js +22 -7
  259. package/dist/output/format-exempt.js +80 -0
  260. package/dist/output/generic-render.js +259 -0
  261. package/dist/output/render-registry.js +57 -0
  262. package/dist/output/renderers.js +14 -36
  263. package/dist/output/shapes/curate.js +10 -1
  264. package/dist/output/shapes/events.js +12 -7
  265. package/dist/output/shapes/helpers.js +56 -83
  266. package/dist/output/shapes/migrate.js +8 -0
  267. package/dist/output/shapes/passthrough.js +7 -41
  268. package/dist/output/shapes/proposal/producer.js +15 -7
  269. package/dist/output/shapes.js +2 -9
  270. package/dist/output/text/{init.js → bundle-create.js} +3 -1
  271. package/dist/output/text/bundle-show.js +7 -0
  272. package/dist/output/text/command-format.js +164 -96
  273. package/dist/output/text/env.js +1 -3
  274. package/dist/output/text/events.js +8 -7
  275. package/dist/output/text/health-format.js +103 -0
  276. package/dist/output/text/health.js +7 -0
  277. package/dist/output/text/helpers.js +10 -8
  278. package/dist/output/text/lint-format.js +43 -0
  279. package/dist/output/text/{save.js → lint.js} +2 -2
  280. package/dist/output/text/migrate.js +88 -0
  281. package/dist/output/text/proposal/producer.js +4 -2
  282. package/dist/output/text/proposal-format.js +44 -72
  283. package/dist/output/text/registry-commands.js +1 -2
  284. package/dist/output/text/show-directives.js +15 -7
  285. package/dist/output/text/status-list.js +32 -0
  286. package/dist/output/text/sync.js +5 -0
  287. package/dist/output/text/workflow-format.js +24 -203
  288. package/dist/output/text/workflow.js +1 -7
  289. package/dist/output/text.js +16 -17
  290. package/dist/registry/factory.js +4 -6
  291. package/dist/registry/origin-resolve.js +16 -27
  292. package/dist/registry/providers/skills-sh.js +3 -3
  293. package/dist/registry/providers/static-index.js +13 -23
  294. package/dist/registry/resolve.js +42 -7
  295. package/dist/registry/semver.js +34 -84
  296. package/dist/runtime.js +2 -23
  297. package/dist/scripts/akm-migrate-node.js +60290 -0
  298. package/dist/scripts/akm-migrate.js +59628 -0
  299. package/dist/setup/detect.js +42 -15
  300. package/dist/setup/registry-stash-loader.js +2 -2
  301. package/dist/setup/setup.js +236 -136
  302. package/dist/setup/steps/connection.js +7 -9
  303. package/dist/setup/steps/platforms.js +9 -9
  304. package/dist/setup/steps/semantic.js +15 -3
  305. package/dist/setup/steps/sources.js +12 -13
  306. package/dist/setup/steps/stashdir.js +2 -3
  307. package/dist/setup/steps/tasks.js +237 -120
  308. package/dist/sources/freshness.js +1 -1
  309. package/dist/sources/provider-factory.js +11 -17
  310. package/dist/sources/providers/filesystem.js +2 -3
  311. package/dist/sources/providers/git-install.js +278 -34
  312. package/dist/sources/providers/git-provider.js +25 -23
  313. package/dist/sources/providers/git-stash.js +395 -106
  314. package/dist/sources/providers/git.js +2 -2
  315. package/dist/sources/providers/npm.js +16 -19
  316. package/dist/sources/providers/provider-utils.js +7 -4
  317. package/dist/sources/providers/sync-from-ref.js +3 -9
  318. package/dist/sources/providers/website.js +6 -1
  319. package/dist/sources/resolve.js +6 -5
  320. package/dist/sources/snapshot-fetchers/bluesky.js +146 -0
  321. package/dist/sources/snapshot-fetchers/content-extract.js +566 -0
  322. package/dist/sources/snapshot-fetchers/fetcher-util.js +41 -0
  323. package/dist/sources/snapshot-fetchers/github.js +100 -0
  324. package/dist/sources/snapshot-fetchers/host-guard.js +291 -0
  325. package/dist/sources/snapshot-fetchers/registry.js +17 -1
  326. package/dist/sources/snapshot-fetchers/robots.js +348 -0
  327. package/dist/sources/snapshot-fetchers/rss.js +282 -0
  328. package/dist/sources/snapshot-fetchers/secret-seam.js +42 -0
  329. package/dist/sources/snapshot-fetchers/website-ingest.js +566 -268
  330. package/dist/sources/snapshot-fetchers/x.js +910 -0
  331. package/dist/storage/database.js +7 -0
  332. package/dist/storage/engines/sqlite-migrations.js +23 -111
  333. package/dist/storage/managed-db.js +2 -2
  334. package/dist/storage/repositories/canaries-repository.js +1 -1
  335. package/dist/storage/repositories/events-repository.js +27 -11
  336. package/dist/storage/repositories/improve-runs-repository.js +6 -12
  337. package/dist/storage/repositories/index-connection.js +17 -6
  338. package/dist/storage/repositories/index-entries-repository.js +151 -240
  339. package/dist/storage/repositories/index-entry-mapper.js +15 -11
  340. package/dist/storage/repositories/index-fts-repository.js +5 -2
  341. package/dist/storage/repositories/index-llm-cache-repository.js +0 -1
  342. package/dist/storage/repositories/index-meta-repository.js +2 -3
  343. package/dist/storage/repositories/index-schema.js +10 -25
  344. package/dist/storage/repositories/index-utility-repository.js +15 -28
  345. package/dist/storage/repositories/index-vec-repository.js +6 -1
  346. package/dist/storage/repositories/outcome-repository.js +119 -0
  347. package/dist/storage/repositories/proposals-repository.js +296 -59
  348. package/dist/storage/repositories/registry-cache.js +19 -0
  349. package/dist/storage/repositories/salience-repository.js +172 -0
  350. package/dist/storage/repositories/task-history-repository.js +15 -13
  351. package/dist/storage/repositories/workflow-runs-repository.js +52 -40
  352. package/dist/tasks/backends/cron.js +105 -15
  353. package/dist/tasks/backends/index.js +1 -1
  354. package/dist/tasks/backends/launchd.js +85 -38
  355. package/dist/tasks/backends/schtasks.js +135 -15
  356. package/dist/tasks/embedded.js +56 -40
  357. package/dist/tasks/parser.js +7 -157
  358. package/dist/tasks/resolve-akm-bin.js +137 -59
  359. package/dist/tasks/runner.js +79 -42
  360. package/dist/tasks/scheduler-invocation.js +220 -10
  361. package/dist/tasks/schema.js +24 -1
  362. package/dist/tasks/task-id.js +1 -3
  363. package/dist/tasks/validator.js +20 -6
  364. package/dist/workflows/authoring/authoring.js +94 -143
  365. package/dist/workflows/authoring/scope-key.js +1 -1
  366. package/dist/workflows/exec/frozen-judge.js +28 -2
  367. package/dist/workflows/exec/native-executor.js +77 -57
  368. package/dist/workflows/exec/param-secrets.js +9 -9
  369. package/dist/workflows/exec/run-workflow.js +133 -79
  370. package/dist/workflows/exec/step-work.js +219 -346
  371. package/dist/{migrate-storage-node.mjs → workflows/exec/unit-dispatch.js} +1 -5
  372. package/dist/workflows/ir/compile.js +141 -270
  373. package/dist/workflows/ir/freeze.js +40 -30
  374. package/dist/workflows/ir/params.js +135 -11
  375. package/dist/workflows/ir/plan-hash.js +1 -1
  376. package/dist/workflows/ir/schema.js +25 -26
  377. package/dist/workflows/parser.js +872 -307
  378. package/dist/workflows/program/expressions.js +20 -208
  379. package/dist/workflows/program/schema.js +7 -10
  380. package/dist/workflows/renderer.js +95 -68
  381. package/dist/workflows/resource-limits.js +2 -0
  382. package/dist/workflows/runtime/checkin.js +3 -3
  383. package/dist/workflows/runtime/plan-classifier.js +16 -75
  384. package/dist/workflows/runtime/runs.js +186 -127
  385. package/dist/workflows/runtime/unit-checkin.js +1 -1
  386. package/dist/workflows/runtime/unit-phases.js +2 -2
  387. package/dist/workflows/runtime/workflow-asset-loader.js +232 -83
  388. package/dist/workflows/schema.js +1 -11
  389. package/dist/workflows/validate-summary.js +30 -36
  390. package/dist/workflows/validator.js +21 -62
  391. package/docs/README.md +68 -0
  392. package/docs/migration/README.md +8 -0
  393. package/docs/migration/release-notes/0.7.0.md +11 -11
  394. package/docs/migration/release-notes/0.9.0.md +208 -27
  395. package/docs/migration/v0.7-to-v0.8.md +46 -47
  396. package/docs/migration/v0.8-to-v0.9.md +564 -208
  397. package/docs/migration/v0.9.0-troubleshooting.md +561 -0
  398. package/docs/reference/README.md +12 -0
  399. package/docs/reference/cli.md +2253 -0
  400. package/docs/reference/configuration.md +358 -0
  401. package/docs/reference/data-and-telemetry.md +105 -42
  402. package/docs/reference/workflows.md +647 -0
  403. package/package.json +22 -11
  404. package/schemas/akm-asset-envelope.json +93 -0
  405. package/schemas/akm-config.json +81 -128
  406. package/schemas/akm-workflow.json +74 -73
  407. package/dist/assets/tasks/core/backup.yml +0 -5
  408. package/dist/assets/tasks/graph-refresh-weekly.yml +0 -10
  409. package/dist/cli/config-migrate.js +0 -1806
  410. package/dist/cli/config-validate.js +0 -41
  411. package/dist/commands/backup-cli.js +0 -56
  412. package/dist/commands/bundle/bundle-cli.js +0 -68
  413. package/dist/commands/bundle/bundle.js +0 -219
  414. package/dist/commands/graph/graph-cli.js +0 -124
  415. package/dist/commands/graph/graph.js +0 -489
  416. package/dist/commands/improve/extract-watch.js +0 -140
  417. package/dist/commands/mv-cli.js +0 -1221
  418. package/dist/commands/sources/history.js +0 -201
  419. package/dist/commands/tasks/default-tasks.js +0 -186
  420. package/dist/core/migration-backup.js +0 -1234
  421. package/dist/indexer/usage/unmigrated-vaults-guard.js +0 -95
  422. package/dist/llm/memory-infer-impl.js +0 -138
  423. package/dist/migrate/legacy/config-source-migration.js +0 -223
  424. package/dist/migrate/legacy/content-migration.js +0 -305
  425. package/dist/migrate/legacy/legacy-layout.js +0 -779
  426. package/dist/migrate/legacy/legacy-paths.js +0 -25
  427. package/dist/migrate/legacy/legacy-stash-json.js +0 -72
  428. package/dist/migrate/legacy/proposal-fs-import.js +0 -168
  429. package/dist/migrate/legacy/task-target-ref-migration.js +0 -272
  430. package/dist/migrate/legacy/three-db-cutover.js +0 -841
  431. package/dist/migrate/legacy/workflow-migrations-bodies.js +0 -52
  432. package/dist/migrate/legacy/workflow-migrations-frozen.js +0 -21
  433. package/dist/migrate/legacy-ref-grammar.js +0 -214
  434. package/dist/output/shapes/distill.js +0 -14
  435. package/dist/output/shapes/history.js +0 -11
  436. package/dist/output/text/distill.js +0 -6
  437. package/dist/output/text/enable-disable.js +0 -8
  438. package/dist/output/text/history.js +0 -6
  439. package/dist/registry/build-index.js +0 -382
  440. package/dist/schemas/akm-config.json +0 -4704
  441. package/dist/schemas/akm-task.json +0 -87
  442. package/dist/schemas/akm-workflow.json +0 -372
  443. package/dist/scripts/migrate-storage.js +0 -3816
  444. package/dist/workflows/authoring/workflow-program-template.yaml +0 -31
  445. package/dist/workflows/cli.js +0 -53
  446. package/dist/workflows/exec/brief.js +0 -481
  447. package/dist/workflows/exec/report.js +0 -1460
  448. package/dist/workflows/exec/watch.js +0 -116
  449. package/dist/workflows/program/parser.js +0 -813
  450. package/dist/workflows/program/project.js +0 -104
@@ -1,4704 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://itlackey.github.io/akm/schemas/akm-config.0.9.0.json",
4
- "title": "AKM Configuration",
5
- "description": "Configuration file for the akm CLI (Agent Knowledge Management). Stored at ~/.config/akm/config.json (Linux/macOS) or %APPDATA%\\akm\\config.json (Windows). Supports JSONC (JavaScript-style comments). Auto-generated from src/core/config-schema.ts by scripts/gen-config-schema.ts — do NOT edit by hand.",
6
- "type": "object",
7
- "properties": {
8
- "configVersion": {
9
- "type": "string",
10
- "const": "0.9.0"
11
- },
12
- "engines": {
13
- "type": "object",
14
- "additionalProperties": {
15
- "anyOf": [
16
- {
17
- "type": "object",
18
- "properties": {
19
- "kind": {
20
- "type": "string",
21
- "const": "llm"
22
- },
23
- "provider": {
24
- "type": "string"
25
- },
26
- "endpoint": {
27
- "type": "string"
28
- },
29
- "model": {
30
- "type": "string",
31
- "minLength": 1
32
- },
33
- "apiKey": {
34
- "type": "string",
35
- "pattern": "^\\$[A-Za-z_][A-Za-z0-9_]*$|^\\$\\{[A-Za-z_][A-Za-z0-9_]*\\}$"
36
- },
37
- "temperature": {
38
- "type": "number"
39
- },
40
- "maxTokens": {
41
- "type": "integer",
42
- "exclusiveMinimum": 0
43
- },
44
- "timeoutMs": {
45
- "anyOf": [
46
- {
47
- "type": "integer",
48
- "exclusiveMinimum": 0
49
- },
50
- {
51
- "type": "null"
52
- }
53
- ]
54
- },
55
- "concurrency": {
56
- "type": "integer",
57
- "exclusiveMinimum": 0
58
- },
59
- "supportsJsonSchema": {
60
- "type": "boolean"
61
- },
62
- "extraParams": {
63
- "type": "object",
64
- "additionalProperties": {}
65
- },
66
- "contextLength": {
67
- "type": "integer",
68
- "exclusiveMinimum": 0
69
- },
70
- "enableThinking": {
71
- "type": "boolean"
72
- }
73
- },
74
- "required": [
75
- "kind",
76
- "endpoint",
77
- "model"
78
- ],
79
- "additionalProperties": true
80
- },
81
- {
82
- "type": "object",
83
- "properties": {
84
- "kind": {
85
- "type": "string",
86
- "const": "agent"
87
- },
88
- "platform": {
89
- "type": "string",
90
- "enum": [
91
- "opencode",
92
- "claude",
93
- "opencode-sdk",
94
- "codex",
95
- "copilot",
96
- "pi",
97
- "gemini",
98
- "aider",
99
- "amazonq",
100
- "openhands"
101
- ]
102
- },
103
- "bin": {
104
- "type": "string",
105
- "minLength": 1
106
- },
107
- "args": {
108
- "type": "array",
109
- "items": {
110
- "type": "string"
111
- }
112
- },
113
- "workspace": {
114
- "type": "string",
115
- "minLength": 1
116
- },
117
- "model": {
118
- "type": "string",
119
- "minLength": 1
120
- },
121
- "timeoutMs": {
122
- "anyOf": [
123
- {
124
- "type": "integer",
125
- "exclusiveMinimum": 0
126
- },
127
- {
128
- "type": "null"
129
- }
130
- ]
131
- },
132
- "modelAliases": {
133
- "type": "object",
134
- "additionalProperties": {
135
- "type": "string",
136
- "minLength": 1
137
- },
138
- "propertyNames": {
139
- "minLength": 1
140
- }
141
- },
142
- "llmEngine": {
143
- "type": "string",
144
- "maxLength": 63,
145
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
146
- }
147
- },
148
- "required": [
149
- "kind",
150
- "platform"
151
- ],
152
- "additionalProperties": true
153
- }
154
- ]
155
- },
156
- "propertyNames": {
157
- "maxLength": 63,
158
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
159
- }
160
- },
161
- "defaults": {
162
- "type": "object",
163
- "properties": {
164
- "engine": {
165
- "type": "string",
166
- "maxLength": 63,
167
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
168
- },
169
- "llmEngine": {
170
- "type": "string",
171
- "maxLength": 63,
172
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
173
- },
174
- "improveStrategy": {
175
- "type": "string",
176
- "maxLength": 63,
177
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
178
- }
179
- },
180
- "additionalProperties": true
181
- },
182
- "modelAliases": {
183
- "type": "object",
184
- "additionalProperties": {
185
- "type": "object",
186
- "additionalProperties": {
187
- "type": "string",
188
- "minLength": 1
189
- },
190
- "propertyNames": {
191
- "minLength": 1
192
- }
193
- },
194
- "propertyNames": {
195
- "minLength": 1
196
- }
197
- },
198
- "semanticSearchMode": {
199
- "type": "string",
200
- "enum": [
201
- "off",
202
- "auto"
203
- ],
204
- "default": "auto"
205
- },
206
- "embedding": {
207
- "type": "object",
208
- "properties": {
209
- "provider": {
210
- "type": "string"
211
- },
212
- "endpoint": {
213
- "type": "string"
214
- },
215
- "model": {
216
- "type": "string"
217
- },
218
- "apiKey": {
219
- "type": "string",
220
- "pattern": "^\\$[A-Za-z_][A-Za-z0-9_]*$|^\\$\\{[A-Za-z_][A-Za-z0-9_]*\\}$"
221
- },
222
- "dimension": {
223
- "type": "integer",
224
- "exclusiveMinimum": 0
225
- },
226
- "localModel": {
227
- "type": "string",
228
- "minLength": 1
229
- },
230
- "maxTokens": {
231
- "type": "integer",
232
- "exclusiveMinimum": 0
233
- },
234
- "batchSize": {
235
- "type": "integer",
236
- "exclusiveMinimum": 0
237
- },
238
- "chunkSize": {
239
- "type": "integer",
240
- "exclusiveMinimum": 0
241
- },
242
- "contextLength": {
243
- "type": "integer",
244
- "exclusiveMinimum": 0
245
- },
246
- "ollamaOptions": {
247
- "type": "object",
248
- "properties": {
249
- "num_ctx": {
250
- "type": "integer",
251
- "exclusiveMinimum": 0
252
- }
253
- },
254
- "additionalProperties": true
255
- }
256
- },
257
- "additionalProperties": true
258
- },
259
- "index": {
260
- "type": "object",
261
- "properties": {
262
- "defaults": {
263
- "type": "object",
264
- "properties": {
265
- "engine": {
266
- "type": "string",
267
- "maxLength": 63,
268
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
269
- },
270
- "model": {
271
- "type": "string",
272
- "minLength": 1
273
- },
274
- "timeoutMs": {
275
- "anyOf": [
276
- {
277
- "type": "integer",
278
- "exclusiveMinimum": 0
279
- },
280
- {
281
- "type": "null"
282
- }
283
- ]
284
- },
285
- "llm": {
286
- "type": "object",
287
- "properties": {
288
- "temperature": {
289
- "type": "number"
290
- },
291
- "maxTokens": {
292
- "type": "integer",
293
- "exclusiveMinimum": 0
294
- },
295
- "supportsJsonSchema": {
296
- "type": "boolean"
297
- },
298
- "extraParams": {
299
- "type": "object",
300
- "additionalProperties": {}
301
- },
302
- "contextLength": {
303
- "type": "integer",
304
- "exclusiveMinimum": 0
305
- },
306
- "enableThinking": {
307
- "type": "boolean"
308
- }
309
- },
310
- "additionalProperties": true
311
- }
312
- },
313
- "additionalProperties": true
314
- },
315
- "metadataEnhance": {
316
- "type": "object",
317
- "properties": {
318
- "enabled": {
319
- "type": "boolean"
320
- }
321
- },
322
- "additionalProperties": true
323
- },
324
- "stalenessDetection": {
325
- "type": "object",
326
- "properties": {
327
- "enabled": {
328
- "type": "boolean"
329
- },
330
- "thresholdDays": {
331
- "type": "integer",
332
- "exclusiveMinimum": 0
333
- }
334
- },
335
- "additionalProperties": true
336
- },
337
- "indexBodyOpening": {
338
- "type": "boolean",
339
- "description": "Index the first prose paragraph of each markdown asset body (capped at 280 chars) into the lowest-weight `content` search column and the embedding text (default false). Secret/env files and session-kind memories are never captured. Toggling the flag changes indexed text: run `akm index --full` afterwards to re-extract every entry and regenerate embeddings, and re-mint collapse-detector canary baselines via `akm improve canary --refresh`."
340
- }
341
- },
342
- "additionalProperties": {
343
- "type": "object",
344
- "properties": {
345
- "engine": {
346
- "type": "string",
347
- "maxLength": 63,
348
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
349
- },
350
- "model": {
351
- "type": "string",
352
- "minLength": 1
353
- },
354
- "timeoutMs": {
355
- "anyOf": [
356
- {
357
- "type": "integer",
358
- "exclusiveMinimum": 0
359
- },
360
- {
361
- "type": "null"
362
- }
363
- ]
364
- },
365
- "enabled": {
366
- "type": "boolean"
367
- },
368
- "llm": {
369
- "type": "object",
370
- "properties": {
371
- "temperature": {
372
- "type": "number"
373
- },
374
- "maxTokens": {
375
- "type": "integer",
376
- "exclusiveMinimum": 0
377
- },
378
- "supportsJsonSchema": {
379
- "type": "boolean"
380
- },
381
- "extraParams": {
382
- "type": "object",
383
- "additionalProperties": {}
384
- },
385
- "contextLength": {
386
- "type": "integer",
387
- "exclusiveMinimum": 0
388
- },
389
- "enableThinking": {
390
- "type": "boolean"
391
- }
392
- },
393
- "additionalProperties": true
394
- },
395
- "graphExtractionBatchSize": {
396
- "type": "integer",
397
- "exclusiveMinimum": 0
398
- },
399
- "graphExtractionIncludeTypes": {
400
- "type": "array",
401
- "items": {
402
- "type": "string",
403
- "minLength": 1
404
- },
405
- "minItems": 1
406
- },
407
- "lazyGraphExtraction": {
408
- "type": "boolean"
409
- }
410
- },
411
- "additionalProperties": true
412
- }
413
- },
414
- "registries": {
415
- "type": "array",
416
- "items": {
417
- "type": "object",
418
- "properties": {
419
- "url": {
420
- "type": "string"
421
- },
422
- "name": {
423
- "type": "string",
424
- "minLength": 1
425
- },
426
- "enabled": {
427
- "type": "boolean"
428
- },
429
- "provider": {
430
- "type": "string",
431
- "minLength": 1
432
- },
433
- "options": {
434
- "type": "object",
435
- "additionalProperties": {}
436
- }
437
- },
438
- "required": [
439
- "url"
440
- ],
441
- "additionalProperties": true
442
- }
443
- },
444
- "bundles": {
445
- "type": "object",
446
- "additionalProperties": {
447
- "type": "object",
448
- "properties": {
449
- "path": {
450
- "type": "string",
451
- "minLength": 1
452
- },
453
- "git": {
454
- "type": "string",
455
- "minLength": 1
456
- },
457
- "website": {
458
- "type": "object",
459
- "properties": {
460
- "url": {
461
- "type": "string"
462
- },
463
- "refresh": {
464
- "type": "string",
465
- "minLength": 1
466
- },
467
- "maxPages": {
468
- "type": "integer",
469
- "exclusiveMinimum": 0
470
- },
471
- "maxDepth": {
472
- "type": "integer",
473
- "exclusiveMinimum": 0
474
- }
475
- },
476
- "required": [
477
- "url"
478
- ],
479
- "additionalProperties": true
480
- },
481
- "npm": {
482
- "type": "string",
483
- "minLength": 1
484
- },
485
- "writable": {
486
- "type": "boolean"
487
- },
488
- "registryId": {
489
- "type": "string",
490
- "minLength": 1
491
- },
492
- "components": {
493
- "type": "object",
494
- "additionalProperties": {
495
- "type": "object",
496
- "properties": {
497
- "root": {
498
- "type": "string",
499
- "minLength": 1
500
- },
501
- "adapter": {
502
- "type": "string",
503
- "minLength": 1
504
- },
505
- "writable": {
506
- "type": "boolean"
507
- }
508
- },
509
- "additionalProperties": true
510
- },
511
- "propertyNames": {
512
- "minLength": 1
513
- }
514
- }
515
- },
516
- "additionalProperties": true
517
- }
518
- },
519
- "defaultBundle": {
520
- "type": "string",
521
- "minLength": 1
522
- },
523
- "output": {
524
- "type": "object",
525
- "properties": {
526
- "format": {
527
- "type": "string",
528
- "enum": [
529
- "json",
530
- "yaml",
531
- "text"
532
- ]
533
- },
534
- "detail": {
535
- "type": "string",
536
- "enum": [
537
- "brief",
538
- "normal",
539
- "full"
540
- ]
541
- }
542
- },
543
- "additionalProperties": true
544
- },
545
- "writable": {
546
- "type": "boolean"
547
- },
548
- "defaultWriteTarget": {
549
- "type": "string",
550
- "minLength": 1
551
- },
552
- "search": {
553
- "type": "object",
554
- "properties": {
555
- "minScore": {
556
- "type": "number",
557
- "minimum": 0
558
- },
559
- "defaultExcludeTypes": {
560
- "type": "array",
561
- "items": {
562
- "type": "string",
563
- "minLength": 1
564
- }
565
- },
566
- "graphBoost": {
567
- "type": "object",
568
- "properties": {
569
- "directBoostPerEntity": {
570
- "type": "number",
571
- "minimum": 0
572
- },
573
- "directBoostCap": {
574
- "type": "number",
575
- "minimum": 0
576
- },
577
- "hopBoostPerEntity": {
578
- "type": "number",
579
- "minimum": 0
580
- },
581
- "hopBoostCap": {
582
- "type": "number",
583
- "minimum": 0
584
- },
585
- "maxHops": {
586
- "type": "integer",
587
- "exclusiveMinimum": 0,
588
- "maximum": 3
589
- },
590
- "confidenceMode": {
591
- "type": "string",
592
- "enum": [
593
- "off",
594
- "blend",
595
- "multiply"
596
- ],
597
- "default": "blend"
598
- },
599
- "confidenceWeight": {
600
- "type": "number",
601
- "minimum": 0,
602
- "maximum": 1,
603
- "default": 0.2
604
- }
605
- },
606
- "additionalProperties": true
607
- }
608
- },
609
- "additionalProperties": true
610
- },
611
- "feedback": {
612
- "type": "object",
613
- "properties": {
614
- "requireReason": {
615
- "type": "boolean"
616
- },
617
- "allowedFailureModes": {
618
- "type": "array",
619
- "items": {
620
- "type": "string",
621
- "minLength": 1
622
- }
623
- }
624
- },
625
- "additionalProperties": true
626
- },
627
- "archiveRetentionDays": {
628
- "type": "number",
629
- "minimum": 0
630
- },
631
- "improve": {
632
- "type": "object",
633
- "properties": {
634
- "strategies": {
635
- "type": "object",
636
- "additionalProperties": {
637
- "type": "object",
638
- "properties": {
639
- "engine": {
640
- "type": "string",
641
- "maxLength": 63,
642
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
643
- },
644
- "model": {
645
- "type": "string",
646
- "minLength": 1
647
- },
648
- "timeoutMs": {
649
- "anyOf": [
650
- {
651
- "type": "integer",
652
- "exclusiveMinimum": 0
653
- },
654
- {
655
- "type": "null"
656
- }
657
- ]
658
- },
659
- "llm": {
660
- "type": "object",
661
- "properties": {
662
- "temperature": {
663
- "type": "number"
664
- },
665
- "maxTokens": {
666
- "type": "integer",
667
- "exclusiveMinimum": 0
668
- },
669
- "supportsJsonSchema": {
670
- "type": "boolean"
671
- },
672
- "extraParams": {
673
- "type": "object",
674
- "additionalProperties": {}
675
- },
676
- "contextLength": {
677
- "type": "integer",
678
- "exclusiveMinimum": 0
679
- },
680
- "enableThinking": {
681
- "type": "boolean"
682
- }
683
- },
684
- "additionalProperties": true
685
- },
686
- "description": {
687
- "type": "string",
688
- "minLength": 1
689
- },
690
- "processes": {
691
- "type": "object",
692
- "properties": {
693
- "reflect": {
694
- "type": "object",
695
- "properties": {
696
- "engine": {
697
- "type": "string",
698
- "maxLength": 63,
699
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
700
- },
701
- "model": {
702
- "type": "string",
703
- "minLength": 1
704
- },
705
- "llm": {
706
- "type": "object",
707
- "properties": {
708
- "temperature": {
709
- "type": "number"
710
- },
711
- "maxTokens": {
712
- "type": "integer",
713
- "exclusiveMinimum": 0
714
- },
715
- "supportsJsonSchema": {
716
- "type": "boolean"
717
- },
718
- "extraParams": {
719
- "type": "object",
720
- "additionalProperties": {}
721
- },
722
- "contextLength": {
723
- "type": "integer",
724
- "exclusiveMinimum": 0
725
- },
726
- "enableThinking": {
727
- "type": "boolean"
728
- }
729
- },
730
- "additionalProperties": true
731
- },
732
- "enabled": {
733
- "type": "boolean"
734
- },
735
- "timeoutMs": {
736
- "anyOf": [
737
- {
738
- "type": "integer",
739
- "exclusiveMinimum": 0
740
- },
741
- {
742
- "type": "null"
743
- }
744
- ]
745
- },
746
- "allowedTypes": {
747
- "type": "array",
748
- "items": {
749
- "type": "string",
750
- "minLength": 1
751
- }
752
- },
753
- "limit": {
754
- "type": "integer",
755
- "exclusiveMinimum": 0
756
- },
757
- "qualityGate": {
758
- "type": "object",
759
- "properties": {
760
- "enabled": {
761
- "type": "boolean"
762
- }
763
- },
764
- "additionalProperties": true
765
- },
766
- "lowValueFilter": {
767
- "type": "object",
768
- "properties": {
769
- "enabled": {
770
- "type": "boolean"
771
- }
772
- },
773
- "additionalProperties": true
774
- }
775
- },
776
- "additionalProperties": true
777
- },
778
- "distill": {
779
- "type": "object",
780
- "properties": {
781
- "engine": {
782
- "type": "string",
783
- "maxLength": 63,
784
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
785
- },
786
- "model": {
787
- "type": "string",
788
- "minLength": 1
789
- },
790
- "llm": {
791
- "type": "object",
792
- "properties": {
793
- "temperature": {
794
- "type": "number"
795
- },
796
- "maxTokens": {
797
- "type": "integer",
798
- "exclusiveMinimum": 0
799
- },
800
- "supportsJsonSchema": {
801
- "type": "boolean"
802
- },
803
- "extraParams": {
804
- "type": "object",
805
- "additionalProperties": {}
806
- },
807
- "contextLength": {
808
- "type": "integer",
809
- "exclusiveMinimum": 0
810
- },
811
- "enableThinking": {
812
- "type": "boolean"
813
- }
814
- },
815
- "additionalProperties": true
816
- },
817
- "enabled": {
818
- "type": "boolean"
819
- },
820
- "timeoutMs": {
821
- "anyOf": [
822
- {
823
- "type": "integer",
824
- "exclusiveMinimum": 0
825
- },
826
- {
827
- "type": "null"
828
- }
829
- ]
830
- },
831
- "allowedTypes": {
832
- "type": "array",
833
- "items": {
834
- "type": "string",
835
- "minLength": 1
836
- }
837
- },
838
- "limit": {
839
- "type": "integer",
840
- "exclusiveMinimum": 0
841
- },
842
- "qualityGate": {
843
- "type": "object",
844
- "properties": {
845
- "enabled": {
846
- "type": "boolean"
847
- }
848
- },
849
- "additionalProperties": true
850
- },
851
- "requirePlannedRefs": {
852
- "type": "boolean"
853
- },
854
- "cls": {
855
- "type": "object",
856
- "properties": {
857
- "enabled": {
858
- "type": "boolean"
859
- },
860
- "adjacentCount": {
861
- "type": "integer",
862
- "minimum": 1
863
- }
864
- },
865
- "additionalProperties": true
866
- },
867
- "fidelityCheck": {
868
- "type": "object",
869
- "properties": {
870
- "enabled": {
871
- "type": "boolean"
872
- }
873
- },
874
- "additionalProperties": true
875
- }
876
- },
877
- "additionalProperties": true
878
- },
879
- "consolidate": {
880
- "type": "object",
881
- "properties": {
882
- "engine": {
883
- "type": "string",
884
- "maxLength": 63,
885
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
886
- },
887
- "model": {
888
- "type": "string",
889
- "minLength": 1
890
- },
891
- "llm": {
892
- "type": "object",
893
- "properties": {
894
- "temperature": {
895
- "type": "number"
896
- },
897
- "maxTokens": {
898
- "type": "integer",
899
- "exclusiveMinimum": 0
900
- },
901
- "supportsJsonSchema": {
902
- "type": "boolean"
903
- },
904
- "extraParams": {
905
- "type": "object",
906
- "additionalProperties": {}
907
- },
908
- "contextLength": {
909
- "type": "integer",
910
- "exclusiveMinimum": 0
911
- },
912
- "enableThinking": {
913
- "type": "boolean"
914
- }
915
- },
916
- "additionalProperties": true
917
- },
918
- "enabled": {
919
- "type": "boolean"
920
- },
921
- "timeoutMs": {
922
- "anyOf": [
923
- {
924
- "type": "integer",
925
- "exclusiveMinimum": 0
926
- },
927
- {
928
- "type": "null"
929
- }
930
- ]
931
- },
932
- "allowedTypes": {
933
- "type": "array",
934
- "items": {
935
- "type": "string",
936
- "minLength": 1
937
- }
938
- },
939
- "limit": {
940
- "type": "integer",
941
- "exclusiveMinimum": 0
942
- },
943
- "minPoolSize": {
944
- "type": "integer",
945
- "minimum": 0
946
- },
947
- "maxChunkSize": {
948
- "type": "integer",
949
- "minimum": 1,
950
- "maximum": 50
951
- },
952
- "incrementalSince": {
953
- "type": "string"
954
- },
955
- "neighborsPerChanged": {
956
- "type": "integer",
957
- "minimum": 1
958
- },
959
- "p90ChunkSecondsDefault": {
960
- "type": "number",
961
- "exclusiveMinimum": 0
962
- },
963
- "antiCollapse": {
964
- "type": "object",
965
- "properties": {
966
- "enabled": {
967
- "type": "boolean"
968
- },
969
- "maxGeneration": {
970
- "type": "integer",
971
- "minimum": 1
972
- },
973
- "lexicalDiversityCheck": {
974
- "type": "boolean"
975
- },
976
- "randomClusterFraction": {
977
- "type": "number",
978
- "minimum": 0,
979
- "maximum": 1
980
- },
981
- "mergeInformationFloor": {
982
- "type": "boolean"
983
- },
984
- "minSpecificityRetention": {
985
- "type": "number",
986
- "minimum": 0,
987
- "maximum": 1
988
- }
989
- },
990
- "additionalProperties": true
991
- },
992
- "contradictionDetection": {
993
- "type": "object",
994
- "properties": {
995
- "enabled": {
996
- "type": "boolean"
997
- }
998
- },
999
- "additionalProperties": true
1000
- }
1001
- },
1002
- "additionalProperties": true
1003
- },
1004
- "memoryInference": {
1005
- "type": "object",
1006
- "properties": {
1007
- "engine": {
1008
- "type": "string",
1009
- "maxLength": 63,
1010
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
1011
- },
1012
- "model": {
1013
- "type": "string",
1014
- "minLength": 1
1015
- },
1016
- "llm": {
1017
- "type": "object",
1018
- "properties": {
1019
- "temperature": {
1020
- "type": "number"
1021
- },
1022
- "maxTokens": {
1023
- "type": "integer",
1024
- "exclusiveMinimum": 0
1025
- },
1026
- "supportsJsonSchema": {
1027
- "type": "boolean"
1028
- },
1029
- "extraParams": {
1030
- "type": "object",
1031
- "additionalProperties": {}
1032
- },
1033
- "contextLength": {
1034
- "type": "integer",
1035
- "exclusiveMinimum": 0
1036
- },
1037
- "enableThinking": {
1038
- "type": "boolean"
1039
- }
1040
- },
1041
- "additionalProperties": true
1042
- },
1043
- "enabled": {
1044
- "type": "boolean"
1045
- },
1046
- "timeoutMs": {
1047
- "anyOf": [
1048
- {
1049
- "type": "integer",
1050
- "exclusiveMinimum": 0
1051
- },
1052
- {
1053
- "type": "null"
1054
- }
1055
- ]
1056
- },
1057
- "minPendingCount": {
1058
- "type": "integer",
1059
- "minimum": 0
1060
- },
1061
- "cls": {
1062
- "type": "object",
1063
- "properties": {
1064
- "enabled": {
1065
- "type": "boolean"
1066
- },
1067
- "adjacentCount": {
1068
- "type": "integer",
1069
- "minimum": 1
1070
- }
1071
- },
1072
- "additionalProperties": true
1073
- }
1074
- },
1075
- "additionalProperties": true
1076
- },
1077
- "graphExtraction": {
1078
- "type": "object",
1079
- "properties": {
1080
- "engine": {
1081
- "type": "string",
1082
- "maxLength": 63,
1083
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
1084
- },
1085
- "model": {
1086
- "type": "string",
1087
- "minLength": 1
1088
- },
1089
- "llm": {
1090
- "type": "object",
1091
- "properties": {
1092
- "temperature": {
1093
- "type": "number"
1094
- },
1095
- "maxTokens": {
1096
- "type": "integer",
1097
- "exclusiveMinimum": 0
1098
- },
1099
- "supportsJsonSchema": {
1100
- "type": "boolean"
1101
- },
1102
- "extraParams": {
1103
- "type": "object",
1104
- "additionalProperties": {}
1105
- },
1106
- "contextLength": {
1107
- "type": "integer",
1108
- "exclusiveMinimum": 0
1109
- },
1110
- "enableThinking": {
1111
- "type": "boolean"
1112
- }
1113
- },
1114
- "additionalProperties": true
1115
- },
1116
- "enabled": {
1117
- "type": "boolean"
1118
- },
1119
- "timeoutMs": {
1120
- "anyOf": [
1121
- {
1122
- "type": "integer",
1123
- "exclusiveMinimum": 0
1124
- },
1125
- {
1126
- "type": "null"
1127
- }
1128
- ]
1129
- },
1130
- "topN": {
1131
- "type": "integer",
1132
- "exclusiveMinimum": 0
1133
- },
1134
- "includeTypes": {
1135
- "type": "array",
1136
- "items": {
1137
- "type": "string",
1138
- "minLength": 1
1139
- },
1140
- "minItems": 1
1141
- },
1142
- "batchSize": {
1143
- "type": "integer",
1144
- "exclusiveMinimum": 0
1145
- },
1146
- "fullScan": {
1147
- "type": "boolean"
1148
- }
1149
- },
1150
- "additionalProperties": true
1151
- },
1152
- "extract": {
1153
- "type": "object",
1154
- "properties": {
1155
- "engine": {
1156
- "type": "string",
1157
- "maxLength": 63,
1158
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
1159
- },
1160
- "model": {
1161
- "type": "string",
1162
- "minLength": 1
1163
- },
1164
- "llm": {
1165
- "type": "object",
1166
- "properties": {
1167
- "temperature": {
1168
- "type": "number"
1169
- },
1170
- "maxTokens": {
1171
- "type": "integer",
1172
- "exclusiveMinimum": 0
1173
- },
1174
- "supportsJsonSchema": {
1175
- "type": "boolean"
1176
- },
1177
- "extraParams": {
1178
- "type": "object",
1179
- "additionalProperties": {}
1180
- },
1181
- "contextLength": {
1182
- "type": "integer",
1183
- "exclusiveMinimum": 0
1184
- },
1185
- "enableThinking": {
1186
- "type": "boolean"
1187
- }
1188
- },
1189
- "additionalProperties": true
1190
- },
1191
- "enabled": {
1192
- "type": "boolean"
1193
- },
1194
- "timeoutMs": {
1195
- "anyOf": [
1196
- {
1197
- "type": "integer",
1198
- "exclusiveMinimum": 0
1199
- },
1200
- {
1201
- "type": "null"
1202
- }
1203
- ]
1204
- },
1205
- "defaultSince": {
1206
- "type": "string",
1207
- "minLength": 1
1208
- },
1209
- "maxTotalChars": {
1210
- "type": "integer",
1211
- "exclusiveMinimum": 0
1212
- },
1213
- "minContentChars": {
1214
- "type": "integer",
1215
- "minimum": 0
1216
- },
1217
- "triage": {
1218
- "type": "object",
1219
- "properties": {
1220
- "enabled": {
1221
- "type": "boolean"
1222
- },
1223
- "minScore": {
1224
- "type": "number",
1225
- "minimum": 0
1226
- }
1227
- },
1228
- "additionalProperties": true
1229
- },
1230
- "minNewSessions": {
1231
- "type": "integer",
1232
- "minimum": 0
1233
- },
1234
- "maxSessionsPerRun": {
1235
- "type": "integer",
1236
- "minimum": 0
1237
- },
1238
- "indexSessions": {
1239
- "type": "boolean"
1240
- },
1241
- "minSessionDuration": {
1242
- "type": "number",
1243
- "minimum": 0
1244
- }
1245
- },
1246
- "additionalProperties": true
1247
- },
1248
- "validation": {
1249
- "type": "object",
1250
- "properties": {
1251
- "engine": {
1252
- "type": "string",
1253
- "maxLength": 63,
1254
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
1255
- },
1256
- "model": {
1257
- "type": "string",
1258
- "minLength": 1
1259
- },
1260
- "llm": {
1261
- "type": "object",
1262
- "properties": {
1263
- "temperature": {
1264
- "type": "number"
1265
- },
1266
- "maxTokens": {
1267
- "type": "integer",
1268
- "exclusiveMinimum": 0
1269
- },
1270
- "supportsJsonSchema": {
1271
- "type": "boolean"
1272
- },
1273
- "extraParams": {
1274
- "type": "object",
1275
- "additionalProperties": {}
1276
- },
1277
- "contextLength": {
1278
- "type": "integer",
1279
- "exclusiveMinimum": 0
1280
- },
1281
- "enableThinking": {
1282
- "type": "boolean"
1283
- }
1284
- },
1285
- "additionalProperties": true
1286
- },
1287
- "enabled": {
1288
- "type": "boolean"
1289
- },
1290
- "timeoutMs": {
1291
- "anyOf": [
1292
- {
1293
- "type": "integer",
1294
- "exclusiveMinimum": 0
1295
- },
1296
- {
1297
- "type": "null"
1298
- }
1299
- ]
1300
- }
1301
- },
1302
- "additionalProperties": true
1303
- },
1304
- "triage": {
1305
- "type": "object",
1306
- "properties": {
1307
- "engine": {
1308
- "type": "string",
1309
- "maxLength": 63,
1310
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
1311
- },
1312
- "model": {
1313
- "type": "string",
1314
- "minLength": 1
1315
- },
1316
- "llm": {
1317
- "type": "object",
1318
- "properties": {
1319
- "temperature": {
1320
- "type": "number"
1321
- },
1322
- "maxTokens": {
1323
- "type": "integer",
1324
- "exclusiveMinimum": 0
1325
- },
1326
- "supportsJsonSchema": {
1327
- "type": "boolean"
1328
- },
1329
- "extraParams": {
1330
- "type": "object",
1331
- "additionalProperties": {}
1332
- },
1333
- "contextLength": {
1334
- "type": "integer",
1335
- "exclusiveMinimum": 0
1336
- },
1337
- "enableThinking": {
1338
- "type": "boolean"
1339
- }
1340
- },
1341
- "additionalProperties": true
1342
- },
1343
- "enabled": {
1344
- "type": "boolean"
1345
- },
1346
- "timeoutMs": {
1347
- "anyOf": [
1348
- {
1349
- "type": "integer",
1350
- "exclusiveMinimum": 0
1351
- },
1352
- {
1353
- "type": "null"
1354
- }
1355
- ]
1356
- },
1357
- "applyMode": {
1358
- "type": "string",
1359
- "enum": [
1360
- "queue",
1361
- "promote"
1362
- ]
1363
- },
1364
- "policy": {
1365
- "type": "string",
1366
- "minLength": 1
1367
- },
1368
- "maxAcceptsPerRun": {
1369
- "type": "integer",
1370
- "exclusiveMinimum": 0
1371
- },
1372
- "maxDiffLines": {
1373
- "type": "integer",
1374
- "exclusiveMinimum": 0
1375
- },
1376
- "rejectEmpty": {
1377
- "type": "boolean"
1378
- },
1379
- "judgment": {
1380
- "type": "object",
1381
- "properties": {
1382
- "engine": {
1383
- "type": "string",
1384
- "maxLength": 63,
1385
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
1386
- },
1387
- "model": {
1388
- "type": "string",
1389
- "minLength": 1
1390
- },
1391
- "timeoutMs": {
1392
- "anyOf": [
1393
- {
1394
- "type": "integer",
1395
- "exclusiveMinimum": 0
1396
- },
1397
- {
1398
- "type": "null"
1399
- }
1400
- ]
1401
- },
1402
- "llm": {
1403
- "type": "object",
1404
- "properties": {
1405
- "temperature": {
1406
- "type": "number"
1407
- },
1408
- "maxTokens": {
1409
- "type": "integer",
1410
- "exclusiveMinimum": 0
1411
- },
1412
- "supportsJsonSchema": {
1413
- "type": "boolean"
1414
- },
1415
- "extraParams": {
1416
- "type": "object",
1417
- "additionalProperties": {}
1418
- },
1419
- "contextLength": {
1420
- "type": "integer",
1421
- "exclusiveMinimum": 0
1422
- },
1423
- "enableThinking": {
1424
- "type": "boolean"
1425
- }
1426
- },
1427
- "additionalProperties": true
1428
- }
1429
- },
1430
- "additionalProperties": true
1431
- }
1432
- },
1433
- "additionalProperties": true
1434
- },
1435
- "proactiveMaintenance": {
1436
- "type": "object",
1437
- "properties": {
1438
- "engine": {
1439
- "type": "string",
1440
- "maxLength": 63,
1441
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
1442
- },
1443
- "model": {
1444
- "type": "string",
1445
- "minLength": 1
1446
- },
1447
- "llm": {
1448
- "type": "object",
1449
- "properties": {
1450
- "temperature": {
1451
- "type": "number"
1452
- },
1453
- "maxTokens": {
1454
- "type": "integer",
1455
- "exclusiveMinimum": 0
1456
- },
1457
- "supportsJsonSchema": {
1458
- "type": "boolean"
1459
- },
1460
- "extraParams": {
1461
- "type": "object",
1462
- "additionalProperties": {}
1463
- },
1464
- "contextLength": {
1465
- "type": "integer",
1466
- "exclusiveMinimum": 0
1467
- },
1468
- "enableThinking": {
1469
- "type": "boolean"
1470
- }
1471
- },
1472
- "additionalProperties": true
1473
- },
1474
- "enabled": {
1475
- "type": "boolean"
1476
- },
1477
- "timeoutMs": {
1478
- "anyOf": [
1479
- {
1480
- "type": "integer",
1481
- "exclusiveMinimum": 0
1482
- },
1483
- {
1484
- "type": "null"
1485
- }
1486
- ]
1487
- },
1488
- "dueDays": {
1489
- "type": "integer",
1490
- "minimum": 0
1491
- },
1492
- "maxPerRun": {
1493
- "type": "integer",
1494
- "exclusiveMinimum": 0
1495
- },
1496
- "limit": {
1497
- "type": "integer",
1498
- "exclusiveMinimum": 0
1499
- }
1500
- },
1501
- "additionalProperties": true
1502
- }
1503
- },
1504
- "additionalProperties": true
1505
- },
1506
- "limit": {
1507
- "type": "integer",
1508
- "exclusiveMinimum": 0
1509
- },
1510
- "symmetricValence": {
1511
- "type": "boolean"
1512
- },
1513
- "sync": {
1514
- "type": "object",
1515
- "properties": {
1516
- "enabled": {
1517
- "type": "boolean"
1518
- },
1519
- "push": {
1520
- "type": "boolean"
1521
- },
1522
- "message": {
1523
- "type": "string",
1524
- "minLength": 1
1525
- }
1526
- },
1527
- "additionalProperties": true
1528
- }
1529
- },
1530
- "additionalProperties": true
1531
- },
1532
- "propertyNames": {
1533
- "maxLength": 63,
1534
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
1535
- }
1536
- },
1537
- "utilityDecay": {
1538
- "type": "object",
1539
- "properties": {
1540
- "halfLifeDays": {
1541
- "type": "number",
1542
- "minimum": 0.1
1543
- },
1544
- "feedbackStabilityBoost": {
1545
- "type": "number",
1546
- "minimum": 1
1547
- }
1548
- },
1549
- "additionalProperties": true
1550
- },
1551
- "eventRetentionDays": {
1552
- "type": "number",
1553
- "minimum": 0
1554
- },
1555
- "salience": {
1556
- "type": "object",
1557
- "properties": {
1558
- "outcomeWeightEnabled": {
1559
- "type": "boolean"
1560
- },
1561
- "salienceThreshold": {
1562
- "type": "number",
1563
- "minimum": 0,
1564
- "maximum": 1
1565
- },
1566
- "replayBudget": {
1567
- "type": "integer",
1568
- "minimum": 0
1569
- }
1570
- },
1571
- "additionalProperties": true
1572
- },
1573
- "collapseDetector": {
1574
- "type": "object",
1575
- "properties": {
1576
- "enabled": {
1577
- "type": "boolean"
1578
- },
1579
- "canaryCount": {
1580
- "type": "integer",
1581
- "minimum": 3,
1582
- "maximum": 200
1583
- },
1584
- "k": {
1585
- "type": "integer",
1586
- "minimum": 1,
1587
- "maximum": 100
1588
- },
1589
- "windowCycles": {
1590
- "type": "integer",
1591
- "minimum": 2,
1592
- "maximum": 50
1593
- },
1594
- "recallDropThreshold": {
1595
- "type": "number",
1596
- "minimum": 0,
1597
- "maximum": 1
1598
- },
1599
- "entropyDropThreshold": {
1600
- "type": "number",
1601
- "minimum": 0,
1602
- "maximum": 1
1603
- },
1604
- "churnMinAcceptedActions": {
1605
- "type": "integer",
1606
- "minimum": 1
1607
- },
1608
- "retentionDays": {
1609
- "type": "integer",
1610
- "minimum": 1
1611
- }
1612
- },
1613
- "additionalProperties": true
1614
- }
1615
- },
1616
- "additionalProperties": true
1617
- },
1618
- "workflow": {
1619
- "type": "object",
1620
- "properties": {
1621
- "maxConcurrency": {
1622
- "type": "integer",
1623
- "exclusiveMinimum": 0
1624
- }
1625
- },
1626
- "additionalProperties": true
1627
- },
1628
- "setup": {
1629
- "type": "object",
1630
- "properties": {
1631
- "taskSchedules": {
1632
- "type": "object",
1633
- "properties": {
1634
- "improve": {
1635
- "type": "string",
1636
- "minLength": 1
1637
- },
1638
- "index": {
1639
- "type": "string",
1640
- "minLength": 1
1641
- }
1642
- },
1643
- "additionalProperties": true
1644
- }
1645
- },
1646
- "additionalProperties": true
1647
- }
1648
- },
1649
- "required": [
1650
- "configVersion"
1651
- ],
1652
- "additionalProperties": true,
1653
- "$defs": {
1654
- "AkmConfig": {
1655
- "type": "object",
1656
- "properties": {
1657
- "configVersion": {
1658
- "type": "string",
1659
- "const": "0.9.0"
1660
- },
1661
- "engines": {
1662
- "type": "object",
1663
- "additionalProperties": {
1664
- "anyOf": [
1665
- {
1666
- "type": "object",
1667
- "properties": {
1668
- "kind": {
1669
- "type": "string",
1670
- "const": "llm"
1671
- },
1672
- "provider": {
1673
- "type": "string"
1674
- },
1675
- "endpoint": {
1676
- "type": "string"
1677
- },
1678
- "model": {
1679
- "type": "string",
1680
- "minLength": 1
1681
- },
1682
- "apiKey": {
1683
- "type": "string",
1684
- "pattern": "^\\$[A-Za-z_][A-Za-z0-9_]*$|^\\$\\{[A-Za-z_][A-Za-z0-9_]*\\}$"
1685
- },
1686
- "temperature": {
1687
- "type": "number"
1688
- },
1689
- "maxTokens": {
1690
- "type": "integer",
1691
- "exclusiveMinimum": 0
1692
- },
1693
- "timeoutMs": {
1694
- "anyOf": [
1695
- {
1696
- "type": "integer",
1697
- "exclusiveMinimum": 0
1698
- },
1699
- {
1700
- "type": "null"
1701
- }
1702
- ]
1703
- },
1704
- "concurrency": {
1705
- "type": "integer",
1706
- "exclusiveMinimum": 0
1707
- },
1708
- "supportsJsonSchema": {
1709
- "type": "boolean"
1710
- },
1711
- "extraParams": {
1712
- "type": "object",
1713
- "additionalProperties": {}
1714
- },
1715
- "contextLength": {
1716
- "type": "integer",
1717
- "exclusiveMinimum": 0
1718
- },
1719
- "enableThinking": {
1720
- "type": "boolean"
1721
- }
1722
- },
1723
- "required": [
1724
- "kind",
1725
- "endpoint",
1726
- "model"
1727
- ],
1728
- "additionalProperties": true
1729
- },
1730
- {
1731
- "type": "object",
1732
- "properties": {
1733
- "kind": {
1734
- "type": "string",
1735
- "const": "agent"
1736
- },
1737
- "platform": {
1738
- "type": "string",
1739
- "enum": [
1740
- "opencode",
1741
- "claude",
1742
- "opencode-sdk",
1743
- "codex",
1744
- "copilot",
1745
- "pi",
1746
- "gemini",
1747
- "aider",
1748
- "amazonq",
1749
- "openhands"
1750
- ]
1751
- },
1752
- "bin": {
1753
- "type": "string",
1754
- "minLength": 1
1755
- },
1756
- "args": {
1757
- "type": "array",
1758
- "items": {
1759
- "type": "string"
1760
- }
1761
- },
1762
- "workspace": {
1763
- "type": "string",
1764
- "minLength": 1
1765
- },
1766
- "model": {
1767
- "type": "string",
1768
- "minLength": 1
1769
- },
1770
- "timeoutMs": {
1771
- "anyOf": [
1772
- {
1773
- "type": "integer",
1774
- "exclusiveMinimum": 0
1775
- },
1776
- {
1777
- "type": "null"
1778
- }
1779
- ]
1780
- },
1781
- "modelAliases": {
1782
- "type": "object",
1783
- "additionalProperties": {
1784
- "type": "string",
1785
- "minLength": 1
1786
- },
1787
- "propertyNames": {
1788
- "minLength": 1
1789
- }
1790
- },
1791
- "llmEngine": {
1792
- "type": "string",
1793
- "maxLength": 63,
1794
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
1795
- }
1796
- },
1797
- "required": [
1798
- "kind",
1799
- "platform"
1800
- ],
1801
- "additionalProperties": true
1802
- }
1803
- ]
1804
- },
1805
- "propertyNames": {
1806
- "maxLength": 63,
1807
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
1808
- }
1809
- },
1810
- "defaults": {
1811
- "type": "object",
1812
- "properties": {
1813
- "engine": {
1814
- "type": "string",
1815
- "maxLength": 63,
1816
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
1817
- },
1818
- "llmEngine": {
1819
- "type": "string",
1820
- "maxLength": 63,
1821
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
1822
- },
1823
- "improveStrategy": {
1824
- "type": "string",
1825
- "maxLength": 63,
1826
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
1827
- }
1828
- },
1829
- "additionalProperties": true
1830
- },
1831
- "modelAliases": {
1832
- "type": "object",
1833
- "additionalProperties": {
1834
- "type": "object",
1835
- "additionalProperties": {
1836
- "type": "string",
1837
- "minLength": 1
1838
- },
1839
- "propertyNames": {
1840
- "minLength": 1
1841
- }
1842
- },
1843
- "propertyNames": {
1844
- "minLength": 1
1845
- }
1846
- },
1847
- "semanticSearchMode": {
1848
- "type": "string",
1849
- "enum": [
1850
- "off",
1851
- "auto"
1852
- ],
1853
- "default": "auto"
1854
- },
1855
- "embedding": {
1856
- "type": "object",
1857
- "properties": {
1858
- "provider": {
1859
- "type": "string"
1860
- },
1861
- "endpoint": {
1862
- "type": "string"
1863
- },
1864
- "model": {
1865
- "type": "string"
1866
- },
1867
- "apiKey": {
1868
- "type": "string",
1869
- "pattern": "^\\$[A-Za-z_][A-Za-z0-9_]*$|^\\$\\{[A-Za-z_][A-Za-z0-9_]*\\}$"
1870
- },
1871
- "dimension": {
1872
- "type": "integer",
1873
- "exclusiveMinimum": 0
1874
- },
1875
- "localModel": {
1876
- "type": "string",
1877
- "minLength": 1
1878
- },
1879
- "maxTokens": {
1880
- "type": "integer",
1881
- "exclusiveMinimum": 0
1882
- },
1883
- "batchSize": {
1884
- "type": "integer",
1885
- "exclusiveMinimum": 0
1886
- },
1887
- "chunkSize": {
1888
- "type": "integer",
1889
- "exclusiveMinimum": 0
1890
- },
1891
- "contextLength": {
1892
- "type": "integer",
1893
- "exclusiveMinimum": 0
1894
- },
1895
- "ollamaOptions": {
1896
- "type": "object",
1897
- "properties": {
1898
- "num_ctx": {
1899
- "type": "integer",
1900
- "exclusiveMinimum": 0
1901
- }
1902
- },
1903
- "additionalProperties": true
1904
- }
1905
- },
1906
- "additionalProperties": true
1907
- },
1908
- "index": {
1909
- "type": "object",
1910
- "properties": {
1911
- "defaults": {
1912
- "type": "object",
1913
- "properties": {
1914
- "engine": {
1915
- "type": "string",
1916
- "maxLength": 63,
1917
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
1918
- },
1919
- "model": {
1920
- "type": "string",
1921
- "minLength": 1
1922
- },
1923
- "timeoutMs": {
1924
- "anyOf": [
1925
- {
1926
- "type": "integer",
1927
- "exclusiveMinimum": 0
1928
- },
1929
- {
1930
- "type": "null"
1931
- }
1932
- ]
1933
- },
1934
- "llm": {
1935
- "type": "object",
1936
- "properties": {
1937
- "temperature": {
1938
- "type": "number"
1939
- },
1940
- "maxTokens": {
1941
- "type": "integer",
1942
- "exclusiveMinimum": 0
1943
- },
1944
- "supportsJsonSchema": {
1945
- "type": "boolean"
1946
- },
1947
- "extraParams": {
1948
- "type": "object",
1949
- "additionalProperties": {}
1950
- },
1951
- "contextLength": {
1952
- "type": "integer",
1953
- "exclusiveMinimum": 0
1954
- },
1955
- "enableThinking": {
1956
- "type": "boolean"
1957
- }
1958
- },
1959
- "additionalProperties": true
1960
- }
1961
- },
1962
- "additionalProperties": true
1963
- },
1964
- "metadataEnhance": {
1965
- "type": "object",
1966
- "properties": {
1967
- "enabled": {
1968
- "type": "boolean"
1969
- }
1970
- },
1971
- "additionalProperties": true
1972
- },
1973
- "stalenessDetection": {
1974
- "type": "object",
1975
- "properties": {
1976
- "enabled": {
1977
- "type": "boolean"
1978
- },
1979
- "thresholdDays": {
1980
- "type": "integer",
1981
- "exclusiveMinimum": 0
1982
- }
1983
- },
1984
- "additionalProperties": true
1985
- },
1986
- "indexBodyOpening": {
1987
- "type": "boolean",
1988
- "description": "Index the first prose paragraph of each markdown asset body (capped at 280 chars) into the lowest-weight `content` search column and the embedding text (default false). Secret/env files and session-kind memories are never captured. Toggling the flag changes indexed text: run `akm index --full` afterwards to re-extract every entry and regenerate embeddings, and re-mint collapse-detector canary baselines via `akm improve canary --refresh`."
1989
- }
1990
- },
1991
- "additionalProperties": {
1992
- "type": "object",
1993
- "properties": {
1994
- "engine": {
1995
- "type": "string",
1996
- "maxLength": 63,
1997
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
1998
- },
1999
- "model": {
2000
- "type": "string",
2001
- "minLength": 1
2002
- },
2003
- "timeoutMs": {
2004
- "anyOf": [
2005
- {
2006
- "type": "integer",
2007
- "exclusiveMinimum": 0
2008
- },
2009
- {
2010
- "type": "null"
2011
- }
2012
- ]
2013
- },
2014
- "enabled": {
2015
- "type": "boolean"
2016
- },
2017
- "llm": {
2018
- "type": "object",
2019
- "properties": {
2020
- "temperature": {
2021
- "type": "number"
2022
- },
2023
- "maxTokens": {
2024
- "type": "integer",
2025
- "exclusiveMinimum": 0
2026
- },
2027
- "supportsJsonSchema": {
2028
- "type": "boolean"
2029
- },
2030
- "extraParams": {
2031
- "type": "object",
2032
- "additionalProperties": {}
2033
- },
2034
- "contextLength": {
2035
- "type": "integer",
2036
- "exclusiveMinimum": 0
2037
- },
2038
- "enableThinking": {
2039
- "type": "boolean"
2040
- }
2041
- },
2042
- "additionalProperties": true
2043
- },
2044
- "graphExtractionBatchSize": {
2045
- "type": "integer",
2046
- "exclusiveMinimum": 0
2047
- },
2048
- "graphExtractionIncludeTypes": {
2049
- "type": "array",
2050
- "items": {
2051
- "type": "string",
2052
- "minLength": 1
2053
- },
2054
- "minItems": 1
2055
- },
2056
- "lazyGraphExtraction": {
2057
- "type": "boolean"
2058
- }
2059
- },
2060
- "additionalProperties": true
2061
- }
2062
- },
2063
- "registries": {
2064
- "type": "array",
2065
- "items": {
2066
- "type": "object",
2067
- "properties": {
2068
- "url": {
2069
- "type": "string"
2070
- },
2071
- "name": {
2072
- "type": "string",
2073
- "minLength": 1
2074
- },
2075
- "enabled": {
2076
- "type": "boolean"
2077
- },
2078
- "provider": {
2079
- "type": "string",
2080
- "minLength": 1
2081
- },
2082
- "options": {
2083
- "type": "object",
2084
- "additionalProperties": {}
2085
- }
2086
- },
2087
- "required": [
2088
- "url"
2089
- ],
2090
- "additionalProperties": true
2091
- }
2092
- },
2093
- "bundles": {
2094
- "type": "object",
2095
- "additionalProperties": {
2096
- "type": "object",
2097
- "properties": {
2098
- "path": {
2099
- "type": "string",
2100
- "minLength": 1
2101
- },
2102
- "git": {
2103
- "type": "string",
2104
- "minLength": 1
2105
- },
2106
- "website": {
2107
- "type": "object",
2108
- "properties": {
2109
- "url": {
2110
- "type": "string"
2111
- },
2112
- "refresh": {
2113
- "type": "string",
2114
- "minLength": 1
2115
- },
2116
- "maxPages": {
2117
- "type": "integer",
2118
- "exclusiveMinimum": 0
2119
- },
2120
- "maxDepth": {
2121
- "type": "integer",
2122
- "exclusiveMinimum": 0
2123
- }
2124
- },
2125
- "required": [
2126
- "url"
2127
- ],
2128
- "additionalProperties": true
2129
- },
2130
- "npm": {
2131
- "type": "string",
2132
- "minLength": 1
2133
- },
2134
- "writable": {
2135
- "type": "boolean"
2136
- },
2137
- "registryId": {
2138
- "type": "string",
2139
- "minLength": 1
2140
- },
2141
- "components": {
2142
- "type": "object",
2143
- "additionalProperties": {
2144
- "type": "object",
2145
- "properties": {
2146
- "root": {
2147
- "type": "string",
2148
- "minLength": 1
2149
- },
2150
- "adapter": {
2151
- "type": "string",
2152
- "minLength": 1
2153
- },
2154
- "writable": {
2155
- "type": "boolean"
2156
- }
2157
- },
2158
- "additionalProperties": true
2159
- },
2160
- "propertyNames": {
2161
- "minLength": 1
2162
- }
2163
- }
2164
- },
2165
- "additionalProperties": true
2166
- }
2167
- },
2168
- "defaultBundle": {
2169
- "type": "string",
2170
- "minLength": 1
2171
- },
2172
- "output": {
2173
- "type": "object",
2174
- "properties": {
2175
- "format": {
2176
- "type": "string",
2177
- "enum": [
2178
- "json",
2179
- "yaml",
2180
- "text"
2181
- ]
2182
- },
2183
- "detail": {
2184
- "type": "string",
2185
- "enum": [
2186
- "brief",
2187
- "normal",
2188
- "full"
2189
- ]
2190
- }
2191
- },
2192
- "additionalProperties": true
2193
- },
2194
- "writable": {
2195
- "type": "boolean"
2196
- },
2197
- "defaultWriteTarget": {
2198
- "type": "string",
2199
- "minLength": 1
2200
- },
2201
- "search": {
2202
- "type": "object",
2203
- "properties": {
2204
- "minScore": {
2205
- "type": "number",
2206
- "minimum": 0
2207
- },
2208
- "defaultExcludeTypes": {
2209
- "type": "array",
2210
- "items": {
2211
- "type": "string",
2212
- "minLength": 1
2213
- }
2214
- },
2215
- "graphBoost": {
2216
- "type": "object",
2217
- "properties": {
2218
- "directBoostPerEntity": {
2219
- "type": "number",
2220
- "minimum": 0
2221
- },
2222
- "directBoostCap": {
2223
- "type": "number",
2224
- "minimum": 0
2225
- },
2226
- "hopBoostPerEntity": {
2227
- "type": "number",
2228
- "minimum": 0
2229
- },
2230
- "hopBoostCap": {
2231
- "type": "number",
2232
- "minimum": 0
2233
- },
2234
- "maxHops": {
2235
- "type": "integer",
2236
- "exclusiveMinimum": 0,
2237
- "maximum": 3
2238
- },
2239
- "confidenceMode": {
2240
- "type": "string",
2241
- "enum": [
2242
- "off",
2243
- "blend",
2244
- "multiply"
2245
- ],
2246
- "default": "blend"
2247
- },
2248
- "confidenceWeight": {
2249
- "type": "number",
2250
- "minimum": 0,
2251
- "maximum": 1,
2252
- "default": 0.2
2253
- }
2254
- },
2255
- "additionalProperties": true
2256
- }
2257
- },
2258
- "additionalProperties": true
2259
- },
2260
- "feedback": {
2261
- "type": "object",
2262
- "properties": {
2263
- "requireReason": {
2264
- "type": "boolean"
2265
- },
2266
- "allowedFailureModes": {
2267
- "type": "array",
2268
- "items": {
2269
- "type": "string",
2270
- "minLength": 1
2271
- }
2272
- }
2273
- },
2274
- "additionalProperties": true
2275
- },
2276
- "archiveRetentionDays": {
2277
- "type": "number",
2278
- "minimum": 0
2279
- },
2280
- "improve": {
2281
- "type": "object",
2282
- "properties": {
2283
- "strategies": {
2284
- "type": "object",
2285
- "additionalProperties": {
2286
- "type": "object",
2287
- "properties": {
2288
- "engine": {
2289
- "type": "string",
2290
- "maxLength": 63,
2291
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
2292
- },
2293
- "model": {
2294
- "type": "string",
2295
- "minLength": 1
2296
- },
2297
- "timeoutMs": {
2298
- "anyOf": [
2299
- {
2300
- "type": "integer",
2301
- "exclusiveMinimum": 0
2302
- },
2303
- {
2304
- "type": "null"
2305
- }
2306
- ]
2307
- },
2308
- "llm": {
2309
- "type": "object",
2310
- "properties": {
2311
- "temperature": {
2312
- "type": "number"
2313
- },
2314
- "maxTokens": {
2315
- "type": "integer",
2316
- "exclusiveMinimum": 0
2317
- },
2318
- "supportsJsonSchema": {
2319
- "type": "boolean"
2320
- },
2321
- "extraParams": {
2322
- "type": "object",
2323
- "additionalProperties": {}
2324
- },
2325
- "contextLength": {
2326
- "type": "integer",
2327
- "exclusiveMinimum": 0
2328
- },
2329
- "enableThinking": {
2330
- "type": "boolean"
2331
- }
2332
- },
2333
- "additionalProperties": true
2334
- },
2335
- "description": {
2336
- "type": "string",
2337
- "minLength": 1
2338
- },
2339
- "processes": {
2340
- "type": "object",
2341
- "properties": {
2342
- "reflect": {
2343
- "type": "object",
2344
- "properties": {
2345
- "engine": {
2346
- "type": "string",
2347
- "maxLength": 63,
2348
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
2349
- },
2350
- "model": {
2351
- "type": "string",
2352
- "minLength": 1
2353
- },
2354
- "llm": {
2355
- "type": "object",
2356
- "properties": {
2357
- "temperature": {
2358
- "type": "number"
2359
- },
2360
- "maxTokens": {
2361
- "type": "integer",
2362
- "exclusiveMinimum": 0
2363
- },
2364
- "supportsJsonSchema": {
2365
- "type": "boolean"
2366
- },
2367
- "extraParams": {
2368
- "type": "object",
2369
- "additionalProperties": {}
2370
- },
2371
- "contextLength": {
2372
- "type": "integer",
2373
- "exclusiveMinimum": 0
2374
- },
2375
- "enableThinking": {
2376
- "type": "boolean"
2377
- }
2378
- },
2379
- "additionalProperties": true
2380
- },
2381
- "enabled": {
2382
- "type": "boolean"
2383
- },
2384
- "timeoutMs": {
2385
- "anyOf": [
2386
- {
2387
- "type": "integer",
2388
- "exclusiveMinimum": 0
2389
- },
2390
- {
2391
- "type": "null"
2392
- }
2393
- ]
2394
- },
2395
- "allowedTypes": {
2396
- "type": "array",
2397
- "items": {
2398
- "type": "string",
2399
- "minLength": 1
2400
- }
2401
- },
2402
- "limit": {
2403
- "type": "integer",
2404
- "exclusiveMinimum": 0
2405
- },
2406
- "qualityGate": {
2407
- "type": "object",
2408
- "properties": {
2409
- "enabled": {
2410
- "type": "boolean"
2411
- }
2412
- },
2413
- "additionalProperties": true
2414
- },
2415
- "lowValueFilter": {
2416
- "type": "object",
2417
- "properties": {
2418
- "enabled": {
2419
- "type": "boolean"
2420
- }
2421
- },
2422
- "additionalProperties": true
2423
- }
2424
- },
2425
- "additionalProperties": true
2426
- },
2427
- "distill": {
2428
- "type": "object",
2429
- "properties": {
2430
- "engine": {
2431
- "type": "string",
2432
- "maxLength": 63,
2433
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
2434
- },
2435
- "model": {
2436
- "type": "string",
2437
- "minLength": 1
2438
- },
2439
- "llm": {
2440
- "type": "object",
2441
- "properties": {
2442
- "temperature": {
2443
- "type": "number"
2444
- },
2445
- "maxTokens": {
2446
- "type": "integer",
2447
- "exclusiveMinimum": 0
2448
- },
2449
- "supportsJsonSchema": {
2450
- "type": "boolean"
2451
- },
2452
- "extraParams": {
2453
- "type": "object",
2454
- "additionalProperties": {}
2455
- },
2456
- "contextLength": {
2457
- "type": "integer",
2458
- "exclusiveMinimum": 0
2459
- },
2460
- "enableThinking": {
2461
- "type": "boolean"
2462
- }
2463
- },
2464
- "additionalProperties": true
2465
- },
2466
- "enabled": {
2467
- "type": "boolean"
2468
- },
2469
- "timeoutMs": {
2470
- "anyOf": [
2471
- {
2472
- "type": "integer",
2473
- "exclusiveMinimum": 0
2474
- },
2475
- {
2476
- "type": "null"
2477
- }
2478
- ]
2479
- },
2480
- "allowedTypes": {
2481
- "type": "array",
2482
- "items": {
2483
- "type": "string",
2484
- "minLength": 1
2485
- }
2486
- },
2487
- "limit": {
2488
- "type": "integer",
2489
- "exclusiveMinimum": 0
2490
- },
2491
- "qualityGate": {
2492
- "type": "object",
2493
- "properties": {
2494
- "enabled": {
2495
- "type": "boolean"
2496
- }
2497
- },
2498
- "additionalProperties": true
2499
- },
2500
- "requirePlannedRefs": {
2501
- "type": "boolean"
2502
- },
2503
- "cls": {
2504
- "type": "object",
2505
- "properties": {
2506
- "enabled": {
2507
- "type": "boolean"
2508
- },
2509
- "adjacentCount": {
2510
- "type": "integer",
2511
- "minimum": 1
2512
- }
2513
- },
2514
- "additionalProperties": true
2515
- },
2516
- "fidelityCheck": {
2517
- "type": "object",
2518
- "properties": {
2519
- "enabled": {
2520
- "type": "boolean"
2521
- }
2522
- },
2523
- "additionalProperties": true
2524
- }
2525
- },
2526
- "additionalProperties": true
2527
- },
2528
- "consolidate": {
2529
- "type": "object",
2530
- "properties": {
2531
- "engine": {
2532
- "type": "string",
2533
- "maxLength": 63,
2534
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
2535
- },
2536
- "model": {
2537
- "type": "string",
2538
- "minLength": 1
2539
- },
2540
- "llm": {
2541
- "type": "object",
2542
- "properties": {
2543
- "temperature": {
2544
- "type": "number"
2545
- },
2546
- "maxTokens": {
2547
- "type": "integer",
2548
- "exclusiveMinimum": 0
2549
- },
2550
- "supportsJsonSchema": {
2551
- "type": "boolean"
2552
- },
2553
- "extraParams": {
2554
- "type": "object",
2555
- "additionalProperties": {}
2556
- },
2557
- "contextLength": {
2558
- "type": "integer",
2559
- "exclusiveMinimum": 0
2560
- },
2561
- "enableThinking": {
2562
- "type": "boolean"
2563
- }
2564
- },
2565
- "additionalProperties": true
2566
- },
2567
- "enabled": {
2568
- "type": "boolean"
2569
- },
2570
- "timeoutMs": {
2571
- "anyOf": [
2572
- {
2573
- "type": "integer",
2574
- "exclusiveMinimum": 0
2575
- },
2576
- {
2577
- "type": "null"
2578
- }
2579
- ]
2580
- },
2581
- "allowedTypes": {
2582
- "type": "array",
2583
- "items": {
2584
- "type": "string",
2585
- "minLength": 1
2586
- }
2587
- },
2588
- "limit": {
2589
- "type": "integer",
2590
- "exclusiveMinimum": 0
2591
- },
2592
- "minPoolSize": {
2593
- "type": "integer",
2594
- "minimum": 0
2595
- },
2596
- "maxChunkSize": {
2597
- "type": "integer",
2598
- "minimum": 1,
2599
- "maximum": 50
2600
- },
2601
- "incrementalSince": {
2602
- "type": "string"
2603
- },
2604
- "neighborsPerChanged": {
2605
- "type": "integer",
2606
- "minimum": 1
2607
- },
2608
- "p90ChunkSecondsDefault": {
2609
- "type": "number",
2610
- "exclusiveMinimum": 0
2611
- },
2612
- "antiCollapse": {
2613
- "type": "object",
2614
- "properties": {
2615
- "enabled": {
2616
- "type": "boolean"
2617
- },
2618
- "maxGeneration": {
2619
- "type": "integer",
2620
- "minimum": 1
2621
- },
2622
- "lexicalDiversityCheck": {
2623
- "type": "boolean"
2624
- },
2625
- "randomClusterFraction": {
2626
- "type": "number",
2627
- "minimum": 0,
2628
- "maximum": 1
2629
- },
2630
- "mergeInformationFloor": {
2631
- "type": "boolean"
2632
- },
2633
- "minSpecificityRetention": {
2634
- "type": "number",
2635
- "minimum": 0,
2636
- "maximum": 1
2637
- }
2638
- },
2639
- "additionalProperties": true
2640
- },
2641
- "contradictionDetection": {
2642
- "type": "object",
2643
- "properties": {
2644
- "enabled": {
2645
- "type": "boolean"
2646
- }
2647
- },
2648
- "additionalProperties": true
2649
- }
2650
- },
2651
- "additionalProperties": true
2652
- },
2653
- "memoryInference": {
2654
- "type": "object",
2655
- "properties": {
2656
- "engine": {
2657
- "type": "string",
2658
- "maxLength": 63,
2659
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
2660
- },
2661
- "model": {
2662
- "type": "string",
2663
- "minLength": 1
2664
- },
2665
- "llm": {
2666
- "type": "object",
2667
- "properties": {
2668
- "temperature": {
2669
- "type": "number"
2670
- },
2671
- "maxTokens": {
2672
- "type": "integer",
2673
- "exclusiveMinimum": 0
2674
- },
2675
- "supportsJsonSchema": {
2676
- "type": "boolean"
2677
- },
2678
- "extraParams": {
2679
- "type": "object",
2680
- "additionalProperties": {}
2681
- },
2682
- "contextLength": {
2683
- "type": "integer",
2684
- "exclusiveMinimum": 0
2685
- },
2686
- "enableThinking": {
2687
- "type": "boolean"
2688
- }
2689
- },
2690
- "additionalProperties": true
2691
- },
2692
- "enabled": {
2693
- "type": "boolean"
2694
- },
2695
- "timeoutMs": {
2696
- "anyOf": [
2697
- {
2698
- "type": "integer",
2699
- "exclusiveMinimum": 0
2700
- },
2701
- {
2702
- "type": "null"
2703
- }
2704
- ]
2705
- },
2706
- "minPendingCount": {
2707
- "type": "integer",
2708
- "minimum": 0
2709
- },
2710
- "cls": {
2711
- "type": "object",
2712
- "properties": {
2713
- "enabled": {
2714
- "type": "boolean"
2715
- },
2716
- "adjacentCount": {
2717
- "type": "integer",
2718
- "minimum": 1
2719
- }
2720
- },
2721
- "additionalProperties": true
2722
- }
2723
- },
2724
- "additionalProperties": true
2725
- },
2726
- "graphExtraction": {
2727
- "type": "object",
2728
- "properties": {
2729
- "engine": {
2730
- "type": "string",
2731
- "maxLength": 63,
2732
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
2733
- },
2734
- "model": {
2735
- "type": "string",
2736
- "minLength": 1
2737
- },
2738
- "llm": {
2739
- "type": "object",
2740
- "properties": {
2741
- "temperature": {
2742
- "type": "number"
2743
- },
2744
- "maxTokens": {
2745
- "type": "integer",
2746
- "exclusiveMinimum": 0
2747
- },
2748
- "supportsJsonSchema": {
2749
- "type": "boolean"
2750
- },
2751
- "extraParams": {
2752
- "type": "object",
2753
- "additionalProperties": {}
2754
- },
2755
- "contextLength": {
2756
- "type": "integer",
2757
- "exclusiveMinimum": 0
2758
- },
2759
- "enableThinking": {
2760
- "type": "boolean"
2761
- }
2762
- },
2763
- "additionalProperties": true
2764
- },
2765
- "enabled": {
2766
- "type": "boolean"
2767
- },
2768
- "timeoutMs": {
2769
- "anyOf": [
2770
- {
2771
- "type": "integer",
2772
- "exclusiveMinimum": 0
2773
- },
2774
- {
2775
- "type": "null"
2776
- }
2777
- ]
2778
- },
2779
- "topN": {
2780
- "type": "integer",
2781
- "exclusiveMinimum": 0
2782
- },
2783
- "includeTypes": {
2784
- "type": "array",
2785
- "items": {
2786
- "type": "string",
2787
- "minLength": 1
2788
- },
2789
- "minItems": 1
2790
- },
2791
- "batchSize": {
2792
- "type": "integer",
2793
- "exclusiveMinimum": 0
2794
- },
2795
- "fullScan": {
2796
- "type": "boolean"
2797
- }
2798
- },
2799
- "additionalProperties": true
2800
- },
2801
- "extract": {
2802
- "type": "object",
2803
- "properties": {
2804
- "engine": {
2805
- "type": "string",
2806
- "maxLength": 63,
2807
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
2808
- },
2809
- "model": {
2810
- "type": "string",
2811
- "minLength": 1
2812
- },
2813
- "llm": {
2814
- "type": "object",
2815
- "properties": {
2816
- "temperature": {
2817
- "type": "number"
2818
- },
2819
- "maxTokens": {
2820
- "type": "integer",
2821
- "exclusiveMinimum": 0
2822
- },
2823
- "supportsJsonSchema": {
2824
- "type": "boolean"
2825
- },
2826
- "extraParams": {
2827
- "type": "object",
2828
- "additionalProperties": {}
2829
- },
2830
- "contextLength": {
2831
- "type": "integer",
2832
- "exclusiveMinimum": 0
2833
- },
2834
- "enableThinking": {
2835
- "type": "boolean"
2836
- }
2837
- },
2838
- "additionalProperties": true
2839
- },
2840
- "enabled": {
2841
- "type": "boolean"
2842
- },
2843
- "timeoutMs": {
2844
- "anyOf": [
2845
- {
2846
- "type": "integer",
2847
- "exclusiveMinimum": 0
2848
- },
2849
- {
2850
- "type": "null"
2851
- }
2852
- ]
2853
- },
2854
- "defaultSince": {
2855
- "type": "string",
2856
- "minLength": 1
2857
- },
2858
- "maxTotalChars": {
2859
- "type": "integer",
2860
- "exclusiveMinimum": 0
2861
- },
2862
- "minContentChars": {
2863
- "type": "integer",
2864
- "minimum": 0
2865
- },
2866
- "triage": {
2867
- "type": "object",
2868
- "properties": {
2869
- "enabled": {
2870
- "type": "boolean"
2871
- },
2872
- "minScore": {
2873
- "type": "number",
2874
- "minimum": 0
2875
- }
2876
- },
2877
- "additionalProperties": true
2878
- },
2879
- "minNewSessions": {
2880
- "type": "integer",
2881
- "minimum": 0
2882
- },
2883
- "maxSessionsPerRun": {
2884
- "type": "integer",
2885
- "minimum": 0
2886
- },
2887
- "indexSessions": {
2888
- "type": "boolean"
2889
- },
2890
- "minSessionDuration": {
2891
- "type": "number",
2892
- "minimum": 0
2893
- }
2894
- },
2895
- "additionalProperties": true
2896
- },
2897
- "validation": {
2898
- "type": "object",
2899
- "properties": {
2900
- "engine": {
2901
- "type": "string",
2902
- "maxLength": 63,
2903
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
2904
- },
2905
- "model": {
2906
- "type": "string",
2907
- "minLength": 1
2908
- },
2909
- "llm": {
2910
- "type": "object",
2911
- "properties": {
2912
- "temperature": {
2913
- "type": "number"
2914
- },
2915
- "maxTokens": {
2916
- "type": "integer",
2917
- "exclusiveMinimum": 0
2918
- },
2919
- "supportsJsonSchema": {
2920
- "type": "boolean"
2921
- },
2922
- "extraParams": {
2923
- "type": "object",
2924
- "additionalProperties": {}
2925
- },
2926
- "contextLength": {
2927
- "type": "integer",
2928
- "exclusiveMinimum": 0
2929
- },
2930
- "enableThinking": {
2931
- "type": "boolean"
2932
- }
2933
- },
2934
- "additionalProperties": true
2935
- },
2936
- "enabled": {
2937
- "type": "boolean"
2938
- },
2939
- "timeoutMs": {
2940
- "anyOf": [
2941
- {
2942
- "type": "integer",
2943
- "exclusiveMinimum": 0
2944
- },
2945
- {
2946
- "type": "null"
2947
- }
2948
- ]
2949
- }
2950
- },
2951
- "additionalProperties": true
2952
- },
2953
- "triage": {
2954
- "type": "object",
2955
- "properties": {
2956
- "engine": {
2957
- "type": "string",
2958
- "maxLength": 63,
2959
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
2960
- },
2961
- "model": {
2962
- "type": "string",
2963
- "minLength": 1
2964
- },
2965
- "llm": {
2966
- "type": "object",
2967
- "properties": {
2968
- "temperature": {
2969
- "type": "number"
2970
- },
2971
- "maxTokens": {
2972
- "type": "integer",
2973
- "exclusiveMinimum": 0
2974
- },
2975
- "supportsJsonSchema": {
2976
- "type": "boolean"
2977
- },
2978
- "extraParams": {
2979
- "type": "object",
2980
- "additionalProperties": {}
2981
- },
2982
- "contextLength": {
2983
- "type": "integer",
2984
- "exclusiveMinimum": 0
2985
- },
2986
- "enableThinking": {
2987
- "type": "boolean"
2988
- }
2989
- },
2990
- "additionalProperties": true
2991
- },
2992
- "enabled": {
2993
- "type": "boolean"
2994
- },
2995
- "timeoutMs": {
2996
- "anyOf": [
2997
- {
2998
- "type": "integer",
2999
- "exclusiveMinimum": 0
3000
- },
3001
- {
3002
- "type": "null"
3003
- }
3004
- ]
3005
- },
3006
- "applyMode": {
3007
- "type": "string",
3008
- "enum": [
3009
- "queue",
3010
- "promote"
3011
- ]
3012
- },
3013
- "policy": {
3014
- "type": "string",
3015
- "minLength": 1
3016
- },
3017
- "maxAcceptsPerRun": {
3018
- "type": "integer",
3019
- "exclusiveMinimum": 0
3020
- },
3021
- "maxDiffLines": {
3022
- "type": "integer",
3023
- "exclusiveMinimum": 0
3024
- },
3025
- "rejectEmpty": {
3026
- "type": "boolean"
3027
- },
3028
- "judgment": {
3029
- "type": "object",
3030
- "properties": {
3031
- "engine": {
3032
- "type": "string",
3033
- "maxLength": 63,
3034
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
3035
- },
3036
- "model": {
3037
- "type": "string",
3038
- "minLength": 1
3039
- },
3040
- "timeoutMs": {
3041
- "anyOf": [
3042
- {
3043
- "type": "integer",
3044
- "exclusiveMinimum": 0
3045
- },
3046
- {
3047
- "type": "null"
3048
- }
3049
- ]
3050
- },
3051
- "llm": {
3052
- "type": "object",
3053
- "properties": {
3054
- "temperature": {
3055
- "type": "number"
3056
- },
3057
- "maxTokens": {
3058
- "type": "integer",
3059
- "exclusiveMinimum": 0
3060
- },
3061
- "supportsJsonSchema": {
3062
- "type": "boolean"
3063
- },
3064
- "extraParams": {
3065
- "type": "object",
3066
- "additionalProperties": {}
3067
- },
3068
- "contextLength": {
3069
- "type": "integer",
3070
- "exclusiveMinimum": 0
3071
- },
3072
- "enableThinking": {
3073
- "type": "boolean"
3074
- }
3075
- },
3076
- "additionalProperties": true
3077
- }
3078
- },
3079
- "additionalProperties": true
3080
- }
3081
- },
3082
- "additionalProperties": true
3083
- },
3084
- "proactiveMaintenance": {
3085
- "type": "object",
3086
- "properties": {
3087
- "engine": {
3088
- "type": "string",
3089
- "maxLength": 63,
3090
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
3091
- },
3092
- "model": {
3093
- "type": "string",
3094
- "minLength": 1
3095
- },
3096
- "llm": {
3097
- "type": "object",
3098
- "properties": {
3099
- "temperature": {
3100
- "type": "number"
3101
- },
3102
- "maxTokens": {
3103
- "type": "integer",
3104
- "exclusiveMinimum": 0
3105
- },
3106
- "supportsJsonSchema": {
3107
- "type": "boolean"
3108
- },
3109
- "extraParams": {
3110
- "type": "object",
3111
- "additionalProperties": {}
3112
- },
3113
- "contextLength": {
3114
- "type": "integer",
3115
- "exclusiveMinimum": 0
3116
- },
3117
- "enableThinking": {
3118
- "type": "boolean"
3119
- }
3120
- },
3121
- "additionalProperties": true
3122
- },
3123
- "enabled": {
3124
- "type": "boolean"
3125
- },
3126
- "timeoutMs": {
3127
- "anyOf": [
3128
- {
3129
- "type": "integer",
3130
- "exclusiveMinimum": 0
3131
- },
3132
- {
3133
- "type": "null"
3134
- }
3135
- ]
3136
- },
3137
- "dueDays": {
3138
- "type": "integer",
3139
- "minimum": 0
3140
- },
3141
- "maxPerRun": {
3142
- "type": "integer",
3143
- "exclusiveMinimum": 0
3144
- },
3145
- "limit": {
3146
- "type": "integer",
3147
- "exclusiveMinimum": 0
3148
- }
3149
- },
3150
- "additionalProperties": true
3151
- }
3152
- },
3153
- "additionalProperties": true
3154
- },
3155
- "limit": {
3156
- "type": "integer",
3157
- "exclusiveMinimum": 0
3158
- },
3159
- "symmetricValence": {
3160
- "type": "boolean"
3161
- },
3162
- "sync": {
3163
- "type": "object",
3164
- "properties": {
3165
- "enabled": {
3166
- "type": "boolean"
3167
- },
3168
- "push": {
3169
- "type": "boolean"
3170
- },
3171
- "message": {
3172
- "type": "string",
3173
- "minLength": 1
3174
- }
3175
- },
3176
- "additionalProperties": true
3177
- }
3178
- },
3179
- "additionalProperties": true
3180
- },
3181
- "propertyNames": {
3182
- "maxLength": 63,
3183
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
3184
- }
3185
- },
3186
- "utilityDecay": {
3187
- "type": "object",
3188
- "properties": {
3189
- "halfLifeDays": {
3190
- "type": "number",
3191
- "minimum": 0.1
3192
- },
3193
- "feedbackStabilityBoost": {
3194
- "type": "number",
3195
- "minimum": 1
3196
- }
3197
- },
3198
- "additionalProperties": true
3199
- },
3200
- "eventRetentionDays": {
3201
- "type": "number",
3202
- "minimum": 0
3203
- },
3204
- "salience": {
3205
- "type": "object",
3206
- "properties": {
3207
- "outcomeWeightEnabled": {
3208
- "type": "boolean"
3209
- },
3210
- "salienceThreshold": {
3211
- "type": "number",
3212
- "minimum": 0,
3213
- "maximum": 1
3214
- },
3215
- "replayBudget": {
3216
- "type": "integer",
3217
- "minimum": 0
3218
- }
3219
- },
3220
- "additionalProperties": true
3221
- },
3222
- "collapseDetector": {
3223
- "type": "object",
3224
- "properties": {
3225
- "enabled": {
3226
- "type": "boolean"
3227
- },
3228
- "canaryCount": {
3229
- "type": "integer",
3230
- "minimum": 3,
3231
- "maximum": 200
3232
- },
3233
- "k": {
3234
- "type": "integer",
3235
- "minimum": 1,
3236
- "maximum": 100
3237
- },
3238
- "windowCycles": {
3239
- "type": "integer",
3240
- "minimum": 2,
3241
- "maximum": 50
3242
- },
3243
- "recallDropThreshold": {
3244
- "type": "number",
3245
- "minimum": 0,
3246
- "maximum": 1
3247
- },
3248
- "entropyDropThreshold": {
3249
- "type": "number",
3250
- "minimum": 0,
3251
- "maximum": 1
3252
- },
3253
- "churnMinAcceptedActions": {
3254
- "type": "integer",
3255
- "minimum": 1
3256
- },
3257
- "retentionDays": {
3258
- "type": "integer",
3259
- "minimum": 1
3260
- }
3261
- },
3262
- "additionalProperties": true
3263
- }
3264
- },
3265
- "additionalProperties": true
3266
- },
3267
- "workflow": {
3268
- "type": "object",
3269
- "properties": {
3270
- "maxConcurrency": {
3271
- "type": "integer",
3272
- "exclusiveMinimum": 0
3273
- }
3274
- },
3275
- "additionalProperties": true
3276
- },
3277
- "setup": {
3278
- "type": "object",
3279
- "properties": {
3280
- "taskSchedules": {
3281
- "type": "object",
3282
- "properties": {
3283
- "improve": {
3284
- "type": "string",
3285
- "minLength": 1
3286
- },
3287
- "index": {
3288
- "type": "string",
3289
- "minLength": 1
3290
- }
3291
- },
3292
- "additionalProperties": true
3293
- }
3294
- },
3295
- "additionalProperties": true
3296
- }
3297
- },
3298
- "required": [
3299
- "configVersion"
3300
- ],
3301
- "additionalProperties": true
3302
- },
3303
- "LlmProfileConfig": {
3304
- "type": "object",
3305
- "properties": {
3306
- "provider": {
3307
- "type": "string"
3308
- },
3309
- "endpoint": {
3310
- "type": "string"
3311
- },
3312
- "model": {
3313
- "type": "string"
3314
- },
3315
- "apiKey": {
3316
- "type": "string"
3317
- },
3318
- "temperature": {
3319
- "type": "number"
3320
- },
3321
- "maxTokens": {
3322
- "type": "integer",
3323
- "exclusiveMinimum": 0
3324
- },
3325
- "timeoutMs": {
3326
- "anyOf": [
3327
- {
3328
- "type": "integer",
3329
- "exclusiveMinimum": 0
3330
- },
3331
- {
3332
- "type": "null"
3333
- }
3334
- ]
3335
- },
3336
- "concurrency": {
3337
- "type": "integer",
3338
- "exclusiveMinimum": 0
3339
- },
3340
- "capabilities": {
3341
- "type": "object",
3342
- "properties": {
3343
- "structuredOutput": {
3344
- "type": "boolean"
3345
- }
3346
- },
3347
- "additionalProperties": true
3348
- },
3349
- "extraParams": {
3350
- "type": "object",
3351
- "additionalProperties": {}
3352
- },
3353
- "contextLength": {
3354
- "type": "integer",
3355
- "exclusiveMinimum": 0
3356
- },
3357
- "enableThinking": {
3358
- "type": "boolean"
3359
- },
3360
- "supportsJsonSchema": {
3361
- "type": "boolean"
3362
- }
3363
- },
3364
- "required": [
3365
- "endpoint",
3366
- "model"
3367
- ],
3368
- "additionalProperties": true
3369
- },
3370
- "EmbeddingConnectionConfig": {
3371
- "type": "object",
3372
- "properties": {
3373
- "provider": {
3374
- "type": "string"
3375
- },
3376
- "endpoint": {
3377
- "type": "string"
3378
- },
3379
- "model": {
3380
- "type": "string"
3381
- },
3382
- "apiKey": {
3383
- "type": "string",
3384
- "pattern": "^\\$[A-Za-z_][A-Za-z0-9_]*$|^\\$\\{[A-Za-z_][A-Za-z0-9_]*\\}$"
3385
- },
3386
- "dimension": {
3387
- "type": "integer",
3388
- "exclusiveMinimum": 0
3389
- },
3390
- "localModel": {
3391
- "type": "string",
3392
- "minLength": 1
3393
- },
3394
- "maxTokens": {
3395
- "type": "integer",
3396
- "exclusiveMinimum": 0
3397
- },
3398
- "batchSize": {
3399
- "type": "integer",
3400
- "exclusiveMinimum": 0
3401
- },
3402
- "chunkSize": {
3403
- "type": "integer",
3404
- "exclusiveMinimum": 0
3405
- },
3406
- "contextLength": {
3407
- "type": "integer",
3408
- "exclusiveMinimum": 0
3409
- },
3410
- "ollamaOptions": {
3411
- "type": "object",
3412
- "properties": {
3413
- "num_ctx": {
3414
- "type": "integer",
3415
- "exclusiveMinimum": 0
3416
- }
3417
- },
3418
- "additionalProperties": true
3419
- }
3420
- },
3421
- "additionalProperties": true
3422
- },
3423
- "ImproveProcessConfig": {
3424
- "type": "object",
3425
- "properties": {
3426
- "engine": {
3427
- "type": "string",
3428
- "maxLength": 63,
3429
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
3430
- },
3431
- "model": {
3432
- "type": "string",
3433
- "minLength": 1
3434
- },
3435
- "llm": {
3436
- "type": "object",
3437
- "properties": {
3438
- "temperature": {
3439
- "type": "number"
3440
- },
3441
- "maxTokens": {
3442
- "type": "integer",
3443
- "exclusiveMinimum": 0
3444
- },
3445
- "supportsJsonSchema": {
3446
- "type": "boolean"
3447
- },
3448
- "extraParams": {
3449
- "type": "object",
3450
- "additionalProperties": {}
3451
- },
3452
- "contextLength": {
3453
- "type": "integer",
3454
- "exclusiveMinimum": 0
3455
- },
3456
- "enableThinking": {
3457
- "type": "boolean"
3458
- }
3459
- },
3460
- "additionalProperties": true
3461
- },
3462
- "enabled": {
3463
- "type": "boolean"
3464
- },
3465
- "timeoutMs": {
3466
- "anyOf": [
3467
- {
3468
- "type": "integer",
3469
- "exclusiveMinimum": 0
3470
- },
3471
- {
3472
- "type": "null"
3473
- }
3474
- ]
3475
- },
3476
- "allowedTypes": {
3477
- "type": "array",
3478
- "items": {
3479
- "type": "string",
3480
- "minLength": 1
3481
- }
3482
- },
3483
- "limit": {
3484
- "type": "integer",
3485
- "exclusiveMinimum": 0
3486
- },
3487
- "qualityGate": {
3488
- "type": "object",
3489
- "properties": {
3490
- "enabled": {
3491
- "type": "boolean"
3492
- }
3493
- },
3494
- "additionalProperties": true
3495
- },
3496
- "lowValueFilter": {
3497
- "type": "object",
3498
- "properties": {
3499
- "enabled": {
3500
- "type": "boolean"
3501
- }
3502
- },
3503
- "additionalProperties": true
3504
- },
3505
- "requirePlannedRefs": {
3506
- "type": "boolean"
3507
- },
3508
- "cls": {
3509
- "type": "object",
3510
- "properties": {
3511
- "enabled": {
3512
- "type": "boolean"
3513
- },
3514
- "adjacentCount": {
3515
- "type": "integer",
3516
- "minimum": 1
3517
- }
3518
- },
3519
- "additionalProperties": true
3520
- },
3521
- "fidelityCheck": {
3522
- "type": "object",
3523
- "properties": {
3524
- "enabled": {
3525
- "type": "boolean"
3526
- }
3527
- },
3528
- "additionalProperties": true
3529
- },
3530
- "minPoolSize": {
3531
- "type": "integer",
3532
- "minimum": 0
3533
- },
3534
- "maxChunkSize": {
3535
- "type": "integer",
3536
- "minimum": 1,
3537
- "maximum": 50
3538
- },
3539
- "incrementalSince": {
3540
- "type": "string"
3541
- },
3542
- "neighborsPerChanged": {
3543
- "type": "integer",
3544
- "minimum": 1
3545
- },
3546
- "p90ChunkSecondsDefault": {
3547
- "type": "number",
3548
- "exclusiveMinimum": 0
3549
- },
3550
- "antiCollapse": {
3551
- "type": "object",
3552
- "properties": {
3553
- "enabled": {
3554
- "type": "boolean"
3555
- },
3556
- "maxGeneration": {
3557
- "type": "integer",
3558
- "minimum": 1
3559
- },
3560
- "lexicalDiversityCheck": {
3561
- "type": "boolean"
3562
- },
3563
- "randomClusterFraction": {
3564
- "type": "number",
3565
- "minimum": 0,
3566
- "maximum": 1
3567
- },
3568
- "mergeInformationFloor": {
3569
- "type": "boolean"
3570
- },
3571
- "minSpecificityRetention": {
3572
- "type": "number",
3573
- "minimum": 0,
3574
- "maximum": 1
3575
- }
3576
- },
3577
- "additionalProperties": true
3578
- },
3579
- "contradictionDetection": {
3580
- "type": "object",
3581
- "properties": {
3582
- "enabled": {
3583
- "type": "boolean"
3584
- }
3585
- },
3586
- "additionalProperties": true
3587
- },
3588
- "minPendingCount": {
3589
- "type": "integer",
3590
- "minimum": 0
3591
- },
3592
- "topN": {
3593
- "type": "integer",
3594
- "exclusiveMinimum": 0
3595
- },
3596
- "includeTypes": {
3597
- "type": "array",
3598
- "items": {
3599
- "type": "string",
3600
- "minLength": 1
3601
- },
3602
- "minItems": 1
3603
- },
3604
- "batchSize": {
3605
- "type": "integer",
3606
- "exclusiveMinimum": 0
3607
- },
3608
- "fullScan": {
3609
- "type": "boolean"
3610
- },
3611
- "defaultSince": {
3612
- "type": "string",
3613
- "minLength": 1
3614
- },
3615
- "maxTotalChars": {
3616
- "type": "integer",
3617
- "exclusiveMinimum": 0
3618
- },
3619
- "minContentChars": {
3620
- "type": "integer",
3621
- "minimum": 0
3622
- },
3623
- "triage": {
3624
- "type": "object",
3625
- "properties": {
3626
- "enabled": {
3627
- "type": "boolean"
3628
- },
3629
- "minScore": {
3630
- "type": "number",
3631
- "minimum": 0
3632
- }
3633
- },
3634
- "additionalProperties": true
3635
- },
3636
- "minNewSessions": {
3637
- "type": "integer",
3638
- "minimum": 0
3639
- },
3640
- "maxSessionsPerRun": {
3641
- "type": "integer",
3642
- "minimum": 0
3643
- },
3644
- "indexSessions": {
3645
- "type": "boolean"
3646
- },
3647
- "minSessionDuration": {
3648
- "type": "number",
3649
- "minimum": 0
3650
- },
3651
- "applyMode": {
3652
- "type": "string",
3653
- "enum": [
3654
- "queue",
3655
- "promote"
3656
- ]
3657
- },
3658
- "policy": {
3659
- "type": "string",
3660
- "minLength": 1
3661
- },
3662
- "maxAcceptsPerRun": {
3663
- "type": "integer",
3664
- "exclusiveMinimum": 0
3665
- },
3666
- "maxDiffLines": {
3667
- "type": "integer",
3668
- "exclusiveMinimum": 0
3669
- },
3670
- "rejectEmpty": {
3671
- "type": "boolean"
3672
- },
3673
- "judgment": {
3674
- "type": "object",
3675
- "properties": {
3676
- "engine": {
3677
- "type": "string",
3678
- "maxLength": 63,
3679
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
3680
- },
3681
- "model": {
3682
- "type": "string",
3683
- "minLength": 1
3684
- },
3685
- "timeoutMs": {
3686
- "anyOf": [
3687
- {
3688
- "type": "integer",
3689
- "exclusiveMinimum": 0
3690
- },
3691
- {
3692
- "type": "null"
3693
- }
3694
- ]
3695
- },
3696
- "llm": {
3697
- "type": "object",
3698
- "properties": {
3699
- "temperature": {
3700
- "type": "number"
3701
- },
3702
- "maxTokens": {
3703
- "type": "integer",
3704
- "exclusiveMinimum": 0
3705
- },
3706
- "supportsJsonSchema": {
3707
- "type": "boolean"
3708
- },
3709
- "extraParams": {
3710
- "type": "object",
3711
- "additionalProperties": {}
3712
- },
3713
- "contextLength": {
3714
- "type": "integer",
3715
- "exclusiveMinimum": 0
3716
- },
3717
- "enableThinking": {
3718
- "type": "boolean"
3719
- }
3720
- },
3721
- "additionalProperties": true
3722
- }
3723
- },
3724
- "additionalProperties": true
3725
- },
3726
- "dueDays": {
3727
- "type": "integer",
3728
- "minimum": 0
3729
- },
3730
- "maxPerRun": {
3731
- "type": "integer",
3732
- "exclusiveMinimum": 0
3733
- }
3734
- },
3735
- "additionalProperties": true
3736
- },
3737
- "ImproveProfileConfig": {
3738
- "type": "object",
3739
- "properties": {
3740
- "engine": {
3741
- "type": "string",
3742
- "maxLength": 63,
3743
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
3744
- },
3745
- "model": {
3746
- "type": "string",
3747
- "minLength": 1
3748
- },
3749
- "timeoutMs": {
3750
- "anyOf": [
3751
- {
3752
- "type": "integer",
3753
- "exclusiveMinimum": 0
3754
- },
3755
- {
3756
- "type": "null"
3757
- }
3758
- ]
3759
- },
3760
- "llm": {
3761
- "type": "object",
3762
- "properties": {
3763
- "temperature": {
3764
- "type": "number"
3765
- },
3766
- "maxTokens": {
3767
- "type": "integer",
3768
- "exclusiveMinimum": 0
3769
- },
3770
- "supportsJsonSchema": {
3771
- "type": "boolean"
3772
- },
3773
- "extraParams": {
3774
- "type": "object",
3775
- "additionalProperties": {}
3776
- },
3777
- "contextLength": {
3778
- "type": "integer",
3779
- "exclusiveMinimum": 0
3780
- },
3781
- "enableThinking": {
3782
- "type": "boolean"
3783
- }
3784
- },
3785
- "additionalProperties": true
3786
- },
3787
- "description": {
3788
- "type": "string",
3789
- "minLength": 1
3790
- },
3791
- "processes": {
3792
- "type": "object",
3793
- "properties": {
3794
- "reflect": {
3795
- "type": "object",
3796
- "properties": {
3797
- "engine": {
3798
- "type": "string",
3799
- "maxLength": 63,
3800
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
3801
- },
3802
- "model": {
3803
- "type": "string",
3804
- "minLength": 1
3805
- },
3806
- "llm": {
3807
- "type": "object",
3808
- "properties": {
3809
- "temperature": {
3810
- "type": "number"
3811
- },
3812
- "maxTokens": {
3813
- "type": "integer",
3814
- "exclusiveMinimum": 0
3815
- },
3816
- "supportsJsonSchema": {
3817
- "type": "boolean"
3818
- },
3819
- "extraParams": {
3820
- "type": "object",
3821
- "additionalProperties": {}
3822
- },
3823
- "contextLength": {
3824
- "type": "integer",
3825
- "exclusiveMinimum": 0
3826
- },
3827
- "enableThinking": {
3828
- "type": "boolean"
3829
- }
3830
- },
3831
- "additionalProperties": true
3832
- },
3833
- "enabled": {
3834
- "type": "boolean"
3835
- },
3836
- "timeoutMs": {
3837
- "anyOf": [
3838
- {
3839
- "type": "integer",
3840
- "exclusiveMinimum": 0
3841
- },
3842
- {
3843
- "type": "null"
3844
- }
3845
- ]
3846
- },
3847
- "allowedTypes": {
3848
- "type": "array",
3849
- "items": {
3850
- "type": "string",
3851
- "minLength": 1
3852
- }
3853
- },
3854
- "limit": {
3855
- "type": "integer",
3856
- "exclusiveMinimum": 0
3857
- },
3858
- "qualityGate": {
3859
- "type": "object",
3860
- "properties": {
3861
- "enabled": {
3862
- "type": "boolean"
3863
- }
3864
- },
3865
- "additionalProperties": true
3866
- },
3867
- "lowValueFilter": {
3868
- "type": "object",
3869
- "properties": {
3870
- "enabled": {
3871
- "type": "boolean"
3872
- }
3873
- },
3874
- "additionalProperties": true
3875
- }
3876
- },
3877
- "additionalProperties": true
3878
- },
3879
- "distill": {
3880
- "type": "object",
3881
- "properties": {
3882
- "engine": {
3883
- "type": "string",
3884
- "maxLength": 63,
3885
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
3886
- },
3887
- "model": {
3888
- "type": "string",
3889
- "minLength": 1
3890
- },
3891
- "llm": {
3892
- "type": "object",
3893
- "properties": {
3894
- "temperature": {
3895
- "type": "number"
3896
- },
3897
- "maxTokens": {
3898
- "type": "integer",
3899
- "exclusiveMinimum": 0
3900
- },
3901
- "supportsJsonSchema": {
3902
- "type": "boolean"
3903
- },
3904
- "extraParams": {
3905
- "type": "object",
3906
- "additionalProperties": {}
3907
- },
3908
- "contextLength": {
3909
- "type": "integer",
3910
- "exclusiveMinimum": 0
3911
- },
3912
- "enableThinking": {
3913
- "type": "boolean"
3914
- }
3915
- },
3916
- "additionalProperties": true
3917
- },
3918
- "enabled": {
3919
- "type": "boolean"
3920
- },
3921
- "timeoutMs": {
3922
- "anyOf": [
3923
- {
3924
- "type": "integer",
3925
- "exclusiveMinimum": 0
3926
- },
3927
- {
3928
- "type": "null"
3929
- }
3930
- ]
3931
- },
3932
- "allowedTypes": {
3933
- "type": "array",
3934
- "items": {
3935
- "type": "string",
3936
- "minLength": 1
3937
- }
3938
- },
3939
- "limit": {
3940
- "type": "integer",
3941
- "exclusiveMinimum": 0
3942
- },
3943
- "qualityGate": {
3944
- "type": "object",
3945
- "properties": {
3946
- "enabled": {
3947
- "type": "boolean"
3948
- }
3949
- },
3950
- "additionalProperties": true
3951
- },
3952
- "requirePlannedRefs": {
3953
- "type": "boolean"
3954
- },
3955
- "cls": {
3956
- "type": "object",
3957
- "properties": {
3958
- "enabled": {
3959
- "type": "boolean"
3960
- },
3961
- "adjacentCount": {
3962
- "type": "integer",
3963
- "minimum": 1
3964
- }
3965
- },
3966
- "additionalProperties": true
3967
- },
3968
- "fidelityCheck": {
3969
- "type": "object",
3970
- "properties": {
3971
- "enabled": {
3972
- "type": "boolean"
3973
- }
3974
- },
3975
- "additionalProperties": true
3976
- }
3977
- },
3978
- "additionalProperties": true
3979
- },
3980
- "consolidate": {
3981
- "type": "object",
3982
- "properties": {
3983
- "engine": {
3984
- "type": "string",
3985
- "maxLength": 63,
3986
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
3987
- },
3988
- "model": {
3989
- "type": "string",
3990
- "minLength": 1
3991
- },
3992
- "llm": {
3993
- "type": "object",
3994
- "properties": {
3995
- "temperature": {
3996
- "type": "number"
3997
- },
3998
- "maxTokens": {
3999
- "type": "integer",
4000
- "exclusiveMinimum": 0
4001
- },
4002
- "supportsJsonSchema": {
4003
- "type": "boolean"
4004
- },
4005
- "extraParams": {
4006
- "type": "object",
4007
- "additionalProperties": {}
4008
- },
4009
- "contextLength": {
4010
- "type": "integer",
4011
- "exclusiveMinimum": 0
4012
- },
4013
- "enableThinking": {
4014
- "type": "boolean"
4015
- }
4016
- },
4017
- "additionalProperties": true
4018
- },
4019
- "enabled": {
4020
- "type": "boolean"
4021
- },
4022
- "timeoutMs": {
4023
- "anyOf": [
4024
- {
4025
- "type": "integer",
4026
- "exclusiveMinimum": 0
4027
- },
4028
- {
4029
- "type": "null"
4030
- }
4031
- ]
4032
- },
4033
- "allowedTypes": {
4034
- "type": "array",
4035
- "items": {
4036
- "type": "string",
4037
- "minLength": 1
4038
- }
4039
- },
4040
- "limit": {
4041
- "type": "integer",
4042
- "exclusiveMinimum": 0
4043
- },
4044
- "minPoolSize": {
4045
- "type": "integer",
4046
- "minimum": 0
4047
- },
4048
- "maxChunkSize": {
4049
- "type": "integer",
4050
- "minimum": 1,
4051
- "maximum": 50
4052
- },
4053
- "incrementalSince": {
4054
- "type": "string"
4055
- },
4056
- "neighborsPerChanged": {
4057
- "type": "integer",
4058
- "minimum": 1
4059
- },
4060
- "p90ChunkSecondsDefault": {
4061
- "type": "number",
4062
- "exclusiveMinimum": 0
4063
- },
4064
- "antiCollapse": {
4065
- "type": "object",
4066
- "properties": {
4067
- "enabled": {
4068
- "type": "boolean"
4069
- },
4070
- "maxGeneration": {
4071
- "type": "integer",
4072
- "minimum": 1
4073
- },
4074
- "lexicalDiversityCheck": {
4075
- "type": "boolean"
4076
- },
4077
- "randomClusterFraction": {
4078
- "type": "number",
4079
- "minimum": 0,
4080
- "maximum": 1
4081
- },
4082
- "mergeInformationFloor": {
4083
- "type": "boolean"
4084
- },
4085
- "minSpecificityRetention": {
4086
- "type": "number",
4087
- "minimum": 0,
4088
- "maximum": 1
4089
- }
4090
- },
4091
- "additionalProperties": true
4092
- },
4093
- "contradictionDetection": {
4094
- "type": "object",
4095
- "properties": {
4096
- "enabled": {
4097
- "type": "boolean"
4098
- }
4099
- },
4100
- "additionalProperties": true
4101
- }
4102
- },
4103
- "additionalProperties": true
4104
- },
4105
- "memoryInference": {
4106
- "type": "object",
4107
- "properties": {
4108
- "engine": {
4109
- "type": "string",
4110
- "maxLength": 63,
4111
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
4112
- },
4113
- "model": {
4114
- "type": "string",
4115
- "minLength": 1
4116
- },
4117
- "llm": {
4118
- "type": "object",
4119
- "properties": {
4120
- "temperature": {
4121
- "type": "number"
4122
- },
4123
- "maxTokens": {
4124
- "type": "integer",
4125
- "exclusiveMinimum": 0
4126
- },
4127
- "supportsJsonSchema": {
4128
- "type": "boolean"
4129
- },
4130
- "extraParams": {
4131
- "type": "object",
4132
- "additionalProperties": {}
4133
- },
4134
- "contextLength": {
4135
- "type": "integer",
4136
- "exclusiveMinimum": 0
4137
- },
4138
- "enableThinking": {
4139
- "type": "boolean"
4140
- }
4141
- },
4142
- "additionalProperties": true
4143
- },
4144
- "enabled": {
4145
- "type": "boolean"
4146
- },
4147
- "timeoutMs": {
4148
- "anyOf": [
4149
- {
4150
- "type": "integer",
4151
- "exclusiveMinimum": 0
4152
- },
4153
- {
4154
- "type": "null"
4155
- }
4156
- ]
4157
- },
4158
- "minPendingCount": {
4159
- "type": "integer",
4160
- "minimum": 0
4161
- },
4162
- "cls": {
4163
- "type": "object",
4164
- "properties": {
4165
- "enabled": {
4166
- "type": "boolean"
4167
- },
4168
- "adjacentCount": {
4169
- "type": "integer",
4170
- "minimum": 1
4171
- }
4172
- },
4173
- "additionalProperties": true
4174
- }
4175
- },
4176
- "additionalProperties": true
4177
- },
4178
- "graphExtraction": {
4179
- "type": "object",
4180
- "properties": {
4181
- "engine": {
4182
- "type": "string",
4183
- "maxLength": 63,
4184
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
4185
- },
4186
- "model": {
4187
- "type": "string",
4188
- "minLength": 1
4189
- },
4190
- "llm": {
4191
- "type": "object",
4192
- "properties": {
4193
- "temperature": {
4194
- "type": "number"
4195
- },
4196
- "maxTokens": {
4197
- "type": "integer",
4198
- "exclusiveMinimum": 0
4199
- },
4200
- "supportsJsonSchema": {
4201
- "type": "boolean"
4202
- },
4203
- "extraParams": {
4204
- "type": "object",
4205
- "additionalProperties": {}
4206
- },
4207
- "contextLength": {
4208
- "type": "integer",
4209
- "exclusiveMinimum": 0
4210
- },
4211
- "enableThinking": {
4212
- "type": "boolean"
4213
- }
4214
- },
4215
- "additionalProperties": true
4216
- },
4217
- "enabled": {
4218
- "type": "boolean"
4219
- },
4220
- "timeoutMs": {
4221
- "anyOf": [
4222
- {
4223
- "type": "integer",
4224
- "exclusiveMinimum": 0
4225
- },
4226
- {
4227
- "type": "null"
4228
- }
4229
- ]
4230
- },
4231
- "topN": {
4232
- "type": "integer",
4233
- "exclusiveMinimum": 0
4234
- },
4235
- "includeTypes": {
4236
- "type": "array",
4237
- "items": {
4238
- "type": "string",
4239
- "minLength": 1
4240
- },
4241
- "minItems": 1
4242
- },
4243
- "batchSize": {
4244
- "type": "integer",
4245
- "exclusiveMinimum": 0
4246
- },
4247
- "fullScan": {
4248
- "type": "boolean"
4249
- }
4250
- },
4251
- "additionalProperties": true
4252
- },
4253
- "extract": {
4254
- "type": "object",
4255
- "properties": {
4256
- "engine": {
4257
- "type": "string",
4258
- "maxLength": 63,
4259
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
4260
- },
4261
- "model": {
4262
- "type": "string",
4263
- "minLength": 1
4264
- },
4265
- "llm": {
4266
- "type": "object",
4267
- "properties": {
4268
- "temperature": {
4269
- "type": "number"
4270
- },
4271
- "maxTokens": {
4272
- "type": "integer",
4273
- "exclusiveMinimum": 0
4274
- },
4275
- "supportsJsonSchema": {
4276
- "type": "boolean"
4277
- },
4278
- "extraParams": {
4279
- "type": "object",
4280
- "additionalProperties": {}
4281
- },
4282
- "contextLength": {
4283
- "type": "integer",
4284
- "exclusiveMinimum": 0
4285
- },
4286
- "enableThinking": {
4287
- "type": "boolean"
4288
- }
4289
- },
4290
- "additionalProperties": true
4291
- },
4292
- "enabled": {
4293
- "type": "boolean"
4294
- },
4295
- "timeoutMs": {
4296
- "anyOf": [
4297
- {
4298
- "type": "integer",
4299
- "exclusiveMinimum": 0
4300
- },
4301
- {
4302
- "type": "null"
4303
- }
4304
- ]
4305
- },
4306
- "defaultSince": {
4307
- "type": "string",
4308
- "minLength": 1
4309
- },
4310
- "maxTotalChars": {
4311
- "type": "integer",
4312
- "exclusiveMinimum": 0
4313
- },
4314
- "minContentChars": {
4315
- "type": "integer",
4316
- "minimum": 0
4317
- },
4318
- "triage": {
4319
- "type": "object",
4320
- "properties": {
4321
- "enabled": {
4322
- "type": "boolean"
4323
- },
4324
- "minScore": {
4325
- "type": "number",
4326
- "minimum": 0
4327
- }
4328
- },
4329
- "additionalProperties": true
4330
- },
4331
- "minNewSessions": {
4332
- "type": "integer",
4333
- "minimum": 0
4334
- },
4335
- "maxSessionsPerRun": {
4336
- "type": "integer",
4337
- "minimum": 0
4338
- },
4339
- "indexSessions": {
4340
- "type": "boolean"
4341
- },
4342
- "minSessionDuration": {
4343
- "type": "number",
4344
- "minimum": 0
4345
- }
4346
- },
4347
- "additionalProperties": true
4348
- },
4349
- "validation": {
4350
- "type": "object",
4351
- "properties": {
4352
- "engine": {
4353
- "type": "string",
4354
- "maxLength": 63,
4355
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
4356
- },
4357
- "model": {
4358
- "type": "string",
4359
- "minLength": 1
4360
- },
4361
- "llm": {
4362
- "type": "object",
4363
- "properties": {
4364
- "temperature": {
4365
- "type": "number"
4366
- },
4367
- "maxTokens": {
4368
- "type": "integer",
4369
- "exclusiveMinimum": 0
4370
- },
4371
- "supportsJsonSchema": {
4372
- "type": "boolean"
4373
- },
4374
- "extraParams": {
4375
- "type": "object",
4376
- "additionalProperties": {}
4377
- },
4378
- "contextLength": {
4379
- "type": "integer",
4380
- "exclusiveMinimum": 0
4381
- },
4382
- "enableThinking": {
4383
- "type": "boolean"
4384
- }
4385
- },
4386
- "additionalProperties": true
4387
- },
4388
- "enabled": {
4389
- "type": "boolean"
4390
- },
4391
- "timeoutMs": {
4392
- "anyOf": [
4393
- {
4394
- "type": "integer",
4395
- "exclusiveMinimum": 0
4396
- },
4397
- {
4398
- "type": "null"
4399
- }
4400
- ]
4401
- }
4402
- },
4403
- "additionalProperties": true
4404
- },
4405
- "triage": {
4406
- "type": "object",
4407
- "properties": {
4408
- "engine": {
4409
- "type": "string",
4410
- "maxLength": 63,
4411
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
4412
- },
4413
- "model": {
4414
- "type": "string",
4415
- "minLength": 1
4416
- },
4417
- "llm": {
4418
- "type": "object",
4419
- "properties": {
4420
- "temperature": {
4421
- "type": "number"
4422
- },
4423
- "maxTokens": {
4424
- "type": "integer",
4425
- "exclusiveMinimum": 0
4426
- },
4427
- "supportsJsonSchema": {
4428
- "type": "boolean"
4429
- },
4430
- "extraParams": {
4431
- "type": "object",
4432
- "additionalProperties": {}
4433
- },
4434
- "contextLength": {
4435
- "type": "integer",
4436
- "exclusiveMinimum": 0
4437
- },
4438
- "enableThinking": {
4439
- "type": "boolean"
4440
- }
4441
- },
4442
- "additionalProperties": true
4443
- },
4444
- "enabled": {
4445
- "type": "boolean"
4446
- },
4447
- "timeoutMs": {
4448
- "anyOf": [
4449
- {
4450
- "type": "integer",
4451
- "exclusiveMinimum": 0
4452
- },
4453
- {
4454
- "type": "null"
4455
- }
4456
- ]
4457
- },
4458
- "applyMode": {
4459
- "type": "string",
4460
- "enum": [
4461
- "queue",
4462
- "promote"
4463
- ]
4464
- },
4465
- "policy": {
4466
- "type": "string",
4467
- "minLength": 1
4468
- },
4469
- "maxAcceptsPerRun": {
4470
- "type": "integer",
4471
- "exclusiveMinimum": 0
4472
- },
4473
- "maxDiffLines": {
4474
- "type": "integer",
4475
- "exclusiveMinimum": 0
4476
- },
4477
- "rejectEmpty": {
4478
- "type": "boolean"
4479
- },
4480
- "judgment": {
4481
- "type": "object",
4482
- "properties": {
4483
- "engine": {
4484
- "type": "string",
4485
- "maxLength": 63,
4486
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
4487
- },
4488
- "model": {
4489
- "type": "string",
4490
- "minLength": 1
4491
- },
4492
- "timeoutMs": {
4493
- "anyOf": [
4494
- {
4495
- "type": "integer",
4496
- "exclusiveMinimum": 0
4497
- },
4498
- {
4499
- "type": "null"
4500
- }
4501
- ]
4502
- },
4503
- "llm": {
4504
- "type": "object",
4505
- "properties": {
4506
- "temperature": {
4507
- "type": "number"
4508
- },
4509
- "maxTokens": {
4510
- "type": "integer",
4511
- "exclusiveMinimum": 0
4512
- },
4513
- "supportsJsonSchema": {
4514
- "type": "boolean"
4515
- },
4516
- "extraParams": {
4517
- "type": "object",
4518
- "additionalProperties": {}
4519
- },
4520
- "contextLength": {
4521
- "type": "integer",
4522
- "exclusiveMinimum": 0
4523
- },
4524
- "enableThinking": {
4525
- "type": "boolean"
4526
- }
4527
- },
4528
- "additionalProperties": true
4529
- }
4530
- },
4531
- "additionalProperties": true
4532
- }
4533
- },
4534
- "additionalProperties": true
4535
- },
4536
- "proactiveMaintenance": {
4537
- "type": "object",
4538
- "properties": {
4539
- "engine": {
4540
- "type": "string",
4541
- "maxLength": 63,
4542
- "pattern": "^(?!akm-)[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
4543
- },
4544
- "model": {
4545
- "type": "string",
4546
- "minLength": 1
4547
- },
4548
- "llm": {
4549
- "type": "object",
4550
- "properties": {
4551
- "temperature": {
4552
- "type": "number"
4553
- },
4554
- "maxTokens": {
4555
- "type": "integer",
4556
- "exclusiveMinimum": 0
4557
- },
4558
- "supportsJsonSchema": {
4559
- "type": "boolean"
4560
- },
4561
- "extraParams": {
4562
- "type": "object",
4563
- "additionalProperties": {}
4564
- },
4565
- "contextLength": {
4566
- "type": "integer",
4567
- "exclusiveMinimum": 0
4568
- },
4569
- "enableThinking": {
4570
- "type": "boolean"
4571
- }
4572
- },
4573
- "additionalProperties": true
4574
- },
4575
- "enabled": {
4576
- "type": "boolean"
4577
- },
4578
- "timeoutMs": {
4579
- "anyOf": [
4580
- {
4581
- "type": "integer",
4582
- "exclusiveMinimum": 0
4583
- },
4584
- {
4585
- "type": "null"
4586
- }
4587
- ]
4588
- },
4589
- "dueDays": {
4590
- "type": "integer",
4591
- "minimum": 0
4592
- },
4593
- "maxPerRun": {
4594
- "type": "integer",
4595
- "exclusiveMinimum": 0
4596
- },
4597
- "limit": {
4598
- "type": "integer",
4599
- "exclusiveMinimum": 0
4600
- }
4601
- },
4602
- "additionalProperties": true
4603
- }
4604
- },
4605
- "additionalProperties": true
4606
- },
4607
- "limit": {
4608
- "type": "integer",
4609
- "exclusiveMinimum": 0
4610
- },
4611
- "symmetricValence": {
4612
- "type": "boolean"
4613
- },
4614
- "sync": {
4615
- "type": "object",
4616
- "properties": {
4617
- "enabled": {
4618
- "type": "boolean"
4619
- },
4620
- "push": {
4621
- "type": "boolean"
4622
- },
4623
- "message": {
4624
- "type": "string",
4625
- "minLength": 1
4626
- }
4627
- },
4628
- "additionalProperties": true
4629
- }
4630
- },
4631
- "additionalProperties": true
4632
- },
4633
- "RegistryConfigEntry": {
4634
- "type": "object",
4635
- "properties": {
4636
- "url": {
4637
- "type": "string"
4638
- },
4639
- "name": {
4640
- "type": "string",
4641
- "minLength": 1
4642
- },
4643
- "enabled": {
4644
- "type": "boolean"
4645
- },
4646
- "provider": {
4647
- "type": "string",
4648
- "minLength": 1
4649
- },
4650
- "options": {
4651
- "type": "object",
4652
- "additionalProperties": {}
4653
- }
4654
- },
4655
- "required": [
4656
- "url"
4657
- ],
4658
- "additionalProperties": true
4659
- },
4660
- "StashConfigEntry": {
4661
- "type": "object",
4662
- "properties": {
4663
- "type": {
4664
- "type": "string",
4665
- "minLength": 1
4666
- },
4667
- "path": {
4668
- "type": "string",
4669
- "minLength": 1
4670
- },
4671
- "url": {
4672
- "type": "string",
4673
- "minLength": 1
4674
- },
4675
- "name": {
4676
- "type": "string",
4677
- "minLength": 1
4678
- },
4679
- "enabled": {
4680
- "type": "boolean"
4681
- },
4682
- "writable": {
4683
- "type": "boolean"
4684
- },
4685
- "primary": {
4686
- "type": "boolean"
4687
- },
4688
- "options": {
4689
- "type": "object",
4690
- "properties": {
4691
- "pushOnCommit": {
4692
- "type": "boolean"
4693
- }
4694
- },
4695
- "additionalProperties": true
4696
- }
4697
- },
4698
- "required": [
4699
- "type"
4700
- ],
4701
- "additionalProperties": true
4702
- }
4703
- }
4704
- }