raptor-aios 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 (719) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/LICENSE +21 -0
  3. package/README.md +315 -0
  4. package/bin/raptor.js +5 -0
  5. package/dist/_core/dist/agents/adapters/antigravity.d.ts +9 -0
  6. package/dist/_core/dist/agents/adapters/antigravity.d.ts.map +1 -0
  7. package/dist/_core/dist/agents/adapters/antigravity.js +72 -0
  8. package/dist/_core/dist/agents/adapters/antigravity.js.map +1 -0
  9. package/dist/_core/dist/agents/adapters/claude-code.d.ts +9 -0
  10. package/dist/_core/dist/agents/adapters/claude-code.d.ts.map +1 -0
  11. package/dist/_core/dist/agents/adapters/claude-code.js +71 -0
  12. package/dist/_core/dist/agents/adapters/claude-code.js.map +1 -0
  13. package/dist/_core/dist/agents/adapters/codex.d.ts +12 -0
  14. package/dist/_core/dist/agents/adapters/codex.d.ts.map +1 -0
  15. package/dist/_core/dist/agents/adapters/codex.js +69 -0
  16. package/dist/_core/dist/agents/adapters/codex.js.map +1 -0
  17. package/dist/_core/dist/agents/adapters/copilot.d.ts +12 -0
  18. package/dist/_core/dist/agents/adapters/copilot.d.ts.map +1 -0
  19. package/dist/_core/dist/agents/adapters/copilot.js +71 -0
  20. package/dist/_core/dist/agents/adapters/copilot.js.map +1 -0
  21. package/dist/_core/dist/agents/adapters/cursor.d.ts +9 -0
  22. package/dist/_core/dist/agents/adapters/cursor.d.ts.map +1 -0
  23. package/dist/_core/dist/agents/adapters/cursor.js +62 -0
  24. package/dist/_core/dist/agents/adapters/cursor.js.map +1 -0
  25. package/dist/_core/dist/agents/adapters/gemini.d.ts +11 -0
  26. package/dist/_core/dist/agents/adapters/gemini.d.ts.map +1 -0
  27. package/dist/_core/dist/agents/adapters/gemini.js +68 -0
  28. package/dist/_core/dist/agents/adapters/gemini.js.map +1 -0
  29. package/dist/_core/dist/agents/adapters/human.d.ts +10 -0
  30. package/dist/_core/dist/agents/adapters/human.d.ts.map +1 -0
  31. package/dist/_core/dist/agents/adapters/human.js +48 -0
  32. package/dist/_core/dist/agents/adapters/human.js.map +1 -0
  33. package/dist/_core/dist/agents/artifact-watcher.d.ts +86 -0
  34. package/dist/_core/dist/agents/artifact-watcher.d.ts.map +1 -0
  35. package/dist/_core/dist/agents/artifact-watcher.js +214 -0
  36. package/dist/_core/dist/agents/artifact-watcher.js.map +1 -0
  37. package/dist/_core/dist/agents/backup.d.ts +69 -0
  38. package/dist/_core/dist/agents/backup.d.ts.map +1 -0
  39. package/dist/_core/dist/agents/backup.js +107 -0
  40. package/dist/_core/dist/agents/backup.js.map +1 -0
  41. package/dist/_core/dist/agents/config.d.ts +36 -0
  42. package/dist/_core/dist/agents/config.d.ts.map +1 -0
  43. package/dist/_core/dist/agents/config.js +270 -0
  44. package/dist/_core/dist/agents/config.js.map +1 -0
  45. package/dist/_core/dist/agents/context-file.d.ts +35 -0
  46. package/dist/_core/dist/agents/context-file.d.ts.map +1 -0
  47. package/dist/_core/dist/agents/context-file.js +106 -0
  48. package/dist/_core/dist/agents/context-file.js.map +1 -0
  49. package/dist/_core/dist/agents/handoff.d.ts +57 -0
  50. package/dist/_core/dist/agents/handoff.d.ts.map +1 -0
  51. package/dist/_core/dist/agents/handoff.js +71 -0
  52. package/dist/_core/dist/agents/handoff.js.map +1 -0
  53. package/dist/_core/dist/agents/index.d.ts +32 -0
  54. package/dist/_core/dist/agents/index.d.ts.map +1 -0
  55. package/dist/_core/dist/agents/index.js +37 -0
  56. package/dist/_core/dist/agents/index.js.map +1 -0
  57. package/dist/_core/dist/agents/keys.d.ts +50 -0
  58. package/dist/_core/dist/agents/keys.d.ts.map +1 -0
  59. package/dist/_core/dist/agents/keys.js +91 -0
  60. package/dist/_core/dist/agents/keys.js.map +1 -0
  61. package/dist/_core/dist/agents/materialize.d.ts +37 -0
  62. package/dist/_core/dist/agents/materialize.d.ts.map +1 -0
  63. package/dist/_core/dist/agents/materialize.js +157 -0
  64. package/dist/_core/dist/agents/materialize.js.map +1 -0
  65. package/dist/_core/dist/agents/prompt-builder.d.ts +35 -0
  66. package/dist/_core/dist/agents/prompt-builder.d.ts.map +1 -0
  67. package/dist/_core/dist/agents/prompt-builder.js +261 -0
  68. package/dist/_core/dist/agents/prompt-builder.js.map +1 -0
  69. package/dist/_core/dist/agents/prompt-markers.d.ts +69 -0
  70. package/dist/_core/dist/agents/prompt-markers.d.ts.map +1 -0
  71. package/dist/_core/dist/agents/prompt-markers.js +111 -0
  72. package/dist/_core/dist/agents/prompt-markers.js.map +1 -0
  73. package/dist/_core/dist/agents/registry.d.ts +35 -0
  74. package/dist/_core/dist/agents/registry.d.ts.map +1 -0
  75. package/dist/_core/dist/agents/registry.js +102 -0
  76. package/dist/_core/dist/agents/registry.js.map +1 -0
  77. package/dist/_core/dist/agents/selector.d.ts +33 -0
  78. package/dist/_core/dist/agents/selector.d.ts.map +1 -0
  79. package/dist/_core/dist/agents/selector.js +120 -0
  80. package/dist/_core/dist/agents/selector.js.map +1 -0
  81. package/dist/_core/dist/agents/slash-materializer.d.ts +63 -0
  82. package/dist/_core/dist/agents/slash-materializer.d.ts.map +1 -0
  83. package/dist/_core/dist/agents/slash-materializer.js +131 -0
  84. package/dist/_core/dist/agents/slash-materializer.js.map +1 -0
  85. package/dist/_core/dist/agents/types.d.ts +121 -0
  86. package/dist/_core/dist/agents/types.d.ts.map +1 -0
  87. package/dist/_core/dist/agents/types.js +10 -0
  88. package/dist/_core/dist/agents/types.js.map +1 -0
  89. package/dist/_core/dist/audit/hash.d.ts +4 -0
  90. package/dist/_core/dist/audit/hash.d.ts.map +1 -0
  91. package/dist/_core/dist/audit/hash.js +12 -0
  92. package/dist/_core/dist/audit/hash.js.map +1 -0
  93. package/dist/_core/dist/audit/index.d.ts +6 -0
  94. package/dist/_core/dist/audit/index.d.ts.map +1 -0
  95. package/dist/_core/dist/audit/index.js +6 -0
  96. package/dist/_core/dist/audit/index.js.map +1 -0
  97. package/dist/_core/dist/audit/logger.d.ts +77 -0
  98. package/dist/_core/dist/audit/logger.d.ts.map +1 -0
  99. package/dist/_core/dist/audit/logger.js +93 -0
  100. package/dist/_core/dist/audit/logger.js.map +1 -0
  101. package/dist/_core/dist/audit/query.d.ts +13 -0
  102. package/dist/_core/dist/audit/query.d.ts.map +1 -0
  103. package/dist/_core/dist/audit/query.js +57 -0
  104. package/dist/_core/dist/audit/query.js.map +1 -0
  105. package/dist/_core/dist/audit/schema.d.ts +455 -0
  106. package/dist/_core/dist/audit/schema.d.ts.map +1 -0
  107. package/dist/_core/dist/audit/schema.js +341 -0
  108. package/dist/_core/dist/audit/schema.js.map +1 -0
  109. package/dist/_core/dist/audit/validate.d.ts +21 -0
  110. package/dist/_core/dist/audit/validate.d.ts.map +1 -0
  111. package/dist/_core/dist/audit/validate.js +139 -0
  112. package/dist/_core/dist/audit/validate.js.map +1 -0
  113. package/dist/_core/dist/constitution/core.d.ts +22 -0
  114. package/dist/_core/dist/constitution/core.d.ts.map +1 -0
  115. package/dist/_core/dist/constitution/core.js +102 -0
  116. package/dist/_core/dist/constitution/core.js.map +1 -0
  117. package/dist/_core/dist/constitution/index.d.ts +2 -0
  118. package/dist/_core/dist/constitution/index.d.ts.map +1 -0
  119. package/dist/_core/dist/constitution/index.js +2 -0
  120. package/dist/_core/dist/constitution/index.js.map +1 -0
  121. package/dist/_core/dist/extensions/index.d.ts +12 -0
  122. package/dist/_core/dist/extensions/index.d.ts.map +1 -0
  123. package/dist/_core/dist/extensions/index.js +12 -0
  124. package/dist/_core/dist/extensions/index.js.map +1 -0
  125. package/dist/_core/dist/extensions/integrate.d.ts +69 -0
  126. package/dist/_core/dist/extensions/integrate.d.ts.map +1 -0
  127. package/dist/_core/dist/extensions/integrate.js +181 -0
  128. package/dist/_core/dist/extensions/integrate.js.map +1 -0
  129. package/dist/_core/dist/extensions/loader.d.ts +24 -0
  130. package/dist/_core/dist/extensions/loader.d.ts.map +1 -0
  131. package/dist/_core/dist/extensions/loader.js +73 -0
  132. package/dist/_core/dist/extensions/loader.js.map +1 -0
  133. package/dist/_core/dist/extensions/manifest.d.ts +23 -0
  134. package/dist/_core/dist/extensions/manifest.d.ts.map +1 -0
  135. package/dist/_core/dist/extensions/manifest.js +176 -0
  136. package/dist/_core/dist/extensions/manifest.js.map +1 -0
  137. package/dist/_core/dist/extensions/registry.d.ts +32 -0
  138. package/dist/_core/dist/extensions/registry.d.ts.map +1 -0
  139. package/dist/_core/dist/extensions/registry.js +57 -0
  140. package/dist/_core/dist/extensions/registry.js.map +1 -0
  141. package/dist/_core/dist/extensions/resolver.d.ts +55 -0
  142. package/dist/_core/dist/extensions/resolver.d.ts.map +1 -0
  143. package/dist/_core/dist/extensions/resolver.js +143 -0
  144. package/dist/_core/dist/extensions/resolver.js.map +1 -0
  145. package/dist/_core/dist/extensions/types.d.ts +173 -0
  146. package/dist/_core/dist/extensions/types.d.ts.map +1 -0
  147. package/dist/_core/dist/extensions/types.js +83 -0
  148. package/dist/_core/dist/extensions/types.js.map +1 -0
  149. package/dist/_core/dist/frontmatter/index.d.ts +10 -0
  150. package/dist/_core/dist/frontmatter/index.d.ts.map +1 -0
  151. package/dist/_core/dist/frontmatter/index.js +24 -0
  152. package/dist/_core/dist/frontmatter/index.js.map +1 -0
  153. package/dist/_core/dist/gates/agent-gates.d.ts +16 -0
  154. package/dist/_core/dist/gates/agent-gates.d.ts.map +1 -0
  155. package/dist/_core/dist/gates/agent-gates.js +205 -0
  156. package/dist/_core/dist/gates/agent-gates.js.map +1 -0
  157. package/dist/_core/dist/gates/builtin.d.ts +18 -0
  158. package/dist/_core/dist/gates/builtin.d.ts.map +1 -0
  159. package/dist/_core/dist/gates/builtin.js +860 -0
  160. package/dist/_core/dist/gates/builtin.js.map +1 -0
  161. package/dist/_core/dist/gates/index.d.ts +7 -0
  162. package/dist/_core/dist/gates/index.d.ts.map +1 -0
  163. package/dist/_core/dist/gates/index.js +7 -0
  164. package/dist/_core/dist/gates/index.js.map +1 -0
  165. package/dist/_core/dist/gates/m7-gates.d.ts +17 -0
  166. package/dist/_core/dist/gates/m7-gates.d.ts.map +1 -0
  167. package/dist/_core/dist/gates/m7-gates.js +309 -0
  168. package/dist/_core/dist/gates/m7-gates.js.map +1 -0
  169. package/dist/_core/dist/gates/phase-gates.d.ts +18 -0
  170. package/dist/_core/dist/gates/phase-gates.d.ts.map +1 -0
  171. package/dist/_core/dist/gates/phase-gates.js +275 -0
  172. package/dist/_core/dist/gates/phase-gates.js.map +1 -0
  173. package/dist/_core/dist/gates/runner.d.ts +4 -0
  174. package/dist/_core/dist/gates/runner.d.ts.map +1 -0
  175. package/dist/_core/dist/gates/runner.js +64 -0
  176. package/dist/_core/dist/gates/runner.js.map +1 -0
  177. package/dist/_core/dist/gates/types.d.ts +36 -0
  178. package/dist/_core/dist/gates/types.d.ts.map +1 -0
  179. package/dist/_core/dist/gates/types.js +2 -0
  180. package/dist/_core/dist/gates/types.js.map +1 -0
  181. package/dist/_core/dist/hooks/index.d.ts +4 -0
  182. package/dist/_core/dist/hooks/index.d.ts.map +1 -0
  183. package/dist/_core/dist/hooks/index.js +4 -0
  184. package/dist/_core/dist/hooks/index.js.map +1 -0
  185. package/dist/_core/dist/hooks/runner.d.ts +28 -0
  186. package/dist/_core/dist/hooks/runner.d.ts.map +1 -0
  187. package/dist/_core/dist/hooks/runner.js +294 -0
  188. package/dist/_core/dist/hooks/runner.js.map +1 -0
  189. package/dist/_core/dist/hooks/runtime.d.ts +65 -0
  190. package/dist/_core/dist/hooks/runtime.d.ts.map +1 -0
  191. package/dist/_core/dist/hooks/runtime.js +212 -0
  192. package/dist/_core/dist/hooks/runtime.js.map +1 -0
  193. package/dist/_core/dist/hooks/types.d.ts +36 -0
  194. package/dist/_core/dist/hooks/types.d.ts.map +1 -0
  195. package/dist/_core/dist/hooks/types.js +23 -0
  196. package/dist/_core/dist/hooks/types.js.map +1 -0
  197. package/dist/_core/dist/index.d.ts +21 -0
  198. package/dist/_core/dist/index.d.ts.map +1 -0
  199. package/dist/_core/dist/index.js +20 -0
  200. package/dist/_core/dist/index.js.map +1 -0
  201. package/dist/_core/dist/manifest/index.d.ts +119 -0
  202. package/dist/_core/dist/manifest/index.d.ts.map +1 -0
  203. package/dist/_core/dist/manifest/index.js +125 -0
  204. package/dist/_core/dist/manifest/index.js.map +1 -0
  205. package/dist/_core/dist/markers/index.d.ts +47 -0
  206. package/dist/_core/dist/markers/index.d.ts.map +1 -0
  207. package/dist/_core/dist/markers/index.js +97 -0
  208. package/dist/_core/dist/markers/index.js.map +1 -0
  209. package/dist/_core/dist/mcp/config.d.ts +19 -0
  210. package/dist/_core/dist/mcp/config.d.ts.map +1 -0
  211. package/dist/_core/dist/mcp/config.js +114 -0
  212. package/dist/_core/dist/mcp/config.js.map +1 -0
  213. package/dist/_core/dist/mcp/index.d.ts +9 -0
  214. package/dist/_core/dist/mcp/index.d.ts.map +1 -0
  215. package/dist/_core/dist/mcp/index.js +8 -0
  216. package/dist/_core/dist/mcp/index.js.map +1 -0
  217. package/dist/_core/dist/mcp/materializer.d.ts +40 -0
  218. package/dist/_core/dist/mcp/materializer.d.ts.map +1 -0
  219. package/dist/_core/dist/mcp/materializer.js +161 -0
  220. package/dist/_core/dist/mcp/materializer.js.map +1 -0
  221. package/dist/_core/dist/mcp/targets.d.ts +37 -0
  222. package/dist/_core/dist/mcp/targets.d.ts.map +1 -0
  223. package/dist/_core/dist/mcp/targets.js +56 -0
  224. package/dist/_core/dist/mcp/targets.js.map +1 -0
  225. package/dist/_core/dist/mcp/types.d.ts +34 -0
  226. package/dist/_core/dist/mcp/types.d.ts.map +1 -0
  227. package/dist/_core/dist/mcp/types.js +8 -0
  228. package/dist/_core/dist/mcp/types.js.map +1 -0
  229. package/dist/_core/dist/models/analyze.d.ts +131 -0
  230. package/dist/_core/dist/models/analyze.d.ts.map +1 -0
  231. package/dist/_core/dist/models/analyze.js +301 -0
  232. package/dist/_core/dist/models/analyze.js.map +1 -0
  233. package/dist/_core/dist/models/checklist.d.ts +113 -0
  234. package/dist/_core/dist/models/checklist.d.ts.map +1 -0
  235. package/dist/_core/dist/models/checklist.js +159 -0
  236. package/dist/_core/dist/models/checklist.js.map +1 -0
  237. package/dist/_core/dist/models/clarify.d.ts +116 -0
  238. package/dist/_core/dist/models/clarify.d.ts.map +1 -0
  239. package/dist/_core/dist/models/clarify.js +166 -0
  240. package/dist/_core/dist/models/clarify.js.map +1 -0
  241. package/dist/_core/dist/models/impl-log.d.ts +64 -0
  242. package/dist/_core/dist/models/impl-log.d.ts.map +1 -0
  243. package/dist/_core/dist/models/impl-log.js +137 -0
  244. package/dist/_core/dist/models/impl-log.js.map +1 -0
  245. package/dist/_core/dist/models/index.d.ts +8 -0
  246. package/dist/_core/dist/models/index.d.ts.map +1 -0
  247. package/dist/_core/dist/models/index.js +8 -0
  248. package/dist/_core/dist/models/index.js.map +1 -0
  249. package/dist/_core/dist/models/plan.d.ts +24 -0
  250. package/dist/_core/dist/models/plan.d.ts.map +1 -0
  251. package/dist/_core/dist/models/plan.js +15 -0
  252. package/dist/_core/dist/models/plan.js.map +1 -0
  253. package/dist/_core/dist/models/spec.d.ts +23 -0
  254. package/dist/_core/dist/models/spec.d.ts.map +1 -0
  255. package/dist/_core/dist/models/spec.js +22 -0
  256. package/dist/_core/dist/models/spec.js.map +1 -0
  257. package/dist/_core/dist/models/tasks.d.ts +33 -0
  258. package/dist/_core/dist/models/tasks.d.ts.map +1 -0
  259. package/dist/_core/dist/models/tasks.js +78 -0
  260. package/dist/_core/dist/models/tasks.js.map +1 -0
  261. package/dist/_core/dist/presets/gates.d.ts +9 -0
  262. package/dist/_core/dist/presets/gates.d.ts.map +1 -0
  263. package/dist/_core/dist/presets/gates.js +173 -0
  264. package/dist/_core/dist/presets/gates.js.map +1 -0
  265. package/dist/_core/dist/presets/index.d.ts +10 -0
  266. package/dist/_core/dist/presets/index.d.ts.map +1 -0
  267. package/dist/_core/dist/presets/index.js +7 -0
  268. package/dist/_core/dist/presets/index.js.map +1 -0
  269. package/dist/_core/dist/presets/loader.d.ts +56 -0
  270. package/dist/_core/dist/presets/loader.d.ts.map +1 -0
  271. package/dist/_core/dist/presets/loader.js +216 -0
  272. package/dist/_core/dist/presets/loader.js.map +1 -0
  273. package/dist/_core/dist/presets/mobile-opinionated.d.ts +3 -0
  274. package/dist/_core/dist/presets/mobile-opinionated.d.ts.map +1 -0
  275. package/dist/_core/dist/presets/mobile-opinionated.js +78 -0
  276. package/dist/_core/dist/presets/mobile-opinionated.js.map +1 -0
  277. package/dist/_core/dist/presets/registry.d.ts +5 -0
  278. package/dist/_core/dist/presets/registry.d.ts.map +1 -0
  279. package/dist/_core/dist/presets/registry.js +14 -0
  280. package/dist/_core/dist/presets/registry.js.map +1 -0
  281. package/dist/_core/dist/presets/renderer.d.ts +5 -0
  282. package/dist/_core/dist/presets/renderer.d.ts.map +1 -0
  283. package/dist/_core/dist/presets/renderer.js +37 -0
  284. package/dist/_core/dist/presets/renderer.js.map +1 -0
  285. package/dist/_core/dist/presets/stacking.d.ts +29 -0
  286. package/dist/_core/dist/presets/stacking.d.ts.map +1 -0
  287. package/dist/_core/dist/presets/stacking.js +91 -0
  288. package/dist/_core/dist/presets/stacking.js.map +1 -0
  289. package/dist/_core/dist/presets/types.d.ts +22 -0
  290. package/dist/_core/dist/presets/types.d.ts.map +1 -0
  291. package/dist/_core/dist/presets/types.js +2 -0
  292. package/dist/_core/dist/presets/types.js.map +1 -0
  293. package/dist/_core/dist/prompts/audit-log.d.ts +73 -0
  294. package/dist/_core/dist/prompts/audit-log.d.ts.map +1 -0
  295. package/dist/_core/dist/prompts/audit-log.js +73 -0
  296. package/dist/_core/dist/prompts/audit-log.js.map +1 -0
  297. package/dist/_core/dist/prompts/index.d.ts +9 -0
  298. package/dist/_core/dist/prompts/index.d.ts.map +1 -0
  299. package/dist/_core/dist/prompts/index.js +7 -0
  300. package/dist/_core/dist/prompts/index.js.map +1 -0
  301. package/dist/_core/dist/prompts/renderer.d.ts +73 -0
  302. package/dist/_core/dist/prompts/renderer.d.ts.map +1 -0
  303. package/dist/_core/dist/prompts/renderer.js +179 -0
  304. package/dist/_core/dist/prompts/renderer.js.map +1 -0
  305. package/dist/_core/dist/prompts/resumption.d.ts +59 -0
  306. package/dist/_core/dist/prompts/resumption.d.ts.map +1 -0
  307. package/dist/_core/dist/prompts/resumption.js +149 -0
  308. package/dist/_core/dist/prompts/resumption.js.map +1 -0
  309. package/dist/_core/dist/skills/config.d.ts +27 -0
  310. package/dist/_core/dist/skills/config.d.ts.map +1 -0
  311. package/dist/_core/dist/skills/config.js +102 -0
  312. package/dist/_core/dist/skills/config.js.map +1 -0
  313. package/dist/_core/dist/skills/index.d.ts +9 -0
  314. package/dist/_core/dist/skills/index.d.ts.map +1 -0
  315. package/dist/_core/dist/skills/index.js +8 -0
  316. package/dist/_core/dist/skills/index.js.map +1 -0
  317. package/dist/_core/dist/skills/materializer.d.ts +45 -0
  318. package/dist/_core/dist/skills/materializer.d.ts.map +1 -0
  319. package/dist/_core/dist/skills/materializer.js +97 -0
  320. package/dist/_core/dist/skills/materializer.js.map +1 -0
  321. package/dist/_core/dist/skills/registry.d.ts +18 -0
  322. package/dist/_core/dist/skills/registry.d.ts.map +1 -0
  323. package/dist/_core/dist/skills/registry.js +36 -0
  324. package/dist/_core/dist/skills/registry.js.map +1 -0
  325. package/dist/_core/dist/skills/types.d.ts +39 -0
  326. package/dist/_core/dist/skills/types.d.ts.map +1 -0
  327. package/dist/_core/dist/skills/types.js +13 -0
  328. package/dist/_core/dist/skills/types.js.map +1 -0
  329. package/dist/_core/dist/state/feature.d.ts +58 -0
  330. package/dist/_core/dist/state/feature.d.ts.map +1 -0
  331. package/dist/_core/dist/state/feature.js +81 -0
  332. package/dist/_core/dist/state/feature.js.map +1 -0
  333. package/dist/_core/dist/state/index.d.ts +8 -0
  334. package/dist/_core/dist/state/index.d.ts.map +1 -0
  335. package/dist/_core/dist/state/index.js +6 -0
  336. package/dist/_core/dist/state/index.js.map +1 -0
  337. package/dist/_core/dist/state/init-options.d.ts +60 -0
  338. package/dist/_core/dist/state/init-options.d.ts.map +1 -0
  339. package/dist/_core/dist/state/init-options.js +74 -0
  340. package/dist/_core/dist/state/init-options.js.map +1 -0
  341. package/dist/_core/dist/template/engine.d.ts +7 -0
  342. package/dist/_core/dist/template/engine.d.ts.map +1 -0
  343. package/dist/_core/dist/template/engine.js +86 -0
  344. package/dist/_core/dist/template/engine.js.map +1 -0
  345. package/dist/_core/dist/template/helpers.d.ts +5 -0
  346. package/dist/_core/dist/template/helpers.d.ts.map +1 -0
  347. package/dist/_core/dist/template/helpers.js +59 -0
  348. package/dist/_core/dist/template/helpers.js.map +1 -0
  349. package/dist/_core/dist/template/index.d.ts +6 -0
  350. package/dist/_core/dist/template/index.d.ts.map +1 -0
  351. package/dist/_core/dist/template/index.js +6 -0
  352. package/dist/_core/dist/template/index.js.map +1 -0
  353. package/dist/_core/dist/template/loader.d.ts +36 -0
  354. package/dist/_core/dist/template/loader.d.ts.map +1 -0
  355. package/dist/_core/dist/template/loader.js +62 -0
  356. package/dist/_core/dist/template/loader.js.map +1 -0
  357. package/dist/_core/dist/template/parser.d.ts +3 -0
  358. package/dist/_core/dist/template/parser.d.ts.map +1 -0
  359. package/dist/_core/dist/template/parser.js +234 -0
  360. package/dist/_core/dist/template/parser.js.map +1 -0
  361. package/dist/_core/dist/template/types.d.ts +40 -0
  362. package/dist/_core/dist/template/types.d.ts.map +1 -0
  363. package/dist/_core/dist/template/types.js +14 -0
  364. package/dist/_core/dist/template/types.js.map +1 -0
  365. package/dist/_core/dist/verify/a11y.d.ts +36 -0
  366. package/dist/_core/dist/verify/a11y.d.ts.map +1 -0
  367. package/dist/_core/dist/verify/a11y.js +153 -0
  368. package/dist/_core/dist/verify/a11y.js.map +1 -0
  369. package/dist/_core/dist/verify/architecture.d.ts +37 -0
  370. package/dist/_core/dist/verify/architecture.d.ts.map +1 -0
  371. package/dist/_core/dist/verify/architecture.js +113 -0
  372. package/dist/_core/dist/verify/architecture.js.map +1 -0
  373. package/dist/_core/dist/verify/index.d.ts +10 -0
  374. package/dist/_core/dist/verify/index.d.ts.map +1 -0
  375. package/dist/_core/dist/verify/index.js +10 -0
  376. package/dist/_core/dist/verify/index.js.map +1 -0
  377. package/dist/_core/dist/verify/os-matrix.d.ts +35 -0
  378. package/dist/_core/dist/verify/os-matrix.d.ts.map +1 -0
  379. package/dist/_core/dist/verify/os-matrix.js +104 -0
  380. package/dist/_core/dist/verify/os-matrix.js.map +1 -0
  381. package/dist/_core/dist/verify/perf.d.ts +43 -0
  382. package/dist/_core/dist/verify/perf.d.ts.map +1 -0
  383. package/dist/_core/dist/verify/perf.js +69 -0
  384. package/dist/_core/dist/verify/perf.js.map +1 -0
  385. package/dist/_core/dist/verify/stores.d.ts +38 -0
  386. package/dist/_core/dist/verify/stores.d.ts.map +1 -0
  387. package/dist/_core/dist/verify/stores.js +57 -0
  388. package/dist/_core/dist/verify/stores.js.map +1 -0
  389. package/dist/_core/dist/version.d.ts +8 -0
  390. package/dist/_core/dist/version.d.ts.map +1 -0
  391. package/dist/_core/dist/version.js +11 -0
  392. package/dist/_core/dist/version.js.map +1 -0
  393. package/dist/_core/dist/workflows/bundled.d.ts +32 -0
  394. package/dist/_core/dist/workflows/bundled.d.ts.map +1 -0
  395. package/dist/_core/dist/workflows/bundled.js +254 -0
  396. package/dist/_core/dist/workflows/bundled.js.map +1 -0
  397. package/dist/_core/dist/workflows/engine.d.ts +74 -0
  398. package/dist/_core/dist/workflows/engine.d.ts.map +1 -0
  399. package/dist/_core/dist/workflows/engine.js +574 -0
  400. package/dist/_core/dist/workflows/engine.js.map +1 -0
  401. package/dist/_core/dist/workflows/expressions.d.ts +48 -0
  402. package/dist/_core/dist/workflows/expressions.d.ts.map +1 -0
  403. package/dist/_core/dist/workflows/expressions.js +336 -0
  404. package/dist/_core/dist/workflows/expressions.js.map +1 -0
  405. package/dist/_core/dist/workflows/index.d.ts +16 -0
  406. package/dist/_core/dist/workflows/index.d.ts.map +1 -0
  407. package/dist/_core/dist/workflows/index.js +15 -0
  408. package/dist/_core/dist/workflows/index.js.map +1 -0
  409. package/dist/_core/dist/workflows/parser.d.ts +38 -0
  410. package/dist/_core/dist/workflows/parser.d.ts.map +1 -0
  411. package/dist/_core/dist/workflows/parser.js +386 -0
  412. package/dist/_core/dist/workflows/parser.js.map +1 -0
  413. package/dist/_core/dist/workflows/sdd-flow.d.ts +85 -0
  414. package/dist/_core/dist/workflows/sdd-flow.d.ts.map +1 -0
  415. package/dist/_core/dist/workflows/sdd-flow.js +269 -0
  416. package/dist/_core/dist/workflows/sdd-flow.js.map +1 -0
  417. package/dist/_core/dist/workflows/types.d.ts +285 -0
  418. package/dist/_core/dist/workflows/types.d.ts.map +1 -0
  419. package/dist/_core/dist/workflows/types.js +13 -0
  420. package/dist/_core/dist/workflows/types.js.map +1 -0
  421. package/dist/_core/package.json +6 -0
  422. package/dist/_core/templates/constitution.md.hbs +46 -0
  423. package/dist/_core/templates/ghaWorkflow.yml.hbs +58 -0
  424. package/dist/_core/templates/hotfix.md.hbs +39 -0
  425. package/dist/_core/templates/plan.md.hbs +212 -0
  426. package/dist/_core/templates/preCommitHook.sh.hbs +30 -0
  427. package/dist/_core/templates/prePushHook.sh.hbs +45 -0
  428. package/dist/_core/templates/raptor.yml.hbs +24 -0
  429. package/dist/_core/templates/spec.md.hbs +127 -0
  430. package/dist/_core/templates/tasks.md.hbs +71 -0
  431. package/dist/commands/add-agent.d.ts +22 -0
  432. package/dist/commands/add-agent.d.ts.map +1 -0
  433. package/dist/commands/add-agent.js +121 -0
  434. package/dist/commands/add-agent.js.map +1 -0
  435. package/dist/commands/add-extension.d.ts +18 -0
  436. package/dist/commands/add-extension.d.ts.map +1 -0
  437. package/dist/commands/add-extension.js +83 -0
  438. package/dist/commands/add-extension.js.map +1 -0
  439. package/dist/commands/analyze.d.ts +18 -0
  440. package/dist/commands/analyze.d.ts.map +1 -0
  441. package/dist/commands/analyze.js +323 -0
  442. package/dist/commands/analyze.js.map +1 -0
  443. package/dist/commands/approve.d.ts +14 -0
  444. package/dist/commands/approve.d.ts.map +1 -0
  445. package/dist/commands/approve.js +116 -0
  446. package/dist/commands/approve.js.map +1 -0
  447. package/dist/commands/audit/query.d.ts +23 -0
  448. package/dist/commands/audit/query.d.ts.map +1 -0
  449. package/dist/commands/audit/query.js +118 -0
  450. package/dist/commands/audit/query.js.map +1 -0
  451. package/dist/commands/audit/show.d.ts +17 -0
  452. package/dist/commands/audit/show.d.ts.map +1 -0
  453. package/dist/commands/audit/show.js +53 -0
  454. package/dist/commands/audit/show.js.map +1 -0
  455. package/dist/commands/checklist.d.ts +17 -0
  456. package/dist/commands/checklist.d.ts.map +1 -0
  457. package/dist/commands/checklist.js +255 -0
  458. package/dist/commands/checklist.js.map +1 -0
  459. package/dist/commands/clarify.d.ts +17 -0
  460. package/dist/commands/clarify.d.ts.map +1 -0
  461. package/dist/commands/clarify.js +254 -0
  462. package/dist/commands/clarify.js.map +1 -0
  463. package/dist/commands/doctor.d.ts +8 -0
  464. package/dist/commands/doctor.d.ts.map +1 -0
  465. package/dist/commands/doctor.js +435 -0
  466. package/dist/commands/doctor.js.map +1 -0
  467. package/dist/commands/extension/add.d.ts +15 -0
  468. package/dist/commands/extension/add.d.ts.map +1 -0
  469. package/dist/commands/extension/add.js +93 -0
  470. package/dist/commands/extension/add.js.map +1 -0
  471. package/dist/commands/extension/info.d.ts +13 -0
  472. package/dist/commands/extension/info.d.ts.map +1 -0
  473. package/dist/commands/extension/info.js +75 -0
  474. package/dist/commands/extension/info.js.map +1 -0
  475. package/dist/commands/extension/list.d.ts +10 -0
  476. package/dist/commands/extension/list.d.ts.map +1 -0
  477. package/dist/commands/extension/list.js +71 -0
  478. package/dist/commands/extension/list.js.map +1 -0
  479. package/dist/commands/extension/remove.d.ts +14 -0
  480. package/dist/commands/extension/remove.d.ts.map +1 -0
  481. package/dist/commands/extension/remove.js +49 -0
  482. package/dist/commands/extension/remove.js.map +1 -0
  483. package/dist/commands/gate/approve.d.ts +15 -0
  484. package/dist/commands/gate/approve.d.ts.map +1 -0
  485. package/dist/commands/gate/approve.js +106 -0
  486. package/dist/commands/gate/approve.js.map +1 -0
  487. package/dist/commands/gate/list.d.ts +6 -0
  488. package/dist/commands/gate/list.d.ts.map +1 -0
  489. package/dist/commands/gate/list.js +38 -0
  490. package/dist/commands/gate/list.js.map +1 -0
  491. package/dist/commands/gate/skip.d.ts +14 -0
  492. package/dist/commands/gate/skip.d.ts.map +1 -0
  493. package/dist/commands/gate/skip.js +95 -0
  494. package/dist/commands/gate/skip.js.map +1 -0
  495. package/dist/commands/hook/list.d.ts +11 -0
  496. package/dist/commands/hook/list.d.ts.map +1 -0
  497. package/dist/commands/hook/list.js +152 -0
  498. package/dist/commands/hook/list.js.map +1 -0
  499. package/dist/commands/hook/run.d.ts +16 -0
  500. package/dist/commands/hook/run.d.ts.map +1 -0
  501. package/dist/commands/hook/run.js +74 -0
  502. package/dist/commands/hook/run.js.map +1 -0
  503. package/dist/commands/hotfix.d.ts +21 -0
  504. package/dist/commands/hotfix.d.ts.map +1 -0
  505. package/dist/commands/hotfix.js +216 -0
  506. package/dist/commands/hotfix.js.map +1 -0
  507. package/dist/commands/implement.d.ts +19 -0
  508. package/dist/commands/implement.d.ts.map +1 -0
  509. package/dist/commands/implement.js +282 -0
  510. package/dist/commands/implement.js.map +1 -0
  511. package/dist/commands/init.d.ts +43 -0
  512. package/dist/commands/init.d.ts.map +1 -0
  513. package/dist/commands/init.js +465 -0
  514. package/dist/commands/init.js.map +1 -0
  515. package/dist/commands/list-agents.d.ts +12 -0
  516. package/dist/commands/list-agents.d.ts.map +1 -0
  517. package/dist/commands/list-agents.js +55 -0
  518. package/dist/commands/list-agents.js.map +1 -0
  519. package/dist/commands/mcp/add.d.ts +21 -0
  520. package/dist/commands/mcp/add.d.ts.map +1 -0
  521. package/dist/commands/mcp/add.js +119 -0
  522. package/dist/commands/mcp/add.js.map +1 -0
  523. package/dist/commands/mcp/list.d.ts +10 -0
  524. package/dist/commands/mcp/list.d.ts.map +1 -0
  525. package/dist/commands/mcp/list.js +54 -0
  526. package/dist/commands/mcp/list.js.map +1 -0
  527. package/dist/commands/mcp/remove.d.ts +10 -0
  528. package/dist/commands/mcp/remove.d.ts.map +1 -0
  529. package/dist/commands/mcp/remove.js +53 -0
  530. package/dist/commands/mcp/remove.js.map +1 -0
  531. package/dist/commands/mcp/sync.d.ts +7 -0
  532. package/dist/commands/mcp/sync.d.ts.map +1 -0
  533. package/dist/commands/mcp/sync.js +31 -0
  534. package/dist/commands/mcp/sync.js.map +1 -0
  535. package/dist/commands/new.d.ts +19 -0
  536. package/dist/commands/new.d.ts.map +1 -0
  537. package/dist/commands/new.js +306 -0
  538. package/dist/commands/new.js.map +1 -0
  539. package/dist/commands/plan.d.ts +17 -0
  540. package/dist/commands/plan.d.ts.map +1 -0
  541. package/dist/commands/plan.js +200 -0
  542. package/dist/commands/plan.js.map +1 -0
  543. package/dist/commands/preset/add.d.ts +13 -0
  544. package/dist/commands/preset/add.d.ts.map +1 -0
  545. package/dist/commands/preset/add.js +66 -0
  546. package/dist/commands/preset/add.js.map +1 -0
  547. package/dist/commands/preset/info.d.ts +13 -0
  548. package/dist/commands/preset/info.d.ts.map +1 -0
  549. package/dist/commands/preset/info.js +80 -0
  550. package/dist/commands/preset/info.js.map +1 -0
  551. package/dist/commands/preset/list.d.ts +10 -0
  552. package/dist/commands/preset/list.d.ts.map +1 -0
  553. package/dist/commands/preset/list.js +63 -0
  554. package/dist/commands/preset/list.js.map +1 -0
  555. package/dist/commands/preset/remove.d.ts +14 -0
  556. package/dist/commands/preset/remove.d.ts.map +1 -0
  557. package/dist/commands/preset/remove.js +60 -0
  558. package/dist/commands/preset/remove.js.map +1 -0
  559. package/dist/commands/repair/constitution.d.ts +11 -0
  560. package/dist/commands/repair/constitution.d.ts.map +1 -0
  561. package/dist/commands/repair/constitution.js +117 -0
  562. package/dist/commands/repair/constitution.js.map +1 -0
  563. package/dist/commands/resync.d.ts +22 -0
  564. package/dist/commands/resync.d.ts.map +1 -0
  565. package/dist/commands/resync.js +103 -0
  566. package/dist/commands/resync.js.map +1 -0
  567. package/dist/commands/skill/add.d.ts +19 -0
  568. package/dist/commands/skill/add.d.ts.map +1 -0
  569. package/dist/commands/skill/add.js +107 -0
  570. package/dist/commands/skill/add.js.map +1 -0
  571. package/dist/commands/skill/list.d.ts +10 -0
  572. package/dist/commands/skill/list.d.ts.map +1 -0
  573. package/dist/commands/skill/list.js +56 -0
  574. package/dist/commands/skill/list.js.map +1 -0
  575. package/dist/commands/skill/remove.d.ts +10 -0
  576. package/dist/commands/skill/remove.d.ts.map +1 -0
  577. package/dist/commands/skill/remove.js +47 -0
  578. package/dist/commands/skill/remove.js.map +1 -0
  579. package/dist/commands/skill/sync.d.ts +7 -0
  580. package/dist/commands/skill/sync.d.ts.map +1 -0
  581. package/dist/commands/skill/sync.js +30 -0
  582. package/dist/commands/skill/sync.js.map +1 -0
  583. package/dist/commands/status.d.ts +17 -0
  584. package/dist/commands/status.d.ts.map +1 -0
  585. package/dist/commands/status.js +265 -0
  586. package/dist/commands/status.js.map +1 -0
  587. package/dist/commands/tasks.d.ts +16 -0
  588. package/dist/commands/tasks.d.ts.map +1 -0
  589. package/dist/commands/tasks.js +176 -0
  590. package/dist/commands/tasks.js.map +1 -0
  591. package/dist/commands/trace.d.ts +16 -0
  592. package/dist/commands/trace.d.ts.map +1 -0
  593. package/dist/commands/trace.js +113 -0
  594. package/dist/commands/trace.js.map +1 -0
  595. package/dist/commands/upgrade.d.ts +20 -0
  596. package/dist/commands/upgrade.d.ts.map +1 -0
  597. package/dist/commands/upgrade.js +178 -0
  598. package/dist/commands/upgrade.js.map +1 -0
  599. package/dist/commands/verify/a11y.d.ts +15 -0
  600. package/dist/commands/verify/a11y.d.ts.map +1 -0
  601. package/dist/commands/verify/a11y.js +121 -0
  602. package/dist/commands/verify/a11y.js.map +1 -0
  603. package/dist/commands/verify/architecture.d.ts +11 -0
  604. package/dist/commands/verify/architecture.d.ts.map +1 -0
  605. package/dist/commands/verify/architecture.js +71 -0
  606. package/dist/commands/verify/architecture.js.map +1 -0
  607. package/dist/commands/verify/audit.d.ts +18 -0
  608. package/dist/commands/verify/audit.d.ts.map +1 -0
  609. package/dist/commands/verify/audit.js +108 -0
  610. package/dist/commands/verify/audit.js.map +1 -0
  611. package/dist/commands/verify/constitution.d.ts +10 -0
  612. package/dist/commands/verify/constitution.d.ts.map +1 -0
  613. package/dist/commands/verify/constitution.js +91 -0
  614. package/dist/commands/verify/constitution.js.map +1 -0
  615. package/dist/commands/verify/os-matrix.d.ts +14 -0
  616. package/dist/commands/verify/os-matrix.d.ts.map +1 -0
  617. package/dist/commands/verify/os-matrix.js +108 -0
  618. package/dist/commands/verify/os-matrix.js.map +1 -0
  619. package/dist/commands/verify/perf.d.ts +17 -0
  620. package/dist/commands/verify/perf.d.ts.map +1 -0
  621. package/dist/commands/verify/perf.js +106 -0
  622. package/dist/commands/verify/perf.js.map +1 -0
  623. package/dist/commands/verify/stores.d.ts +14 -0
  624. package/dist/commands/verify/stores.d.ts.map +1 -0
  625. package/dist/commands/verify/stores.js +98 -0
  626. package/dist/commands/verify/stores.js.map +1 -0
  627. package/dist/commands/verify.d.ts +14 -0
  628. package/dist/commands/verify.d.ts.map +1 -0
  629. package/dist/commands/verify.js +97 -0
  630. package/dist/commands/verify.js.map +1 -0
  631. package/dist/commands/workflow/catalog.d.ts +11 -0
  632. package/dist/commands/workflow/catalog.d.ts.map +1 -0
  633. package/dist/commands/workflow/catalog.js +164 -0
  634. package/dist/commands/workflow/catalog.js.map +1 -0
  635. package/dist/commands/workflow/list.d.ts +7 -0
  636. package/dist/commands/workflow/list.d.ts.map +1 -0
  637. package/dist/commands/workflow/list.js +50 -0
  638. package/dist/commands/workflow/list.js.map +1 -0
  639. package/dist/commands/workflow/resume.d.ts +13 -0
  640. package/dist/commands/workflow/resume.d.ts.map +1 -0
  641. package/dist/commands/workflow/resume.js +126 -0
  642. package/dist/commands/workflow/resume.js.map +1 -0
  643. package/dist/commands/workflow/run.d.ts +14 -0
  644. package/dist/commands/workflow/run.d.ts.map +1 -0
  645. package/dist/commands/workflow/run.js +139 -0
  646. package/dist/commands/workflow/run.js.map +1 -0
  647. package/dist/commands/workflow/status.d.ts +10 -0
  648. package/dist/commands/workflow/status.d.ts.map +1 -0
  649. package/dist/commands/workflow/status.js +86 -0
  650. package/dist/commands/workflow/status.js.map +1 -0
  651. package/dist/index.d.ts +2 -0
  652. package/dist/index.d.ts.map +1 -0
  653. package/dist/index.js +2 -0
  654. package/dist/index.js.map +1 -0
  655. package/dist/shared/agents.d.ts +12 -0
  656. package/dist/shared/agents.d.ts.map +1 -0
  657. package/dist/shared/agents.js +31 -0
  658. package/dist/shared/agents.js.map +1 -0
  659. package/dist/shared/artifact-io.d.ts +54 -0
  660. package/dist/shared/artifact-io.d.ts.map +1 -0
  661. package/dist/shared/artifact-io.js +71 -0
  662. package/dist/shared/artifact-io.js.map +1 -0
  663. package/dist/shared/feature-prompt.d.ts +18 -0
  664. package/dist/shared/feature-prompt.d.ts.map +1 -0
  665. package/dist/shared/feature-prompt.js +21 -0
  666. package/dist/shared/feature-prompt.js.map +1 -0
  667. package/dist/shared/hooks.d.ts +7 -0
  668. package/dist/shared/hooks.d.ts.map +1 -0
  669. package/dist/shared/hooks.js +52 -0
  670. package/dist/shared/hooks.js.map +1 -0
  671. package/dist/shared/mcp.d.ts +9 -0
  672. package/dist/shared/mcp.d.ts.map +1 -0
  673. package/dist/shared/mcp.js +15 -0
  674. package/dist/shared/mcp.js.map +1 -0
  675. package/dist/shared/project.d.ts +42 -0
  676. package/dist/shared/project.d.ts.map +1 -0
  677. package/dist/shared/project.js +98 -0
  678. package/dist/shared/project.js.map +1 -0
  679. package/dist/shared/workflow-resolver.d.ts +19 -0
  680. package/dist/shared/workflow-resolver.d.ts.map +1 -0
  681. package/dist/shared/workflow-resolver.js +71 -0
  682. package/dist/shared/workflow-resolver.js.map +1 -0
  683. package/dist/workflow/args-builder.d.ts +31 -0
  684. package/dist/workflow/args-builder.d.ts.map +1 -0
  685. package/dist/workflow/args-builder.js +110 -0
  686. package/dist/workflow/args-builder.js.map +1 -0
  687. package/dist/workflow/executor.d.ts +18 -0
  688. package/dist/workflow/executor.d.ts.map +1 -0
  689. package/dist/workflow/executor.js +112 -0
  690. package/dist/workflow/executor.js.map +1 -0
  691. package/extensions/git/commands/rpt.git.feature.md +85 -0
  692. package/extensions/git/extension.yml +47 -0
  693. package/package.json +58 -0
  694. package/scripts/bash/check-prerequisites.sh +149 -0
  695. package/scripts/bash/common.sh +389 -0
  696. package/scripts/bash/create-new-feature.sh +164 -0
  697. package/scripts/bash/setup-plan.sh +113 -0
  698. package/scripts/check-naming.sh +138 -0
  699. package/scripts/check-prompts.sh +165 -0
  700. package/scripts/check-tasks.sh +166 -0
  701. package/scripts/powershell/check-prerequisites.ps1 +117 -0
  702. package/scripts/powershell/common.ps1 +328 -0
  703. package/scripts/powershell/create-new-feature.ps1 +138 -0
  704. package/scripts/powershell/setup-plan.ps1 +96 -0
  705. package/scripts/prepare-npm.mjs +157 -0
  706. package/templates/checklist-template.md +103 -0
  707. package/templates/commands/analyze.md +103 -0
  708. package/templates/commands/checklist.md +87 -0
  709. package/templates/commands/clarify.md +85 -0
  710. package/templates/commands/constitution.md +126 -0
  711. package/templates/commands/implement.md +117 -0
  712. package/templates/commands/plan.md +125 -0
  713. package/templates/commands/specify.md +127 -0
  714. package/templates/commands/tasks.md +98 -0
  715. package/templates/commands/taskstoissues.md +81 -0
  716. package/templates/constitution-template.md +48 -0
  717. package/templates/plan-template.md +150 -0
  718. package/templates/spec-template.md +116 -0
  719. package/templates/tasks-template.md +77 -0
@@ -0,0 +1,58 @@
1
+ # RAPTOR verification workflow — installed by `raptor init`
2
+ # Runs project gates, constitution integrity (strict), and audit trail validation (strict)
3
+ # on every pull_request that touches .raptor/, and on pushes to main.
4
+ #
5
+ # Customize the "Install RAPTOR CLI" step below if you install @raptor/cli differently
6
+ # (e.g., as a repo dev-dependency via pnpm/yarn, a git submodule, or a pinned fork).
7
+ name: raptor-verify
8
+
9
+ on:
10
+ pull_request:
11
+ paths:
12
+ - '.raptor/**'
13
+ - '.github/workflows/raptor-verify.yml'
14
+ push:
15
+ branches: [main]
16
+ paths:
17
+ - '.raptor/**'
18
+
19
+ jobs:
20
+ verify:
21
+ name: RAPTOR verify
22
+ runs-on: ubuntu-latest
23
+ steps:
24
+ - uses: actions/checkout@v4
25
+
26
+ - uses: actions/setup-node@v4
27
+ with:
28
+ node-version: '20'
29
+
30
+ - name: Install RAPTOR CLI
31
+ run: npm install -g @raptor/cli@{{raptorVersion}}
32
+
33
+ - name: Set git identity (C5 requires actor.email for critical events)
34
+ run: |
35
+ git config --global user.name "raptor-ci"
36
+ git config --global user.email "raptor-ci@users.noreply.github.com"
37
+
38
+ - name: Verify project + feature gates
39
+ run: raptor verify
40
+
41
+ - name: Verify constitution (strict)
42
+ run: raptor verify constitution --strict
43
+
44
+ - name: Verify audit trails (strict)
45
+ shell: bash
46
+ run: |
47
+ set -e
48
+ shopt -s nullglob
49
+ found=0
50
+ for dir in .raptor/specs/*/; do
51
+ found=1
52
+ slug=$(basename "$dir")
53
+ echo "--- $slug ---"
54
+ raptor verify audit "$slug" --strict
55
+ done
56
+ if [ $found -eq 0 ]; then
57
+ echo "(no features to verify)"
58
+ fi
@@ -0,0 +1,39 @@
1
+ ---
2
+ id: "{{id}}"
3
+ slug: {{slug}}
4
+ article: {{article}}
5
+ severity: {{severity}}
6
+ status: open
7
+ created: {{createdAt}}
8
+ {{#if incident}}incident: {{incident}}
9
+ {{/if}}{{#if reconcileBy}}reconcile_by: {{reconcileBy}}
10
+ {{/if}}---
11
+
12
+ # Hotfix {{id}}: {{slug}}
13
+
14
+ > **⚠ SDD bypass — this feature was delivered outside the normal spec/plan/tasks cycle.**
15
+ > A hotfix is an exception that MUST be reconciled with a formal feature later.
16
+
17
+ ## Justification
18
+
19
+ {{justification}}
20
+
21
+ ## Constitutional article bypassed
22
+
23
+ - **{{article}}** ({{severity}})
24
+
25
+ ## Files changed
26
+
27
+ {{#each outputs}}
28
+ - `{{path}}` (`{{hash}}`)
29
+ {{/each}}
30
+
31
+ ## Reconciliation TODO
32
+
33
+ - [ ] Open a regular feature (`raptor new <slug>`) that backfills the spec/plan/tasks for this change.
34
+ - [ ] Link the hotfix: record the feature id in `meta.reconciled_by` when marking `hotfix.reconciled`.
35
+ - [ ] Run `raptor verify` to confirm `gate.hotfix.unreconciled` drops this entry.
36
+
37
+ ## Notes
38
+
39
+ <!-- Free-form post-incident notes, links to tickets, timelines. -->
@@ -0,0 +1,212 @@
1
+ ---
2
+ id: "{{id}}"
3
+ slug: {{slug}}
4
+ spec_hash: {{specHash}}
5
+ spec_ref: specs/{{feature}}/spec.md
6
+ constitution_hash: {{constitutionHash}}
7
+ created: {{createdAt}}
8
+ status: draft
9
+ phase_minus_one: pending
10
+ approved_by: ~
11
+ approved_at: ~
12
+ audit_ref: ~
13
+ ---
14
+
15
+ <!--
16
+ REQUIRED FRONTMATTER (add to the block above before `raptor approve` — gates read these):
17
+ privacy: # M2 — LGPD/GDPR
18
+ lawful_basis: "LGPD Art. 7 ..."
19
+ residency: "br-southeast"
20
+ retention: "..."
21
+ os_matrix: # M4 — must be >= raptor.yml baseline
22
+ ios_min: "15.1"
23
+ android_min: "8.0"
24
+ perf_budget: # M5 — (or perf_budget: { scope: none })
25
+ ttfi_ms: 2000
26
+ interactions_ms: 100
27
+ crash_free_slo: 99.9 # M6 — must be >= 99.5
28
+ observability: # M6
29
+ provider: "Sentry"
30
+ (Frontmatter comments are stripped on approve, so this guidance lives here in the body.)
31
+ -->
32
+
33
+
34
+ <!--
35
+ Raptor plan template — translate spec into technical approach.
36
+ Rules for the agent:
37
+ 1. Section "Phase -1 — Constitutional Gates" is MANDATORY and MUST precede any technical design.
38
+ 2. For each core article (C1–C5), report one of: `[x] passes`, `[ ] violated` + justification in Complexity Tracking.
39
+ 3. Use [NEEDS CLARIFICATION: ...] wherever the spec is ambiguous and the decision is non-reversible.
40
+ 4. Do NOT write tasks here. Tasks live in `tasks.md` and are produced only AFTER this plan is approved.
41
+ -->
42
+
43
+ # Plan {{id}}: {{slug}}
44
+
45
+ ## Phase -1 — Constitutional Gates
46
+
47
+ <!--
48
+ Each gate checks a core article. Mark PASS or VIOLATED; violations MUST be justified below.
49
+ Level `critical` gates cannot be silenced at runtime. A violation here means the plan CANNOT be approved
50
+ without a framework-level amendment (C4).
51
+ -->
52
+
53
+ ### Gate C1 — Spec exists and governs this plan
54
+
55
+ - [ ] Spec `specs/{{feature}}/spec.md` exists, is in status `approved` or `draft`, and is hashed above.
56
+ - Level: `critical`
57
+ - Status: `pending` <!-- change to `pass` | `violated` -->
58
+
59
+ ### Gate C2 — Audit trail complete
60
+
61
+ - [ ] `specs/{{feature}}/audit.jsonl` exists and will receive a `plan.generated` event from this run.
62
+ - Level: `critical`
63
+ - Status: `pending`
64
+
65
+ ### Gate C3 — Plan approval will precede tasks
66
+
67
+ - [ ] Nothing in this plan assumes `tasks.md` or `/implement` will run before human approval of this file.
68
+ - Level: `critical`
69
+ - Status: `pending`
70
+
71
+ ### Gate C4 — Constitution integrity
72
+
73
+ - [ ] `.raptor/constitution.md` RAPTOR-CORE block is unmodified (`raptor verify constitution` passes).
74
+ - Level: `critical`
75
+ - Status: `pending`
76
+
77
+ ### Gate C5 — Human approval on criticals
78
+
79
+ - [ ] This plan declares that the final approval will be performed by an identified human (not a bot/agent).
80
+ - Level: `critical`
81
+ - Status: `pending`
82
+
83
+ ### Project / preset gates
84
+
85
+ <!-- Generated from `raptor.yml` preset and project extensions. Leave empty if none. -->
86
+
87
+ {{presetGatesBlock}}
88
+
89
+ ## Constitution Check
90
+
91
+ <!--
92
+ Spec Kit E02: Read `.raptor/memory/constitution.md` and evaluate EACH principle.
93
+ This check is performed TWICE:
94
+ 1. INITIAL CHECK — Before technical design (here). Pre-flight validation.
95
+ 2. POST-DESIGN CHECK — After Phase 1 design is complete. Confirm no violations introduced.
96
+
97
+ For each principle, mark:
98
+ - [x] PASSES — design is compatible with this principle.
99
+ - [ ] VIOLATED — explain why and what compensating control is proposed.
100
+
101
+ Violations without justification = ERROR. Plan cannot be approved.
102
+ -->
103
+
104
+ ### Initial Check (pre-design)
105
+
106
+ | Principle | Status | Notes |
107
+ |-----------|--------|-------|
108
+ | *Read from `.raptor/memory/constitution.md`* | pending | *Agent fills this table after reading the constitution* |
109
+
110
+ ### Post-Design Check (after Phase 1)
111
+
112
+ | Principle | Status | Notes |
113
+ |-----------|--------|-------|
114
+ | *Re-evaluate after architecture/data-model/contracts are drafted* | pending | *Agent fills this table after design phases* |
115
+
116
+
117
+ ## Complexity Tracking
118
+
119
+ <!--
120
+ Only relevant when one or more `required` or `advisory` gates were flagged VIOLATED.
121
+ For each, write: gate id, justification, compensating control, incident/PR link.
122
+ Core (critical) gates CANNOT appear here — violations of C1–C5 require framework amendment.
123
+ -->
124
+
125
+ *(none)*
126
+
127
+ ## 1. Context & Constraints
128
+
129
+ - **Spec hash:** `{{specHash}}`
130
+ - **Constitution hash:** `{{constitutionHash}}`
131
+ - **Platforms:** [NEEDS CLARIFICATION — inherit from spec or restrict]
132
+ - **Non-functional envelope:** [NEEDS CLARIFICATION — summarize NFR budget]
133
+
134
+ ## 2. Architecture Overview
135
+
136
+ <!-- High-level approach. One paragraph + diagram (mermaid or ASCII). -->
137
+
138
+ [NEEDS CLARIFICATION]
139
+
140
+ ```mermaid
141
+ flowchart LR
142
+ user[User] --> ui[Screen]
143
+ ui --> core[Feature core]
144
+ core --> backend[(Backend)]
145
+ ```
146
+
147
+ ## 3. Data Model
148
+
149
+ <!-- Entities, ownership, lifecycle. Use a table. -->
150
+
151
+ | Entity | Fields | Owner | Lifecycle |
152
+ |--------|--------|-------|-----------|
153
+ | [NEEDS CLARIFICATION] | | | |
154
+
155
+ ## 4. Contracts
156
+
157
+ <!-- Public APIs / events / deep links this feature exposes or consumes. Put full schemas in `specs/{{feature}}/contracts/`. -->
158
+
159
+ - **Exposes:** [NEEDS CLARIFICATION]
160
+ - **Consumes:** [NEEDS CLARIFICATION]
161
+
162
+ ## 5. Decisions
163
+
164
+ <!-- Numbered, each with rationale. These are the only legitimate source for "why it was built this way". -->
165
+
166
+ - **D1.** [NEEDS CLARIFICATION: decision] — *Rationale:* [NEEDS CLARIFICATION]
167
+ - **D2.** [NEEDS CLARIFICATION]
168
+
169
+ ## 6. Alternatives considered
170
+
171
+ <!-- Brief list, why rejected. -->
172
+
173
+ - **Alt A:** [NEEDS CLARIFICATION] — rejected because [...]
174
+ - **Alt B:** [NEEDS CLARIFICATION]
175
+
176
+ ## 7. Risks & Mitigations
177
+
178
+ | Risk | Likelihood | Impact | Mitigation |
179
+ |------|------------|--------|------------|
180
+ | [NEEDS CLARIFICATION] | | | |
181
+
182
+ ## 8. Rollout & Reversibility
183
+
184
+ - **Release channel:** [NEEDS CLARIFICATION — store / staged / remote-config flag]
185
+ - **Kill switch:** [NEEDS CLARIFICATION]
186
+ - **Backout plan:** [NEEDS CLARIFICATION]
187
+
188
+ ## 9. Observability
189
+
190
+ - **Events:** [NEEDS CLARIFICATION]
191
+ - **Alarms / SLOs:** [NEEDS CLARIFICATION]
192
+
193
+ ## 10. Requirements Traceability
194
+
195
+ <!--
196
+ gate.plan.coverage_complete requires this plan to MENTION every [US#] and [FR-#]
197
+ declared in spec.md. Map each to a decision (D#) / component so nothing is dropped.
198
+ -->
199
+
200
+ | Story / FR | Covered by (D#) | Where |
201
+ |------------|-----------------|-------|
202
+ | [US1] / [FR-1] | D1 | [NEEDS CLARIFICATION] |
203
+
204
+ ---
205
+
206
+ ## Checkpoints (agent report)
207
+
208
+ - [ ] Phase -1 gates are all marked (pass or violated); none left `pending`.
209
+ - [ ] Any `required`/`advisory` violation has a Complexity Tracking entry.
210
+ - [ ] No core (`critical`) gate is marked violated (if so — STOP, this plan cannot proceed).
211
+ - [ ] All technical decisions have rationale.
212
+ - [ ] Rollout and observability sections are not empty.
@@ -0,0 +1,30 @@
1
+ #!/usr/bin/env sh
2
+ # RAPTOR pre-commit hook — installed by `raptor init`.
3
+ # Runs `raptor verify` if staged changes touch .raptor/.
4
+ # Bypass with: SKIP_RAPTOR=1 git commit ...
5
+
6
+ if [ -n "$SKIP_RAPTOR" ]; then
7
+ exit 0
8
+ fi
9
+
10
+ if [ ! -d ".raptor" ]; then
11
+ exit 0
12
+ fi
13
+
14
+ staged=$(git diff --cached --name-only --diff-filter=ACM | grep -E '^\.raptor/' || true)
15
+ if [ -z "$staged" ]; then
16
+ exit 0
17
+ fi
18
+
19
+ if ! command -v raptor >/dev/null 2>&1; then
20
+ echo "⚠ RAPTOR pre-commit: \`raptor\` not on PATH; skipping (install @raptor/cli to enforce gates locally)."
21
+ exit 0
22
+ fi
23
+
24
+ echo "→ RAPTOR pre-commit: running \`raptor verify\`..."
25
+ if ! raptor verify; then
26
+ echo ""
27
+ echo "✗ RAPTOR pre-commit failed. Fix the gate errors above, or bypass with SKIP_RAPTOR=1."
28
+ exit 1
29
+ fi
30
+ exit 0
@@ -0,0 +1,45 @@
1
+ #!/usr/bin/env sh
2
+ # RAPTOR pre-push hook — installed by `raptor init`.
3
+ # Runs the full strict verification suite before allowing a push.
4
+ # Bypass with: SKIP_RAPTOR=1 git push ...
5
+
6
+ if [ -n "$SKIP_RAPTOR" ]; then
7
+ exit 0
8
+ fi
9
+
10
+ if [ ! -d ".raptor" ]; then
11
+ exit 0
12
+ fi
13
+
14
+ if ! command -v raptor >/dev/null 2>&1; then
15
+ echo "⚠ RAPTOR pre-push: \`raptor\` not on PATH; skipping (install @raptor/cli to enforce gates locally)."
16
+ exit 0
17
+ fi
18
+
19
+ echo "→ RAPTOR pre-push: strict verification..."
20
+ failed=0
21
+
22
+ if ! raptor verify constitution --strict; then
23
+ failed=1
24
+ fi
25
+
26
+ if ! raptor verify; then
27
+ failed=1
28
+ fi
29
+
30
+ for dir in .raptor/specs/*/; do
31
+ [ -d "$dir" ] || continue
32
+ slug=$(basename "$dir")
33
+ echo "--- audit: $slug ---"
34
+ if ! raptor verify audit "$slug" --strict; then
35
+ failed=1
36
+ fi
37
+ done
38
+
39
+ if [ $failed -eq 1 ]; then
40
+ echo ""
41
+ echo "✗ RAPTOR pre-push failed. Fix the errors above, or bypass with SKIP_RAPTOR=1."
42
+ exit 1
43
+ fi
44
+
45
+ exit 0
@@ -0,0 +1,24 @@
1
+ version: {{raptorVersion}}
2
+ project:
3
+ name: {{projectName}}
4
+ created: {{createdAt}}
5
+
6
+ preset: {{preset}}
7
+
8
+ # Agent configuration lives in agents.yml — do not add agents here.
9
+ # Run 'raptor add-agent <key>' to configure agents.
10
+
11
+ git:
12
+ branch_per_feature: true
13
+ branch_prefix: raptor/
14
+ commit_trailer: Raptor-Feature
15
+
16
+ jira:
17
+ enabled: false
18
+ # base_url: https://your-org.atlassian.net
19
+ # project_key: APP
20
+
21
+ gates:
22
+ # Critical gates from the RAPTOR-CORE (C1–C5) are always enforced and cannot be skipped.
23
+ # Project-level overrides apply only to `required` and `advisory` gates added via presets/extensions.
24
+ critical_require_human: true
@@ -0,0 +1,127 @@
1
+ ---
2
+ id: "{{id}}"
3
+ slug: {{slug}}
4
+ platform: {{platform}}
5
+ {{#if jira}}jira: {{jira}}
6
+ {{/if}}created: {{createdAt}}
7
+ status: draft
8
+ audit_ref: ~
9
+ ---
10
+
11
+ <!--
12
+ REQUIRED FRONTMATTER (add to the block above before `raptor approve` — gates read these):
13
+ acceptance: # used by analyze + M7 coverage
14
+ ids: [AC-1, AC-2]
15
+ stores: # M1 — store-level permission strings
16
+ ios_permissions: ["NSCameraUsageDescription — why"]
17
+ android_permissions: ["android.permission.CAMERA — why"]
18
+ a11y: # M3 — WCAG AA (or wcag_level: n/a + justification)
19
+ wcag_level: "AA"
20
+ criteria: ["All controls have accessible labels", "Contrast >= 4.5:1"]
21
+ (Frontmatter comments are stripped on approve, so this guidance lives here in the body.)
22
+ -->
23
+
24
+
25
+ <!--
26
+ Raptor spec template — capture **intent**, not technical design.
27
+ Rules for the agent filling this file:
28
+ 1. This document SHOULD NOT prescribe implementation technology. Keep code/SDK choices to plan.md.
29
+ 2. When information is missing or ambiguous, write [NEEDS CLARIFICATION: your question] — DO NOT guess.
30
+ 3. Fill sections in order. Each section is numbered deliberately.
31
+ 4. Report checkpoints at the end of the file before handing back to the human.
32
+ -->
33
+
34
+ # Feature {{id}}: {{slug}}
35
+
36
+ ## 1. Problem Statement
37
+
38
+ [NEEDS CLARIFICATION: What specific user or business problem does this feature solve? Who is affected today and how?]
39
+
40
+ ## 2. Users & Scenarios
41
+
42
+ <!-- Describe the primary user(s) and the top 1–3 scenarios this feature must support. -->
43
+
44
+ - **Primary user:** [NEEDS CLARIFICATION]
45
+ - **Secondary users:** [NEEDS CLARIFICATION]
46
+
47
+ ### Scenario A — [name]
48
+
49
+ [NEEDS CLARIFICATION: narrative of the happy path]
50
+
51
+ ### Scenario B — [name]
52
+
53
+ [NEEDS CLARIFICATION]
54
+
55
+ ## 3. User Stories
56
+
57
+ <!-- Each story SHOULD be independently valuable and testable. Label with [US1], [US2]... -->
58
+
59
+ - **[US1]** As a [user], I want [capability], so that [outcome].
60
+ - **[US2]** [NEEDS CLARIFICATION]
61
+
62
+ ## 4. Functional Requirements
63
+
64
+ <!-- One bullet per requirement. Avoid prescribing UI/tech. Use MUST/SHOULD/MAY. -->
65
+
66
+ - [FR-1] The system MUST [NEEDS CLARIFICATION].
67
+ - [FR-2] [NEEDS CLARIFICATION]
68
+
69
+ ## 5. Non-Functional Requirements
70
+
71
+ ### 5.1 Performance & resource
72
+
73
+ - [NFR-1] p95 end-to-end latency: [NEEDS CLARIFICATION].
74
+ - [NFR-2] Cold-start / interaction budget: [NEEDS CLARIFICATION].
75
+
76
+ ### 5.2 Accessibility
77
+
78
+ - [NFR-3] WCAG AA parity on key flows: [NEEDS CLARIFICATION which flows].
79
+
80
+ ### 5.3 Privacy / Compliance
81
+
82
+ {{#if platform}}- [NFR-4] Platform scope: **{{platform}}**.
83
+ {{/if}}- [NFR-5] Data classification (PII / sensitive / public): [NEEDS CLARIFICATION].
84
+ - [NFR-6] Applicable regulation (LGPD / GDPR / sectorial): [NEEDS CLARIFICATION].
85
+
86
+ ### 5.4 Platform constraints
87
+
88
+ - [NFR-7] App Store / Play Store guidelines impacted: [NEEDS CLARIFICATION].
89
+ - [NFR-8] Minimum OS versions supported: [NEEDS CLARIFICATION].
90
+
91
+ ### 5.5 Reliability
92
+
93
+ - [NFR-9] Crash-free sessions target: [NEEDS CLARIFICATION: e.g., 99.9%].
94
+
95
+ ## 6. Out of Scope
96
+
97
+ <!-- List what this feature explicitly does NOT address. Makes review cheaper. -->
98
+
99
+ - [NEEDS CLARIFICATION]
100
+
101
+ ## 7. Dependencies & Assumptions
102
+
103
+ - **Depends on:** [NEEDS CLARIFICATION — other features, backends, third-party services]
104
+ - **Assumes:** [NEEDS CLARIFICATION]
105
+
106
+ ## 8. Acceptance Criteria
107
+
108
+ <!-- Measurable, testable, linked to user stories. -->
109
+
110
+ - [AC-1] Given [state], when [action], then [observable outcome]. (covers [US1])
111
+ - [AC-2] [NEEDS CLARIFICATION]
112
+
113
+ ## 9. Open Questions
114
+
115
+ <!-- Consolidated list of every [NEEDS CLARIFICATION] above plus anything else the agent couldn't resolve. -->
116
+
117
+ 1. [NEEDS CLARIFICATION]
118
+
119
+ ---
120
+
121
+ ## Checkpoints (agent report)
122
+
123
+ - [ ] All `NEEDS CLARIFICATION` blocks are explicit and narrowly scoped (not "clarify section 3").
124
+ - [ ] No implementation-level detail present (no framework names, no code snippets).
125
+ - [ ] Functional vs. non-functional split is clean.
126
+ - [ ] Acceptance criteria reference user stories by id.
127
+ - [ ] Out-of-scope section has at least one item (avoid empty).
@@ -0,0 +1,71 @@
1
+ ---
2
+ id: "{{id}}"
3
+ slug: {{slug}}
4
+ plan_hash: {{planHash}}
5
+ plan_ref: specs/{{feature}}/plan.md
6
+ created: {{createdAt}}
7
+ status: draft
8
+ audit_ref: ~
9
+ ---
10
+
11
+ <!--
12
+ Raptor tasks template — decompose approved plan into executable work units.
13
+ Rules for the agent:
14
+ 1. This file MAY only be generated when plan.md is `status: approved` (enforced by gate.plan.approved).
15
+ 2. Tag each task with the user story it serves: [US1], [US2]...
16
+ 3. Tag parallel-safe tasks with [P]. Default is sequential.
17
+ 4. Keep tasks atomic: one task = one reviewable commit.
18
+ 5. NO implementation inline — tasks describe WHAT, plan explains WHY, code is produced by /implement.
19
+ -->
20
+
21
+ # Tasks {{id}}: {{slug}}
22
+
23
+ ## 1. User Stories in Scope
24
+
25
+ <!-- Pull directly from spec.md. -->
26
+
27
+ | Id | Story | Priority |
28
+ |----|-------|----------|
29
+ | US1 | [NEEDS CLARIFICATION] | must |
30
+
31
+ ## 2. Task List
32
+
33
+ <!--
34
+ Format: T### — <short imperative> [US#] [P?]
35
+ Each task SHOULD fit into a single commit and be individually testable.
36
+ -->
37
+
38
+ - **T001** — [NEEDS CLARIFICATION: first task] [US1]
39
+ - **T002** — [NEEDS CLARIFICATION] [US1] [P]
40
+ - **T003** — [NEEDS CLARIFICATION] [US2]
41
+
42
+ ## 3. Dependency Graph
43
+
44
+ ```mermaid
45
+ flowchart LR
46
+ T001 --> T002
47
+ T001 --> T003
48
+ ```
49
+
50
+ ## 4. Acceptance Check
51
+
52
+ <!-- One line per acceptance criterion from spec.md — map to the task(s) that deliver it. -->
53
+
54
+ | AC | Delivered by |
55
+ |----|--------------|
56
+ | [AC-1] | T001, T002 |
57
+
58
+ ## 5. Out of Scope Reminder
59
+
60
+ <!-- Mirror the spec's out-of-scope list. If a task looks like it drifts into it, flag and pause. -->
61
+
62
+ - [NEEDS CLARIFICATION]
63
+
64
+ ---
65
+
66
+ ## Checkpoints (agent report)
67
+
68
+ - [ ] Every task carries a user-story tag.
69
+ - [ ] Parallelizable tasks marked with [P] and have no implicit ordering dependency.
70
+ - [ ] Each acceptance criterion has at least one delivering task.
71
+ - [ ] No task introduces work not grounded in the plan.
@@ -0,0 +1,22 @@
1
+ import { Command } from "@oclif/core";
2
+ /**
3
+ * add-agent — Register a new AI agent integration in the project.
4
+ *
5
+ * Unlike before, this actually registers the agent in agents.yml AND
6
+ * materializes its slash commands — it no longer just prints a message
7
+ * telling the user to run `init --force` (B5).
8
+ *
9
+ * Spec Kit ref: E03 — "raptor add-agent"
10
+ */
11
+ export default class AddAgent extends Command {
12
+ static description: string;
13
+ static examples: string[];
14
+ static args: {
15
+ key: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
16
+ };
17
+ static flags: {
18
+ "set-primary": import("@oclif/core/interfaces").BooleanFlag<boolean>;
19
+ };
20
+ run(): Promise<void>;
21
+ }
22
+ //# sourceMappingURL=add-agent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-agent.d.ts","sourceRoot":"","sources":["../../src/commands/add-agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAe,MAAM,aAAa,CAAC;AAWnD;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,OAAO;IAC3C,OAAgB,WAAW,SACoF;IAE/G,OAAgB,QAAQ,WAGtB;IAEF,OAAgB,IAAI;;MAKlB;IAEF,OAAgB,KAAK;;MAKnB;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CA6G3B"}