@harness-forge/cli 0.1.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 (1285) hide show
  1. package/.agents/skills/api-contract-review/SKILL.md +23 -0
  2. package/.agents/skills/architecture-decision-records/SKILL.md +23 -0
  3. package/.agents/skills/cloud-architect/SKILL.md +21 -0
  4. package/.agents/skills/cpp-engineering/SKILL.md +21 -0
  5. package/.agents/skills/db-migration-review/SKILL.md +23 -0
  6. package/.agents/skills/documentation-lookup/SKILL.md +8 -0
  7. package/.agents/skills/dotnet-engineering/SKILL.md +29 -0
  8. package/.agents/skills/go-engineering/SKILL.md +21 -0
  9. package/.agents/skills/java-engineering/SKILL.md +24 -0
  10. package/.agents/skills/javascript-engineering/SKILL.md +31 -0
  11. package/.agents/skills/kotlin-engineering/SKILL.md +21 -0
  12. package/.agents/skills/lua-engineering/SKILL.md +28 -0
  13. package/.agents/skills/parallel-worktree-supervisor/SKILL.md +23 -0
  14. package/.agents/skills/perl-engineering/SKILL.md +21 -0
  15. package/.agents/skills/php-engineering/SKILL.md +21 -0
  16. package/.agents/skills/powershell-engineering/SKILL.md +24 -0
  17. package/.agents/skills/python-engineering/SKILL.md +22 -0
  18. package/.agents/skills/release-readiness/SKILL.md +8 -0
  19. package/.agents/skills/repo-modernization/SKILL.md +23 -0
  20. package/.agents/skills/repo-onboarding/SKILL.md +23 -0
  21. package/.agents/skills/rust-engineering/SKILL.md +21 -0
  22. package/.agents/skills/security-scan/SKILL.md +8 -0
  23. package/.agents/skills/shell-engineering/SKILL.md +21 -0
  24. package/.agents/skills/speckit-analyze/SKILL.md +190 -0
  25. package/.agents/skills/speckit-checklist/SKILL.md +301 -0
  26. package/.agents/skills/speckit-clarify/SKILL.md +183 -0
  27. package/.agents/skills/speckit-constitution/SKILL.md +86 -0
  28. package/.agents/skills/speckit-implement/SKILL.md +204 -0
  29. package/.agents/skills/speckit-plan/SKILL.md +151 -0
  30. package/.agents/skills/speckit-specify/SKILL.md +304 -0
  31. package/.agents/skills/speckit-tasks/SKILL.md +197 -0
  32. package/.agents/skills/speckit-taskstoissues/SKILL.md +35 -0
  33. package/.agents/skills/swift-engineering/SKILL.md +21 -0
  34. package/.agents/skills/typescript-engineering/SKILL.md +28 -0
  35. package/.specify/README.md +3 -0
  36. package/.specify/extensions.yml +3 -0
  37. package/.specify/init-options.json +5 -0
  38. package/.specify/memory/constitution.md +5 -0
  39. package/.specify/scripts/powershell/check-prerequisites.ps1 +54 -0
  40. package/.specify/scripts/powershell/common.ps1 +263 -0
  41. package/.specify/scripts/powershell/create-new-feature.ps1 +23 -0
  42. package/.specify/scripts/powershell/setup-plan.ps1 +10 -0
  43. package/.specify/scripts/powershell/update-agent-context.ps1 +6 -0
  44. package/.specify/state/agent-context.md +1 -0
  45. package/.specify/state/flow-state.json +21 -0
  46. package/.specify/templates/agent-file-template.md +40 -0
  47. package/.specify/templates/checklist-template.md +5 -0
  48. package/.specify/templates/commands/plan.md +1 -0
  49. package/.specify/templates/commands/specify.md +1 -0
  50. package/.specify/templates/commands/tasks.md +1 -0
  51. package/.specify/templates/constitution-template.md +5 -0
  52. package/.specify/templates/plan-template.md +9 -0
  53. package/.specify/templates/spec-template.md +9 -0
  54. package/.specify/templates/tasks-template.md +5 -0
  55. package/AGENTS.md +75 -0
  56. package/CHANGELOG.md +15 -0
  57. package/CONTRIBUTING.md +38 -0
  58. package/LICENSE +674 -0
  59. package/README.md +386 -0
  60. package/RESEARCH-SOURCES.md +75 -0
  61. package/VALIDATION.md +32 -0
  62. package/agents/planner.md +49 -0
  63. package/commands/plan.md +41 -0
  64. package/commands/test.md +41 -0
  65. package/contexts/dev.md +25 -0
  66. package/dist/application/flow/load-flow-state.d.ts +17 -0
  67. package/dist/application/flow/load-flow-state.d.ts.map +1 -0
  68. package/dist/application/flow/load-flow-state.js +123 -0
  69. package/dist/application/flow/load-flow-state.js.map +1 -0
  70. package/dist/application/flow/save-flow-state.d.ts +3 -0
  71. package/dist/application/flow/save-flow-state.d.ts.map +1 -0
  72. package/dist/application/flow/save-flow-state.js +13 -0
  73. package/dist/application/flow/save-flow-state.js.map +1 -0
  74. package/dist/application/install/agent-manifest.d.ts +42 -0
  75. package/dist/application/install/agent-manifest.d.ts.map +1 -0
  76. package/dist/application/install/agent-manifest.js +144 -0
  77. package/dist/application/install/agent-manifest.js.map +1 -0
  78. package/dist/application/install/apply-install.d.ts +6 -0
  79. package/dist/application/install/apply-install.d.ts.map +1 -0
  80. package/dist/application/install/apply-install.js +83 -0
  81. package/dist/application/install/apply-install.js.map +1 -0
  82. package/dist/application/install/bootstrap-workspace.d.ts +33 -0
  83. package/dist/application/install/bootstrap-workspace.d.ts.map +1 -0
  84. package/dist/application/install/bootstrap-workspace.js +123 -0
  85. package/dist/application/install/bootstrap-workspace.js.map +1 -0
  86. package/dist/application/install/discover-workspace-targets.d.ts +9 -0
  87. package/dist/application/install/discover-workspace-targets.d.ts.map +1 -0
  88. package/dist/application/install/discover-workspace-targets.js +61 -0
  89. package/dist/application/install/discover-workspace-targets.js.map +1 -0
  90. package/dist/application/install/generate-guidance.d.ts +3 -0
  91. package/dist/application/install/generate-guidance.d.ts.map +1 -0
  92. package/dist/application/install/generate-guidance.js +25 -0
  93. package/dist/application/install/generate-guidance.js.map +1 -0
  94. package/dist/application/install/initialize-workspace.d.ts +16 -0
  95. package/dist/application/install/initialize-workspace.d.ts.map +1 -0
  96. package/dist/application/install/initialize-workspace.js +165 -0
  97. package/dist/application/install/initialize-workspace.js.map +1 -0
  98. package/dist/application/install/plan-install.d.ts +9 -0
  99. package/dist/application/install/plan-install.d.ts.map +1 -0
  100. package/dist/application/install/plan-install.js +123 -0
  101. package/dist/application/install/plan-install.js.map +1 -0
  102. package/dist/application/install/reconcile-state.d.ts +6 -0
  103. package/dist/application/install/reconcile-state.d.ts.map +1 -0
  104. package/dist/application/install/reconcile-state.js +39 -0
  105. package/dist/application/install/reconcile-state.js.map +1 -0
  106. package/dist/application/install/refresh-workspace-runtime.d.ts +9 -0
  107. package/dist/application/install/refresh-workspace-runtime.d.ts.map +1 -0
  108. package/dist/application/install/refresh-workspace-runtime.js +69 -0
  109. package/dist/application/install/refresh-workspace-runtime.js.map +1 -0
  110. package/dist/application/install/rewrite-installed-ai-layer.d.ts +3 -0
  111. package/dist/application/install/rewrite-installed-ai-layer.d.ts.map +1 -0
  112. package/dist/application/install/rewrite-installed-ai-layer.js +72 -0
  113. package/dist/application/install/rewrite-installed-ai-layer.js.map +1 -0
  114. package/dist/application/install/shared-runtime.d.ts +5 -0
  115. package/dist/application/install/shared-runtime.d.ts.map +1 -0
  116. package/dist/application/install/shared-runtime.js +388 -0
  117. package/dist/application/install/shared-runtime.js.map +1 -0
  118. package/dist/application/install/shell-integration.d.ts +40 -0
  119. package/dist/application/install/shell-integration.d.ts.map +1 -0
  120. package/dist/application/install/shell-integration.js +232 -0
  121. package/dist/application/install/shell-integration.js.map +1 -0
  122. package/dist/application/install/validate-environment.d.ts +2 -0
  123. package/dist/application/install/validate-environment.d.ts.map +1 -0
  124. package/dist/application/install/validate-environment.js +19 -0
  125. package/dist/application/install/validate-environment.js.map +1 -0
  126. package/dist/application/install/workspace-launcher.d.ts +7 -0
  127. package/dist/application/install/workspace-launcher.d.ts.map +1 -0
  128. package/dist/application/install/workspace-launcher.js +45 -0
  129. package/dist/application/install/workspace-launcher.js.map +1 -0
  130. package/dist/application/maintenance/audit-install.d.ts +17 -0
  131. package/dist/application/maintenance/audit-install.d.ts.map +1 -0
  132. package/dist/application/maintenance/audit-install.js +31 -0
  133. package/dist/application/maintenance/audit-install.js.map +1 -0
  134. package/dist/application/maintenance/diff-install.d.ts +7 -0
  135. package/dist/application/maintenance/diff-install.d.ts.map +1 -0
  136. package/dist/application/maintenance/diff-install.js +20 -0
  137. package/dist/application/maintenance/diff-install.js.map +1 -0
  138. package/dist/application/maintenance/doctor-workspace.d.ts +6 -0
  139. package/dist/application/maintenance/doctor-workspace.d.ts.map +1 -0
  140. package/dist/application/maintenance/doctor-workspace.js +12 -0
  141. package/dist/application/maintenance/doctor-workspace.js.map +1 -0
  142. package/dist/application/maintenance/prune-install.d.ts +5 -0
  143. package/dist/application/maintenance/prune-install.d.ts.map +1 -0
  144. package/dist/application/maintenance/prune-install.js +30 -0
  145. package/dist/application/maintenance/prune-install.js.map +1 -0
  146. package/dist/application/maintenance/sync-install.d.ts +6 -0
  147. package/dist/application/maintenance/sync-install.d.ts.map +1 -0
  148. package/dist/application/maintenance/sync-install.js +24 -0
  149. package/dist/application/maintenance/sync-install.js.map +1 -0
  150. package/dist/application/maintenance/upgrade-surface.d.ts +7 -0
  151. package/dist/application/maintenance/upgrade-surface.d.ts.map +1 -0
  152. package/dist/application/maintenance/upgrade-surface.js +18 -0
  153. package/dist/application/maintenance/upgrade-surface.js.map +1 -0
  154. package/dist/application/migration/scan-reference-install.d.ts +9 -0
  155. package/dist/application/migration/scan-reference-install.d.ts.map +1 -0
  156. package/dist/application/migration/scan-reference-install.js +17 -0
  157. package/dist/application/migration/scan-reference-install.js.map +1 -0
  158. package/dist/application/planning/resolve-bundles.d.ts +8 -0
  159. package/dist/application/planning/resolve-bundles.d.ts.map +1 -0
  160. package/dist/application/planning/resolve-bundles.js +40 -0
  161. package/dist/application/planning/resolve-bundles.js.map +1 -0
  162. package/dist/application/recommendations/recommend-bundles.d.ts +2 -0
  163. package/dist/application/recommendations/recommend-bundles.d.ts.map +1 -0
  164. package/dist/application/recommendations/recommend-bundles.js +89 -0
  165. package/dist/application/recommendations/recommend-bundles.js.map +1 -0
  166. package/dist/application/recommendations/recommend-from-intelligence.d.ts +3 -0
  167. package/dist/application/recommendations/recommend-from-intelligence.d.ts.map +1 -0
  168. package/dist/application/recommendations/recommend-from-intelligence.js +38 -0
  169. package/dist/application/recommendations/recommend-from-intelligence.js.map +1 -0
  170. package/dist/application/recommendations/recommend-templates.d.ts +2 -0
  171. package/dist/application/recommendations/recommend-templates.d.ts.map +1 -0
  172. package/dist/application/recommendations/recommend-templates.js +11 -0
  173. package/dist/application/recommendations/recommend-templates.js.map +1 -0
  174. package/dist/application/recursive/build-environment.d.ts +12 -0
  175. package/dist/application/recursive/build-environment.d.ts.map +1 -0
  176. package/dist/application/recursive/build-environment.js +91 -0
  177. package/dist/application/recursive/build-environment.js.map +1 -0
  178. package/dist/application/recursive/compact-session.d.ts +6 -0
  179. package/dist/application/recursive/compact-session.d.ts.map +1 -0
  180. package/dist/application/recursive/compact-session.js +10 -0
  181. package/dist/application/recursive/compact-session.js.map +1 -0
  182. package/dist/application/recursive/finalize-session.d.ts +6 -0
  183. package/dist/application/recursive/finalize-session.d.ts.map +1 -0
  184. package/dist/application/recursive/finalize-session.js +10 -0
  185. package/dist/application/recursive/finalize-session.js.map +1 -0
  186. package/dist/application/recursive/plan-task.d.ts +16 -0
  187. package/dist/application/recursive/plan-task.d.ts.map +1 -0
  188. package/dist/application/recursive/plan-task.js +115 -0
  189. package/dist/application/recursive/plan-task.js.map +1 -0
  190. package/dist/application/runtime/assess-architecture-significance.d.ts +13 -0
  191. package/dist/application/runtime/assess-architecture-significance.d.ts.map +1 -0
  192. package/dist/application/runtime/assess-architecture-significance.js +65 -0
  193. package/dist/application/runtime/assess-architecture-significance.js.map +1 -0
  194. package/dist/application/runtime/command-catalog.d.ts +17 -0
  195. package/dist/application/runtime/command-catalog.d.ts.map +1 -0
  196. package/dist/application/runtime/command-catalog.js +99 -0
  197. package/dist/application/runtime/command-catalog.js.map +1 -0
  198. package/dist/application/runtime/create-asr-record.d.ts +18 -0
  199. package/dist/application/runtime/create-asr-record.d.ts.map +1 -0
  200. package/dist/application/runtime/create-asr-record.js +105 -0
  201. package/dist/application/runtime/create-asr-record.js.map +1 -0
  202. package/dist/application/runtime/decision-runtime-store.d.ts +13 -0
  203. package/dist/application/runtime/decision-runtime-store.d.ts.map +1 -0
  204. package/dist/application/runtime/decision-runtime-store.js +60 -0
  205. package/dist/application/runtime/decision-runtime-store.js.map +1 -0
  206. package/dist/application/runtime/derive-impact-analysis.d.ts +5 -0
  207. package/dist/application/runtime/derive-impact-analysis.d.ts.map +1 -0
  208. package/dist/application/runtime/derive-impact-analysis.js +78 -0
  209. package/dist/application/runtime/derive-impact-analysis.js.map +1 -0
  210. package/dist/application/runtime/select-files-of-interest.d.ts +29 -0
  211. package/dist/application/runtime/select-files-of-interest.d.ts.map +1 -0
  212. package/dist/application/runtime/select-files-of-interest.js +162 -0
  213. package/dist/application/runtime/select-files-of-interest.js.map +1 -0
  214. package/dist/application/runtime/task-runtime-store.d.ts +37 -0
  215. package/dist/application/runtime/task-runtime-store.d.ts.map +1 -0
  216. package/dist/application/runtime/task-runtime-store.js +84 -0
  217. package/dist/application/runtime/task-runtime-store.js.map +1 -0
  218. package/dist/application/validation/validate-templates.d.ts +19 -0
  219. package/dist/application/validation/validate-templates.d.ts.map +1 -0
  220. package/dist/application/validation/validate-templates.js +142 -0
  221. package/dist/application/validation/validate-templates.js.map +1 -0
  222. package/dist/cli/commands/audit.d.ts +3 -0
  223. package/dist/cli/commands/audit.d.ts.map +1 -0
  224. package/dist/cli/commands/audit.js +37 -0
  225. package/dist/cli/commands/audit.js.map +1 -0
  226. package/dist/cli/commands/catalog.d.ts +3 -0
  227. package/dist/cli/commands/catalog.d.ts.map +1 -0
  228. package/dist/cli/commands/catalog.js +142 -0
  229. package/dist/cli/commands/catalog.js.map +1 -0
  230. package/dist/cli/commands/commands.d.ts +3 -0
  231. package/dist/cli/commands/commands.d.ts.map +1 -0
  232. package/dist/cli/commands/commands.js +32 -0
  233. package/dist/cli/commands/commands.js.map +1 -0
  234. package/dist/cli/commands/diff-install.d.ts +3 -0
  235. package/dist/cli/commands/diff-install.d.ts.map +1 -0
  236. package/dist/cli/commands/diff-install.js +31 -0
  237. package/dist/cli/commands/diff-install.js.map +1 -0
  238. package/dist/cli/commands/doctor.d.ts +3 -0
  239. package/dist/cli/commands/doctor.d.ts.map +1 -0
  240. package/dist/cli/commands/doctor.js +33 -0
  241. package/dist/cli/commands/doctor.js.map +1 -0
  242. package/dist/cli/commands/export.d.ts +3 -0
  243. package/dist/cli/commands/export.d.ts.map +1 -0
  244. package/dist/cli/commands/export.js +37 -0
  245. package/dist/cli/commands/export.js.map +1 -0
  246. package/dist/cli/commands/flow.d.ts +3 -0
  247. package/dist/cli/commands/flow.d.ts.map +1 -0
  248. package/dist/cli/commands/flow.js +27 -0
  249. package/dist/cli/commands/flow.js.map +1 -0
  250. package/dist/cli/commands/init.d.ts +3 -0
  251. package/dist/cli/commands/init.d.ts.map +1 -0
  252. package/dist/cli/commands/init.js +91 -0
  253. package/dist/cli/commands/init.js.map +1 -0
  254. package/dist/cli/commands/install.d.ts +3 -0
  255. package/dist/cli/commands/install.d.ts.map +1 -0
  256. package/dist/cli/commands/install.js +119 -0
  257. package/dist/cli/commands/install.js.map +1 -0
  258. package/dist/cli/commands/intelligence.d.ts +3 -0
  259. package/dist/cli/commands/intelligence.d.ts.map +1 -0
  260. package/dist/cli/commands/intelligence.js +63 -0
  261. package/dist/cli/commands/intelligence.js.map +1 -0
  262. package/dist/cli/commands/maintenance.d.ts +3 -0
  263. package/dist/cli/commands/maintenance.d.ts.map +1 -0
  264. package/dist/cli/commands/maintenance.js +81 -0
  265. package/dist/cli/commands/maintenance.js.map +1 -0
  266. package/dist/cli/commands/observability.d.ts +3 -0
  267. package/dist/cli/commands/observability.d.ts.map +1 -0
  268. package/dist/cli/commands/observability.js +33 -0
  269. package/dist/cli/commands/observability.js.map +1 -0
  270. package/dist/cli/commands/pack.d.ts +3 -0
  271. package/dist/cli/commands/pack.d.ts.map +1 -0
  272. package/dist/cli/commands/pack.js +25 -0
  273. package/dist/cli/commands/pack.js.map +1 -0
  274. package/dist/cli/commands/parallel.d.ts +3 -0
  275. package/dist/cli/commands/parallel.d.ts.map +1 -0
  276. package/dist/cli/commands/parallel.js +45 -0
  277. package/dist/cli/commands/parallel.js.map +1 -0
  278. package/dist/cli/commands/prune.d.ts +3 -0
  279. package/dist/cli/commands/prune.d.ts.map +1 -0
  280. package/dist/cli/commands/prune.js +25 -0
  281. package/dist/cli/commands/prune.js.map +1 -0
  282. package/dist/cli/commands/recommend.d.ts +3 -0
  283. package/dist/cli/commands/recommend.d.ts.map +1 -0
  284. package/dist/cli/commands/recommend.js +25 -0
  285. package/dist/cli/commands/recommend.js.map +1 -0
  286. package/dist/cli/commands/recursive.d.ts +3 -0
  287. package/dist/cli/commands/recursive.d.ts.map +1 -0
  288. package/dist/cli/commands/recursive.js +138 -0
  289. package/dist/cli/commands/recursive.js.map +1 -0
  290. package/dist/cli/commands/refresh.d.ts +3 -0
  291. package/dist/cli/commands/refresh.d.ts.map +1 -0
  292. package/dist/cli/commands/refresh.js +33 -0
  293. package/dist/cli/commands/refresh.js.map +1 -0
  294. package/dist/cli/commands/review.d.ts +3 -0
  295. package/dist/cli/commands/review.d.ts.map +1 -0
  296. package/dist/cli/commands/review.js +53 -0
  297. package/dist/cli/commands/review.js.map +1 -0
  298. package/dist/cli/commands/script-runner.d.ts +2 -0
  299. package/dist/cli/commands/script-runner.d.ts.map +1 -0
  300. package/dist/cli/commands/script-runner.js +21 -0
  301. package/dist/cli/commands/script-runner.js.map +1 -0
  302. package/dist/cli/commands/shell.d.ts +3 -0
  303. package/dist/cli/commands/shell.d.ts.map +1 -0
  304. package/dist/cli/commands/shell.js +91 -0
  305. package/dist/cli/commands/shell.js.map +1 -0
  306. package/dist/cli/commands/status.d.ts +3 -0
  307. package/dist/cli/commands/status.d.ts.map +1 -0
  308. package/dist/cli/commands/status.js +31 -0
  309. package/dist/cli/commands/status.js.map +1 -0
  310. package/dist/cli/commands/sync.d.ts +3 -0
  311. package/dist/cli/commands/sync.d.ts.map +1 -0
  312. package/dist/cli/commands/sync.js +25 -0
  313. package/dist/cli/commands/sync.js.map +1 -0
  314. package/dist/cli/commands/target.d.ts +3 -0
  315. package/dist/cli/commands/target.d.ts.map +1 -0
  316. package/dist/cli/commands/target.js +78 -0
  317. package/dist/cli/commands/target.js.map +1 -0
  318. package/dist/cli/commands/task.d.ts +3 -0
  319. package/dist/cli/commands/task.d.ts.map +1 -0
  320. package/dist/cli/commands/task.js +57 -0
  321. package/dist/cli/commands/task.js.map +1 -0
  322. package/dist/cli/commands/template.d.ts +3 -0
  323. package/dist/cli/commands/template.d.ts.map +1 -0
  324. package/dist/cli/commands/template.js +81 -0
  325. package/dist/cli/commands/template.js.map +1 -0
  326. package/dist/cli/commands/upgrade-surface.d.ts +3 -0
  327. package/dist/cli/commands/upgrade-surface.d.ts.map +1 -0
  328. package/dist/cli/commands/upgrade-surface.js +24 -0
  329. package/dist/cli/commands/upgrade-surface.js.map +1 -0
  330. package/dist/cli/index.d.ts +3 -0
  331. package/dist/cli/index.d.ts.map +1 -0
  332. package/dist/cli/index.js +86 -0
  333. package/dist/cli/index.js.map +1 -0
  334. package/dist/cli/interactive/default-recommendations.d.ts +9 -0
  335. package/dist/cli/interactive/default-recommendations.d.ts.map +1 -0
  336. package/dist/cli/interactive/default-recommendations.js +19 -0
  337. package/dist/cli/interactive/default-recommendations.js.map +1 -0
  338. package/dist/cli/interactive/entry-router.d.ts +5 -0
  339. package/dist/cli/interactive/entry-router.d.ts.map +1 -0
  340. package/dist/cli/interactive/entry-router.js +30 -0
  341. package/dist/cli/interactive/entry-router.js.map +1 -0
  342. package/dist/cli/interactive/invocation-context.d.ts +16 -0
  343. package/dist/cli/interactive/invocation-context.d.ts.map +1 -0
  344. package/dist/cli/interactive/invocation-context.js +33 -0
  345. package/dist/cli/interactive/invocation-context.js.map +1 -0
  346. package/dist/cli/interactive/onboarding-flow.d.ts +3 -0
  347. package/dist/cli/interactive/onboarding-flow.d.ts.map +1 -0
  348. package/dist/cli/interactive/onboarding-flow.js +81 -0
  349. package/dist/cli/interactive/onboarding-flow.js.map +1 -0
  350. package/dist/cli/interactive/project-hub.d.ts +3 -0
  351. package/dist/cli/interactive/project-hub.d.ts.map +1 -0
  352. package/dist/cli/interactive/project-hub.js +159 -0
  353. package/dist/cli/interactive/project-hub.js.map +1 -0
  354. package/dist/cli/interactive/prompt-io.d.ts +23 -0
  355. package/dist/cli/interactive/prompt-io.d.ts.map +1 -0
  356. package/dist/cli/interactive/prompt-io.js +144 -0
  357. package/dist/cli/interactive/prompt-io.js.map +1 -0
  358. package/dist/cli/interactive/prompts/folder-selection.d.ts +3 -0
  359. package/dist/cli/interactive/prompts/folder-selection.d.ts.map +1 -0
  360. package/dist/cli/interactive/prompts/folder-selection.js +25 -0
  361. package/dist/cli/interactive/prompts/folder-selection.js.map +1 -0
  362. package/dist/cli/interactive/prompts/module-selection.d.ts +4 -0
  363. package/dist/cli/interactive/prompts/module-selection.d.ts.map +1 -0
  364. package/dist/cli/interactive/prompts/module-selection.js +21 -0
  365. package/dist/cli/interactive/prompts/module-selection.js.map +1 -0
  366. package/dist/cli/interactive/prompts/setup-profile.d.ts +4 -0
  367. package/dist/cli/interactive/prompts/setup-profile.d.ts.map +1 -0
  368. package/dist/cli/interactive/prompts/setup-profile.js +20 -0
  369. package/dist/cli/interactive/prompts/setup-profile.js.map +1 -0
  370. package/dist/cli/interactive/prompts/target-selection.d.ts +3 -0
  371. package/dist/cli/interactive/prompts/target-selection.d.ts.map +1 -0
  372. package/dist/cli/interactive/prompts/target-selection.js +28 -0
  373. package/dist/cli/interactive/prompts/target-selection.js.map +1 -0
  374. package/dist/cli/interactive/recovery-notices.d.ts +3 -0
  375. package/dist/cli/interactive/recovery-notices.d.ts.map +1 -0
  376. package/dist/cli/interactive/recovery-notices.js +13 -0
  377. package/dist/cli/interactive/recovery-notices.js.map +1 -0
  378. package/dist/cli/interactive/renderers/choice-list.d.ts +2 -0
  379. package/dist/cli/interactive/renderers/choice-list.d.ts.map +1 -0
  380. package/dist/cli/interactive/renderers/choice-list.js +9 -0
  381. package/dist/cli/interactive/renderers/choice-list.js.map +1 -0
  382. package/dist/cli/interactive/renderers/completion-screen.d.ts +4 -0
  383. package/dist/cli/interactive/renderers/completion-screen.d.ts.map +1 -0
  384. package/dist/cli/interactive/renderers/completion-screen.js +16 -0
  385. package/dist/cli/interactive/renderers/completion-screen.js.map +1 -0
  386. package/dist/cli/interactive/renderers/hub-screen.d.ts +3 -0
  387. package/dist/cli/interactive/renderers/hub-screen.d.ts.map +1 -0
  388. package/dist/cli/interactive/renderers/hub-screen.js +12 -0
  389. package/dist/cli/interactive/renderers/hub-screen.js.map +1 -0
  390. package/dist/cli/interactive/renderers/progress.d.ts +3 -0
  391. package/dist/cli/interactive/renderers/progress.d.ts.map +1 -0
  392. package/dist/cli/interactive/renderers/progress.js +5 -0
  393. package/dist/cli/interactive/renderers/progress.js.map +1 -0
  394. package/dist/cli/interactive/renderers/screen-layout.d.ts +9 -0
  395. package/dist/cli/interactive/renderers/screen-layout.d.ts.map +1 -0
  396. package/dist/cli/interactive/renderers/screen-layout.js +27 -0
  397. package/dist/cli/interactive/renderers/screen-layout.js.map +1 -0
  398. package/dist/cli/interactive/renderers/step-frame.d.ts +3 -0
  399. package/dist/cli/interactive/renderers/step-frame.d.ts.map +1 -0
  400. package/dist/cli/interactive/renderers/step-frame.js +7 -0
  401. package/dist/cli/interactive/renderers/step-frame.js.map +1 -0
  402. package/dist/cli/interactive/renderers/text-style.d.ts +10 -0
  403. package/dist/cli/interactive/renderers/text-style.d.ts.map +1 -0
  404. package/dist/cli/interactive/renderers/text-style.js +52 -0
  405. package/dist/cli/interactive/renderers/text-style.js.map +1 -0
  406. package/dist/cli/interactive/renderers/welcome-screen.d.ts +3 -0
  407. package/dist/cli/interactive/renderers/welcome-screen.d.ts.map +1 -0
  408. package/dist/cli/interactive/renderers/welcome-screen.js +22 -0
  409. package/dist/cli/interactive/renderers/welcome-screen.js.map +1 -0
  410. package/dist/cli/interactive/review-plan.d.ts +19 -0
  411. package/dist/cli/interactive/review-plan.d.ts.map +1 -0
  412. package/dist/cli/interactive/review-plan.js +151 -0
  413. package/dist/cli/interactive/review-plan.js.map +1 -0
  414. package/dist/cli/interactive/review-summary.d.ts +4 -0
  415. package/dist/cli/interactive/review-summary.d.ts.map +1 -0
  416. package/dist/cli/interactive/review-summary.js +20 -0
  417. package/dist/cli/interactive/review-summary.js.map +1 -0
  418. package/dist/cli/interactive/session-state.d.ts +35 -0
  419. package/dist/cli/interactive/session-state.d.ts.map +1 -0
  420. package/dist/cli/interactive/session-state.js +11 -0
  421. package/dist/cli/interactive/session-state.js.map +1 -0
  422. package/dist/cli/interactive/setup-intent.d.ts +32 -0
  423. package/dist/cli/interactive/setup-intent.d.ts.map +1 -0
  424. package/dist/cli/interactive/setup-intent.js +54 -0
  425. package/dist/cli/interactive/setup-intent.js.map +1 -0
  426. package/dist/cli/interactive/terminal-capabilities.d.ts +20 -0
  427. package/dist/cli/interactive/terminal-capabilities.d.ts.map +1 -0
  428. package/dist/cli/interactive/terminal-capabilities.js +69 -0
  429. package/dist/cli/interactive/terminal-capabilities.js.map +1 -0
  430. package/dist/domain/capabilities/capability-record.d.ts +25 -0
  431. package/dist/domain/capabilities/capability-record.d.ts.map +1 -0
  432. package/dist/domain/capabilities/capability-record.js +2 -0
  433. package/dist/domain/capabilities/capability-record.js.map +1 -0
  434. package/dist/domain/capabilities/capability-taxonomy.d.ts +11 -0
  435. package/dist/domain/capabilities/capability-taxonomy.d.ts.map +1 -0
  436. package/dist/domain/capabilities/capability-taxonomy.js +2 -0
  437. package/dist/domain/capabilities/capability-taxonomy.js.map +1 -0
  438. package/dist/domain/intelligence/instruction-plan.d.ts +26 -0
  439. package/dist/domain/intelligence/instruction-plan.d.ts.map +1 -0
  440. package/dist/domain/intelligence/instruction-plan.js +2 -0
  441. package/dist/domain/intelligence/instruction-plan.js.map +1 -0
  442. package/dist/domain/intelligence/repo-intelligence.d.ts +1007 -0
  443. package/dist/domain/intelligence/repo-intelligence.d.ts.map +1 -0
  444. package/dist/domain/intelligence/repo-intelligence.js +102 -0
  445. package/dist/domain/intelligence/repo-intelligence.js.map +1 -0
  446. package/dist/domain/intelligence/repo-map.d.ts +30 -0
  447. package/dist/domain/intelligence/repo-map.d.ts.map +1 -0
  448. package/dist/domain/intelligence/repo-map.js +2 -0
  449. package/dist/domain/intelligence/repo-map.js.map +1 -0
  450. package/dist/domain/manifests/index.d.ts +154 -0
  451. package/dist/domain/manifests/index.d.ts.map +1 -0
  452. package/dist/domain/manifests/index.js +37 -0
  453. package/dist/domain/manifests/index.js.map +1 -0
  454. package/dist/domain/observability/benchmark-expectation.d.ts +11 -0
  455. package/dist/domain/observability/benchmark-expectation.d.ts.map +1 -0
  456. package/dist/domain/observability/benchmark-expectation.js +2 -0
  457. package/dist/domain/observability/benchmark-expectation.js.map +1 -0
  458. package/dist/domain/observability/event.d.ts +17 -0
  459. package/dist/domain/observability/event.d.ts.map +1 -0
  460. package/dist/domain/observability/event.js +2 -0
  461. package/dist/domain/observability/event.js.map +1 -0
  462. package/dist/domain/observability/summary.d.ts +10 -0
  463. package/dist/domain/observability/summary.d.ts.map +1 -0
  464. package/dist/domain/observability/summary.js +2 -0
  465. package/dist/domain/observability/summary.js.map +1 -0
  466. package/dist/domain/operations/install-plan.d.ts +85 -0
  467. package/dist/domain/operations/install-plan.d.ts.map +1 -0
  468. package/dist/domain/operations/install-plan.js +2 -0
  469. package/dist/domain/operations/install-plan.js.map +1 -0
  470. package/dist/domain/parallel/merge-readiness.d.ts +10 -0
  471. package/dist/domain/parallel/merge-readiness.d.ts.map +1 -0
  472. package/dist/domain/parallel/merge-readiness.js +2 -0
  473. package/dist/domain/parallel/merge-readiness.js.map +1 -0
  474. package/dist/domain/parallel/parallel-plan.d.ts +24 -0
  475. package/dist/domain/parallel/parallel-plan.d.ts.map +1 -0
  476. package/dist/domain/parallel/parallel-plan.js +2 -0
  477. package/dist/domain/parallel/parallel-plan.js.map +1 -0
  478. package/dist/domain/parallel/shard-state.d.ts +11 -0
  479. package/dist/domain/parallel/shard-state.d.ts.map +1 -0
  480. package/dist/domain/parallel/shard-state.js +2 -0
  481. package/dist/domain/parallel/shard-state.js.map +1 -0
  482. package/dist/domain/recursive/adr-candidate.d.ts +45 -0
  483. package/dist/domain/recursive/adr-candidate.d.ts.map +1 -0
  484. package/dist/domain/recursive/adr-candidate.js +20 -0
  485. package/dist/domain/recursive/adr-candidate.js.map +1 -0
  486. package/dist/domain/recursive/asr.d.ts +41 -0
  487. package/dist/domain/recursive/asr.d.ts.map +1 -0
  488. package/dist/domain/recursive/asr.js +19 -0
  489. package/dist/domain/recursive/asr.js.map +1 -0
  490. package/dist/domain/recursive/budget.d.ts +47 -0
  491. package/dist/domain/recursive/budget.d.ts.map +1 -0
  492. package/dist/domain/recursive/budget.js +41 -0
  493. package/dist/domain/recursive/budget.js.map +1 -0
  494. package/dist/domain/recursive/session-summary.d.ts +56 -0
  495. package/dist/domain/recursive/session-summary.d.ts.map +1 -0
  496. package/dist/domain/recursive/session-summary.js +21 -0
  497. package/dist/domain/recursive/session-summary.js.map +1 -0
  498. package/dist/domain/recursive/session.d.ts +181 -0
  499. package/dist/domain/recursive/session.d.ts.map +1 -0
  500. package/dist/domain/recursive/session.js +41 -0
  501. package/dist/domain/recursive/session.js.map +1 -0
  502. package/dist/domain/recursive/template-registry.d.ts +83 -0
  503. package/dist/domain/recursive/template-registry.d.ts.map +1 -0
  504. package/dist/domain/recursive/template-registry.js +28 -0
  505. package/dist/domain/recursive/template-registry.js.map +1 -0
  506. package/dist/domain/recursive/trace-event.d.ts +61 -0
  507. package/dist/domain/recursive/trace-event.d.ts.map +1 -0
  508. package/dist/domain/recursive/trace-event.js +36 -0
  509. package/dist/domain/recursive/trace-event.js.map +1 -0
  510. package/dist/domain/runtime/architecture-significance.d.ts +35 -0
  511. package/dist/domain/runtime/architecture-significance.d.ts.map +1 -0
  512. package/dist/domain/runtime/architecture-significance.js +20 -0
  513. package/dist/domain/runtime/architecture-significance.js.map +1 -0
  514. package/dist/domain/runtime/decision-coverage-summary.d.ts +29 -0
  515. package/dist/domain/runtime/decision-coverage-summary.d.ts.map +1 -0
  516. package/dist/domain/runtime/decision-coverage-summary.js +14 -0
  517. package/dist/domain/runtime/decision-coverage-summary.js.map +1 -0
  518. package/dist/domain/runtime/decision-record.d.ts +482 -0
  519. package/dist/domain/runtime/decision-record.d.ts.map +1 -0
  520. package/dist/domain/runtime/decision-record.js +78 -0
  521. package/dist/domain/runtime/decision-record.js.map +1 -0
  522. package/dist/domain/runtime/file-interest.d.ts +148 -0
  523. package/dist/domain/runtime/file-interest.d.ts.map +1 -0
  524. package/dist/domain/runtime/file-interest.js +42 -0
  525. package/dist/domain/runtime/file-interest.js.map +1 -0
  526. package/dist/domain/runtime/impact-analysis.d.ts +122 -0
  527. package/dist/domain/runtime/impact-analysis.d.ts.map +1 -0
  528. package/dist/domain/runtime/impact-analysis.js +24 -0
  529. package/dist/domain/runtime/impact-analysis.js.map +1 -0
  530. package/dist/domain/runtime/task-pack.d.ts +278 -0
  531. package/dist/domain/runtime/task-pack.d.ts.map +1 -0
  532. package/dist/domain/runtime/task-pack.js +61 -0
  533. package/dist/domain/runtime/task-pack.js.map +1 -0
  534. package/dist/domain/runtime/template-registry.d.ts +100 -0
  535. package/dist/domain/runtime/template-registry.d.ts.map +1 -0
  536. package/dist/domain/runtime/template-registry.js +35 -0
  537. package/dist/domain/runtime/template-registry.js.map +1 -0
  538. package/dist/domain/runtime/working-memory.d.ts +44 -0
  539. package/dist/domain/runtime/working-memory.d.ts.map +1 -0
  540. package/dist/domain/runtime/working-memory.js +19 -0
  541. package/dist/domain/runtime/working-memory.js.map +1 -0
  542. package/dist/domain/state/install-state.d.ts +28 -0
  543. package/dist/domain/state/install-state.d.ts.map +1 -0
  544. package/dist/domain/state/install-state.js +15 -0
  545. package/dist/domain/state/install-state.js.map +1 -0
  546. package/dist/domain/targets/adapter.d.ts +18 -0
  547. package/dist/domain/targets/adapter.d.ts.map +1 -0
  548. package/dist/domain/targets/adapter.js +16 -0
  549. package/dist/domain/targets/adapter.js.map +1 -0
  550. package/dist/infrastructure/diagnostics/recommendation-reporter.d.ts +3 -0
  551. package/dist/infrastructure/diagnostics/recommendation-reporter.d.ts.map +1 -0
  552. package/dist/infrastructure/diagnostics/recommendation-reporter.js +44 -0
  553. package/dist/infrastructure/diagnostics/recommendation-reporter.js.map +1 -0
  554. package/dist/infrastructure/diagnostics/reporter.d.ts +6 -0
  555. package/dist/infrastructure/diagnostics/reporter.d.ts.map +1 -0
  556. package/dist/infrastructure/diagnostics/reporter.js +35 -0
  557. package/dist/infrastructure/diagnostics/reporter.js.map +1 -0
  558. package/dist/infrastructure/filesystem/apply-operation.d.ts +3 -0
  559. package/dist/infrastructure/filesystem/apply-operation.d.ts.map +1 -0
  560. package/dist/infrastructure/filesystem/apply-operation.js +75 -0
  561. package/dist/infrastructure/filesystem/apply-operation.js.map +1 -0
  562. package/dist/infrastructure/filesystem/normalize-target-path.d.ts +2 -0
  563. package/dist/infrastructure/filesystem/normalize-target-path.d.ts.map +1 -0
  564. package/dist/infrastructure/filesystem/normalize-target-path.js +11 -0
  565. package/dist/infrastructure/filesystem/normalize-target-path.js.map +1 -0
  566. package/dist/infrastructure/observability/local-metrics-store.d.ts +18 -0
  567. package/dist/infrastructure/observability/local-metrics-store.d.ts.map +1 -0
  568. package/dist/infrastructure/observability/local-metrics-store.js +35 -0
  569. package/dist/infrastructure/observability/local-metrics-store.js.map +1 -0
  570. package/dist/infrastructure/recursive/session-store.d.ts +45 -0
  571. package/dist/infrastructure/recursive/session-store.d.ts.map +1 -0
  572. package/dist/infrastructure/recursive/session-store.js +62 -0
  573. package/dist/infrastructure/recursive/session-store.js.map +1 -0
  574. package/dist/infrastructure/recursive/template-loader.d.ts +3 -0
  575. package/dist/infrastructure/recursive/template-loader.d.ts.map +1 -0
  576. package/dist/infrastructure/recursive/template-loader.js +19 -0
  577. package/dist/infrastructure/recursive/template-loader.js.map +1 -0
  578. package/dist/infrastructure/recursive/trace-logger.d.ts +3 -0
  579. package/dist/infrastructure/recursive/trace-logger.d.ts.map +1 -0
  580. package/dist/infrastructure/recursive/trace-logger.js +8 -0
  581. package/dist/infrastructure/recursive/trace-logger.js.map +1 -0
  582. package/dist/shared/constants.d.ts +97 -0
  583. package/dist/shared/constants.d.ts.map +1 -0
  584. package/dist/shared/constants.js +111 -0
  585. package/dist/shared/constants.js.map +1 -0
  586. package/dist/shared/errors.d.ts +8 -0
  587. package/dist/shared/errors.d.ts.map +1 -0
  588. package/dist/shared/errors.js +14 -0
  589. package/dist/shared/errors.js.map +1 -0
  590. package/dist/shared/fs.d.ts +8 -0
  591. package/dist/shared/fs.d.ts.map +1 -0
  592. package/dist/shared/fs.js +35 -0
  593. package/dist/shared/fs.js.map +1 -0
  594. package/dist/shared/index.d.ts +5 -0
  595. package/dist/shared/index.d.ts.map +1 -0
  596. package/dist/shared/index.js +5 -0
  597. package/dist/shared/index.js.map +1 -0
  598. package/dist/shared/seeded-knowledge.d.ts +8 -0
  599. package/dist/shared/seeded-knowledge.d.ts.map +1 -0
  600. package/dist/shared/seeded-knowledge.js +49 -0
  601. package/dist/shared/seeded-knowledge.js.map +1 -0
  602. package/docs/agents.md +45 -0
  603. package/docs/authoring/engineering-assistant-port.md +108 -0
  604. package/docs/authoring/enhanced-skill-import.md +89 -0
  605. package/docs/authoring/skills.md +53 -0
  606. package/docs/benchmark-scenarios.md +29 -0
  607. package/docs/catalog/framework-packs.md +22 -0
  608. package/docs/catalog/frameworks/aspnet-core.md +18 -0
  609. package/docs/catalog/frameworks/django.md +18 -0
  610. package/docs/catalog/frameworks/express.md +18 -0
  611. package/docs/catalog/frameworks/fastapi.md +18 -0
  612. package/docs/catalog/frameworks/gin.md +18 -0
  613. package/docs/catalog/frameworks/ktor.md +18 -0
  614. package/docs/catalog/frameworks/laravel.md +14 -0
  615. package/docs/catalog/frameworks/nextjs.md +14 -0
  616. package/docs/catalog/frameworks/react.md +18 -0
  617. package/docs/catalog/frameworks/spring-boot.md +18 -0
  618. package/docs/catalog/frameworks/symfony.md +18 -0
  619. package/docs/catalog/frameworks/vite.md +18 -0
  620. package/docs/catalog/language-packs.md +39 -0
  621. package/docs/catalog/languages/cpp.md +25 -0
  622. package/docs/catalog/languages/dotnet.md +59 -0
  623. package/docs/catalog/languages/go.md +29 -0
  624. package/docs/catalog/languages/java.md +60 -0
  625. package/docs/catalog/languages/kotlin.md +29 -0
  626. package/docs/catalog/languages/lua.md +59 -0
  627. package/docs/catalog/languages/perl.md +25 -0
  628. package/docs/catalog/languages/php.md +30 -0
  629. package/docs/catalog/languages/powershell.md +59 -0
  630. package/docs/catalog/languages/python.md +30 -0
  631. package/docs/catalog/languages/rust.md +25 -0
  632. package/docs/catalog/languages/shell.md +25 -0
  633. package/docs/catalog/languages/swift.md +25 -0
  634. package/docs/catalog/languages/typescript.md +60 -0
  635. package/docs/commands.md +202 -0
  636. package/docs/content-architecture.md +3 -0
  637. package/docs/flow-orchestration/parallel-execution.md +7 -0
  638. package/docs/flow-orchestration.md +63 -0
  639. package/docs/generated-artifacts.md +129 -0
  640. package/docs/hooks/catalog.md +44 -0
  641. package/docs/install/targets.md +29 -0
  642. package/docs/installation.md +98 -0
  643. package/docs/languages.md +31 -0
  644. package/docs/maintenance-lifecycle.md +62 -0
  645. package/docs/manifests.md +16 -0
  646. package/docs/migration/reference-project.md +18 -0
  647. package/docs/observability/benchmark-authoring.md +6 -0
  648. package/docs/observability/eval-model.md +7 -0
  649. package/docs/observability/event-taxonomy.md +12 -0
  650. package/docs/observability.md +44 -0
  651. package/docs/pack-authoring.md +19 -0
  652. package/docs/parallel-worktrees.md +6 -0
  653. package/docs/profile-guide.md +63 -0
  654. package/docs/quality-gates.md +56 -0
  655. package/docs/quickstart.md +41 -0
  656. package/docs/release-process.md +30 -0
  657. package/docs/repo-cartography.md +12 -0
  658. package/docs/style-guides/agent-style-guide.md +21 -0
  659. package/docs/style-guides/command-style-guide.md +21 -0
  660. package/docs/style-guides/rule-style-guide.md +20 -0
  661. package/docs/target-support-matrix.md +73 -0
  662. package/docs/targets/capability-families.md +13 -0
  663. package/docs/targets/translation-vs-emulation.md +11 -0
  664. package/docs/targets.md +20 -0
  665. package/docs/templates/authoring.md +23 -0
  666. package/docs/troubleshooting.md +53 -0
  667. package/docs/versioning-and-migration.md +25 -0
  668. package/examples/README.md +12 -0
  669. package/examples/knowledge-bases/README.md +12 -0
  670. package/examples/production-readiness-demo/README.md +16 -0
  671. package/hooks/README.md +3 -0
  672. package/hooks/shared/PostChangeSummary.ps1 +1 -0
  673. package/hooks/shared/PreChangeQualityGate.ps1 +1 -0
  674. package/hooks/shared/post-change-summary.sh +3 -0
  675. package/hooks/shared/pre-change-quality-gate.sh +3 -0
  676. package/install.ps1 +28 -0
  677. package/install.sh +24 -0
  678. package/knowledge-bases/operations/observability-and-evals/README.md +7 -0
  679. package/knowledge-bases/seeded/README.md +33 -0
  680. package/knowledge-bases/seeded/dotnet/README.md +18 -0
  681. package/knowledge-bases/seeded/dotnet/docs/examples-guide.md +15 -0
  682. package/knowledge-bases/seeded/dotnet/docs/frameworks.md +11 -0
  683. package/knowledge-bases/seeded/dotnet/docs/overview.md +33 -0
  684. package/knowledge-bases/seeded/dotnet/docs/review-checklist.md +27 -0
  685. package/knowledge-bases/seeded/dotnet/examples/01-aspnet-core-crud-api.md +13 -0
  686. package/knowledge-bases/seeded/dotnet/examples/02-background-worker-with-queue-processing.md +13 -0
  687. package/knowledge-bases/seeded/dotnet/examples/03-shared-domain-library.md +13 -0
  688. package/knowledge-bases/seeded/dotnet/examples/04-cli-automation-tool.md +13 -0
  689. package/knowledge-bases/seeded/dotnet/knowledge-base.json +8 -0
  690. package/knowledge-bases/seeded/dotnet/legacy-seed/csharp/coding-style.md +72 -0
  691. package/knowledge-bases/seeded/dotnet/legacy-seed/csharp/hooks.md +25 -0
  692. package/knowledge-bases/seeded/dotnet/legacy-seed/csharp/patterns.md +50 -0
  693. package/knowledge-bases/seeded/dotnet/legacy-seed/csharp/security.md +58 -0
  694. package/knowledge-bases/seeded/dotnet/legacy-seed/csharp/testing.md +46 -0
  695. package/knowledge-bases/seeded/dotnet/rules/common/agents.md +50 -0
  696. package/knowledge-bases/seeded/dotnet/rules/common/coding-style.md +48 -0
  697. package/knowledge-bases/seeded/dotnet/rules/common/development-workflow.md +38 -0
  698. package/knowledge-bases/seeded/dotnet/rules/common/git-workflow.md +24 -0
  699. package/knowledge-bases/seeded/dotnet/rules/common/hooks.md +30 -0
  700. package/knowledge-bases/seeded/dotnet/rules/common/patterns.md +31 -0
  701. package/knowledge-bases/seeded/dotnet/rules/common/performance.md +55 -0
  702. package/knowledge-bases/seeded/dotnet/rules/common/security.md +29 -0
  703. package/knowledge-bases/seeded/dotnet/rules/common/testing.md +29 -0
  704. package/knowledge-bases/seeded/dotnet/rules/dotnet/coding-style.md +38 -0
  705. package/knowledge-bases/seeded/dotnet/rules/dotnet/hooks.md +24 -0
  706. package/knowledge-bases/seeded/dotnet/rules/dotnet/patterns.md +30 -0
  707. package/knowledge-bases/seeded/dotnet/rules/dotnet/security.md +28 -0
  708. package/knowledge-bases/seeded/dotnet/rules/dotnet/testing.md +31 -0
  709. package/knowledge-bases/seeded/java/README.md +18 -0
  710. package/knowledge-bases/seeded/java/docs/examples-guide.md +15 -0
  711. package/knowledge-bases/seeded/java/docs/frameworks.md +11 -0
  712. package/knowledge-bases/seeded/java/docs/overview.md +34 -0
  713. package/knowledge-bases/seeded/java/docs/review-checklist.md +27 -0
  714. package/knowledge-bases/seeded/java/examples/01-spring-boot-rest-api.md +13 -0
  715. package/knowledge-bases/seeded/java/examples/02-event-consumer-service.md +13 -0
  716. package/knowledge-bases/seeded/java/examples/03-gradle-multi-module-backend.md +13 -0
  717. package/knowledge-bases/seeded/java/examples/04-library-module-with-strong-domain-tests.md +13 -0
  718. package/knowledge-bases/seeded/java/knowledge-base.json +8 -0
  719. package/knowledge-bases/seeded/java/legacy-seed/java/coding-style.md +114 -0
  720. package/knowledge-bases/seeded/java/legacy-seed/java/hooks.md +18 -0
  721. package/knowledge-bases/seeded/java/legacy-seed/java/patterns.md +146 -0
  722. package/knowledge-bases/seeded/java/legacy-seed/java/security.md +100 -0
  723. package/knowledge-bases/seeded/java/legacy-seed/java/testing.md +131 -0
  724. package/knowledge-bases/seeded/java/rules/common/agents.md +50 -0
  725. package/knowledge-bases/seeded/java/rules/common/coding-style.md +48 -0
  726. package/knowledge-bases/seeded/java/rules/common/development-workflow.md +38 -0
  727. package/knowledge-bases/seeded/java/rules/common/git-workflow.md +24 -0
  728. package/knowledge-bases/seeded/java/rules/common/hooks.md +30 -0
  729. package/knowledge-bases/seeded/java/rules/common/patterns.md +31 -0
  730. package/knowledge-bases/seeded/java/rules/common/performance.md +55 -0
  731. package/knowledge-bases/seeded/java/rules/common/security.md +29 -0
  732. package/knowledge-bases/seeded/java/rules/common/testing.md +29 -0
  733. package/knowledge-bases/seeded/java/rules/java/coding-style.md +22 -0
  734. package/knowledge-bases/seeded/java/rules/java/hooks.md +23 -0
  735. package/knowledge-bases/seeded/java/rules/java/patterns.md +22 -0
  736. package/knowledge-bases/seeded/java/rules/java/security.md +21 -0
  737. package/knowledge-bases/seeded/java/rules/java/testing.md +23 -0
  738. package/knowledge-bases/seeded/lua/README.md +18 -0
  739. package/knowledge-bases/seeded/lua/docs/examples-guide.md +15 -0
  740. package/knowledge-bases/seeded/lua/docs/frameworks.md +11 -0
  741. package/knowledge-bases/seeded/lua/docs/overview.md +30 -0
  742. package/knowledge-bases/seeded/lua/docs/review-checklist.md +27 -0
  743. package/knowledge-bases/seeded/lua/examples/01-neovim-plugin.md +13 -0
  744. package/knowledge-bases/seeded/lua/examples/02-openresty-request-handler.md +13 -0
  745. package/knowledge-bases/seeded/lua/examples/03-l/303/266ve-gameplay-module.md +13 -0
  746. package/knowledge-bases/seeded/lua/examples/04-embedded-automation-script.md +13 -0
  747. package/knowledge-bases/seeded/lua/knowledge-base.json +8 -0
  748. package/knowledge-bases/seeded/lua/rules/common/agents.md +50 -0
  749. package/knowledge-bases/seeded/lua/rules/common/coding-style.md +48 -0
  750. package/knowledge-bases/seeded/lua/rules/common/development-workflow.md +38 -0
  751. package/knowledge-bases/seeded/lua/rules/common/git-workflow.md +24 -0
  752. package/knowledge-bases/seeded/lua/rules/common/hooks.md +30 -0
  753. package/knowledge-bases/seeded/lua/rules/common/patterns.md +31 -0
  754. package/knowledge-bases/seeded/lua/rules/common/performance.md +55 -0
  755. package/knowledge-bases/seeded/lua/rules/common/security.md +29 -0
  756. package/knowledge-bases/seeded/lua/rules/common/testing.md +29 -0
  757. package/knowledge-bases/seeded/lua/rules/lua/coding-style.md +27 -0
  758. package/knowledge-bases/seeded/lua/rules/lua/hooks.md +21 -0
  759. package/knowledge-bases/seeded/lua/rules/lua/patterns.md +23 -0
  760. package/knowledge-bases/seeded/lua/rules/lua/security.md +20 -0
  761. package/knowledge-bases/seeded/lua/rules/lua/testing.md +23 -0
  762. package/knowledge-bases/seeded/powershell/README.md +18 -0
  763. package/knowledge-bases/seeded/powershell/docs/examples-guide.md +15 -0
  764. package/knowledge-bases/seeded/powershell/docs/frameworks.md +11 -0
  765. package/knowledge-bases/seeded/powershell/docs/overview.md +30 -0
  766. package/knowledge-bases/seeded/powershell/docs/review-checklist.md +27 -0
  767. package/knowledge-bases/seeded/powershell/examples/01-script-module.md +13 -0
  768. package/knowledge-bases/seeded/powershell/examples/02-ci-admin-automation-script.md +13 -0
  769. package/knowledge-bases/seeded/powershell/examples/03-remote-fleet-maintenance-command.md +13 -0
  770. package/knowledge-bases/seeded/powershell/examples/04-developer-bootstrap-utility.md +13 -0
  771. package/knowledge-bases/seeded/powershell/knowledge-base.json +8 -0
  772. package/knowledge-bases/seeded/powershell/rules/common/agents.md +50 -0
  773. package/knowledge-bases/seeded/powershell/rules/common/coding-style.md +48 -0
  774. package/knowledge-bases/seeded/powershell/rules/common/development-workflow.md +38 -0
  775. package/knowledge-bases/seeded/powershell/rules/common/git-workflow.md +24 -0
  776. package/knowledge-bases/seeded/powershell/rules/common/hooks.md +30 -0
  777. package/knowledge-bases/seeded/powershell/rules/common/patterns.md +31 -0
  778. package/knowledge-bases/seeded/powershell/rules/common/performance.md +55 -0
  779. package/knowledge-bases/seeded/powershell/rules/common/security.md +29 -0
  780. package/knowledge-bases/seeded/powershell/rules/common/testing.md +29 -0
  781. package/knowledge-bases/seeded/powershell/rules/powershell/coding-style.md +25 -0
  782. package/knowledge-bases/seeded/powershell/rules/powershell/hooks.md +24 -0
  783. package/knowledge-bases/seeded/powershell/rules/powershell/patterns.md +23 -0
  784. package/knowledge-bases/seeded/powershell/rules/powershell/security.md +23 -0
  785. package/knowledge-bases/seeded/powershell/rules/powershell/testing.md +24 -0
  786. package/knowledge-bases/seeded/typescript/README.md +18 -0
  787. package/knowledge-bases/seeded/typescript/docs/examples-guide.md +15 -0
  788. package/knowledge-bases/seeded/typescript/docs/frameworks.md +11 -0
  789. package/knowledge-bases/seeded/typescript/docs/overview.md +34 -0
  790. package/knowledge-bases/seeded/typescript/docs/review-checklist.md +27 -0
  791. package/knowledge-bases/seeded/typescript/examples/01-node-api.md +13 -0
  792. package/knowledge-bases/seeded/typescript/examples/02-react-component-library.md +13 -0
  793. package/knowledge-bases/seeded/typescript/examples/03-nextjs-app.md +13 -0
  794. package/knowledge-bases/seeded/typescript/examples/04-monorepo-shared-types-and-validation.md +13 -0
  795. package/knowledge-bases/seeded/typescript/knowledge-base.json +8 -0
  796. package/knowledge-bases/seeded/typescript/legacy-seed/typescript/coding-style.md +199 -0
  797. package/knowledge-bases/seeded/typescript/legacy-seed/typescript/hooks.md +22 -0
  798. package/knowledge-bases/seeded/typescript/legacy-seed/typescript/patterns.md +52 -0
  799. package/knowledge-bases/seeded/typescript/legacy-seed/typescript/security.md +28 -0
  800. package/knowledge-bases/seeded/typescript/legacy-seed/typescript/testing.md +18 -0
  801. package/knowledge-bases/seeded/typescript/rules/common/agents.md +50 -0
  802. package/knowledge-bases/seeded/typescript/rules/common/coding-style.md +48 -0
  803. package/knowledge-bases/seeded/typescript/rules/common/development-workflow.md +38 -0
  804. package/knowledge-bases/seeded/typescript/rules/common/git-workflow.md +24 -0
  805. package/knowledge-bases/seeded/typescript/rules/common/hooks.md +30 -0
  806. package/knowledge-bases/seeded/typescript/rules/common/patterns.md +31 -0
  807. package/knowledge-bases/seeded/typescript/rules/common/performance.md +55 -0
  808. package/knowledge-bases/seeded/typescript/rules/common/security.md +29 -0
  809. package/knowledge-bases/seeded/typescript/rules/common/testing.md +29 -0
  810. package/knowledge-bases/seeded/typescript/rules/typescript/coding-style.md +30 -0
  811. package/knowledge-bases/seeded/typescript/rules/typescript/hooks.md +25 -0
  812. package/knowledge-bases/seeded/typescript/rules/typescript/patterns.md +23 -0
  813. package/knowledge-bases/seeded/typescript/rules/typescript/security.md +23 -0
  814. package/knowledge-bases/seeded/typescript/rules/typescript/testing.md +22 -0
  815. package/knowledge-bases/structured/README.md +3 -0
  816. package/knowledge-bases/structured/cpp/README.md +3 -0
  817. package/knowledge-bases/structured/cpp/docs/frameworks.md +3 -0
  818. package/knowledge-bases/structured/cpp/docs/overview.md +12 -0
  819. package/knowledge-bases/structured/cpp/docs/review-checklist.md +6 -0
  820. package/knowledge-bases/structured/cpp/examples/01-reference-scenario.md +3 -0
  821. package/knowledge-bases/structured/cpp/knowledge-base.json +13 -0
  822. package/knowledge-bases/structured/go/README.md +3 -0
  823. package/knowledge-bases/structured/go/docs/frameworks.md +3 -0
  824. package/knowledge-bases/structured/go/docs/overview.md +12 -0
  825. package/knowledge-bases/structured/go/docs/review-checklist.md +6 -0
  826. package/knowledge-bases/structured/go/examples/01-reference-scenario.md +3 -0
  827. package/knowledge-bases/structured/go/knowledge-base.json +13 -0
  828. package/knowledge-bases/structured/kotlin/README.md +3 -0
  829. package/knowledge-bases/structured/kotlin/docs/frameworks.md +3 -0
  830. package/knowledge-bases/structured/kotlin/docs/overview.md +12 -0
  831. package/knowledge-bases/structured/kotlin/docs/review-checklist.md +6 -0
  832. package/knowledge-bases/structured/kotlin/examples/01-reference-scenario.md +3 -0
  833. package/knowledge-bases/structured/kotlin/knowledge-base.json +13 -0
  834. package/knowledge-bases/structured/perl/README.md +3 -0
  835. package/knowledge-bases/structured/perl/docs/frameworks.md +3 -0
  836. package/knowledge-bases/structured/perl/docs/overview.md +12 -0
  837. package/knowledge-bases/structured/perl/docs/review-checklist.md +6 -0
  838. package/knowledge-bases/structured/perl/examples/01-reference-scenario.md +3 -0
  839. package/knowledge-bases/structured/perl/knowledge-base.json +13 -0
  840. package/knowledge-bases/structured/php/README.md +3 -0
  841. package/knowledge-bases/structured/php/docs/frameworks.md +3 -0
  842. package/knowledge-bases/structured/php/docs/overview.md +12 -0
  843. package/knowledge-bases/structured/php/docs/review-checklist.md +6 -0
  844. package/knowledge-bases/structured/php/examples/01-reference-scenario.md +3 -0
  845. package/knowledge-bases/structured/php/knowledge-base.json +13 -0
  846. package/knowledge-bases/structured/python/README.md +3 -0
  847. package/knowledge-bases/structured/python/docs/frameworks.md +3 -0
  848. package/knowledge-bases/structured/python/docs/overview.md +12 -0
  849. package/knowledge-bases/structured/python/docs/review-checklist.md +6 -0
  850. package/knowledge-bases/structured/python/examples/01-reference-scenario.md +3 -0
  851. package/knowledge-bases/structured/python/knowledge-base.json +13 -0
  852. package/knowledge-bases/structured/rust/README.md +3 -0
  853. package/knowledge-bases/structured/rust/docs/frameworks.md +3 -0
  854. package/knowledge-bases/structured/rust/docs/overview.md +12 -0
  855. package/knowledge-bases/structured/rust/docs/review-checklist.md +6 -0
  856. package/knowledge-bases/structured/rust/examples/01-reference-scenario.md +3 -0
  857. package/knowledge-bases/structured/rust/knowledge-base.json +13 -0
  858. package/knowledge-bases/structured/shell/README.md +3 -0
  859. package/knowledge-bases/structured/shell/docs/frameworks.md +3 -0
  860. package/knowledge-bases/structured/shell/docs/overview.md +12 -0
  861. package/knowledge-bases/structured/shell/docs/review-checklist.md +6 -0
  862. package/knowledge-bases/structured/shell/examples/01-reference-scenario.md +3 -0
  863. package/knowledge-bases/structured/shell/knowledge-base.json +13 -0
  864. package/knowledge-bases/structured/swift/README.md +3 -0
  865. package/knowledge-bases/structured/swift/docs/frameworks.md +3 -0
  866. package/knowledge-bases/structured/swift/docs/overview.md +12 -0
  867. package/knowledge-bases/structured/swift/docs/review-checklist.md +6 -0
  868. package/knowledge-bases/structured/swift/examples/01-reference-scenario.md +3 -0
  869. package/knowledge-bases/structured/swift/knowledge-base.json +13 -0
  870. package/manifests/bundles/core.json +384 -0
  871. package/manifests/bundles/frameworks.json +196 -0
  872. package/manifests/bundles/languages-seeded.json +136 -0
  873. package/manifests/bundles/languages-v1.json +317 -0
  874. package/manifests/catalog/capability-taxonomy.json +47 -0
  875. package/manifests/catalog/compatibility-matrix.json +4259 -0
  876. package/manifests/catalog/engineering-assistant-import-inventory.json +215 -0
  877. package/manifests/catalog/enhanced-skill-import-inventory.json +402 -0
  878. package/manifests/catalog/flow-artifacts.json +324 -0
  879. package/manifests/catalog/framework-assets.json +124 -0
  880. package/manifests/catalog/harness-capability-matrix.json +429 -0
  881. package/manifests/catalog/index.json +56 -0
  882. package/manifests/catalog/language-assets.json +616 -0
  883. package/manifests/catalog/package-surface.json +426 -0
  884. package/manifests/catalog/seeded-knowledge-files.json +1094 -0
  885. package/manifests/hooks/index.json +70 -0
  886. package/manifests/profiles/ai-runtime.json +24 -0
  887. package/manifests/profiles/core.json +24 -0
  888. package/manifests/profiles/developer.json +24 -0
  889. package/manifests/profiles/game-dev-native.json +24 -0
  890. package/manifests/profiles/legacy-modernization.json +24 -0
  891. package/manifests/profiles/rapid-prototyping.json +24 -0
  892. package/manifests/profiles/release-manager.json +24 -0
  893. package/manifests/profiles/research-first.json +24 -0
  894. package/manifests/profiles/reviewer.json +24 -0
  895. package/manifests/profiles/security.json +24 -0
  896. package/manifests/targets/core.json +125 -0
  897. package/mcp/README.md +3 -0
  898. package/mcp/servers/context7.codex.toml +3 -0
  899. package/mcp/servers/context7.md +3 -0
  900. package/mcp/servers/openai-developer-docs.codex.toml +3 -0
  901. package/mcp/servers/openai-developer-docs.md +3 -0
  902. package/mcp/servers/playwright.codex.toml +3 -0
  903. package/mcp/servers/playwright.md +3 -0
  904. package/mcp/servers/semgrep.md +3 -0
  905. package/package.json +126 -0
  906. package/profiles/README.md +3 -0
  907. package/profiles/claude-code.md +3 -0
  908. package/profiles/codex.md +3 -0
  909. package/profiles/core.md +3 -0
  910. package/profiles/developer.md +3 -0
  911. package/profiles/release-manager.md +3 -0
  912. package/rules/README.md +58 -0
  913. package/rules/common/README.md +37 -0
  914. package/rules/common/agents.md +50 -0
  915. package/rules/common/coding-style.md +48 -0
  916. package/rules/common/development-workflow.md +38 -0
  917. package/rules/common/git-workflow.md +24 -0
  918. package/rules/common/hooks.md +30 -0
  919. package/rules/common/patterns.md +31 -0
  920. package/rules/common/performance.md +55 -0
  921. package/rules/common/security.md +29 -0
  922. package/rules/common/testing.md +29 -0
  923. package/rules/cpp/README.md +19 -0
  924. package/rules/cpp/coding-style.md +3 -0
  925. package/rules/cpp/patterns.md +3 -0
  926. package/rules/cpp/security.md +3 -0
  927. package/rules/cpp/testing.md +3 -0
  928. package/rules/cpp/tooling.md +3 -0
  929. package/rules/dotnet/README.md +41 -0
  930. package/rules/dotnet/coding-style.md +38 -0
  931. package/rules/dotnet/hooks.md +24 -0
  932. package/rules/dotnet/patterns.md +30 -0
  933. package/rules/dotnet/security.md +28 -0
  934. package/rules/dotnet/testing.md +31 -0
  935. package/rules/golang/README.md +19 -0
  936. package/rules/golang/coding-style.md +3 -0
  937. package/rules/golang/patterns.md +3 -0
  938. package/rules/golang/security.md +3 -0
  939. package/rules/golang/testing.md +3 -0
  940. package/rules/golang/tooling.md +3 -0
  941. package/rules/java/README.md +41 -0
  942. package/rules/java/coding-style.md +22 -0
  943. package/rules/java/hooks.md +23 -0
  944. package/rules/java/patterns.md +22 -0
  945. package/rules/java/security.md +21 -0
  946. package/rules/java/testing.md +23 -0
  947. package/rules/kotlin/README.md +19 -0
  948. package/rules/kotlin/coding-style.md +3 -0
  949. package/rules/kotlin/patterns.md +3 -0
  950. package/rules/kotlin/security.md +3 -0
  951. package/rules/kotlin/testing.md +3 -0
  952. package/rules/kotlin/tooling.md +3 -0
  953. package/rules/lua/README.md +41 -0
  954. package/rules/lua/coding-style.md +27 -0
  955. package/rules/lua/hooks.md +21 -0
  956. package/rules/lua/patterns.md +23 -0
  957. package/rules/lua/security.md +20 -0
  958. package/rules/lua/testing.md +23 -0
  959. package/rules/perl/README.md +19 -0
  960. package/rules/perl/coding-style.md +3 -0
  961. package/rules/perl/patterns.md +3 -0
  962. package/rules/perl/security.md +3 -0
  963. package/rules/perl/testing.md +3 -0
  964. package/rules/perl/tooling.md +3 -0
  965. package/rules/php/README.md +19 -0
  966. package/rules/php/coding-style.md +3 -0
  967. package/rules/php/patterns.md +3 -0
  968. package/rules/php/security.md +3 -0
  969. package/rules/php/testing.md +3 -0
  970. package/rules/php/tooling.md +3 -0
  971. package/rules/powershell/README.md +41 -0
  972. package/rules/powershell/coding-style.md +25 -0
  973. package/rules/powershell/hooks.md +24 -0
  974. package/rules/powershell/patterns.md +23 -0
  975. package/rules/powershell/security.md +23 -0
  976. package/rules/powershell/testing.md +24 -0
  977. package/rules/python/README.md +19 -0
  978. package/rules/python/coding-style.md +3 -0
  979. package/rules/python/patterns.md +3 -0
  980. package/rules/python/security.md +3 -0
  981. package/rules/python/testing.md +3 -0
  982. package/rules/python/tooling.md +3 -0
  983. package/rules/rust/README.md +19 -0
  984. package/rules/rust/coding-style.md +3 -0
  985. package/rules/rust/patterns.md +3 -0
  986. package/rules/rust/security.md +3 -0
  987. package/rules/rust/testing.md +3 -0
  988. package/rules/rust/tooling.md +3 -0
  989. package/rules/shell/README.md +19 -0
  990. package/rules/shell/coding-style.md +3 -0
  991. package/rules/shell/patterns.md +3 -0
  992. package/rules/shell/security.md +3 -0
  993. package/rules/shell/testing.md +3 -0
  994. package/rules/shell/tooling.md +3 -0
  995. package/rules/swift/README.md +19 -0
  996. package/rules/swift/coding-style.md +3 -0
  997. package/rules/swift/patterns.md +3 -0
  998. package/rules/swift/security.md +3 -0
  999. package/rules/swift/testing.md +3 -0
  1000. package/rules/swift/tooling.md +3 -0
  1001. package/rules/typescript/README.md +41 -0
  1002. package/rules/typescript/coding-style.md +30 -0
  1003. package/rules/typescript/hooks.md +25 -0
  1004. package/rules/typescript/patterns.md +23 -0
  1005. package/rules/typescript/security.md +23 -0
  1006. package/rules/typescript/testing.md +22 -0
  1007. package/schemas/content/content-metadata.schema.json +100 -0
  1008. package/schemas/hooks/hook.schema.json +57 -0
  1009. package/schemas/manifests/catalog.schema.json +22 -0
  1010. package/schemas/manifests/harness-capability-matrix.schema.json +127 -0
  1011. package/schemas/manifests/package-surface.schema.json +63 -0
  1012. package/schemas/manifests/seeded-knowledge-files.schema.json +69 -0
  1013. package/schemas/runtime/architecture-significance.schema.json +45 -0
  1014. package/schemas/runtime/benchmark-expectation.schema.json +33 -0
  1015. package/schemas/runtime/decision-coverage-summary.schema.json +46 -0
  1016. package/schemas/runtime/decision-record.schema.json +266 -0
  1017. package/schemas/runtime/file-interest.schema.json +78 -0
  1018. package/schemas/runtime/flow-state.schema.json +39 -0
  1019. package/schemas/runtime/impact-analysis.schema.json +83 -0
  1020. package/schemas/runtime/instruction-plan.schema.json +63 -0
  1021. package/schemas/runtime/observability-event.schema.json +40 -0
  1022. package/schemas/runtime/observability-summary.schema.json +32 -0
  1023. package/schemas/runtime/recursive-adr-candidate.schema.json +57 -0
  1024. package/schemas/runtime/recursive-budget.schema.json +40 -0
  1025. package/schemas/runtime/recursive-session-summary.schema.json +49 -0
  1026. package/schemas/runtime/recursive-session.schema.json +65 -0
  1027. package/schemas/runtime/recursive-trace-event.schema.json +43 -0
  1028. package/schemas/runtime/repo-map.schema.json +65 -0
  1029. package/schemas/runtime/task-pack.schema.json +172 -0
  1030. package/schemas/runtime/working-memory.schema.json +52 -0
  1031. package/schemas/runtime/worktree-plan.schema.json +72 -0
  1032. package/schemas/runtime/worktree-state.schema.json +41 -0
  1033. package/schemas/templates/recursive-template-registry.schema.json +43 -0
  1034. package/schemas/templates/runtime-template-registry.schema.json +55 -0
  1035. package/schemas/templates/template-catalog.schema.json +38 -0
  1036. package/scripts/ci/capability-matrix-shared.mjs +263 -0
  1037. package/scripts/ci/generate-compatibility-matrix.mjs +189 -0
  1038. package/scripts/ci/generate-target-support-docs.mjs +27 -0
  1039. package/scripts/ci/release-smoke.mjs +121 -0
  1040. package/scripts/ci/smoke-runner.mjs +90 -0
  1041. package/scripts/ci/validate-capability-matrix.mjs +30 -0
  1042. package/scripts/ci/validate-content-metadata.mjs +188 -0
  1043. package/scripts/ci/validate-doc-command-alignment.mjs +146 -0
  1044. package/scripts/ci/validate-framework-coverage.mjs +52 -0
  1045. package/scripts/ci/validate-generated-sync.mjs +122 -0
  1046. package/scripts/ci/validate-manifest-runtime-consistency.mjs +134 -0
  1047. package/scripts/ci/validate-no-placeholders.mjs +86 -0
  1048. package/scripts/ci/validate-pack-dependencies.mjs +78 -0
  1049. package/scripts/ci/validate-packed-install-surface.mjs +77 -0
  1050. package/scripts/ci/validate-seeded-knowledge-coverage.mjs +89 -0
  1051. package/scripts/ci/validate-skill-depth.mjs +88 -0
  1052. package/scripts/codex/apply-home-config.mjs +39 -0
  1053. package/scripts/intelligence/cartograph-repo.mjs +15 -0
  1054. package/scripts/intelligence/classify-boundaries.mjs +15 -0
  1055. package/scripts/intelligence/detect-frameworks.mjs +16 -0
  1056. package/scripts/intelligence/scan-repo.mjs +16 -0
  1057. package/scripts/intelligence/score-recommendations.mjs +16 -0
  1058. package/scripts/intelligence/shared/cartography.mjs +129 -0
  1059. package/scripts/intelligence/shared.mjs +660 -0
  1060. package/scripts/intelligence/synthesize-instructions.mjs +90 -0
  1061. package/scripts/knowledge/import-pack.mjs +56 -0
  1062. package/scripts/knowledge/normalize-pack.mjs +49 -0
  1063. package/scripts/knowledge/report-coverage.mjs +82 -0
  1064. package/scripts/knowledge/report-drift.mjs +67 -0
  1065. package/scripts/runtime/check-merge-readiness.mjs +44 -0
  1066. package/scripts/runtime/check-parallel-status.mjs +39 -0
  1067. package/scripts/runtime/create-parallel-plan.mjs +61 -0
  1068. package/scripts/runtime/flow-status.mjs +114 -0
  1069. package/scripts/runtime/record-event.mjs +44 -0
  1070. package/scripts/runtime/recursive-plan.mjs +25 -0
  1071. package/scripts/runtime/render-observability-report.mjs +50 -0
  1072. package/scripts/runtime/report-effectiveness.mjs +35 -0
  1073. package/scripts/runtime/summarize-observability.mjs +57 -0
  1074. package/scripts/templates/README.md +40 -0
  1075. package/scripts/templates/config/required-sections.json +37 -0
  1076. package/scripts/templates/powershell/Check-TemplateFrontmatter.ps1 +54 -0
  1077. package/scripts/templates/powershell/Check-TemplateLinks.ps1 +22 -0
  1078. package/scripts/templates/powershell/Get-MissingTemplateSections.ps1 +21 -0
  1079. package/scripts/templates/powershell/New-TemplateIndex.ps1 +19 -0
  1080. package/scripts/templates/powershell/Test-WorkflowContracts.ps1 +26 -0
  1081. package/scripts/templates/shell/check-template-frontmatter.sh +39 -0
  1082. package/scripts/templates/shell/check-template-links.sh +25 -0
  1083. package/scripts/templates/shell/generate-template-index.sh +17 -0
  1084. package/scripts/templates/shell/list-missing-template-sections.sh +36 -0
  1085. package/scripts/templates/shell/verify-workflow-contracts.sh +21 -0
  1086. package/skills/README.md +94 -0
  1087. package/skills/api-contract-review/SKILL.md +56 -0
  1088. package/skills/api-contract-review/references/event-and-async-contracts.md +16 -0
  1089. package/skills/api-contract-review/references/examples.md +15 -0
  1090. package/skills/api-contract-review/references/http-contract-checklist.md +24 -0
  1091. package/skills/api-contract-review/references/protobuf-and-buf.md +12 -0
  1092. package/skills/api-contract-review/references/review-template.md +19 -0
  1093. package/skills/api-contract-review/references/schema-compatibility.md +20 -0
  1094. package/skills/api-contract-review/references/style-and-linting.md +15 -0
  1095. package/skills/architecture-decision-records/SKILL.md +53 -0
  1096. package/skills/architecture-decision-records/references/adr-anti-patterns.md +10 -0
  1097. package/skills/architecture-decision-records/references/adr-template.md +31 -0
  1098. package/skills/architecture-decision-records/references/decision-rubric.md +22 -0
  1099. package/skills/architecture-decision-records/references/examples.md +15 -0
  1100. package/skills/architecture-decision-records/references/madr-style-guide.md +17 -0
  1101. package/skills/cloud-architect/SKILL.md +61 -0
  1102. package/skills/cloud-architect/references/agent-patterns.md +23 -0
  1103. package/skills/cloud-architect/references/debugging-playbook.md +24 -0
  1104. package/skills/cloud-architect/references/distributed-systems.md +13 -0
  1105. package/skills/cloud-architect/references/examples.md +19 -0
  1106. package/skills/cloud-architect/references/output-templates.md +35 -0
  1107. package/skills/cloud-architect/references/platform-and-deployment.md +13 -0
  1108. package/skills/cloud-architect/references/reliability-security-cost.md +17 -0
  1109. package/skills/cloud-architect/references/repo-exploration.md +42 -0
  1110. package/skills/cpp-engineering/SKILL.md +43 -0
  1111. package/skills/db-migration-review/SKILL.md +56 -0
  1112. package/skills/db-migration-review/references/engine-specific-hotspots.md +21 -0
  1113. package/skills/db-migration-review/references/examples.md +16 -0
  1114. package/skills/db-migration-review/references/expand-contract.md +19 -0
  1115. package/skills/db-migration-review/references/review-template.md +25 -0
  1116. package/skills/db-migration-review/references/risk-taxonomy.md +30 -0
  1117. package/skills/db-migration-review/references/rollout-and-backfill.md +23 -0
  1118. package/skills/db-migration-review/references/tooling-signals.md +21 -0
  1119. package/skills/dependency-upgrade-safety/SKILL.md +36 -0
  1120. package/skills/documentation-lookup/SKILL.md +45 -0
  1121. package/skills/documentation-lookup/references/source-priority.md +6 -0
  1122. package/skills/dotnet-engineering/SKILL.md +76 -0
  1123. package/skills/dotnet-engineering/references/agent-patterns.md +30 -0
  1124. package/skills/dotnet-engineering/references/architecture-and-di.md +28 -0
  1125. package/skills/dotnet-engineering/references/aspnet-and-efcore.md +22 -0
  1126. package/skills/dotnet-engineering/references/cloud-native-and-aspire.md +21 -0
  1127. package/skills/dotnet-engineering/references/debugging-playbook.md +21 -0
  1128. package/skills/dotnet-engineering/references/examples.md +22 -0
  1129. package/skills/dotnet-engineering/references/output-templates.md +33 -0
  1130. package/skills/dotnet-engineering/references/repo-exploration.md +38 -0
  1131. package/skills/dotnet-engineering/references/testing-and-performance.md +25 -0
  1132. package/skills/engineering-assistant/SKILL.md +59 -0
  1133. package/skills/engineering-assistant/references/architecture.md +47 -0
  1134. package/skills/engineering-assistant/references/change-discipline.md +37 -0
  1135. package/skills/engineering-assistant/references/project-notes.md +36 -0
  1136. package/skills/engineering-assistant/references/skill-composition.md +33 -0
  1137. package/skills/engineering-assistant/references/solid-and-patterns.md +34 -0
  1138. package/skills/go-engineering/SKILL.md +43 -0
  1139. package/skills/incident-triage/SKILL.md +36 -0
  1140. package/skills/java-engineering/SKILL.md +48 -0
  1141. package/skills/java-engineering/references/agent-patterns.md +23 -0
  1142. package/skills/java-engineering/references/build-and-structure.md +14 -0
  1143. package/skills/java-engineering/references/debugging-playbook.md +24 -0
  1144. package/skills/java-engineering/references/examples.md +15 -0
  1145. package/skills/java-engineering/references/output-templates.md +35 -0
  1146. package/skills/java-engineering/references/repo-exploration.md +42 -0
  1147. package/skills/java-engineering/references/spring-patterns.md +12 -0
  1148. package/skills/java-engineering/references/testing-concurrency-performance.md +11 -0
  1149. package/skills/javascript-engineering/SKILL.md +66 -0
  1150. package/skills/javascript-engineering/references/agent-patterns.md +22 -0
  1151. package/skills/javascript-engineering/references/browser-and-bundler-patterns.md +14 -0
  1152. package/skills/javascript-engineering/references/debugging-playbook.md +17 -0
  1153. package/skills/javascript-engineering/references/ecosystem-guide.md +19 -0
  1154. package/skills/javascript-engineering/references/examples.md +15 -0
  1155. package/skills/javascript-engineering/references/node-service-patterns.md +15 -0
  1156. package/skills/javascript-engineering/references/output-templates.md +17 -0
  1157. package/skills/javascript-engineering/references/package-contracts.md +12 -0
  1158. package/skills/javascript-engineering/references/repo-exploration.md +24 -0
  1159. package/skills/javascript-engineering/references/testing-and-debugging.md +13 -0
  1160. package/skills/kotlin-engineering/SKILL.md +43 -0
  1161. package/skills/lua-engineering/SKILL.md +78 -0
  1162. package/skills/lua-engineering/references/agent-patterns.md +22 -0
  1163. package/skills/lua-engineering/references/debugging-and-testing.md +13 -0
  1164. package/skills/lua-engineering/references/debugging-playbook.md +17 -0
  1165. package/skills/lua-engineering/references/examples.md +15 -0
  1166. package/skills/lua-engineering/references/game-and-addon-patterns.md +15 -0
  1167. package/skills/lua-engineering/references/language-idioms.md +16 -0
  1168. package/skills/lua-engineering/references/neovim-and-editor-patterns.md +17 -0
  1169. package/skills/lua-engineering/references/openresty-patterns.md +15 -0
  1170. package/skills/lua-engineering/references/output-templates.md +17 -0
  1171. package/skills/lua-engineering/references/repo-exploration.md +25 -0
  1172. package/skills/lua-engineering/references/runtime-profiles.md +12 -0
  1173. package/skills/lua-engineering/references/tooling-and-quality.md +16 -0
  1174. package/skills/observability-and-eval/SKILL.md +6 -0
  1175. package/skills/observability-setup/SKILL.md +35 -0
  1176. package/skills/parallel-worktree-supervisor/SKILL.md +55 -0
  1177. package/skills/parallel-worktree-supervisor/references/examples.md +14 -0
  1178. package/skills/parallel-worktree-supervisor/references/merge-readiness.md +15 -0
  1179. package/skills/parallel-worktree-supervisor/references/output-template.md +16 -0
  1180. package/skills/parallel-worktree-supervisor/references/stacked-diffs-and-review.md +17 -0
  1181. package/skills/parallel-worktree-supervisor/references/task-sharding-rules.md +22 -0
  1182. package/skills/parallel-worktree-supervisor/references/worktree-operations.md +16 -0
  1183. package/skills/performance-profiling/SKILL.md +36 -0
  1184. package/skills/perl-engineering/SKILL.md +43 -0
  1185. package/skills/php-engineering/SKILL.md +43 -0
  1186. package/skills/powershell-engineering/SKILL.md +48 -0
  1187. package/skills/powershell-engineering/references/agent-patterns.md +23 -0
  1188. package/skills/powershell-engineering/references/debugging-playbook.md +24 -0
  1189. package/skills/powershell-engineering/references/examples.md +17 -0
  1190. package/skills/powershell-engineering/references/output-templates.md +35 -0
  1191. package/skills/powershell-engineering/references/remoting-and-ops.md +12 -0
  1192. package/skills/powershell-engineering/references/repo-exploration.md +42 -0
  1193. package/skills/powershell-engineering/references/scripting-and-modules.md +14 -0
  1194. package/skills/powershell-engineering/references/testing-and-ci.md +11 -0
  1195. package/skills/pr-triage-and-summary/SKILL.md +35 -0
  1196. package/skills/python-engineering/SKILL.md +56 -0
  1197. package/skills/python-engineering/references/agent-patterns.md +23 -0
  1198. package/skills/python-engineering/references/async-and-concurrency.md +19 -0
  1199. package/skills/python-engineering/references/debugging-playbook.md +24 -0
  1200. package/skills/python-engineering/references/ecosystem-guide.md +32 -0
  1201. package/skills/python-engineering/references/examples.md +19 -0
  1202. package/skills/python-engineering/references/output-templates.md +35 -0
  1203. package/skills/python-engineering/references/repo-exploration.md +42 -0
  1204. package/skills/python-engineering/references/testing-and-quality.md +16 -0
  1205. package/skills/release-readiness/SKILL.md +45 -0
  1206. package/skills/release-readiness/references/release-report-template.md +7 -0
  1207. package/skills/repo-cartographer/SKILL.md +10 -0
  1208. package/skills/repo-modernization/SKILL.md +56 -0
  1209. package/skills/repo-modernization/references/automation-candidates.md +19 -0
  1210. package/skills/repo-modernization/references/dependency-and-build-modernization.md +16 -0
  1211. package/skills/repo-modernization/references/examples.md +15 -0
  1212. package/skills/repo-modernization/references/modernization-layers.md +21 -0
  1213. package/skills/repo-modernization/references/roadmap-template.md +25 -0
  1214. package/skills/repo-modernization/references/safety-rails.md +15 -0
  1215. package/skills/repo-modernization/references/strangler-and-seams.md +18 -0
  1216. package/skills/repo-onboarding/SKILL.md +56 -0
  1217. package/skills/repo-onboarding/references/command-discovery.md +13 -0
  1218. package/skills/repo-onboarding/references/discovery-checklist.md +24 -0
  1219. package/skills/repo-onboarding/references/examples.md +13 -0
  1220. package/skills/repo-onboarding/references/monorepo-signals.md +17 -0
  1221. package/skills/repo-onboarding/references/output-template.md +26 -0
  1222. package/skills/repo-onboarding/references/ownership-and-health-signals.md +21 -0
  1223. package/skills/repo-onboarding/references/repo-archetypes.md +13 -0
  1224. package/skills/rust-engineering/SKILL.md +43 -0
  1225. package/skills/security-scan/SKILL.md +45 -0
  1226. package/skills/security-scan/references/review-checklist.md +7 -0
  1227. package/skills/shell-engineering/SKILL.md +43 -0
  1228. package/skills/speckit-analyze/SKILL.md +190 -0
  1229. package/skills/speckit-checklist/SKILL.md +301 -0
  1230. package/skills/speckit-clarify/SKILL.md +183 -0
  1231. package/skills/speckit-constitution/SKILL.md +86 -0
  1232. package/skills/speckit-implement/SKILL.md +204 -0
  1233. package/skills/speckit-plan/SKILL.md +151 -0
  1234. package/skills/speckit-specify/SKILL.md +304 -0
  1235. package/skills/speckit-tasks/SKILL.md +197 -0
  1236. package/skills/speckit-taskstoissues/SKILL.md +35 -0
  1237. package/skills/swift-engineering/SKILL.md +43 -0
  1238. package/skills/test-strategy-and-coverage/SKILL.md +35 -0
  1239. package/skills/typescript-engineering/SKILL.md +77 -0
  1240. package/skills/typescript-engineering/references/agent-patterns.md +23 -0
  1241. package/skills/typescript-engineering/references/debugging-playbook.md +21 -0
  1242. package/skills/typescript-engineering/references/examples.md +22 -0
  1243. package/skills/typescript-engineering/references/frontend-and-backend-patterns.md +19 -0
  1244. package/skills/typescript-engineering/references/output-templates.md +25 -0
  1245. package/skills/typescript-engineering/references/repo-exploration.md +25 -0
  1246. package/skills/typescript-engineering/references/runtime-validation-and-boundaries.md +20 -0
  1247. package/skills/typescript-engineering/references/tsconfig-and-build.md +25 -0
  1248. package/skills/typescript-engineering/references/type-system-patterns.md +20 -0
  1249. package/skills/typescript-engineering/references/workspace-and-monorepo.md +23 -0
  1250. package/targets/claude-code/adapter.json +56 -0
  1251. package/targets/claude-code/runtime/.claude/CLAUDE.md +3 -0
  1252. package/targets/claude-code/runtime/.claude/agents/documentation-lookup.md +3 -0
  1253. package/targets/claude-code/runtime/.claude/agents/release-readiness.md +3 -0
  1254. package/targets/claude-code/runtime/.claude/agents/repo-onboarding.md +3 -0
  1255. package/targets/claude-code/runtime/.claude/agents/security-scan.md +3 -0
  1256. package/targets/claude-code/runtime/.claude/hooks/post-tool-use.sh +4 -0
  1257. package/targets/claude-code/runtime/.claude/hooks/pre-tool-use.sh +4 -0
  1258. package/targets/claude-code/runtime/.claude/settings.json +26 -0
  1259. package/targets/codex/adapter.json +56 -0
  1260. package/targets/codex/runtime/.codex/README.md +3 -0
  1261. package/targets/codex/runtime/.codex/config.toml +15 -0
  1262. package/targets/cursor/adapter.json +56 -0
  1263. package/targets/opencode/adapter.json +56 -0
  1264. package/templates/instructions/cursor-rule-template.mdc +7 -0
  1265. package/templates/instructions/root-agents-template.md +88 -0
  1266. package/templates/instructions/scoped-agents-template.md +90 -0
  1267. package/templates/tasks/fix-bug.md +93 -0
  1268. package/templates/tasks/implement-feature.md +95 -0
  1269. package/templates/workflows/implement-cpp-change.md +175 -0
  1270. package/templates/workflows/implement-dotnet-change.md +175 -0
  1271. package/templates/workflows/implement-go-change.md +175 -0
  1272. package/templates/workflows/implement-java-change.md +175 -0
  1273. package/templates/workflows/implement-kotlin-change.md +175 -0
  1274. package/templates/workflows/implement-lua-change.md +175 -0
  1275. package/templates/workflows/implement-perl-change.md +175 -0
  1276. package/templates/workflows/implement-php-change.md +175 -0
  1277. package/templates/workflows/implement-powershell-change.md +175 -0
  1278. package/templates/workflows/implement-python-change.md +175 -0
  1279. package/templates/workflows/implement-rust-change.md +175 -0
  1280. package/templates/workflows/implement-shell-change.md +175 -0
  1281. package/templates/workflows/implement-swift-change.md +175 -0
  1282. package/templates/workflows/implement-typescript-change.md +176 -0
  1283. package/templates/workflows/parallel-implement-and-merge.md +191 -0
  1284. package/templates/workflows/research-plan-implement-validate.md +187 -0
  1285. package/templates/workflows/triage-reproduce-fix-verify.md +167 -0
@@ -0,0 +1,18 @@
1
+ export interface EffectivenessSignalRecord {
2
+ signalType: string;
3
+ subjectId: string;
4
+ context?: string;
5
+ result: "success" | "skipped" | "failed" | "accepted" | "rejected";
6
+ recordedAt: string;
7
+ details?: Record<string, unknown>;
8
+ }
9
+ export interface EffectivenessSummary {
10
+ total: number;
11
+ bySignalType: Record<string, number>;
12
+ byResult: Record<string, number>;
13
+ latest?: EffectivenessSignalRecord;
14
+ }
15
+ export declare function readEffectivenessSignals(root: string): Promise<EffectivenessSignalRecord[]>;
16
+ export declare function appendEffectivenessSignal(root: string, signal: EffectivenessSignalRecord): Promise<void>;
17
+ export declare function summarizeEffectivenessSignals(root: string): Promise<EffectivenessSummary>;
18
+ //# sourceMappingURL=local-metrics-store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"local-metrics-store.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/observability/local-metrics-store.ts"],"names":[],"mappings":"AAWA,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,UAAU,CAAC;IACnE,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,yBAAyB,CAAC;CACpC;AAMD,wBAAsB,wBAAwB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,yBAAyB,EAAE,CAAC,CAOjG;AAED,wBAAsB,yBAAyB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC,CAM9G;AAED,wBAAsB,6BAA6B,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAgB/F"}
@@ -0,0 +1,35 @@
1
+ import path from "node:path";
2
+ import { EFFECTIVENESS_FILE, ensureDir, exists, OBSERVABILITY_DIR, readJsonFile, writeJsonFile } from "../../shared/index.js";
3
+ function metricsPath(root) {
4
+ return path.join(root, OBSERVABILITY_DIR, EFFECTIVENESS_FILE);
5
+ }
6
+ export async function readEffectivenessSignals(root) {
7
+ const targetPath = metricsPath(root);
8
+ if (!(await exists(targetPath))) {
9
+ return [];
10
+ }
11
+ return readJsonFile(targetPath);
12
+ }
13
+ export async function appendEffectivenessSignal(root, signal) {
14
+ const targetDir = path.join(root, OBSERVABILITY_DIR);
15
+ await ensureDir(targetDir);
16
+ const signals = await readEffectivenessSignals(root);
17
+ signals.push(signal);
18
+ await writeJsonFile(metricsPath(root), signals);
19
+ }
20
+ export async function summarizeEffectivenessSignals(root) {
21
+ const signals = await readEffectivenessSignals(root);
22
+ const bySignalType = {};
23
+ const byResult = {};
24
+ for (const signal of signals) {
25
+ bySignalType[signal.signalType] = (bySignalType[signal.signalType] ?? 0) + 1;
26
+ byResult[signal.result] = (byResult[signal.result] ?? 0) + 1;
27
+ }
28
+ return {
29
+ total: signals.length,
30
+ bySignalType,
31
+ byResult,
32
+ latest: signals[signals.length - 1]
33
+ };
34
+ }
35
+ //# sourceMappingURL=local-metrics-store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"local-metrics-store.js","sourceRoot":"","sources":["../../../src/infrastructure/observability/local-metrics-store.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EACL,kBAAkB,EAClB,SAAS,EACT,MAAM,EACN,iBAAiB,EACjB,YAAY,EACZ,aAAa,EACd,MAAM,uBAAuB,CAAC;AAkB/B,SAAS,WAAW,CAAC,IAAY;IAC/B,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,iBAAiB,EAAE,kBAAkB,CAAC,CAAC;AAChE,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,wBAAwB,CAAC,IAAY;IACzD,MAAM,UAAU,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;IACrC,IAAI,CAAC,CAAC,MAAM,MAAM,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC;QAChC,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,OAAO,YAAY,CAA8B,UAAU,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAAC,IAAY,EAAE,MAAiC;IAC7F,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;IACrD,MAAM,SAAS,CAAC,SAAS,CAAC,CAAC;IAC3B,MAAM,OAAO,GAAG,MAAM,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACrD,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACrB,MAAM,aAAa,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,CAAC;AAClD,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,6BAA6B,CAAC,IAAY;IAC9D,MAAM,OAAO,GAAG,MAAM,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACrD,MAAM,YAAY,GAA2B,EAAE,CAAC;IAChD,MAAM,QAAQ,GAA2B,EAAE,CAAC;IAE5C,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,YAAY,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;QAC7E,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IAC/D,CAAC;IAED,OAAO;QACL,KAAK,EAAE,OAAO,CAAC,MAAM;QACrB,YAAY;QACZ,QAAQ;QACR,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC;KACpC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,45 @@
1
+ import type { RecursiveSession } from "../../domain/recursive/session.js";
2
+ import type { RecursiveSessionSummary } from "../../domain/recursive/session-summary.js";
3
+ export interface RecursiveWorkingMemoryRecord {
4
+ sessionId: string;
5
+ taskId?: string;
6
+ currentObjective: string;
7
+ currentPlan: string[];
8
+ filesInFocus: string[];
9
+ confirmedFacts: string[];
10
+ inferredFacts: string[];
11
+ blockers: string[];
12
+ openQuestions: string[];
13
+ recentFailedAttempts: string[];
14
+ nextStep: string;
15
+ lastUpdated: string;
16
+ }
17
+ export interface RecursiveScratchRecord {
18
+ sessionId: string;
19
+ updatedAt: string;
20
+ notes: string[];
21
+ }
22
+ export interface RecursiveSessionBundle {
23
+ session: RecursiveSession;
24
+ memory: RecursiveWorkingMemoryRecord;
25
+ scratch: RecursiveScratchRecord;
26
+ calls: Array<Record<string, unknown>>;
27
+ summary: RecursiveSessionSummary;
28
+ finalOutput?: Record<string, unknown>;
29
+ }
30
+ export declare function resolveRecursiveSessionPaths(workspaceRoot: string, sessionId: string): {
31
+ sessionsDir: string;
32
+ sessionDir: string;
33
+ sessionPath: string;
34
+ memoryPath: string;
35
+ scratchPath: string;
36
+ callsPath: string;
37
+ tracePath: string;
38
+ summaryPath: string;
39
+ finalOutputPath: string;
40
+ };
41
+ export declare function writeRecursiveSessionBundle(workspaceRoot: string, bundle: RecursiveSessionBundle): Promise<ReturnType<typeof resolveRecursiveSessionPaths>>;
42
+ export declare function loadRecursiveSession(workspaceRoot: string, sessionId: string): Promise<RecursiveSession | null>;
43
+ export declare function loadRecursiveSessionSummary(workspaceRoot: string, sessionId: string): Promise<RecursiveSessionSummary | null>;
44
+ export declare function listRecursiveSessionIds(workspaceRoot: string): Promise<string[]>;
45
+ //# sourceMappingURL=session-store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session-store.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/recursive/session-store.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAoBzF,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,E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,sBAAsB,GAC7B,OAAO,CAAC,UAAU,CAAC,OAAO,4BAA4B,CAAC,CAAC,CAY1D;AAED,wBAAsB,oBAAoB,CAAC,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAMrH;AAED,wBAAsB,2BAA2B,CAC/C,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,uBAAuB,GAAG,IAAI,CAAC,CAMzC;AAED,wBAAsB,uBAAuB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAWtF"}
@@ -0,0 +1,62 @@
1
+ import fs from "node:fs/promises";
2
+ import path from "node:path";
3
+ import { parseRecursiveSession } from "../../domain/recursive/session.js";
4
+ import { parseRecursiveSessionSummary } from "../../domain/recursive/session-summary.js";
5
+ import { RUNTIME_DIR, RUNTIME_RECURSIVE_CALLS_FILE, RUNTIME_RECURSIVE_DIR, RUNTIME_RECURSIVE_FINAL_OUTPUT_FILE, RUNTIME_RECURSIVE_MEMORY_FILE, RUNTIME_RECURSIVE_SCRATCH_FILE, RUNTIME_RECURSIVE_SESSIONS_DIR, RUNTIME_RECURSIVE_SESSION_FILE, RUNTIME_RECURSIVE_SUMMARY_FILE, RUNTIME_RECURSIVE_TRACE_FILE, ensureDir, exists, readJsonFile, writeJsonFile } from "../../shared/index.js";
6
+ function recursiveSessionsRoot(workspaceRoot) {
7
+ return path.join(workspaceRoot, RUNTIME_DIR, RUNTIME_RECURSIVE_DIR, RUNTIME_RECURSIVE_SESSIONS_DIR);
8
+ }
9
+ export function resolveRecursiveSessionPaths(workspaceRoot, sessionId) {
10
+ const sessionsDir = recursiveSessionsRoot(workspaceRoot);
11
+ const sessionDir = path.join(sessionsDir, sessionId);
12
+ return {
13
+ sessionsDir,
14
+ sessionDir,
15
+ sessionPath: path.join(sessionDir, RUNTIME_RECURSIVE_SESSION_FILE),
16
+ memoryPath: path.join(sessionDir, RUNTIME_RECURSIVE_MEMORY_FILE),
17
+ scratchPath: path.join(sessionDir, RUNTIME_RECURSIVE_SCRATCH_FILE),
18
+ callsPath: path.join(sessionDir, RUNTIME_RECURSIVE_CALLS_FILE),
19
+ tracePath: path.join(sessionDir, RUNTIME_RECURSIVE_TRACE_FILE),
20
+ summaryPath: path.join(sessionDir, RUNTIME_RECURSIVE_SUMMARY_FILE),
21
+ finalOutputPath: path.join(sessionDir, RUNTIME_RECURSIVE_FINAL_OUTPUT_FILE)
22
+ };
23
+ }
24
+ export async function writeRecursiveSessionBundle(workspaceRoot, bundle) {
25
+ const paths = resolveRecursiveSessionPaths(workspaceRoot, bundle.session.sessionId);
26
+ await ensureDir(paths.sessionDir);
27
+ await Promise.all([
28
+ writeJsonFile(paths.sessionPath, bundle.session),
29
+ writeJsonFile(paths.memoryPath, bundle.memory),
30
+ writeJsonFile(paths.scratchPath, bundle.scratch),
31
+ writeJsonFile(paths.callsPath, bundle.calls),
32
+ writeJsonFile(paths.summaryPath, bundle.summary),
33
+ ...(bundle.finalOutput ? [writeJsonFile(paths.finalOutputPath, bundle.finalOutput)] : [])
34
+ ]);
35
+ return paths;
36
+ }
37
+ export async function loadRecursiveSession(workspaceRoot, sessionId) {
38
+ const { sessionPath } = resolveRecursiveSessionPaths(workspaceRoot, sessionId);
39
+ if (!(await exists(sessionPath))) {
40
+ return null;
41
+ }
42
+ return parseRecursiveSession(await readJsonFile(sessionPath));
43
+ }
44
+ export async function loadRecursiveSessionSummary(workspaceRoot, sessionId) {
45
+ const { summaryPath } = resolveRecursiveSessionPaths(workspaceRoot, sessionId);
46
+ if (!(await exists(summaryPath))) {
47
+ return null;
48
+ }
49
+ return parseRecursiveSessionSummary(await readJsonFile(summaryPath));
50
+ }
51
+ export async function listRecursiveSessionIds(workspaceRoot) {
52
+ const sessionsDir = recursiveSessionsRoot(workspaceRoot);
53
+ if (!(await exists(sessionsDir))) {
54
+ return [];
55
+ }
56
+ const entries = await fs.readdir(sessionsDir, { withFileTypes: true });
57
+ return entries
58
+ .filter((entry) => entry.isDirectory())
59
+ .map((entry) => entry.name)
60
+ .sort((left, right) => left.localeCompare(right));
61
+ }
62
+ //# sourceMappingURL=session-store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session-store.js","sourceRoot":"","sources":["../../../src/infrastructure/recursive/session-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC;AAI7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,EACL,WAAW,EACX,4BAA4B,EAC5B,qBAAqB,EACrB,mCAAmC,EACnC,6BAA6B,EAC7B,8BAA8B,EAC9B,8BAA8B,EAC9B,8BAA8B,EAC9B,8BAA8B,EAC9B,4BAA4B,EAC5B,SAAS,EACT,MAAM,EACN,YAAY,EACZ,aAAa,EACd,MAAM,uBAAuB,CAAC;AAgC/B,SAAS,qBAAqB,CAAC,aAAqB;IAClD,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,WAAW,EAAE,qBAAqB,EAAE,8BAA8B,CAAC,CAAC;AACtG,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAC,aAAqB,EAAE,SAAiB;IAWnF,MAAM,WAAW,GAAG,qBAAqB,CAAC,aAAa,CAAC,CAAC;IACzD,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;IACrD,OAAO;QACL,WAAW;QACX,UAAU;QACV,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,8BAA8B,CAAC;QAClE,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,6BAA6B,CAAC;QAChE,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,8BAA8B,CAAC;QACl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C;IAC/E,IAAI,CAAC,CAAC,MAAM,MAAM,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,qBAAqB,CAAC,MAAM,YAAY,CAAmB,WAAW,CAAC,CAAC,CAAC;AAClF,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,2BAA2B,CAC/C,aAAqB,EACrB,SAAiB;IAEjB,MAAM,EAAE,WAAW,EAAE,GAAG,4BAA4B,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC;IAC/E,IAAI,CAAC,CAAC,MAAM,MAAM,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,4BAA4B,CAAC,MAAM,YAAY,CAA0B,WAAW,CAAC,CAAC,CAAC;AAChG,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAAC,aAAqB;IACjE,MAAM,WAAW,GAAG,qBAAqB,CAAC,aAAa,CAAC,CAAC;IACzD,IAAI,CAAC,CAAC,MAAM,MAAM,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC;QACjC,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,MAAM,OAAO,GAAG,MAAM,EAAE,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC;IACvE,OAAO,OAAO;SACX,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;SACtC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC;SAC1B,IAAI,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;AACtD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { RecursiveTemplateRegistry } from "../../domain/recursive/template-registry.js";
2
+ export declare function loadRecursiveTemplateRegistry(workspaceRoot: string): Promise<RecursiveTemplateRegistry>;
3
+ //# sourceMappingURL=template-loader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template-loader.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/recursive/template-loader.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAI7F,wBAAsB,6BAA6B,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAgB7G"}
@@ -0,0 +1,19 @@
1
+ import path from "node:path";
2
+ import { parseRecursiveTemplateRegistry } from "../../domain/recursive/template-registry.js";
3
+ import { AI_TEMPLATES_DIR, PACKAGE_ROOT, exists, readJsonFile } from "../../shared/index.js";
4
+ export async function loadRecursiveTemplateRegistry(workspaceRoot) {
5
+ const candidates = [
6
+ path.join(workspaceRoot, AI_TEMPLATES_DIR, "recursive", "registry.json"),
7
+ path.join(PACKAGE_ROOT, "templates", "recursive", "registry.json")
8
+ ];
9
+ for (const candidate of candidates) {
10
+ if (await exists(candidate)) {
11
+ return parseRecursiveTemplateRegistry(await readJsonFile(candidate));
12
+ }
13
+ }
14
+ return {
15
+ version: 1,
16
+ entries: []
17
+ };
18
+ }
19
+ //# sourceMappingURL=template-loader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template-loader.js","sourceRoot":"","sources":["../../../src/infrastructure/recursive/template-loader.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAG7B,OAAO,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE7F,MAAM,CAAC,KAAK,UAAU,6BAA6B,CAAC,aAAqB;IACvE,MAAM,UAAU,GAAG;QACjB,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,gBAAgB,EAAE,WAAW,EAAE,eAAe,CAAC;QACxE,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,eAAe,CAAC;KACnE,CAAC;IAEF,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;QACnC,IAAI,MAAM,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC;YAC5B,OAAO,8BAA8B,CAAC,MAAM,YAAY,CAA4B,SAAS,CAAC,CAAC,CAAC;QAClG,CAAC;IACH,CAAC;IAED,OAAO;QACL,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,EAAE;KACZ,CAAC;AACJ,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { RecursiveTraceEvent } from "../../domain/recursive/trace-event.js";
2
+ export declare function appendRecursiveTraceEvent(tracePath: string, event: RecursiveTraceEvent): Promise<void>;
3
+ //# sourceMappingURL=trace-logger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trace-logger.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/recursive/trace-logger.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAGjF,wBAAsB,yBAAyB,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,CAG5G"}
@@ -0,0 +1,8 @@
1
+ import fs from "node:fs/promises";
2
+ import path from "node:path";
3
+ import { ensureDir } from "../../shared/index.js";
4
+ export async function appendRecursiveTraceEvent(tracePath, event) {
5
+ await ensureDir(path.dirname(tracePath));
6
+ await fs.appendFile(tracePath, `${JSON.stringify(event)}\n`, "utf8");
7
+ }
8
+ //# sourceMappingURL=trace-logger.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trace-logger.js","sourceRoot":"","sources":["../../../src/infrastructure/recursive/trace-logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC;AAG7B,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAAC,SAAiB,EAAE,KAA0B;IAC3F,MAAM,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;IACzC,MAAM,EAAE,CAAC,UAAU,CAAC,SAAS,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AACvE,CAAC"}
@@ -0,0 +1,97 @@
1
+ export declare const STATE_DIR = ".hforge/state";
2
+ export declare const AI_LAYER_ROOT_DIR = ".hforge";
3
+ export declare const AI_LAYER_LIBRARY_DIR = ".hforge/library";
4
+ export declare const AI_LAYER_VISIBLE_MODE = "hidden-ai-layer";
5
+ export declare const AI_LIBRARY_AGENTS_DIR = ".hforge/library/agents";
6
+ export declare const AI_LIBRARY_COMMANDS_DIR = ".hforge/library/commands";
7
+ export declare const AI_LIBRARY_CONTEXTS_DIR = ".hforge/library/contexts";
8
+ export declare const AI_LIBRARY_DOCS_DIR = ".hforge/library/docs";
9
+ export declare const AI_LIBRARY_HOOKS_DIR = ".hforge/library/hooks";
10
+ export declare const AI_LIBRARY_KNOWLEDGE_DIR = ".hforge/library/knowledge";
11
+ export declare const AI_LIBRARY_MANIFESTS_DIR = ".hforge/library/manifests";
12
+ export declare const AI_LIBRARY_MCP_DIR = ".hforge/library/mcp";
13
+ export declare const AI_LIBRARY_PROFILES_DIR = ".hforge/library/profiles";
14
+ export declare const AI_LIBRARY_RULES_DIR = ".hforge/library/rules";
15
+ export declare const AI_LIBRARY_SCRIPTS_DIR = ".hforge/library/scripts";
16
+ export declare const AI_LIBRARY_SCHEMAS_DIR = ".hforge/library/schemas";
17
+ export declare const AI_LIBRARY_SKILLS_DIR = ".hforge/library/skills";
18
+ export declare const AI_LIBRARY_TARGETS_DIR = ".hforge/library/targets";
19
+ export declare const AI_TEMPLATES_DIR = ".hforge/templates";
20
+ export declare const RUNTIME_DIR = ".hforge/runtime";
21
+ export declare const AGENT_MANIFEST_FILE = ".hforge/agent-manifest.json";
22
+ export declare const RUNTIME_SCHEMA_VERSION = 3;
23
+ export declare const RUNTIME_INDEX_FILE = "index.json";
24
+ export declare const RUNTIME_README_FILE = "README.md";
25
+ export declare const RUNTIME_REPO_DIR = "repo";
26
+ export declare const RUNTIME_FINDINGS_DIR = "findings";
27
+ export declare const RUNTIME_TASKS_DIR = "tasks";
28
+ export declare const RUNTIME_TEMPLATES_DIR = "templates";
29
+ export declare const RUNTIME_DECISIONS_DIR = "decisions";
30
+ export declare const RUNTIME_CACHE_DIR = "cache";
31
+ export declare const RUNTIME_RECURSIVE_DIR = "recursive";
32
+ export declare const RUNTIME_RECURSIVE_SESSIONS_DIR = "sessions";
33
+ export declare const RUNTIME_REPO_MAP_FILE = "repo-map.json";
34
+ export declare const RUNTIME_RECOMMENDATIONS_FILE = "recommendations.json";
35
+ export declare const RUNTIME_TARGET_SUPPORT_FILE = "target-support.json";
36
+ export declare const RUNTIME_INSTRUCTION_PLAN_FILE = "instruction-plan.json";
37
+ export declare const RUNTIME_SCAN_SUMMARY_FILE = "scan-summary.json";
38
+ export declare const RUNTIME_VALIDATION_GAPS_FILE = "validation-gaps.json";
39
+ export declare const RUNTIME_RISK_SIGNALS_FILE = "risk-signals.json";
40
+ export declare const RUNTIME_FILE_INTEREST_FILE = "file-interest.json";
41
+ export declare const RUNTIME_IMPACT_ANALYSIS_FILE = "impact-analysis.json";
42
+ export declare const RUNTIME_TASK_PACK_FILE = "task-pack.json";
43
+ export declare const RUNTIME_WORKING_MEMORY_FILE = "working-memory.json";
44
+ export declare const RUNTIME_TASK_RECURSIVE_LINK_FILE = "recursive-session.json";
45
+ export declare const RUNTIME_RUNTIME_TEMPLATE_REGISTRY_FILE = "registry.json";
46
+ export declare const RUNTIME_DECISION_INDEX_FILE = "index.json";
47
+ export declare const RUNTIME_DECISION_COVERAGE_SUMMARY_FILE = "coverage-summary.json";
48
+ export declare const RUNTIME_RECURSIVE_SESSION_FILE = "session.json";
49
+ export declare const RUNTIME_RECURSIVE_MEMORY_FILE = "memory.json";
50
+ export declare const RUNTIME_RECURSIVE_SCRATCH_FILE = "scratch.json";
51
+ export declare const RUNTIME_RECURSIVE_CALLS_FILE = "calls.json";
52
+ export declare const RUNTIME_RECURSIVE_TRACE_FILE = "trace.jsonl";
53
+ export declare const RUNTIME_RECURSIVE_SUMMARY_FILE = "summary.json";
54
+ export declare const RUNTIME_RECURSIVE_FINAL_OUTPUT_FILE = "final-output.json";
55
+ export declare const INSTALL_STATE_FILE = "install-state.json";
56
+ export declare const OBSERVABILITY_DIR = ".hforge/observability";
57
+ export declare const EFFECTIVENESS_FILE = "effectiveness-signals.json";
58
+ export declare const GENERATED_DIR = ".hforge/generated";
59
+ export declare const OBSERVABILITY_EVENTS_FILE = "events.json";
60
+ export declare const OBSERVABILITY_SUMMARY_FILE = "summary.json";
61
+ export declare const SPECIFY_STATE_DIR = ".specify/state";
62
+ export declare const FLOW_STATE_FILE = "flow-state.json";
63
+ export declare const DEFAULT_BUNDLE_MANIFEST = "manifests/catalog/index.json";
64
+ export declare const CAPABILITY_TAXONOMY_FILE = "manifests/catalog/capability-taxonomy.json";
65
+ export declare const HARNESS_CAPABILITY_MATRIX_FILE = "manifests/catalog/harness-capability-matrix.json";
66
+ export declare const ENGINEERING_ASSISTANT_IMPORT_INVENTORY_FILE = "manifests/catalog/engineering-assistant-import-inventory.json";
67
+ export declare const ENGINEERING_ASSISTANT_PORT_PROVENANCE_FILE = "docs/authoring/engineering-assistant-port.md";
68
+ export declare const ENHANCED_SKILL_IMPORT_INVENTORY_FILE = "manifests/catalog/enhanced-skill-import-inventory.json";
69
+ export declare const ENHANCED_SKILL_IMPORT_PROVENANCE_FILE = "docs/authoring/enhanced-skill-import.md";
70
+ export declare const REPO_MAP_SCHEMA_FILE = "schemas/runtime/repo-map.schema.json";
71
+ export declare const INSTRUCTION_PLAN_SCHEMA_FILE = "schemas/runtime/instruction-plan.schema.json";
72
+ export declare const OBSERVABILITY_EVENT_SCHEMA_FILE = "schemas/runtime/observability-event.schema.json";
73
+ export declare const OBSERVABILITY_SUMMARY_SCHEMA_FILE = "schemas/runtime/observability-summary.schema.json";
74
+ export declare const BENCHMARK_EXPECTATION_SCHEMA_FILE = "schemas/runtime/benchmark-expectation.schema.json";
75
+ export declare const WORKTREE_PLAN_SCHEMA_FILE = "schemas/runtime/worktree-plan.schema.json";
76
+ export declare const WORKTREE_STATE_SCHEMA_FILE = "schemas/runtime/worktree-state.schema.json";
77
+ export declare const FILE_INTEREST_SCHEMA_FILE = "schemas/runtime/file-interest.schema.json";
78
+ export declare const IMPACT_ANALYSIS_SCHEMA_FILE = "schemas/runtime/impact-analysis.schema.json";
79
+ export declare const TASK_PACK_SCHEMA_FILE = "schemas/runtime/task-pack.schema.json";
80
+ export declare const WORKING_MEMORY_SCHEMA_FILE = "schemas/runtime/working-memory.schema.json";
81
+ export declare const ARCHITECTURE_SIGNIFICANCE_SCHEMA_FILE = "schemas/runtime/architecture-significance.schema.json";
82
+ export declare const DECISION_RECORD_SCHEMA_FILE = "schemas/runtime/decision-record.schema.json";
83
+ export declare const DECISION_COVERAGE_SUMMARY_SCHEMA_FILE = "schemas/runtime/decision-coverage-summary.schema.json";
84
+ export declare const RECURSIVE_SESSION_SCHEMA_FILE = "schemas/runtime/recursive-session.schema.json";
85
+ export declare const RECURSIVE_BUDGET_SCHEMA_FILE = "schemas/runtime/recursive-budget.schema.json";
86
+ export declare const RECURSIVE_TRACE_EVENT_SCHEMA_FILE = "schemas/runtime/recursive-trace-event.schema.json";
87
+ export declare const RECURSIVE_SESSION_SUMMARY_SCHEMA_FILE = "schemas/runtime/recursive-session-summary.schema.json";
88
+ export declare const RECURSIVE_ADR_CANDIDATE_SCHEMA_FILE = "schemas/runtime/recursive-adr-candidate.schema.json";
89
+ export declare const RECURSIVE_TEMPLATE_REGISTRY_SCHEMA_FILE = "schemas/templates/recursive-template-registry.schema.json";
90
+ export declare const RUNTIME_TEMPLATE_REGISTRY_SCHEMA_FILE = "schemas/templates/runtime-template-registry.schema.json";
91
+ export declare const TEMPLATE_REQUIRED_SECTIONS = "scripts/templates/config/required-sections.json";
92
+ export declare const AUTHORITATIVE_AI_LAYER_SURFACES: readonly [".hforge/library/skills", ".hforge/library/rules", ".hforge/library/knowledge", ".hforge/templates", ".hforge/runtime", "tasks", "cache", ".hforge/state", ".hforge/generated"];
93
+ export declare const VISIBLE_BRIDGE_SURFACES: readonly ["AGENTS.md", "CLAUDE.md", ".agents/skills", ".specify", ".codex", ".claude"];
94
+ export declare const PACKAGE_ROOT: string;
95
+ export declare const REPO_ROOT: string;
96
+ export declare const DEFAULT_WORKSPACE_ROOT: string;
97
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/shared/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,kBAAkB,CAAC;AACzC,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAC3C,eAAO,MAAM,oBAAoB,oBAAoB,CAAC;AACtD,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AACvD,eAAO,MAAM,qBAAqB,2BAA2B,CAAC;AAC9D,eAAO,MAAM,uBAAuB,6BAA6B,CAAC;AAClE,eAAO,MAAM,uBAAuB,6BAA6B,CAAC;AAClE,eAAO,MAAM,mBAAmB,yBAAyB,CAAC;AAC1D,eAAO,MAAM,oBAAoB,0BAA0B,CAAC;AAC5D,eAAO,MAAM,wBAAwB,8BAA8B,CAAC;AACpE,eAAO,MAAM,wBAAwB,8BAA8B,CAAC;AACpE,eAAO,MAAM,kBAAkB,wBAAwB,CAAC;AACxD,eAAO,MAAM,uBAAuB,6BAA6B,CAAC;AAClE,eAAO,MAAM,oBAAoB,0BAA0B,CAAC;AAC5D,eAAO,MAAM,sBAAsB,4BAA4B,CAAC;AAChE,eAAO,MAAM,sB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O,MAAM,yBAAyB,8CAA8C,CAAC;AACrF,eAAO,MAAM,2BAA2B,gDAAgD,CAAC;AACzF,eAAO,MAAM,qBAAqB,0CAA0C,CAAC;AAC7E,eAAO,MAAM,0BAA0B,+CAA+C,CAAC;AACvF,eAAO,MAAM,qCAAqC,0DAA0D,CAAC;AAC7G,eAAO,MAAM,2BAA2B,gDAAgD,CAAC;AACzF,eAAO,MAAM,qCAAqC,0DAA0D,CAAC;AAC7G,eAAO,MAAM,6BAA6B,kDAAkD,CAAC;AAC7F,eAAO,MAAM,4BAA4B,iDAAiD,CAAC;AAC3F,eAAO,MAAM,iCAAiC,sDAAsD,CAAC;AACrG,eAAO,MAAM,qCAAqC,0DAA0D,CAAC;AAC7G,eAAO,MAAM,mCAAmC,wDAAwD,CAAC;AACzG,eAAO,MAAM,uCAAuC,8DAA8D,CAAC;AACnH,eAAO,MAAM,qCAAqC,4DAA4D,CAAC;AAC/G,eAAO,MAAM,0BAA0B,oDAAoD,CAAC;AAC5F,eAAO,MAAM,+BAA+B,2LAUlC,CAAC;AACX,eAAO,MAAM,uBAAuB,wFAAyF,CAAC;AAK9H,eAAO,MAAM,YAAY,QAAsC,CAAC;AAChE,eAAO,MAAM,SAAS,QAAe,CAAC;AACtC,eAAO,MAAM,sBAAsB,QAAgB,CAAC"}
@@ -0,0 +1,111 @@
1
+ import path from "node:path";
2
+ import { fileURLToPath } from "node:url";
3
+ export const STATE_DIR = ".hforge/state";
4
+ export const AI_LAYER_ROOT_DIR = ".hforge";
5
+ export const AI_LAYER_LIBRARY_DIR = ".hforge/library";
6
+ export const AI_LAYER_VISIBLE_MODE = "hidden-ai-layer";
7
+ export const AI_LIBRARY_AGENTS_DIR = ".hforge/library/agents";
8
+ export const AI_LIBRARY_COMMANDS_DIR = ".hforge/library/commands";
9
+ export const AI_LIBRARY_CONTEXTS_DIR = ".hforge/library/contexts";
10
+ export const AI_LIBRARY_DOCS_DIR = ".hforge/library/docs";
11
+ export const AI_LIBRARY_HOOKS_DIR = ".hforge/library/hooks";
12
+ export const AI_LIBRARY_KNOWLEDGE_DIR = ".hforge/library/knowledge";
13
+ export const AI_LIBRARY_MANIFESTS_DIR = ".hforge/library/manifests";
14
+ export const AI_LIBRARY_MCP_DIR = ".hforge/library/mcp";
15
+ export const AI_LIBRARY_PROFILES_DIR = ".hforge/library/profiles";
16
+ export const AI_LIBRARY_RULES_DIR = ".hforge/library/rules";
17
+ export const AI_LIBRARY_SCRIPTS_DIR = ".hforge/library/scripts";
18
+ export const AI_LIBRARY_SCHEMAS_DIR = ".hforge/library/schemas";
19
+ export const AI_LIBRARY_SKILLS_DIR = ".hforge/library/skills";
20
+ export const AI_LIBRARY_TARGETS_DIR = ".hforge/library/targets";
21
+ export const AI_TEMPLATES_DIR = ".hforge/templates";
22
+ export const RUNTIME_DIR = ".hforge/runtime";
23
+ export const AGENT_MANIFEST_FILE = ".hforge/agent-manifest.json";
24
+ export const RUNTIME_SCHEMA_VERSION = 3;
25
+ export const RUNTIME_INDEX_FILE = "index.json";
26
+ export const RUNTIME_README_FILE = "README.md";
27
+ export const RUNTIME_REPO_DIR = "repo";
28
+ export const RUNTIME_FINDINGS_DIR = "findings";
29
+ export const RUNTIME_TASKS_DIR = "tasks";
30
+ export const RUNTIME_TEMPLATES_DIR = "templates";
31
+ export const RUNTIME_DECISIONS_DIR = "decisions";
32
+ export const RUNTIME_CACHE_DIR = "cache";
33
+ export const RUNTIME_RECURSIVE_DIR = "recursive";
34
+ export const RUNTIME_RECURSIVE_SESSIONS_DIR = "sessions";
35
+ export const RUNTIME_REPO_MAP_FILE = "repo-map.json";
36
+ export const RUNTIME_RECOMMENDATIONS_FILE = "recommendations.json";
37
+ export const RUNTIME_TARGET_SUPPORT_FILE = "target-support.json";
38
+ export const RUNTIME_INSTRUCTION_PLAN_FILE = "instruction-plan.json";
39
+ export const RUNTIME_SCAN_SUMMARY_FILE = "scan-summary.json";
40
+ export const RUNTIME_VALIDATION_GAPS_FILE = "validation-gaps.json";
41
+ export const RUNTIME_RISK_SIGNALS_FILE = "risk-signals.json";
42
+ export const RUNTIME_FILE_INTEREST_FILE = "file-interest.json";
43
+ export const RUNTIME_IMPACT_ANALYSIS_FILE = "impact-analysis.json";
44
+ export const RUNTIME_TASK_PACK_FILE = "task-pack.json";
45
+ export const RUNTIME_WORKING_MEMORY_FILE = "working-memory.json";
46
+ export const RUNTIME_TASK_RECURSIVE_LINK_FILE = "recursive-session.json";
47
+ export const RUNTIME_RUNTIME_TEMPLATE_REGISTRY_FILE = "registry.json";
48
+ export const RUNTIME_DECISION_INDEX_FILE = "index.json";
49
+ export const RUNTIME_DECISION_COVERAGE_SUMMARY_FILE = "coverage-summary.json";
50
+ export const RUNTIME_RECURSIVE_SESSION_FILE = "session.json";
51
+ export const RUNTIME_RECURSIVE_MEMORY_FILE = "memory.json";
52
+ export const RUNTIME_RECURSIVE_SCRATCH_FILE = "scratch.json";
53
+ export const RUNTIME_RECURSIVE_CALLS_FILE = "calls.json";
54
+ export const RUNTIME_RECURSIVE_TRACE_FILE = "trace.jsonl";
55
+ export const RUNTIME_RECURSIVE_SUMMARY_FILE = "summary.json";
56
+ export const RUNTIME_RECURSIVE_FINAL_OUTPUT_FILE = "final-output.json";
57
+ export const INSTALL_STATE_FILE = "install-state.json";
58
+ export const OBSERVABILITY_DIR = ".hforge/observability";
59
+ export const EFFECTIVENESS_FILE = "effectiveness-signals.json";
60
+ export const GENERATED_DIR = ".hforge/generated";
61
+ export const OBSERVABILITY_EVENTS_FILE = "events.json";
62
+ export const OBSERVABILITY_SUMMARY_FILE = "summary.json";
63
+ export const SPECIFY_STATE_DIR = ".specify/state";
64
+ export const FLOW_STATE_FILE = "flow-state.json";
65
+ export const DEFAULT_BUNDLE_MANIFEST = "manifests/catalog/index.json";
66
+ export const CAPABILITY_TAXONOMY_FILE = "manifests/catalog/capability-taxonomy.json";
67
+ export const HARNESS_CAPABILITY_MATRIX_FILE = "manifests/catalog/harness-capability-matrix.json";
68
+ export const ENGINEERING_ASSISTANT_IMPORT_INVENTORY_FILE = "manifests/catalog/engineering-assistant-import-inventory.json";
69
+ export const ENGINEERING_ASSISTANT_PORT_PROVENANCE_FILE = "docs/authoring/engineering-assistant-port.md";
70
+ export const ENHANCED_SKILL_IMPORT_INVENTORY_FILE = "manifests/catalog/enhanced-skill-import-inventory.json";
71
+ export const ENHANCED_SKILL_IMPORT_PROVENANCE_FILE = "docs/authoring/enhanced-skill-import.md";
72
+ export const REPO_MAP_SCHEMA_FILE = "schemas/runtime/repo-map.schema.json";
73
+ export const INSTRUCTION_PLAN_SCHEMA_FILE = "schemas/runtime/instruction-plan.schema.json";
74
+ export const OBSERVABILITY_EVENT_SCHEMA_FILE = "schemas/runtime/observability-event.schema.json";
75
+ export const OBSERVABILITY_SUMMARY_SCHEMA_FILE = "schemas/runtime/observability-summary.schema.json";
76
+ export const BENCHMARK_EXPECTATION_SCHEMA_FILE = "schemas/runtime/benchmark-expectation.schema.json";
77
+ export const WORKTREE_PLAN_SCHEMA_FILE = "schemas/runtime/worktree-plan.schema.json";
78
+ export const WORKTREE_STATE_SCHEMA_FILE = "schemas/runtime/worktree-state.schema.json";
79
+ export const FILE_INTEREST_SCHEMA_FILE = "schemas/runtime/file-interest.schema.json";
80
+ export const IMPACT_ANALYSIS_SCHEMA_FILE = "schemas/runtime/impact-analysis.schema.json";
81
+ export const TASK_PACK_SCHEMA_FILE = "schemas/runtime/task-pack.schema.json";
82
+ export const WORKING_MEMORY_SCHEMA_FILE = "schemas/runtime/working-memory.schema.json";
83
+ export const ARCHITECTURE_SIGNIFICANCE_SCHEMA_FILE = "schemas/runtime/architecture-significance.schema.json";
84
+ export const DECISION_RECORD_SCHEMA_FILE = "schemas/runtime/decision-record.schema.json";
85
+ export const DECISION_COVERAGE_SUMMARY_SCHEMA_FILE = "schemas/runtime/decision-coverage-summary.schema.json";
86
+ export const RECURSIVE_SESSION_SCHEMA_FILE = "schemas/runtime/recursive-session.schema.json";
87
+ export const RECURSIVE_BUDGET_SCHEMA_FILE = "schemas/runtime/recursive-budget.schema.json";
88
+ export const RECURSIVE_TRACE_EVENT_SCHEMA_FILE = "schemas/runtime/recursive-trace-event.schema.json";
89
+ export const RECURSIVE_SESSION_SUMMARY_SCHEMA_FILE = "schemas/runtime/recursive-session-summary.schema.json";
90
+ export const RECURSIVE_ADR_CANDIDATE_SCHEMA_FILE = "schemas/runtime/recursive-adr-candidate.schema.json";
91
+ export const RECURSIVE_TEMPLATE_REGISTRY_SCHEMA_FILE = "schemas/templates/recursive-template-registry.schema.json";
92
+ export const RUNTIME_TEMPLATE_REGISTRY_SCHEMA_FILE = "schemas/templates/runtime-template-registry.schema.json";
93
+ export const TEMPLATE_REQUIRED_SECTIONS = "scripts/templates/config/required-sections.json";
94
+ export const AUTHORITATIVE_AI_LAYER_SURFACES = [
95
+ AI_LIBRARY_SKILLS_DIR,
96
+ AI_LIBRARY_RULES_DIR,
97
+ AI_LIBRARY_KNOWLEDGE_DIR,
98
+ AI_TEMPLATES_DIR,
99
+ RUNTIME_DIR,
100
+ RUNTIME_TASKS_DIR,
101
+ RUNTIME_CACHE_DIR,
102
+ STATE_DIR,
103
+ GENERATED_DIR
104
+ ];
105
+ export const VISIBLE_BRIDGE_SURFACES = ["AGENTS.md", "CLAUDE.md", ".agents/skills", ".specify", ".codex", ".claude"];
106
+ const __filename = fileURLToPath(import.meta.url);
107
+ const __dirname = path.dirname(__filename);
108
+ export const PACKAGE_ROOT = path.resolve(__dirname, "..", "..");
109
+ export const REPO_ROOT = PACKAGE_ROOT;
110
+ export const DEFAULT_WORKSPACE_ROOT = process.cwd();
111
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/shared/constants.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,CAAC,MAAM,SAAS,GAAG,eAAe,CAAC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C,MAAM,uBAAuB,GAAG,CAAC,WAAW,EAAE,WAAW,EAAE,gBAAgB,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,CAAU,CAAC;AAE9H,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AAChE,MAAM,CAAC,MAAM,SAAS,GAAG,YAAY,CAAC;AACtC,MAAM,CAAC,MAAM,sBAAsB,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare class HarnessForgeError extends Error {
2
+ readonly code: string;
3
+ constructor(message: string, code?: string);
4
+ }
5
+ export declare class ValidationError extends HarnessForgeError {
6
+ constructor(message: string);
7
+ }
8
+ //# sourceMappingURL=errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/shared/errors.ts"],"names":[],"mappings":"AAAA,qBAAa,iBAAkB,SAAQ,KAAK;IACb,QAAQ,CAAC,IAAI;gBAA9B,OAAO,EAAE,MAAM,EAAW,IAAI,SAAwB;CAInE;AAED,qBAAa,eAAgB,SAAQ,iBAAiB;gBACxC,OAAO,EAAE,MAAM;CAG5B"}
@@ -0,0 +1,14 @@
1
+ export class HarnessForgeError extends Error {
2
+ code;
3
+ constructor(message, code = "HARNESS_FORGE_ERROR") {
4
+ super(message);
5
+ this.code = code;
6
+ this.name = "HarnessForgeError";
7
+ }
8
+ }
9
+ export class ValidationError extends HarnessForgeError {
10
+ constructor(message) {
11
+ super(message, "VALIDATION_ERROR");
12
+ }
13
+ }
14
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/shared/errors.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,iBAAkB,SAAQ,KAAK;IACJ;IAAtC,YAAY,OAAe,EAAW,OAAO,qBAAqB;QAChE,KAAK,CAAC,OAAO,CAAC,CAAC;QADqB,SAAI,GAAJ,IAAI,CAAwB;QAEhE,IAAI,CAAC,IAAI,GAAG,mBAAmB,CAAC;IAClC,CAAC;CACF;AAED,MAAM,OAAO,eAAgB,SAAQ,iBAAiB;IACpD,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAC;IACrC,CAAC;CACF"}
@@ -0,0 +1,8 @@
1
+ export declare function ensureDir(dirPath: string): Promise<void>;
2
+ export declare function exists(filePath: string): Promise<boolean>;
3
+ export declare function readJsonFile<T>(filePath: string): Promise<T>;
4
+ export declare function writeJsonFile(filePath: string, value: unknown): Promise<void>;
5
+ export declare function appendJsonArrayItem<T>(filePath: string, value: T): Promise<void>;
6
+ export declare function readTextFile(filePath: string): Promise<string>;
7
+ export declare function writeTextFile(filePath: string, value: string): Promise<void>;
8
+ //# sourceMappingURL=fs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../src/shared/fs.ts"],"names":[],"mappings":"AAGA,wBAAsB,SAAS,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAE9D;AAED,wBAAsB,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAO/D;AAED,wBAAsB,YAAY,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAGlE;AAED,wBAAsB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAGnF;AAED,wBAAsB,mBAAmB,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAItF;AAED,wBAAsB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAEpE;AAED,wBAAsB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAGlF"}
@@ -0,0 +1,35 @@
1
+ import fs from "node:fs/promises";
2
+ import path from "node:path";
3
+ export async function ensureDir(dirPath) {
4
+ await fs.mkdir(dirPath, { recursive: true });
5
+ }
6
+ export async function exists(filePath) {
7
+ try {
8
+ await fs.access(filePath);
9
+ return true;
10
+ }
11
+ catch {
12
+ return false;
13
+ }
14
+ }
15
+ export async function readJsonFile(filePath) {
16
+ const content = await fs.readFile(filePath, "utf8");
17
+ return JSON.parse(content);
18
+ }
19
+ export async function writeJsonFile(filePath, value) {
20
+ await ensureDir(path.dirname(filePath));
21
+ await fs.writeFile(filePath, `${JSON.stringify(value, null, 2)}\n`, "utf8");
22
+ }
23
+ export async function appendJsonArrayItem(filePath, value) {
24
+ const existing = (await exists(filePath)) ? await readJsonFile(filePath) : [];
25
+ existing.push(value);
26
+ await writeJsonFile(filePath, existing);
27
+ }
28
+ export async function readTextFile(filePath) {
29
+ return fs.readFile(filePath, "utf8");
30
+ }
31
+ export async function writeTextFile(filePath, value) {
32
+ await ensureDir(path.dirname(filePath));
33
+ await fs.writeFile(filePath, value, "utf8");
34
+ }
35
+ //# sourceMappingURL=fs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fs.js","sourceRoot":"","sources":["../../src/shared/fs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,MAAM,CAAC,KAAK,UAAU,SAAS,CAAC,OAAe;IAC7C,MAAM,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC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gB,EAAE,KAAa;IACjE,MAAM,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;IACxC,MAAM,EAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;AAC9C,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from "./constants.js";
2
+ export * from "./errors.js";
3
+ export * from "./fs.js";
4
+ export * from "./seeded-knowledge.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from "./constants.js";
2
+ export * from "./errors.js";
3
+ export * from "./fs.js";
4
+ export * from "./seeded-knowledge.js";
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare const SEEDED_LANGUAGE_IDS: readonly ["typescript", "java", "dotnet", "lua", "powershell"];
2
+ export type SeededLanguageId = (typeof SEEDED_LANGUAGE_IDS)[number];
3
+ export type SeededContentKind = "root-doc" | "metadata" | "overview" | "review-checklist" | "examples-guide" | "framework-notes" | "example" | "common-rule" | "language-rule" | "legacy-seed";
4
+ export declare function isSeededLanguageId(value: string): value is SeededLanguageId;
5
+ export declare function getSeededArchiveDirectory(language: SeededLanguageId): string;
6
+ export declare function getSeededArchivePath(language: SeededLanguageId, relativePath: string): string;
7
+ export declare function classifySeededRelativePath(relativePath: string): SeededContentKind;
8
+ //# sourceMappingURL=seeded-knowledge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"seeded-knowledge.d.ts","sourceRoot":"","sources":["../../src/shared/seeded-knowledge.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,gEAAiE,CAAC;AAElG,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAUpE,MAAM,MAAM,iBAAiB,GACzB,UAAU,GACV,UAAU,GACV,UAAU,GACV,kBAAkB,GAClB,gBAAgB,GAChB,iBAAiB,GACjB,SAAS,GACT,aAAa,GACb,eAAe,GACf,aAAa,CAAC;AAElB,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAE3E;AAED,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,MAAM,CAE5E;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,CAE7F;AAED,wBAAgB,0BAA0B,CAAC,YAAY,EAAE,MAAM,GAAG,iBAAiB,CAwClF"}