@zigrivers/scaffold 3.28.0 → 3.29.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 (669) hide show
  1. package/README.md +5 -1
  2. package/content/guides/.gitkeep +0 -0
  3. package/content/guides/index.html +1188 -0
  4. package/content/guides/mmr/.diagrams/diagram-0.svg +1 -0
  5. package/content/guides/mmr/.diagrams/manifest.json +3 -0
  6. package/content/guides/mmr/index.html +1728 -0
  7. package/content/guides/mmr/index.md +403 -0
  8. package/content/knowledge/VERSION +1 -0
  9. package/content/knowledge/backend/backend-api-design.md +8 -0
  10. package/content/knowledge/backend/backend-architecture.md +8 -0
  11. package/content/knowledge/backend/backend-async-patterns.md +7 -0
  12. package/content/knowledge/backend/backend-auth-patterns.md +9 -0
  13. package/content/knowledge/backend/backend-conventions.md +6 -0
  14. package/content/knowledge/backend/backend-data-modeling.md +7 -0
  15. package/content/knowledge/backend/backend-deployment.md +8 -0
  16. package/content/knowledge/backend/backend-dev-environment.md +5 -0
  17. package/content/knowledge/backend/backend-fintech-broker-integration.md +6 -0
  18. package/content/knowledge/backend/backend-fintech-compliance.md +10 -2
  19. package/content/knowledge/backend/backend-fintech-data-modeling.md +6 -0
  20. package/content/knowledge/backend/backend-fintech-ledger.md +6 -0
  21. package/content/knowledge/backend/backend-fintech-observability.md +6 -0
  22. package/content/knowledge/backend/backend-fintech-order-lifecycle.md +6 -0
  23. package/content/knowledge/backend/backend-fintech-risk-management.md +6 -0
  24. package/content/knowledge/backend/backend-fintech-testing.md +6 -0
  25. package/content/knowledge/backend/backend-observability.md +7 -0
  26. package/content/knowledge/backend/backend-project-structure.md +6 -0
  27. package/content/knowledge/backend/backend-requirements.md +6 -0
  28. package/content/knowledge/backend/backend-security.md +7 -0
  29. package/content/knowledge/backend/backend-testing.md +7 -0
  30. package/content/knowledge/backend/backend-worker-patterns.md +6 -0
  31. package/content/knowledge/browser-extension/browser-extension-architecture.md +6 -0
  32. package/content/knowledge/browser-extension/browser-extension-content-scripts.md +6 -0
  33. package/content/knowledge/browser-extension/browser-extension-conventions.md +6 -0
  34. package/content/knowledge/browser-extension/browser-extension-cross-browser.md +6 -0
  35. package/content/knowledge/browser-extension/browser-extension-dev-environment.md +6 -0
  36. package/content/knowledge/browser-extension/browser-extension-manifest.md +6 -0
  37. package/content/knowledge/browser-extension/browser-extension-project-structure.md +6 -0
  38. package/content/knowledge/browser-extension/browser-extension-requirements.md +6 -0
  39. package/content/knowledge/browser-extension/browser-extension-security.md +7 -0
  40. package/content/knowledge/browser-extension/browser-extension-service-workers.md +6 -0
  41. package/content/knowledge/browser-extension/browser-extension-store-submission.md +6 -0
  42. package/content/knowledge/browser-extension/browser-extension-testing.md +6 -0
  43. package/content/knowledge/cli/cli-architecture.md +4 -0
  44. package/content/knowledge/cli/cli-conventions.md +4 -0
  45. package/content/knowledge/cli/cli-dev-environment.md +5 -0
  46. package/content/knowledge/cli/cli-distribution-patterns.md +5 -0
  47. package/content/knowledge/cli/cli-interactivity-patterns.md +4 -0
  48. package/content/knowledge/cli/cli-output-patterns.md +4 -0
  49. package/content/knowledge/cli/cli-project-structure.md +4 -0
  50. package/content/knowledge/cli/cli-requirements.md +4 -0
  51. package/content/knowledge/cli/cli-shell-integration.md +4 -0
  52. package/content/knowledge/cli/cli-testing.md +4 -0
  53. package/content/knowledge/core/adr-craft.md +8 -0
  54. package/content/knowledge/core/ai-memory-management.md +6 -0
  55. package/content/knowledge/core/api-design.md +6 -0
  56. package/content/knowledge/core/automated-review-tooling.md +8 -0
  57. package/content/knowledge/core/claude-md-patterns.md +8 -0
  58. package/content/knowledge/core/coding-conventions.md +8 -0
  59. package/content/knowledge/core/database-design.md +8 -0
  60. package/content/knowledge/core/design-system-tokens.md +8 -0
  61. package/content/knowledge/core/dev-environment.md +4 -0
  62. package/content/knowledge/core/domain-modeling.md +6 -0
  63. package/content/knowledge/core/eval-craft.md +6 -0
  64. package/content/knowledge/core/git-workflow-patterns.md +8 -0
  65. package/content/knowledge/core/multi-model-research-dispatch.md +6 -0
  66. package/content/knowledge/core/multi-model-review-dispatch.md +6 -0
  67. package/content/knowledge/core/multi-service-api-contracts.md +5 -0
  68. package/content/knowledge/core/multi-service-architecture.md +5 -0
  69. package/content/knowledge/core/multi-service-auth.md +6 -0
  70. package/content/knowledge/core/multi-service-data-ownership.md +8 -0
  71. package/content/knowledge/core/multi-service-observability.md +8 -0
  72. package/content/knowledge/core/multi-service-resilience.md +5 -0
  73. package/content/knowledge/core/multi-service-task-decomposition.md +8 -0
  74. package/content/knowledge/core/multi-service-testing.md +5 -0
  75. package/content/knowledge/core/operations-runbook.md +8 -0
  76. package/content/knowledge/core/project-structure-patterns.md +4 -0
  77. package/content/knowledge/core/review-step-template.md +4 -0
  78. package/content/knowledge/core/security-best-practices.md +6 -0
  79. package/content/knowledge/core/system-architecture.md +6 -0
  80. package/content/knowledge/core/task-decomposition.md +5 -0
  81. package/content/knowledge/core/task-tracking.md +8 -0
  82. package/content/knowledge/core/tech-stack-selection.md +8 -0
  83. package/content/knowledge/core/test-skeleton-generation.md +4 -0
  84. package/content/knowledge/core/testing-strategy.md +8 -0
  85. package/content/knowledge/core/user-stories.md +8 -0
  86. package/content/knowledge/core/user-story-innovation.md +4 -0
  87. package/content/knowledge/core/ux-specification.md +5 -0
  88. package/content/knowledge/data-pipeline/data-pipeline-architecture.md +5 -0
  89. package/content/knowledge/data-pipeline/data-pipeline-batch-patterns.md +4 -0
  90. package/content/knowledge/data-pipeline/data-pipeline-conventions.md +4 -0
  91. package/content/knowledge/data-pipeline/data-pipeline-dev-environment.md +4 -0
  92. package/content/knowledge/data-pipeline/data-pipeline-orchestration.md +4 -0
  93. package/content/knowledge/data-pipeline/data-pipeline-project-structure.md +4 -0
  94. package/content/knowledge/data-pipeline/data-pipeline-quality.md +4 -0
  95. package/content/knowledge/data-pipeline/data-pipeline-requirements.md +4 -0
  96. package/content/knowledge/data-pipeline/data-pipeline-schema-management.md +4 -0
  97. package/content/knowledge/data-pipeline/data-pipeline-security.md +4 -0
  98. package/content/knowledge/data-pipeline/data-pipeline-streaming-patterns.md +4 -0
  99. package/content/knowledge/data-pipeline/data-pipeline-testing.md +4 -0
  100. package/content/knowledge/data-science/data-science-architecture.md +5 -0
  101. package/content/knowledge/data-science/data-science-conventions.md +6 -0
  102. package/content/knowledge/data-science/data-science-data-versioning.md +6 -0
  103. package/content/knowledge/data-science/data-science-dev-environment.md +6 -0
  104. package/content/knowledge/data-science/data-science-experiment-tracking.md +8 -0
  105. package/content/knowledge/data-science/data-science-model-evaluation.md +5 -0
  106. package/content/knowledge/data-science/data-science-notebook-discipline.md +5 -0
  107. package/content/knowledge/data-science/data-science-observability.md +6 -0
  108. package/content/knowledge/data-science/data-science-project-structure.md +5 -0
  109. package/content/knowledge/data-science/data-science-reproducibility.md +8 -0
  110. package/content/knowledge/data-science/data-science-requirements.md +5 -0
  111. package/content/knowledge/data-science/data-science-security.md +8 -0
  112. package/content/knowledge/data-science/data-science-testing.md +5 -0
  113. package/content/knowledge/execution/enhancement-workflow.md +4 -0
  114. package/content/knowledge/execution/multi-agent-coordination.md +12 -1
  115. package/content/knowledge/execution/task-claiming-strategy.md +4 -0
  116. package/content/knowledge/execution/tdd-execution-loop.md +5 -0
  117. package/content/knowledge/execution/worktree-management.md +5 -0
  118. package/content/knowledge/finalization/apply-fixes-and-freeze.md +4 -0
  119. package/content/knowledge/finalization/developer-onboarding.md +4 -0
  120. package/content/knowledge/finalization/implementation-playbook.md +4 -0
  121. package/content/knowledge/game/game-accessibility.md +4 -0
  122. package/content/knowledge/game/game-ai-patterns.md +4 -0
  123. package/content/knowledge/game/game-asset-pipeline.md +4 -0
  124. package/content/knowledge/game/game-audio-design.md +4 -0
  125. package/content/knowledge/game/game-binary-vcs-strategy.md +5 -0
  126. package/content/knowledge/game/game-design-document.md +4 -0
  127. package/content/knowledge/game/game-domain-patterns.md +4 -0
  128. package/content/knowledge/game/game-economy-design.md +4 -0
  129. package/content/knowledge/game/game-engine-selection.md +4 -0
  130. package/content/knowledge/game/game-ideation.md +4 -0
  131. package/content/knowledge/game/game-input-systems.md +4 -0
  132. package/content/knowledge/game/game-level-content-design.md +4 -0
  133. package/content/knowledge/game/game-liveops-analytics.md +4 -0
  134. package/content/knowledge/game/game-localization.md +4 -0
  135. package/content/knowledge/game/game-milestone-definitions.md +4 -0
  136. package/content/knowledge/game/game-modding-ugc.md +4 -0
  137. package/content/knowledge/game/game-narrative-design.md +4 -0
  138. package/content/knowledge/game/game-networking.md +4 -0
  139. package/content/knowledge/game/game-performance-budgeting.md +4 -0
  140. package/content/knowledge/game/game-platform-certification.md +6 -0
  141. package/content/knowledge/game/game-project-structure.md +4 -0
  142. package/content/knowledge/game/game-save-systems.md +4 -0
  143. package/content/knowledge/game/game-testing-strategy.md +4 -0
  144. package/content/knowledge/game/game-ui-patterns.md +4 -0
  145. package/content/knowledge/game/game-vr-ar-design.md +6 -0
  146. package/content/knowledge/library/library-api-design.md +4 -0
  147. package/content/knowledge/library/library-architecture.md +4 -0
  148. package/content/knowledge/library/library-bundling.md +4 -0
  149. package/content/knowledge/library/library-conventions.md +5 -0
  150. package/content/knowledge/library/library-dev-environment.md +4 -0
  151. package/content/knowledge/library/library-documentation.md +4 -0
  152. package/content/knowledge/library/library-project-structure.md +4 -0
  153. package/content/knowledge/library/library-requirements.md +4 -0
  154. package/content/knowledge/library/library-security.md +4 -0
  155. package/content/knowledge/library/library-testing.md +4 -0
  156. package/content/knowledge/library/library-type-definitions.md +4 -0
  157. package/content/knowledge/library/library-versioning.md +5 -0
  158. package/content/knowledge/ml/ml-architecture.md +4 -0
  159. package/content/knowledge/ml/ml-conventions.md +4 -0
  160. package/content/knowledge/ml/ml-dev-environment.md +4 -0
  161. package/content/knowledge/ml/ml-experiment-tracking.md +6 -0
  162. package/content/knowledge/ml/ml-model-evaluation.md +4 -0
  163. package/content/knowledge/ml/ml-observability.md +5 -0
  164. package/content/knowledge/ml/ml-project-structure.md +4 -0
  165. package/content/knowledge/ml/ml-requirements.md +4 -0
  166. package/content/knowledge/ml/ml-security.md +5 -0
  167. package/content/knowledge/ml/ml-serving-patterns.md +4 -0
  168. package/content/knowledge/ml/ml-testing.md +4 -0
  169. package/content/knowledge/ml/ml-training-patterns.md +4 -0
  170. package/content/knowledge/mobile-app/mobile-app-architecture.md +6 -0
  171. package/content/knowledge/mobile-app/mobile-app-conventions.md +6 -0
  172. package/content/knowledge/mobile-app/mobile-app-deployment.md +6 -0
  173. package/content/knowledge/mobile-app/mobile-app-dev-environment.md +6 -0
  174. package/content/knowledge/mobile-app/mobile-app-distribution.md +6 -0
  175. package/content/knowledge/mobile-app/mobile-app-observability.md +7 -0
  176. package/content/knowledge/mobile-app/mobile-app-offline-patterns.md +7 -0
  177. package/content/knowledge/mobile-app/mobile-app-project-structure.md +6 -0
  178. package/content/knowledge/mobile-app/mobile-app-push-notifications.md +6 -0
  179. package/content/knowledge/mobile-app/mobile-app-requirements.md +7 -0
  180. package/content/knowledge/mobile-app/mobile-app-security.md +8 -0
  181. package/content/knowledge/mobile-app/mobile-app-testing.md +6 -0
  182. package/content/knowledge/product/gap-analysis.md +4 -0
  183. package/content/knowledge/product/ideation-craft.md +4 -0
  184. package/content/knowledge/product/prd-craft.md +4 -0
  185. package/content/knowledge/product/prd-innovation.md +4 -0
  186. package/content/knowledge/product/vision-craft.md +4 -0
  187. package/content/knowledge/product/vision-innovation.md +4 -0
  188. package/content/knowledge/research/research-architecture.md +4 -0
  189. package/content/knowledge/research/research-conventions.md +6 -0
  190. package/content/knowledge/research/research-dev-environment.md +6 -0
  191. package/content/knowledge/research/research-experiment-loop.md +4 -0
  192. package/content/knowledge/research/research-experiment-tracking.md +6 -0
  193. package/content/knowledge/research/research-ml-architecture-search.md +4 -0
  194. package/content/knowledge/research/research-ml-evaluation.md +4 -0
  195. package/content/knowledge/research/research-ml-experiment-tracking.md +6 -0
  196. package/content/knowledge/research/research-ml-training-patterns.md +4 -0
  197. package/content/knowledge/research/research-observability.md +5 -0
  198. package/content/knowledge/research/research-overfitting-prevention.md +5 -0
  199. package/content/knowledge/research/research-project-structure.md +5 -0
  200. package/content/knowledge/research/research-quant-backtesting.md +4 -0
  201. package/content/knowledge/research/research-quant-market-data.md +4 -0
  202. package/content/knowledge/research/research-quant-metrics.md +4 -0
  203. package/content/knowledge/research/research-quant-requirements.md +4 -0
  204. package/content/knowledge/research/research-quant-risk.md +4 -0
  205. package/content/knowledge/research/research-quant-strategy-patterns.md +4 -0
  206. package/content/knowledge/research/research-requirements.md +5 -0
  207. package/content/knowledge/research/research-security.md +5 -0
  208. package/content/knowledge/research/research-sim-compute-management.md +4 -0
  209. package/content/knowledge/research/research-sim-engine-patterns.md +4 -0
  210. package/content/knowledge/research/research-sim-parameter-spaces.md +4 -0
  211. package/content/knowledge/research/research-sim-validation.md +4 -0
  212. package/content/knowledge/research/research-testing.md +5 -0
  213. package/content/knowledge/review/review-adr.md +6 -0
  214. package/content/knowledge/review/review-api-design.md +6 -0
  215. package/content/knowledge/review/review-art-bible.md +4 -0
  216. package/content/knowledge/review/review-database-design.md +5 -0
  217. package/content/knowledge/review/review-domain-modeling.md +5 -0
  218. package/content/knowledge/review/review-game-design.md +4 -0
  219. package/content/knowledge/review/review-game-economy.md +4 -0
  220. package/content/knowledge/review/review-game-ui.md +5 -0
  221. package/content/knowledge/review/review-implementation-tasks.md +5 -0
  222. package/content/knowledge/review/review-methodology.md +4 -0
  223. package/content/knowledge/review/review-netcode.md +4 -0
  224. package/content/knowledge/review/review-operations.md +6 -0
  225. package/content/knowledge/review/review-platform-cert.md +4 -0
  226. package/content/knowledge/review/review-prd.md +4 -0
  227. package/content/knowledge/review/review-security.md +7 -0
  228. package/content/knowledge/review/review-system-architecture.md +6 -0
  229. package/content/knowledge/review/review-testing-strategy.md +6 -0
  230. package/content/knowledge/review/review-user-stories.md +5 -0
  231. package/content/knowledge/review/review-ux-specification.md +6 -0
  232. package/content/knowledge/review/review-vision.md +4 -0
  233. package/content/knowledge/tools/post-implementation-review-methodology.md +4 -0
  234. package/content/knowledge/tools/release-management.md +5 -0
  235. package/content/knowledge/tools/session-analysis.md +4 -0
  236. package/content/knowledge/tools/version-strategy.md +4 -0
  237. package/content/knowledge/validation/critical-path-analysis.md +4 -0
  238. package/content/knowledge/validation/cross-phase-consistency.md +4 -0
  239. package/content/knowledge/validation/decision-completeness.md +5 -0
  240. package/content/knowledge/validation/dependency-validation.md +4 -0
  241. package/content/knowledge/validation/implementability-review.md +4 -0
  242. package/content/knowledge/validation/scope-management.md +4 -0
  243. package/content/knowledge/validation/traceability.md +4 -0
  244. package/content/knowledge/web-app/web-app-api-patterns.md +6 -0
  245. package/content/knowledge/web-app/web-app-architecture.md +6 -0
  246. package/content/knowledge/web-app/web-app-auth-patterns.md +9 -0
  247. package/content/knowledge/web-app/web-app-conventions.md +5 -0
  248. package/content/knowledge/web-app/web-app-data-patterns.md +6 -0
  249. package/content/knowledge/web-app/web-app-deployment-workflow.md +6 -0
  250. package/content/knowledge/web-app/web-app-deployment.md +6 -0
  251. package/content/knowledge/web-app/web-app-design-system.md +6 -0
  252. package/content/knowledge/web-app/web-app-dev-environment.md +6 -0
  253. package/content/knowledge/web-app/web-app-observability.md +6 -0
  254. package/content/knowledge/web-app/web-app-project-structure.md +5 -0
  255. package/content/knowledge/web-app/web-app-rendering-strategies.md +6 -0
  256. package/content/knowledge/web-app/web-app-requirements.md +6 -0
  257. package/content/knowledge/web-app/web-app-security.md +8 -0
  258. package/content/knowledge/web-app/web-app-session-patterns.md +7 -0
  259. package/content/knowledge/web-app/web-app-testing.md +6 -0
  260. package/content/knowledge/web-app/web-app-ux-patterns.md +6 -0
  261. package/content/knowledge/web3/web3-access-control.md +8 -0
  262. package/content/knowledge/web3/web3-architecture.md +7 -0
  263. package/content/knowledge/web3/web3-audit-workflow.md +7 -0
  264. package/content/knowledge/web3/web3-common-vulnerabilities.md +8 -0
  265. package/content/knowledge/web3/web3-conventions.md +6 -0
  266. package/content/knowledge/web3/web3-deployment-and-verification.md +7 -0
  267. package/content/knowledge/web3/web3-dev-environment.md +6 -0
  268. package/content/knowledge/web3/web3-gas-optimization.md +7 -0
  269. package/content/knowledge/web3/web3-oracles-and-external-data.md +7 -0
  270. package/content/knowledge/web3/web3-project-structure.md +6 -0
  271. package/content/knowledge/web3/web3-requirements.md +6 -0
  272. package/content/knowledge/web3/web3-security.md +8 -0
  273. package/content/knowledge/web3/web3-testing.md +6 -0
  274. package/content/knowledge/web3/web3-upgradeability.md +7 -0
  275. package/content/tools/knowledge-audit-entry.md +79 -0
  276. package/content/tools/review-code.md +41 -14
  277. package/content/tools/review-pr.md +32 -14
  278. package/dist/cli/commands/dashboard.d.ts +1 -1
  279. package/dist/cli/commands/dashboard.d.ts.map +1 -1
  280. package/dist/cli/commands/dashboard.js +10 -10
  281. package/dist/cli/commands/dashboard.js.map +1 -1
  282. package/dist/cli/commands/dashboard.test.js +1 -1
  283. package/dist/cli/commands/dashboard.test.js.map +1 -1
  284. package/dist/cli/commands/guides.d.ts +24 -0
  285. package/dist/cli/commands/guides.d.ts.map +1 -0
  286. package/dist/cli/commands/guides.js +103 -0
  287. package/dist/cli/commands/guides.js.map +1 -0
  288. package/dist/cli/commands/knowledge-freshness-anti-over-rewrite.d.ts +9 -0
  289. package/dist/cli/commands/knowledge-freshness-anti-over-rewrite.d.ts.map +1 -0
  290. package/dist/cli/commands/knowledge-freshness-anti-over-rewrite.js +112 -0
  291. package/dist/cli/commands/knowledge-freshness-anti-over-rewrite.js.map +1 -0
  292. package/dist/cli/commands/knowledge-freshness-audit-apply.d.ts +8 -0
  293. package/dist/cli/commands/knowledge-freshness-audit-apply.d.ts.map +1 -0
  294. package/dist/cli/commands/knowledge-freshness-audit-apply.js +96 -0
  295. package/dist/cli/commands/knowledge-freshness-audit-apply.js.map +1 -0
  296. package/dist/cli/commands/knowledge-freshness-audit-prefilter.d.ts +7 -0
  297. package/dist/cli/commands/knowledge-freshness-audit-prefilter.d.ts.map +1 -0
  298. package/dist/cli/commands/knowledge-freshness-audit-prefilter.js +42 -0
  299. package/dist/cli/commands/knowledge-freshness-audit-prefilter.js.map +1 -0
  300. package/dist/cli/commands/knowledge-freshness-audit-run-entry.d.ts +9 -0
  301. package/dist/cli/commands/knowledge-freshness-audit-run-entry.d.ts.map +1 -0
  302. package/dist/cli/commands/knowledge-freshness-audit-run-entry.js +63 -0
  303. package/dist/cli/commands/knowledge-freshness-audit-run-entry.js.map +1 -0
  304. package/dist/cli/commands/knowledge-freshness-bump-version.d.ts +8 -0
  305. package/dist/cli/commands/knowledge-freshness-bump-version.d.ts.map +1 -0
  306. package/dist/cli/commands/knowledge-freshness-bump-version.js +34 -0
  307. package/dist/cli/commands/knowledge-freshness-bump-version.js.map +1 -0
  308. package/dist/cli/commands/knowledge-freshness-deep-guidance-check.d.ts +7 -0
  309. package/dist/cli/commands/knowledge-freshness-deep-guidance-check.d.ts.map +1 -0
  310. package/dist/cli/commands/knowledge-freshness-deep-guidance-check.js +51 -0
  311. package/dist/cli/commands/knowledge-freshness-deep-guidance-check.js.map +1 -0
  312. package/dist/cli/commands/knowledge-freshness-link-check.d.ts +7 -0
  313. package/dist/cli/commands/knowledge-freshness-link-check.d.ts.map +1 -0
  314. package/dist/cli/commands/knowledge-freshness-link-check.js +57 -0
  315. package/dist/cli/commands/knowledge-freshness-link-check.js.map +1 -0
  316. package/dist/cli/commands/knowledge-freshness-lint-unsourced.d.ts +8 -0
  317. package/dist/cli/commands/knowledge-freshness-lint-unsourced.d.ts.map +1 -0
  318. package/dist/cli/commands/knowledge-freshness-lint-unsourced.js +58 -0
  319. package/dist/cli/commands/knowledge-freshness-lint-unsourced.js.map +1 -0
  320. package/dist/cli/commands/knowledge-freshness.d.ts +4 -0
  321. package/dist/cli/commands/knowledge-freshness.d.ts.map +1 -0
  322. package/dist/cli/commands/knowledge-freshness.js +25 -0
  323. package/dist/cli/commands/knowledge-freshness.js.map +1 -0
  324. package/dist/cli/commands/observe.d.ts +4 -0
  325. package/dist/cli/commands/observe.d.ts.map +1 -1
  326. package/dist/cli/commands/observe.js +13 -0
  327. package/dist/cli/commands/observe.js.map +1 -1
  328. package/dist/cli/commands/observe.test.js +46 -0
  329. package/dist/cli/commands/observe.test.js.map +1 -1
  330. package/dist/cli/commands/validate-knowledge.d.ts +4 -0
  331. package/dist/cli/commands/validate-knowledge.d.ts.map +1 -0
  332. package/dist/cli/commands/validate-knowledge.js +32 -0
  333. package/dist/cli/commands/validate-knowledge.js.map +1 -0
  334. package/dist/cli/index.d.ts.map +1 -1
  335. package/dist/cli/index.js +6 -0
  336. package/dist/cli/index.js.map +1 -1
  337. package/dist/core/adapters/claude-code.d.ts.map +1 -1
  338. package/dist/core/adapters/claude-code.js +6 -3
  339. package/dist/core/adapters/claude-code.js.map +1 -1
  340. package/dist/core/adapters/claude-code.test.js +45 -1
  341. package/dist/core/adapters/claude-code.test.js.map +1 -1
  342. package/dist/core/assembly/engine.d.ts.map +1 -1
  343. package/dist/core/assembly/engine.js +7 -3
  344. package/dist/core/assembly/engine.js.map +1 -1
  345. package/dist/core/assembly/engine.test.js +45 -1
  346. package/dist/core/assembly/engine.test.js.map +1 -1
  347. package/dist/core/assembly/gap-signal-tail.d.ts +18 -0
  348. package/dist/core/assembly/gap-signal-tail.d.ts.map +1 -0
  349. package/dist/core/assembly/gap-signal-tail.js +43 -0
  350. package/dist/core/assembly/gap-signal-tail.js.map +1 -0
  351. package/dist/core/assembly/gap-signal-tail.test.d.ts +2 -0
  352. package/dist/core/assembly/gap-signal-tail.test.d.ts.map +1 -0
  353. package/dist/core/assembly/gap-signal-tail.test.js +49 -0
  354. package/dist/core/assembly/gap-signal-tail.test.js.map +1 -0
  355. package/dist/core/assembly/knowledge-loader.d.ts +11 -0
  356. package/dist/core/assembly/knowledge-loader.d.ts.map +1 -1
  357. package/dist/core/assembly/knowledge-loader.js +54 -1
  358. package/dist/core/assembly/knowledge-loader.js.map +1 -1
  359. package/dist/core/assembly/knowledge-loader.test.js +73 -0
  360. package/dist/core/assembly/knowledge-loader.test.js.map +1 -1
  361. package/dist/guides/build.d.ts +12 -0
  362. package/dist/guides/build.d.ts.map +1 -0
  363. package/dist/guides/build.js +50 -0
  364. package/dist/guides/build.js.map +1 -0
  365. package/dist/guides/build.test.d.ts +2 -0
  366. package/dist/guides/build.test.d.ts.map +1 -0
  367. package/dist/guides/build.test.js +74 -0
  368. package/dist/guides/build.test.js.map +1 -0
  369. package/dist/guides/chrome.d.ts +24 -0
  370. package/dist/guides/chrome.d.ts.map +1 -0
  371. package/dist/guides/chrome.js +118 -0
  372. package/dist/guides/chrome.js.map +1 -0
  373. package/dist/guides/cli-guides.test.d.ts +2 -0
  374. package/dist/guides/cli-guides.test.d.ts.map +1 -0
  375. package/dist/guides/cli-guides.test.js +41 -0
  376. package/dist/guides/cli-guides.test.js.map +1 -0
  377. package/dist/guides/dashboard-theme.css +1073 -0
  378. package/dist/guides/directives-callout.test.d.ts +2 -0
  379. package/dist/guides/directives-callout.test.d.ts.map +1 -0
  380. package/dist/guides/directives-callout.test.js +22 -0
  381. package/dist/guides/directives-callout.test.js.map +1 -0
  382. package/dist/guides/directives-chart.test.d.ts +2 -0
  383. package/dist/guides/directives-chart.test.d.ts.map +1 -0
  384. package/dist/guides/directives-chart.test.js +25 -0
  385. package/dist/guides/directives-chart.test.js.map +1 -0
  386. package/dist/guides/directives-filter-table.test.d.ts +2 -0
  387. package/dist/guides/directives-filter-table.test.d.ts.map +1 -0
  388. package/dist/guides/directives-filter-table.test.js +22 -0
  389. package/dist/guides/directives-filter-table.test.js.map +1 -0
  390. package/dist/guides/directives-sev.test.d.ts +2 -0
  391. package/dist/guides/directives-sev.test.d.ts.map +1 -0
  392. package/dist/guides/directives-sev.test.js +15 -0
  393. package/dist/guides/directives-sev.test.js.map +1 -0
  394. package/dist/guides/directives-tabs.test.d.ts +2 -0
  395. package/dist/guides/directives-tabs.test.d.ts.map +1 -0
  396. package/dist/guides/directives-tabs.test.js +52 -0
  397. package/dist/guides/directives-tabs.test.js.map +1 -0
  398. package/dist/guides/directives.d.ts +7 -0
  399. package/dist/guides/directives.d.ts.map +1 -0
  400. package/dist/guides/directives.js +158 -0
  401. package/dist/guides/directives.js.map +1 -0
  402. package/dist/guides/fs-guides.test.d.ts +2 -0
  403. package/dist/guides/fs-guides.test.d.ts.map +1 -0
  404. package/dist/guides/fs-guides.test.js +14 -0
  405. package/dist/guides/fs-guides.test.js.map +1 -0
  406. package/dist/guides/index-page.d.ts +3 -0
  407. package/dist/guides/index-page.d.ts.map +1 -0
  408. package/dist/guides/index-page.js +14 -0
  409. package/dist/guides/index-page.js.map +1 -0
  410. package/dist/guides/lint.d.ts +6 -0
  411. package/dist/guides/lint.d.ts.map +1 -0
  412. package/dist/guides/lint.js +27 -0
  413. package/dist/guides/lint.js.map +1 -0
  414. package/dist/guides/lint.test.d.ts +2 -0
  415. package/dist/guides/lint.test.d.ts.map +1 -0
  416. package/dist/guides/lint.test.js +24 -0
  417. package/dist/guides/lint.test.js.map +1 -0
  418. package/dist/guides/loader.d.ts +4 -0
  419. package/dist/guides/loader.d.ts.map +1 -0
  420. package/dist/guides/loader.js +63 -0
  421. package/dist/guides/loader.js.map +1 -0
  422. package/dist/guides/loader.test.d.ts +2 -0
  423. package/dist/guides/loader.test.d.ts.map +1 -0
  424. package/dist/guides/loader.test.js +85 -0
  425. package/dist/guides/loader.test.js.map +1 -0
  426. package/dist/guides/mermaid-sanitize.test.d.ts +2 -0
  427. package/dist/guides/mermaid-sanitize.test.d.ts.map +1 -0
  428. package/dist/guides/mermaid-sanitize.test.js +57 -0
  429. package/dist/guides/mermaid-sanitize.test.js.map +1 -0
  430. package/dist/guides/mermaid.d.ts +18 -0
  431. package/dist/guides/mermaid.d.ts.map +1 -0
  432. package/dist/guides/mermaid.js +137 -0
  433. package/dist/guides/mermaid.js.map +1 -0
  434. package/dist/guides/mermaid.test.d.ts +2 -0
  435. package/dist/guides/mermaid.test.d.ts.map +1 -0
  436. package/dist/guides/mermaid.test.js +105 -0
  437. package/dist/guides/mermaid.test.js.map +1 -0
  438. package/dist/guides/render.d.ts +12 -0
  439. package/dist/guides/render.d.ts.map +1 -0
  440. package/dist/guides/render.js +58 -0
  441. package/dist/guides/render.js.map +1 -0
  442. package/dist/guides/render.test.d.ts +2 -0
  443. package/dist/guides/render.test.d.ts.map +1 -0
  444. package/dist/guides/render.test.js +46 -0
  445. package/dist/guides/render.test.js.map +1 -0
  446. package/dist/guides/sanitize.d.ts +3 -0
  447. package/dist/guides/sanitize.d.ts.map +1 -0
  448. package/dist/guides/sanitize.js +76 -0
  449. package/dist/guides/sanitize.js.map +1 -0
  450. package/dist/guides/sanitize.test.d.ts +2 -0
  451. package/dist/guides/sanitize.test.d.ts.map +1 -0
  452. package/dist/guides/sanitize.test.js +45 -0
  453. package/dist/guides/sanitize.test.js.map +1 -0
  454. package/dist/guides/template.d.ts +11 -0
  455. package/dist/guides/template.d.ts.map +1 -0
  456. package/dist/guides/template.js +38 -0
  457. package/dist/guides/template.js.map +1 -0
  458. package/dist/guides/template.test.d.ts +2 -0
  459. package/dist/guides/template.test.d.ts.map +1 -0
  460. package/dist/guides/template.test.js +41 -0
  461. package/dist/guides/template.test.js.map +1 -0
  462. package/dist/guides/types.d.ts +20 -0
  463. package/dist/guides/types.d.ts.map +1 -0
  464. package/dist/guides/types.js +2 -0
  465. package/dist/guides/types.js.map +1 -0
  466. package/dist/knowledge-freshness/audit-apply-pr.d.ts +64 -0
  467. package/dist/knowledge-freshness/audit-apply-pr.d.ts.map +1 -0
  468. package/dist/knowledge-freshness/audit-apply-pr.js +309 -0
  469. package/dist/knowledge-freshness/audit-apply-pr.js.map +1 -0
  470. package/dist/knowledge-freshness/audit-apply-pr.test.d.ts +2 -0
  471. package/dist/knowledge-freshness/audit-apply-pr.test.d.ts.map +1 -0
  472. package/dist/knowledge-freshness/audit-apply-pr.test.js +211 -0
  473. package/dist/knowledge-freshness/audit-apply-pr.test.js.map +1 -0
  474. package/dist/knowledge-freshness/audit-apply.d.ts +16 -0
  475. package/dist/knowledge-freshness/audit-apply.d.ts.map +1 -0
  476. package/dist/knowledge-freshness/audit-apply.js +193 -0
  477. package/dist/knowledge-freshness/audit-apply.js.map +1 -0
  478. package/dist/knowledge-freshness/audit-apply.test.d.ts +2 -0
  479. package/dist/knowledge-freshness/audit-apply.test.d.ts.map +1 -0
  480. package/dist/knowledge-freshness/audit-apply.test.js +482 -0
  481. package/dist/knowledge-freshness/audit-apply.test.js.map +1 -0
  482. package/dist/knowledge-freshness/audit-prefilter.d.ts +12 -0
  483. package/dist/knowledge-freshness/audit-prefilter.d.ts.map +1 -0
  484. package/dist/knowledge-freshness/audit-prefilter.js +74 -0
  485. package/dist/knowledge-freshness/audit-prefilter.js.map +1 -0
  486. package/dist/knowledge-freshness/audit-prefilter.test.d.ts +2 -0
  487. package/dist/knowledge-freshness/audit-prefilter.test.d.ts.map +1 -0
  488. package/dist/knowledge-freshness/audit-prefilter.test.js +78 -0
  489. package/dist/knowledge-freshness/audit-prefilter.test.js.map +1 -0
  490. package/dist/knowledge-freshness/audit-runner.d.ts +135 -0
  491. package/dist/knowledge-freshness/audit-runner.d.ts.map +1 -0
  492. package/dist/knowledge-freshness/audit-runner.js +168 -0
  493. package/dist/knowledge-freshness/audit-runner.js.map +1 -0
  494. package/dist/knowledge-freshness/audit-runner.test.d.ts +2 -0
  495. package/dist/knowledge-freshness/audit-runner.test.d.ts.map +1 -0
  496. package/dist/knowledge-freshness/audit-runner.test.js +130 -0
  497. package/dist/knowledge-freshness/audit-runner.test.js.map +1 -0
  498. package/dist/knowledge-freshness/bump-version.d.ts +24 -0
  499. package/dist/knowledge-freshness/bump-version.d.ts.map +1 -0
  500. package/dist/knowledge-freshness/bump-version.js +69 -0
  501. package/dist/knowledge-freshness/bump-version.js.map +1 -0
  502. package/dist/knowledge-freshness/bump-version.test.d.ts +2 -0
  503. package/dist/knowledge-freshness/bump-version.test.d.ts.map +1 -0
  504. package/dist/knowledge-freshness/bump-version.test.js +82 -0
  505. package/dist/knowledge-freshness/bump-version.test.js.map +1 -0
  506. package/dist/knowledge-freshness/gates/anti-over-rewrite.d.ts +86 -0
  507. package/dist/knowledge-freshness/gates/anti-over-rewrite.d.ts.map +1 -0
  508. package/dist/knowledge-freshness/gates/anti-over-rewrite.js +210 -0
  509. package/dist/knowledge-freshness/gates/anti-over-rewrite.js.map +1 -0
  510. package/dist/knowledge-freshness/gates/anti-over-rewrite.test.d.ts +2 -0
  511. package/dist/knowledge-freshness/gates/anti-over-rewrite.test.d.ts.map +1 -0
  512. package/dist/knowledge-freshness/gates/anti-over-rewrite.test.js +115 -0
  513. package/dist/knowledge-freshness/gates/anti-over-rewrite.test.js.map +1 -0
  514. package/dist/knowledge-freshness/gates/changed-files.d.ts +53 -0
  515. package/dist/knowledge-freshness/gates/changed-files.d.ts.map +1 -0
  516. package/dist/knowledge-freshness/gates/changed-files.js +128 -0
  517. package/dist/knowledge-freshness/gates/changed-files.js.map +1 -0
  518. package/dist/knowledge-freshness/gates/deep-guidance-check.d.ts +23 -0
  519. package/dist/knowledge-freshness/gates/deep-guidance-check.d.ts.map +1 -0
  520. package/dist/knowledge-freshness/gates/deep-guidance-check.js +27 -0
  521. package/dist/knowledge-freshness/gates/deep-guidance-check.js.map +1 -0
  522. package/dist/knowledge-freshness/gates/deep-guidance-check.test.d.ts +2 -0
  523. package/dist/knowledge-freshness/gates/deep-guidance-check.test.d.ts.map +1 -0
  524. package/dist/knowledge-freshness/gates/deep-guidance-check.test.js +23 -0
  525. package/dist/knowledge-freshness/gates/deep-guidance-check.test.js.map +1 -0
  526. package/dist/knowledge-freshness/gates/link-check.d.ts +55 -0
  527. package/dist/knowledge-freshness/gates/link-check.d.ts.map +1 -0
  528. package/dist/knowledge-freshness/gates/link-check.js +161 -0
  529. package/dist/knowledge-freshness/gates/link-check.js.map +1 -0
  530. package/dist/knowledge-freshness/gates/link-check.test.d.ts +2 -0
  531. package/dist/knowledge-freshness/gates/link-check.test.d.ts.map +1 -0
  532. package/dist/knowledge-freshness/gates/link-check.test.js +76 -0
  533. package/dist/knowledge-freshness/gates/link-check.test.js.map +1 -0
  534. package/dist/knowledge-freshness/gates/lint-unsourced.d.ts +40 -0
  535. package/dist/knowledge-freshness/gates/lint-unsourced.d.ts.map +1 -0
  536. package/dist/knowledge-freshness/gates/lint-unsourced.js +143 -0
  537. package/dist/knowledge-freshness/gates/lint-unsourced.js.map +1 -0
  538. package/dist/knowledge-freshness/gates/lint-unsourced.test.d.ts +2 -0
  539. package/dist/knowledge-freshness/gates/lint-unsourced.test.d.ts.map +1 -0
  540. package/dist/knowledge-freshness/gates/lint-unsourced.test.js +68 -0
  541. package/dist/knowledge-freshness/gates/lint-unsourced.test.js.map +1 -0
  542. package/dist/knowledge-freshness/gates/parse-entry.d.ts +25 -0
  543. package/dist/knowledge-freshness/gates/parse-entry.d.ts.map +1 -0
  544. package/dist/knowledge-freshness/gates/parse-entry.js +41 -0
  545. package/dist/knowledge-freshness/gates/parse-entry.js.map +1 -0
  546. package/dist/knowledge-freshness/gates/parse-entry.test.d.ts +2 -0
  547. package/dist/knowledge-freshness/gates/parse-entry.test.d.ts.map +1 -0
  548. package/dist/knowledge-freshness/gates/parse-entry.test.js +34 -0
  549. package/dist/knowledge-freshness/gates/parse-entry.test.js.map +1 -0
  550. package/dist/knowledge-freshness/providers/anthropic.d.ts +33 -0
  551. package/dist/knowledge-freshness/providers/anthropic.d.ts.map +1 -0
  552. package/dist/knowledge-freshness/providers/anthropic.js +36 -0
  553. package/dist/knowledge-freshness/providers/anthropic.js.map +1 -0
  554. package/dist/knowledge-freshness/providers/anthropic.test.d.ts +2 -0
  555. package/dist/knowledge-freshness/providers/anthropic.test.d.ts.map +1 -0
  556. package/dist/knowledge-freshness/providers/anthropic.test.js +32 -0
  557. package/dist/knowledge-freshness/providers/anthropic.test.js.map +1 -0
  558. package/dist/knowledge-freshness/providers/deepseek.d.ts +33 -0
  559. package/dist/knowledge-freshness/providers/deepseek.d.ts.map +1 -0
  560. package/dist/knowledge-freshness/providers/deepseek.js +157 -0
  561. package/dist/knowledge-freshness/providers/deepseek.js.map +1 -0
  562. package/dist/knowledge-freshness/providers/deepseek.test.d.ts +2 -0
  563. package/dist/knowledge-freshness/providers/deepseek.test.d.ts.map +1 -0
  564. package/dist/knowledge-freshness/providers/deepseek.test.js +142 -0
  565. package/dist/knowledge-freshness/providers/deepseek.test.js.map +1 -0
  566. package/dist/knowledge-freshness/providers/index.d.ts +41 -0
  567. package/dist/knowledge-freshness/providers/index.d.ts.map +1 -0
  568. package/dist/knowledge-freshness/providers/index.js +108 -0
  569. package/dist/knowledge-freshness/providers/index.js.map +1 -0
  570. package/dist/knowledge-freshness/providers/index.test.d.ts +2 -0
  571. package/dist/knowledge-freshness/providers/index.test.d.ts.map +1 -0
  572. package/dist/knowledge-freshness/providers/index.test.js +97 -0
  573. package/dist/knowledge-freshness/providers/index.test.js.map +1 -0
  574. package/dist/knowledge-freshness/source-hash.d.ts +39 -0
  575. package/dist/knowledge-freshness/source-hash.d.ts.map +1 -0
  576. package/dist/knowledge-freshness/source-hash.js +180 -0
  577. package/dist/knowledge-freshness/source-hash.js.map +1 -0
  578. package/dist/knowledge-freshness/source-hash.test.d.ts +2 -0
  579. package/dist/knowledge-freshness/source-hash.test.d.ts.map +1 -0
  580. package/dist/knowledge-freshness/source-hash.test.js +63 -0
  581. package/dist/knowledge-freshness/source-hash.test.js.map +1 -0
  582. package/dist/knowledge-freshness/source-url-validator.d.ts +57 -0
  583. package/dist/knowledge-freshness/source-url-validator.d.ts.map +1 -0
  584. package/dist/knowledge-freshness/source-url-validator.js +304 -0
  585. package/dist/knowledge-freshness/source-url-validator.js.map +1 -0
  586. package/dist/knowledge-freshness/source-url-validator.test.d.ts +2 -0
  587. package/dist/knowledge-freshness/source-url-validator.test.d.ts.map +1 -0
  588. package/dist/knowledge-freshness/source-url-validator.test.js +167 -0
  589. package/dist/knowledge-freshness/source-url-validator.test.js.map +1 -0
  590. package/dist/observability/checks/lens-i-knowledge-gaps.d.ts +3 -0
  591. package/dist/observability/checks/lens-i-knowledge-gaps.d.ts.map +1 -0
  592. package/dist/observability/checks/lens-i-knowledge-gaps.js +165 -0
  593. package/dist/observability/checks/lens-i-knowledge-gaps.js.map +1 -0
  594. package/dist/observability/checks/lens-i-knowledge-gaps.test.d.ts +2 -0
  595. package/dist/observability/checks/lens-i-knowledge-gaps.test.d.ts.map +1 -0
  596. package/dist/observability/checks/lens-i-knowledge-gaps.test.js +421 -0
  597. package/dist/observability/checks/lens-i-knowledge-gaps.test.js.map +1 -0
  598. package/dist/observability/checks/lens-i-lessons-scanner.d.ts +16 -0
  599. package/dist/observability/checks/lens-i-lessons-scanner.d.ts.map +1 -0
  600. package/dist/observability/checks/lens-i-lessons-scanner.js +106 -0
  601. package/dist/observability/checks/lens-i-lessons-scanner.js.map +1 -0
  602. package/dist/observability/checks/lens-i-lessons-scanner.test.d.ts +2 -0
  603. package/dist/observability/checks/lens-i-lessons-scanner.test.d.ts.map +1 -0
  604. package/dist/observability/checks/lens-i-lessons-scanner.test.js +174 -0
  605. package/dist/observability/checks/lens-i-lessons-scanner.test.js.map +1 -0
  606. package/dist/observability/engine/api.d.ts +4 -0
  607. package/dist/observability/engine/api.d.ts.map +1 -1
  608. package/dist/observability/engine/api.js +17 -1
  609. package/dist/observability/engine/api.js.map +1 -1
  610. package/dist/observability/engine/checks/observability-config.d.ts +4 -0
  611. package/dist/observability/engine/checks/observability-config.d.ts.map +1 -1
  612. package/dist/observability/engine/checks/observability-config.js +1 -0
  613. package/dist/observability/engine/checks/observability-config.js.map +1 -1
  614. package/dist/observability/engine/checks/registry.d.ts.map +1 -1
  615. package/dist/observability/engine/checks/registry.js +7 -0
  616. package/dist/observability/engine/checks/registry.js.map +1 -1
  617. package/dist/observability/engine/checks/registry.test.js +3 -2
  618. package/dist/observability/engine/checks/registry.test.js.map +1 -1
  619. package/dist/observability/engine/checks/runner.d.ts +30 -0
  620. package/dist/observability/engine/checks/runner.d.ts.map +1 -1
  621. package/dist/observability/engine/checks/runner.js +8 -1
  622. package/dist/observability/engine/checks/runner.js.map +1 -1
  623. package/dist/observability/engine/checks/runner.test.js +74 -0
  624. package/dist/observability/engine/checks/runner.test.js.map +1 -1
  625. package/dist/observability/engine/event-schemas.d.ts.map +1 -1
  626. package/dist/observability/engine/event-schemas.js +41 -3
  627. package/dist/observability/engine/event-schemas.js.map +1 -1
  628. package/dist/observability/engine/event-schemas.test.js +105 -0
  629. package/dist/observability/engine/event-schemas.test.js.map +1 -1
  630. package/dist/observability/engine/fix-flow.d.ts +7 -0
  631. package/dist/observability/engine/fix-flow.d.ts.map +1 -1
  632. package/dist/observability/engine/fix-flow.js +5 -3
  633. package/dist/observability/engine/fix-flow.js.map +1 -1
  634. package/dist/observability/engine/knowledge-root-integration.test.d.ts +2 -0
  635. package/dist/observability/engine/knowledge-root-integration.test.d.ts.map +1 -0
  636. package/dist/observability/engine/knowledge-root-integration.test.js +103 -0
  637. package/dist/observability/engine/knowledge-root-integration.test.js.map +1 -0
  638. package/dist/observability/engine/types.d.ts +20 -1
  639. package/dist/observability/engine/types.d.ts.map +1 -1
  640. package/dist/observability/engine/types.test.js +1 -1
  641. package/dist/observability/engine/types.test.js.map +1 -1
  642. package/dist/observability/knowledge-index.d.ts +145 -0
  643. package/dist/observability/knowledge-index.d.ts.map +1 -0
  644. package/dist/observability/knowledge-index.js +353 -0
  645. package/dist/observability/knowledge-index.js.map +1 -0
  646. package/dist/observability/knowledge-index.test.d.ts +2 -0
  647. package/dist/observability/knowledge-index.test.d.ts.map +1 -0
  648. package/dist/observability/knowledge-index.test.js +364 -0
  649. package/dist/observability/knowledge-index.test.js.map +1 -0
  650. package/dist/observability/renderers/markdown.d.ts.map +1 -1
  651. package/dist/observability/renderers/markdown.js +14 -0
  652. package/dist/observability/renderers/markdown.js.map +1 -1
  653. package/dist/observability/renderers/markdown.test.js +30 -0
  654. package/dist/observability/renderers/markdown.test.js.map +1 -1
  655. package/dist/types/assembly.d.ts +10 -0
  656. package/dist/types/assembly.d.ts.map +1 -1
  657. package/dist/utils/fs.d.ts +6 -0
  658. package/dist/utils/fs.d.ts.map +1 -1
  659. package/dist/utils/fs.js +13 -0
  660. package/dist/utils/fs.js.map +1 -1
  661. package/dist/validation/knowledge-frontmatter-validator.d.ts +15 -0
  662. package/dist/validation/knowledge-frontmatter-validator.d.ts.map +1 -0
  663. package/dist/validation/knowledge-frontmatter-validator.js +131 -0
  664. package/dist/validation/knowledge-frontmatter-validator.js.map +1 -0
  665. package/dist/validation/knowledge-frontmatter-validator.test.d.ts +2 -0
  666. package/dist/validation/knowledge-frontmatter-validator.test.d.ts.map +1 -0
  667. package/dist/validation/knowledge-frontmatter-validator.test.js +66 -0
  668. package/dist/validation/knowledge-frontmatter-validator.test.js.map +1 -0
  669. package/package.json +13 -4
@@ -2,6 +2,12 @@
2
2
  name: ml-experiment-tracking
3
3
  description: MLflow and Weights & Biases integration, artifact storage, experiment run comparison, and hyperparameter sweep management
4
4
  topics: [ml, experiment-tracking, mlflow, wandb, artifacts, sweeps, reproducibility]
5
+ volatility: fast-moving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://mlflow.org/docs/latest/index.html
10
+ - url: https://docs.wandb.ai/
5
11
  ---
6
12
 
7
13
  Without experiment tracking, ML development is archaeology: "which config produced that result?" is answered by digging through notebook history, chat logs, and failing memory. Experiment tracking tools are version control for training runs — every metric, every hyperparameter, every artifact, linked to the code that produced it. The discipline of logging everything during training pays dividends when a stakeholder asks "how does this model compare to what we had six months ago?"
@@ -2,6 +2,10 @@
2
2
  name: ml-model-evaluation
3
3
  description: Train/val/test splits, cross-validation, metrics by task type, holdout sets, and slice analysis for thorough model evaluation
4
4
  topics: [ml, evaluation, train-test-split, cross-validation, metrics, holdout, slice-analysis]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  Model evaluation is the difference between knowing whether your model works and believing it works. Most ML evaluation bugs are forms of data leakage: the model has seen information during training that it would not have at inference time, making offline metrics look better than production performance. Rigorous evaluation requires careful data splitting, leak-free preprocessing, appropriate metrics for the task, and systematic analysis of where the model fails.
@@ -2,6 +2,11 @@
2
2
  name: ml-observability
3
3
  description: Model monitoring for drift and decay, prediction logging, explainability tools, and alerting on accuracy drops in production ML systems
4
4
  topics: [ml, observability, monitoring, drift, model-decay, explainability, alerting, prediction-logging]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://opentelemetry.io/docs/
5
10
  ---
6
11
 
7
12
  A model deployed to production without monitoring is a ticking clock. Models decay silently: the world changes, input distributions shift, and accuracy degrades while dashboards show green. Unlike software bugs that throw exceptions, model degradation has no stack trace — predictions simply become less useful. ML observability is the discipline of detecting these degradations before users notice them, through systematic monitoring of model inputs, outputs, and outcomes.
@@ -2,6 +2,10 @@
2
2
  name: ml-project-structure
3
3
  description: Standard ML project directory layout covering src/data, src/models, src/training, src/serving, notebooks, configs, and model artifact storage
4
4
  topics: [ml, project-structure, layout, organization, artifacts, notebooks]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  ML projects accumulate files faster than almost any other software domain: datasets, model checkpoints, experiment configs, notebooks, evaluation reports, and serving code. Without a deliberate directory structure, projects become disorganised within weeks and impossible to onboard new team members onto. A well-structured ML project separates concerns clearly: source code from notebooks, training from serving, configs from code, and tracked artifacts from ephemeral outputs.
@@ -2,6 +2,10 @@
2
2
  name: ml-requirements
3
3
  description: Model performance metrics (accuracy, latency, throughput), business KPIs, fairness/bias requirements, and SLA definitions for ML systems
4
4
  topics: [ml, requirements, metrics, fairness, bias, sla, kpi]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  ML requirements differ from traditional software requirements because correctness is probabilistic, not absolute. Before writing a single line of training code, define the target metrics, their measurement methodology, and the business KPIs they serve. Ambiguous requirements — "make the model accurate" — are the root cause of most ML project failures. A requirements document for an ML system must specify numeric thresholds, measurement conditions, and what constitutes an acceptable production deployment.
@@ -2,6 +2,11 @@
2
2
  name: ml-security
3
3
  description: ML-specific threats including adversarial attacks and data poisoning, PII handling in training data, model IP protection, and access control for ML systems
4
4
  topics: [ml, security, adversarial-attacks, data-poisoning, pii, model-ip, access-control]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://owasp.org/www-project-machine-learning-security-top-10/
5
10
  ---
6
11
 
7
12
  ML systems introduce a new class of security threats that traditional application security does not address. A model trained on poisoned data may behave normally on most inputs but trigger on specific attacker-controlled patterns. A model served via API leaks information about its training data to membership inference attacks. These are not theoretical — they are exploited in production systems. ML security requires defence-in-depth across the data pipeline, training process, and serving infrastructure.
@@ -2,6 +2,10 @@
2
2
  name: ml-serving-patterns
3
3
  description: Model serving with TorchServe, Triton, and BentoML; batch vs realtime inference patterns; A/B testing and canary deployment strategies
4
4
  topics: [ml, serving, torchserve, triton, bentoml, inference, ab-testing, canary, deployment]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  Model serving is where ML meets production software engineering. A model that performs well in a notebook is worthless if it cannot serve predictions reliably at scale. Serving patterns address the gap between "it works on my machine" and "it handles 10,000 requests per second with P99 < 100ms and zero data races." The serving layer must be treated with the same engineering rigour as any production microservice.
@@ -2,6 +2,10 @@
2
2
  name: ml-testing
3
3
  description: Unit tests for data transforms, tolerance-based model tests, pipeline integration tests, and regression tests for ML systems
4
4
  topics: [ml, testing, unit-tests, model-tests, pipeline-tests, regression-tests, tdd]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  ML code is tested less rigorously than traditional software because "the model is probabilistic" feels like an excuse for skipping tests. It is not. The vast majority of ML code — data transforms, preprocessing, feature engineering, postprocessing, and serving logic — is deterministic and must be unit tested. The probabilistic parts — model weights and accuracy — require tolerance-based tests and regression baselines. Untested ML pipelines fail silently in ways that are expensive to diagnose in production.
@@ -2,6 +2,10 @@
2
2
  name: ml-training-patterns
3
3
  description: Data loaders, training loops, distributed training with DDP and FSDP, checkpointing strategies, and hyperparameter tuning patterns
4
4
  topics: [ml, training, data-loaders, distributed-training, ddp, fsdp, checkpointing, hyperparameter-tuning]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  The training loop is the heart of every ML project, but it is also where most bugs hide: data leaking between splits, gradients not zeroed, mixed precision overflows, checkpoints saved incorrectly, and distributed training hanging on a single slow worker. These are not exotic edge cases — they are the standard bugs that every ML engineer encounters. A well-structured training pipeline prevents them through clear separation of concerns and defensive coding.
@@ -2,6 +2,12 @@
2
2
  name: mobile-app-architecture
3
3
  description: MVVM/MVI/TCA patterns, navigation architecture, dependency injection, and state management for iOS and Android mobile apps
4
4
  topics: [mobile-app, architecture, mvvm, mvi, tca, navigation, dependency-injection, state-management]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://developer.apple.com/documentation/swiftui
10
+ - url: https://developer.android.com/topic/architecture
5
11
  ---
6
12
 
7
13
  Mobile app architecture determines testability, scalability, and developer velocity. The wrong architecture is expensive to reverse — a monolithic ViewController or God Activity becomes unmaintainable at scale. Both iOS and Android ecosystems have converged on unidirectional data flow patterns: TCA and MVVM+Combine/async for iOS, MVI and MVVM+Flow for Android. Choose the pattern that matches your team's size and complexity requirements, not the most sophisticated available option.
@@ -2,6 +2,12 @@
2
2
  name: mobile-app-conventions
3
3
  description: Platform naming conventions, accessibility patterns, navigation patterns, and code style for iOS and Android mobile apps
4
4
  topics: [mobile-app, conventions, swift, kotlin, naming, accessibility, navigation]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://developer.apple.com/design/human-interface-guidelines
10
+ - url: https://developer.android.com/design
5
11
  ---
6
12
 
7
13
  Mobile platform conventions exist for consistency across the ecosystem, toolchain compatibility, and team readability. iOS and Android have distinct naming conventions, navigation paradigms, and accessibility implementation patterns. Mixing conventions or importing web/backend naming styles into mobile code creates cognitive friction and breaks tooling assumptions (SwiftUI previews, Android Studio refactoring, lint rules).
@@ -2,6 +2,12 @@
2
2
  name: mobile-app-deployment
3
3
  description: App store submission, code signing, provisioning profiles, CI/CD with Fastlane, and release management for iOS and Android
4
4
  topics: [mobile-app, deployment, app-store, google-play, code-signing, fastlane, ci-cd, release-management]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://developer.apple.com/app-store/review/guidelines/
10
+ - url: https://developer.android.com/studio/publish
5
11
  ---
6
12
 
7
13
  Mobile app deployment is significantly more complex than web deployment: code signing creates a cryptographic chain of trust, app store review is a human process with 24–48 hour latency, and binary deployment means bugs cannot be hot-patched without a full submission cycle. Automate as much of this as possible with Fastlane — manual signing and upload processes are error-prone and do not scale to frequent releases.
@@ -2,6 +2,12 @@
2
2
  name: mobile-app-dev-environment
3
3
  description: Simulator and emulator setup, physical device testing, hot reload, debugging tools, and developer toolchain for iOS and Android
4
4
  topics: [mobile-app, dev-environment, simulator, emulator, debugging, xcode, android-studio, hot-reload]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://developer.apple.com/documentation/xcode
10
+ - url: https://developer.android.com/studio/intro
5
11
  ---
6
12
 
7
13
  Mobile development environments are significantly more complex than web development: two IDEs, two simulators, hardware-specific debugging, code signing requirements, and platform SDK updates that break builds. A well-configured dev environment reduces friction by 50% — standardize tool versions, automate simulator setup, and document the steps from clean machine to first successful build.
@@ -2,6 +2,12 @@
2
2
  name: mobile-app-distribution
3
3
  description: TestFlight and Google Play internal track, enterprise MDM distribution, staged rollouts, beta testing programs, and OTA updates for mobile apps
4
4
  topics: [mobile-app, distribution, testflight, google-play, enterprise-mdm, staged-rollout, beta-testing, ota]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://developer.apple.com/testflight/
10
+ - url: https://developer.android.com/distribute
5
11
  ---
6
12
 
7
13
  Mobile app distribution has more complexity than web deployment: app store review introduces unpredictable latency, staged rollouts require monitoring and rollback planning, enterprise distribution requires MDM infrastructure, and React Native/Expo apps have limited OTA update options for business logic. Design the distribution pipeline before writing code — it affects app architecture (feature flags, forced update logic) and CI/CD setup.
@@ -2,6 +2,13 @@
2
2
  name: mobile-app-observability
3
3
  description: Crash reporting (Crashlytics/Sentry), analytics, performance monitoring, network tracing, and structured logging for mobile apps
4
4
  topics: [mobile-app, observability, crashlytics, sentry, analytics, performance-monitoring, network-tracing, logging]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://opentelemetry.io/docs/
10
+ - url: https://developer.apple.com/documentation/metrickit
11
+ - url: https://developer.android.com/topic/performance
5
12
  ---
6
13
 
7
14
  Mobile observability is harder than server observability: you cannot SSH into a user's phone, crashes happen on thousands of device/OS combinations you cannot reproduce locally, and performance issues manifest differently across network conditions and hardware tiers. The goal is to know about problems before users report them, understand why they occurred, and have enough context to reproduce and fix them.
@@ -2,6 +2,13 @@
2
2
  name: mobile-app-offline-patterns
3
3
  description: Local storage (SQLite/Room/Core Data), sync engines, conflict resolution, and background sync for offline-capable mobile apps
4
4
  topics: [mobile-app, offline, sqlite, room, core-data, sync, conflict-resolution, background-sync]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://developer.apple.com/documentation/coredata
10
+ - url: https://developer.android.com/training/data-storage/room
11
+ - url: https://developer.android.com/topic/libraries/architecture/workmanager
5
12
  ---
6
13
 
7
14
  Offline capability is not optional for mobile apps — cellular networks are unreliable, users enter tunnels and basements, and users expect their data to persist between sessions. The complexity of offline architecture scales with sync complexity: read-only cache is trivial; bidirectional sync with conflict resolution is one of the hardest problems in software. Define your offline model explicitly before implementing persistence.
@@ -2,6 +2,12 @@
2
2
  name: mobile-app-project-structure
3
3
  description: Platform directory layout, shared code modules, asset management, and per-environment configuration for iOS and Android mobile apps
4
4
  topics: [mobile-app, project-structure, ios, android, assets, configuration, modules]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://developer.apple.com/documentation/xcode/managing-files-and-folders-in-your-xcode-project
10
+ - url: https://developer.android.com/studio/projects
5
11
  ---
6
12
 
7
13
  Mobile project structure decisions affect build times, code sharing, onboarding velocity, and refactoring safety. iOS and Android have platform-mandated directory conventions that tools expect — deviating from them breaks Xcode file resolution, Android Gradle source sets, and code-generation tooling. Within those constraints, module boundaries and shared-code strategies deserve explicit design.
@@ -2,6 +2,12 @@
2
2
  name: mobile-app-push-notifications
3
3
  description: APNs and FCM setup, notification channels, rich notifications, background handling, and permission best practices for mobile apps
4
4
  topics: [mobile-app, push-notifications, apns, fcm, firebase, notification-channels, rich-notifications, background]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://developer.apple.com/documentation/usernotifications
10
+ - url: https://developer.android.com/develop/ui/views/notifications
5
11
  ---
6
12
 
7
13
  Push notifications are a direct channel to re-engage users, but they are also the fastest way to lose them: irrelevant or excessive notifications get disabled or trigger uninstalls. The technical implementation requires setting up APNs (Apple Push Notification service) for iOS and FCM (Firebase Cloud Messaging) for Android, managing device tokens, and handling notifications in all app states (foreground, background, terminated). Get the permission request timing right — it determines your opt-in rate.
@@ -2,6 +2,13 @@
2
2
  name: mobile-app-requirements
3
3
  description: Platform guidelines (Apple HIG, Material Design), performance budgets, device matrix, and accessibility requirements for mobile apps
4
4
  topics: [mobile-app, requirements, hig, material-design, accessibility, performance, device-matrix]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://developer.apple.com/design/human-interface-guidelines
10
+ - url: https://developer.android.com/design
11
+ - url: https://www.w3.org/WAI/standards-guidelines/wcag/
5
12
  ---
6
13
 
7
14
  Mobile app requirements differ fundamentally from web requirements: platform guidelines are design law, not suggestions; performance budgets are stricter because CPU and battery are finite; accessibility is both a legal obligation and a market expansion. Define all of these explicitly before writing code — changing navigation patterns or accessibility models mid-project is expensive.
@@ -2,6 +2,14 @@
2
2
  name: mobile-app-security
3
3
  description: Secure storage (Keychain/Keystore), certificate pinning, biometric authentication, jailbreak/root detection, and data protection for mobile apps
4
4
  topics: [mobile-app, security, keychain, keystore, certificate-pinning, biometrics, jailbreak-detection, data-protection]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://owasp.org/www-project-mobile-top-10/
10
+ - url: https://owasp.org/www-project-mobile-app-security/
11
+ - url: https://developer.apple.com/documentation/security/keychain_services
12
+ - url: https://developer.android.com/privacy-and-security/keystore
5
13
  ---
6
14
 
7
15
  Mobile apps operate in an adversarial environment: devices are lost or stolen, users jailbreak/root their devices, and network traffic is subject to interception. Security must be designed in, not bolted on. The most common mobile security failures are storing secrets in plaintext, trusting all TLS certificates (or disabling certificate validation), and failing to protect data at rest. Implement defense in depth — assume any single control will fail.
@@ -2,6 +2,12 @@
2
2
  name: mobile-app-testing
3
3
  description: Unit tests, UI tests (XCTest/Espresso/Detox), snapshot tests, accessibility testing, and test architecture for iOS and Android
4
4
  topics: [mobile-app, testing, xctest, espresso, detox, snapshot-testing, accessibility-testing, unit-tests]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://developer.apple.com/documentation/xctest
10
+ - url: https://developer.android.com/training/testing
5
11
  ---
6
12
 
7
13
  Mobile testing requires a multi-layer strategy: unit tests for business logic, integration tests for repository and network layers, UI tests for critical user flows, and snapshot tests for visual regression. The test pyramid applies — fast unit tests outnumber slow UI tests. Mobile UI tests are inherently fragile (timing, simulator state, animations) — structure them to minimize flakiness and run only the highest-value flows in CI.
@@ -2,6 +2,10 @@
2
2
  name: gap-analysis
3
3
  description: Systematic approaches to finding gaps in requirements and specifications
4
4
  topics: [gap-analysis, requirements, completeness, ambiguity, edge-cases]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  # Gap Analysis
@@ -2,6 +2,10 @@
2
2
  name: ideation-craft
3
3
  description: Questioning techniques, research methodology, lightweight expansion patterns, and brief synthesis for early-stage idea exploration
4
4
  topics: [ideation, questioning, research, competitive-analysis, brief-synthesis, socratic-method]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  # Ideation Craft
@@ -2,6 +2,10 @@
2
2
  name: prd-craft
3
3
  description: What makes a good PRD — problem framing, feature scoping, success criteria, competitive context
4
4
  topics: [prd, requirements, product, scoping]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  # PRD Craft
@@ -2,6 +2,10 @@
2
2
  name: prd-innovation
3
3
  description: Techniques for discovering feature-level innovation opportunities in product requirements
4
4
  topics: [innovation, prd, competitive-analysis, product-thinking, features]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  # PRD Innovation
@@ -2,6 +2,10 @@
2
2
  name: vision-craft
3
3
  description: What makes a good product vision — strategic framing, audience definition, competitive positioning, guiding principles
4
4
  topics: [vision, strategy, product, positioning, competitive-analysis]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  # Vision Craft
@@ -2,6 +2,10 @@
2
2
  name: vision-innovation
3
3
  description: Techniques for discovering strategic innovation opportunities in product vision
4
4
  topics: [innovation, vision, strategy, competitive-positioning, ecosystem, market-opportunities]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  # Vision Innovation
@@ -2,6 +2,10 @@
2
2
  name: research-architecture
3
3
  description: Experiment runner architecture including pluggable experiment and evaluation interfaces, state management patterns, and result persistence
4
4
  topics: [research, architecture, experiment-runner, state-management, interfaces, persistence]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  The experiment runner is the central architectural component of a research project. It orchestrates the loop of loading configuration, executing experiments, evaluating results, and deciding whether to keep or discard each run. The runner must be completely decoupled from the specific experiment logic (strategies, models, parameter spaces) so that it can drive any experiment without modification. This separation is what makes autonomous iteration possible -- the agent modifies experiment code while the runner infrastructure remains stable.
@@ -2,6 +2,12 @@
2
2
  name: research-conventions
3
3
  description: Coding conventions for research projects including experiment branching, result naming, config management, and reproducibility standards
4
4
  topics: [research, conventions, git, branching, reproducibility, config-management]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://the-turing-way.netlify.app/reproducible-research/reproducible-research.html
10
+ - url: https://git-scm.com/docs
5
11
  ---
6
12
 
7
13
  Research code has a unique lifecycle: most code is written to be tried and discarded. A trading strategy that underperforms is reverted. A hyperparameter sweep that converges to a local minimum is abandoned. The conventions must make this try-and-discard cycle fast and safe while preserving a complete audit trail of what was tried and why it was kept or discarded.
@@ -2,6 +2,12 @@
2
2
  name: research-dev-environment
3
3
  description: Development tooling for research projects including virtual environments, dependency management, GPU setup, and data access configuration
4
4
  topics: [research, dev-environment, dependencies, virtual-env, gpu, data-access, tooling]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://docs.astral.sh/uv/
10
+ - url: https://the-turing-way.netlify.app/reproducible-research/renv.html
5
11
  ---
6
12
 
7
13
  Research dev environments have stricter reproducibility requirements than typical application development. A trading strategy that produces different results on a different machine is useless -- the environment itself is a variable that must be controlled. At the same time, research environments need flexibility for rapid iteration: installing new packages, switching between CPU and GPU, and accessing large datasets must be frictionless.
@@ -2,6 +2,10 @@
2
2
  name: research-experiment-loop
3
3
  description: Autonomous experiment loop patterns including hypothesis-execute-evaluate-keep/discard cycle, iteration control, budget management, and early stopping
4
4
  topics: [research, experiment-loop, autonomous, iteration, budget, early-stopping, hypothesis]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  The experiment loop is the defining pattern of research projects: an agent iteratively generates hypotheses, executes experiments, evaluates results, and makes keep/discard decisions. This loop can run autonomously (agent decides everything), with checkpoints (agent pauses for human review at intervals), or human-guided (human decides what to try, agent executes). The loop's correctness depends on proper iteration control, budget enforcement, and state management -- without these, autonomous agents will iterate forever or lose track of what has been tried.
@@ -2,6 +2,12 @@
2
2
  name: research-experiment-tracking
3
3
  description: Experiment results logging including structured result formats, run comparison, reproducibility tracking, and artifact management
4
4
  topics: [research, experiment-tracking, results, comparison, reproducibility, artifacts, mlflow]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://mlflow.org/docs/latest/index.html
10
+ - url: https://the-turing-way.netlify.app/reproducible-research/reproducible-research.html
5
11
  ---
6
12
 
7
13
  Experiment tracking is the difference between research and random exploration. Without structured logging of what was tried, what resulted, and what was decided, a research project becomes impossible to audit, reproduce, or learn from. Tracking must capture the full context of every run: the exact config, the environment, the metrics, and the keep/discard decision with its rationale.
@@ -2,6 +2,10 @@
2
2
  name: research-ml-architecture-search
3
3
  description: Neural Architecture Search patterns including search space definition, search strategies, mutation operators, performance prediction, and multi-objective optimization
4
4
  topics: [research, ml-research, nas, architecture-search, search-space, evolutionary, darts, surrogate-model, multi-objective]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  Neural Architecture Search (NAS) automates the discovery of model architectures that outperform hand-designed ones. The core challenge is navigating an exponentially large search space efficiently -- evaluating every candidate is infeasible, so search strategies must balance exploration (trying diverse architectures) with exploitation (refining promising ones). A well-designed NAS pipeline defines the search space precisely, applies an appropriate search strategy, uses performance prediction to avoid wasting compute on bad candidates, and manages the total search budget to stay within resource constraints.
@@ -2,6 +2,10 @@
2
2
  name: research-ml-evaluation
3
3
  description: Research evaluation patterns including ablation studies, statistical significance testing, multiple comparison correction, effect sizes, learning curve analysis, and efficiency frontiers
4
4
  topics: [research, ml-research, evaluation, ablation, significance, bootstrap, bonferroni, effect-size, learning-curve, pareto]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  Research evaluation differs fundamentally from production ML evaluation. In production, you measure a single model on held-out data and report aggregate metrics. In research, you compare multiple methods, ablate components to understand contributions, test whether differences are statistically significant rather than due to random variation, and characterize the efficiency frontier (what accuracy is achievable at what compute cost). Reporting a number without confidence intervals, without significance testing against baselines, and without ablations is not research evaluation -- it is anecdote.
@@ -2,6 +2,12 @@
2
2
  name: research-ml-experiment-tracking
3
3
  description: Lightweight experiment tracking for ML research including W&B and MLflow integration, experiment tagging, parallel coordinate plots, run comparison dashboards, and checkpoint strategies
4
4
  topics: [research, ml-research, experiment-tracking, wandb, mlflow, parallel-coordinates, checkpointing, comparison, tagging]
5
+ volatility: fast-moving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://docs.wandb.ai/
10
+ - url: https://mlflow.org/docs/latest/index.html
5
11
  ---
6
12
 
7
13
  ML research experiment tracking prioritizes rapid iteration and comparison over production-grade audit trails. The goal is to answer "which of my 200 runs was best and why?" within seconds, not to maintain a production model registry. This means lightweight setup (local or cloud-hosted, not self-managed infrastructure), aggressive tagging and grouping for filtering, visualization tools that reveal patterns across many runs simultaneously, and checkpoint strategies that keep what matters and discard the rest to avoid filling storage with abandoned experiments.
@@ -2,6 +2,10 @@
2
2
  name: research-ml-training-patterns
3
3
  description: Training loop patterns for research iteration including fast-fail detection, curriculum exploration, hyperparameter-conditioned training, reproducibility seeding, and checkpoint warm-starting
4
4
  topics: [research, ml-research, training, fast-fail, curriculum, hyperparameter, reproducibility, checkpoint, warm-start]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  Research training differs fundamentally from production training. In production, you train one model to convergence and ship it. In research, you train hundreds or thousands of configurations, most of which will fail -- the goal is to identify failures as early as possible and invest compute only in promising directions. A well-designed research training loop detects bad configurations within the first few percent of training, supports curriculum and schedule exploration without code changes, enables warm-starting from checkpoints to avoid redundant computation, and guarantees reproducibility so that any promising result can be verified.
@@ -2,6 +2,11 @@
2
2
  name: research-observability
3
3
  description: Monitoring experiment loops including anomaly detection, resource tracking, progress dashboards, and alert thresholds for research projects
4
4
  topics: [research, observability, monitoring, anomaly-detection, resource-tracking, dashboards, alerts]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://opentelemetry.io/docs/
5
10
  ---
6
11
 
7
12
  Autonomous experiment loops can run for hours or days without human attention. Without observability, a loop can waste compute on a converged metric, silently produce garbage after a data pipeline failure, or exhaust disk space without anyone noticing. Observability for research is not about uptime SLAs -- it is about experiment health: is the loop making progress, are the results valid, and are resources being consumed at a reasonable rate.
@@ -2,6 +2,11 @@
2
2
  name: research-overfitting-prevention
3
3
  description: Out-of-sample validation, cross-validation strategies, statistical significance testing, and when to stop iterating to prevent overfitting
4
4
  topics: [research, overfitting, validation, cross-validation, statistical-significance, out-of-sample]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://the-turing-way.netlify.app/reproducible-research/reproducible-research.html
5
10
  ---
6
11
 
7
12
  Overfitting is the central risk of iterative research. Every time an agent evaluates a hypothesis against data and uses the result to guide the next hypothesis, it is implicitly fitting to that data. After hundreds of iterations, even random strategies will appear to perform well on the evaluation set -- this is multiple comparisons bias. Preventing overfitting requires rigorous separation of training and evaluation data, statistical significance testing, and disciplined stopping criteria.
@@ -2,6 +2,11 @@
2
2
  name: research-project-structure
3
3
  description: Directory structure for research projects including src, experiments, results, configs, data, and notebooks organization
4
4
  topics: [research, project-structure, directory-layout, organization]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://the-turing-way.netlify.app/project-design/project-design.html
5
10
  ---
6
11
 
7
12
  Research projects have a dual structure that traditional software projects do not: a stable infrastructure layer (the experiment runner, evaluation framework, and data pipeline) and a volatile experiment layer (strategies, models, configs, and results) that changes with every iteration. The directory structure must make this distinction explicit so that the experiment loop can modify volatile files without risk of corrupting the infrastructure.
@@ -2,6 +2,10 @@
2
2
  name: research-quant-backtesting
3
3
  description: Backtesting methodology including walk-forward analysis, look-ahead bias prevention, survivorship bias, transaction cost modeling, and engine architecture
4
4
  topics: [research, quant-finance, backtesting, walk-forward, look-ahead-bias, survivorship-bias, transaction-costs, validation]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  Backtesting is the core evaluation mechanism in quantitative finance research. A backtest simulates how a strategy would have performed on historical data, but the gap between a backtest and live trading is enormous. Every design decision in the backtesting engine -- how fills are modeled, whether future data leaks into past decisions, how the instrument universe is constructed, how transaction costs are estimated -- determines whether the results are meaningful or self-deceptive. The primary goal of backtesting infrastructure is not to produce impressive returns but to produce honest results that predict live performance.
@@ -2,6 +2,10 @@
2
2
  name: research-quant-market-data
3
3
  description: Market data sourcing including OHLCV providers, tick data, corporate actions handling, data quality checks, gap handling, and timezone normalization
4
4
  topics: [research, quant-finance, market-data, ohlcv, tick-data, corporate-actions, data-quality, alternative-data]
5
+ volatility: evolving
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  Market data is the foundation of every quantitative strategy. Bad data produces bad backtests, and bad backtests produce strategies that fail in production. The data pipeline must handle multiple source providers with different conventions, normalize timestamps across timezones, adjust prices for corporate actions (splits, dividends, mergers), detect and fill gaps, and validate quality before any data reaches the strategy. Data quality issues are the most common source of phantom alpha -- apparent returns that disappear when data errors are fixed.
@@ -2,6 +2,10 @@
2
2
  name: research-quant-metrics
3
3
  description: Quantitative performance metrics including Sharpe ratio, Sortino ratio, Calmar ratio, maximum drawdown, profit factor, win rate, expectancy, and alpha/beta decomposition
4
4
  topics: [research, quant-finance, metrics, sharpe, sortino, calmar, drawdown, profit-factor, information-ratio, alpha, beta]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  Performance metrics are the lens through which every trading strategy is evaluated. A single metric is never sufficient -- strategies must be assessed across multiple dimensions including risk-adjusted return, tail risk, consistency, and independence from market direction. The choice of which metric to optimize (primary target) versus which to constrain (guardrails) is a fundamental research design decision. Optimizing the wrong metric or ignoring important dimensions leads to strategies that look good on paper but blow up in practice.
@@ -2,6 +2,10 @@
2
2
  name: research-quant-requirements
3
3
  description: Trading system research requirements including strategy hypothesis definition, market regime assumptions, risk budgets, data requirements, and performance targets
4
4
  topics: [research, quant-finance, requirements, hypothesis, risk-budget, performance-targets, validation]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  Trading strategy research requires requirements that go far beyond "find a profitable strategy." Every research project must define the strategy hypothesis with falsifiable predictions, declare market regime assumptions that bound the strategy's expected operating environment, establish risk budgets that constrain position sizing and drawdown limits, specify data requirements including quality standards and survivorship-bias-free universes, set performance targets with statistical significance thresholds, and mandate out-of-sample validation protocols. Without these constraints, a backtest will always find something that looks good on historical data -- the question is whether it will survive contact with live markets.
@@ -2,6 +2,10 @@
2
2
  name: research-quant-risk
3
3
  description: Risk management for trading research including regime detection, tail risk measures, correlation breakdown, position limits, drawdown controls, and kill switches
4
4
  topics: [research, quant-finance, risk, regime-detection, tail-risk, var, cvar, correlation, drawdown-controls, kill-switch]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  Risk management in quantitative finance is not an afterthought bolted onto a profitable strategy -- it is the primary constraint that determines whether a strategy survives long enough to realize its edge. Markets exhibit non-stationary behavior: correlations spike during crises, volatility clusters in ways that violate normal distribution assumptions, and tail events occur far more frequently than Gaussian models predict. A strategy without regime awareness, tail risk measurement, position limits, and automated kill switches is not a strategy -- it is a gamble.
@@ -2,6 +2,10 @@
2
2
  name: research-quant-strategy-patterns
3
3
  description: Trading strategy patterns including signal generation, entry/exit rules, position sizing methods, stop-loss patterns, and multi-asset allocation
4
4
  topics: [research, quant-finance, strategy, signals, position-sizing, kelly-criterion, stop-loss, allocation, volatility-targeting]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources: []
5
9
  ---
6
10
 
7
11
  Trading strategies are composed of discrete building blocks that can be mixed, matched, and tested independently: signal generation (what to trade and when), entry/exit rules (how to initiate and close positions), position sizing (how much capital to allocate), and stop-loss management (how to limit downside). Treating each block as a separate, testable component enables systematic exploration of the strategy design space. Resist the temptation to build monolithic strategies -- instead, compose simple, well-tested components.
@@ -2,6 +2,11 @@
2
2
  name: research-requirements
3
3
  description: Research project requirements including experiment goals, success metrics, iteration budgets, stopping criteria, and hypothesis documentation
4
4
  topics: [research, requirements, experiment-goals, metrics, stopping-criteria, hypothesis]
5
+ volatility: stable
6
+ last-reviewed: null
7
+ version-pin: null
8
+ sources:
9
+ - url: https://the-turing-way.netlify.app/project-design/project-design.html
5
10
  ---
6
11
 
7
12
  Research projects differ from product engineering in a fundamental way: the requirements are not a list of features to build but a set of questions to answer. A research PRD defines the hypothesis space, the metrics that will determine success or failure, the computational and time budgets for exploration, and the stopping criteria that prevent infinite iteration. Without these constraints, autonomous experiment loops run forever and produce nothing actionable.