bigpowers 2.86.4 → 2.86.6

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 (568) hide show
  1. package/.agents/skills/commit-message/SKILL.md +1 -1
  2. package/.agents/skills/craft-skill/SKILL.md +2 -2
  3. package/.agents/skills/define-success/SKILL.md +6 -59
  4. package/.agents/skills/deploy/SKILL.md +1 -1
  5. package/.agents/skills/elaborate-spec/SKILL.md +1 -1
  6. package/.agents/skills/evolve-skill/SKILL.md +1 -1
  7. package/.agents/skills/harden-vps/SKILL.md +63 -60
  8. package/.agents/skills/investigate-bug/SKILL.md +2 -2
  9. package/.agents/skills/orchestrate-project/SKILL.md +1 -1
  10. package/.agents/skills/plan-refactor/SKILL.md +2 -2
  11. package/.agents/skills/plan-release/SKILL.md +2 -2
  12. package/.agents/skills/plan-work/SKILL.md +1 -1
  13. package/.agents/skills/using-bigpowers/SKILL.md +2 -2
  14. package/.agents/skills/wire-ci/SKILL.md +11 -14
  15. package/.agents/skills/write-document/SKILL.md +1 -1
  16. package/.cline/skills/align-grid/SKILL.md +110 -0
  17. package/.cline/skills/assess-impact/SKILL.md +91 -0
  18. package/.cline/skills/audit-code/SKILL.md +184 -0
  19. package/.cline/skills/audit-plan/SKILL.md +89 -0
  20. package/.cline/skills/build-epic/SKILL.md +105 -0
  21. package/.cline/skills/change-request/SKILL.md +121 -0
  22. package/.cline/skills/commit-message/SKILL.md +140 -0
  23. package/.cline/skills/compose-workflow/SKILL.md +82 -0
  24. package/.cline/skills/context7-mcp/SKILL.md +55 -0
  25. package/.cline/skills/craft-skill/SKILL.md +196 -0
  26. package/.cline/skills/deepen-architecture/SKILL.md +260 -0
  27. package/.cline/skills/define-language/SKILL.md +80 -0
  28. package/.cline/skills/define-success/SKILL.md +12 -0
  29. package/.cline/skills/delegate-task/SKILL.md +91 -0
  30. package/.cline/skills/deploy/SKILL.md +198 -0
  31. package/.cline/skills/design-interface/SKILL.md +97 -0
  32. package/.cline/skills/develop-tdd/SKILL.md +416 -0
  33. package/.cline/skills/diagnose-root/SKILL.md +24 -0
  34. package/.cline/skills/diagnose-stall/SKILL.md +54 -0
  35. package/.cline/skills/dispatch-agents/SKILL.md +118 -0
  36. package/.cline/skills/edit-document/SKILL.md +23 -0
  37. package/.cline/skills/elaborate-spec/SKILL.md +101 -0
  38. package/.cline/skills/enforce-first/SKILL.md +45 -0
  39. package/.cline/skills/evolve-skill/SKILL.md +55 -0
  40. package/.cline/skills/execute-plan/SKILL.md +61 -0
  41. package/.cline/skills/extract-design/SKILL.md +132 -0
  42. package/.cline/skills/find-way/SKILL.md +191 -0
  43. package/.cline/skills/fix-bug/SKILL.md +67 -0
  44. package/.cline/skills/gate-trace/SKILL.md +92 -0
  45. package/.cline/skills/generate-allure-report/SKILL.md +285 -0
  46. package/.cline/skills/grill-me/SKILL.md +108 -0
  47. package/.cline/skills/grill-with-docs/SKILL.md +53 -0
  48. package/.cline/skills/guard-git/SKILL.md +231 -0
  49. package/.cline/skills/harden-vps/SKILL.md +291 -0
  50. package/.cline/skills/hook-commits/SKILL.md +94 -0
  51. package/.cline/skills/inspect-quality/SKILL.md +106 -0
  52. package/.cline/skills/investigate-bug/SKILL.md +127 -0
  53. package/.cline/skills/kickoff-branch/SKILL.md +143 -0
  54. package/.cline/skills/maintain-wiki/SKILL.md +64 -0
  55. package/.cline/skills/map-codebase/SKILL.md +71 -0
  56. package/.cline/skills/migrate-spec/SKILL.md +862 -0
  57. package/.cline/skills/model-domain/SKILL.md +232 -0
  58. package/.cline/skills/orchestrate-project/SKILL.md +174 -0
  59. package/.cline/skills/organize-workspace/SKILL.md +164 -0
  60. package/.cline/skills/plan-refactor/SKILL.md +87 -0
  61. package/.cline/skills/plan-release/SKILL.md +145 -0
  62. package/.cline/skills/plan-tests/SKILL.md +75 -0
  63. package/.cline/skills/plan-work/SKILL.md +260 -0
  64. package/.cline/skills/publish-package/SKILL.md +328 -0
  65. package/.cline/skills/quick-fix/SKILL.md +114 -0
  66. package/.cline/skills/release-branch/SKILL.md +298 -0
  67. package/.cline/skills/request-review/SKILL.md +113 -0
  68. package/.cline/skills/research-first/SKILL.md +87 -0
  69. package/.cline/skills/reset-baseline/SKILL.md +21 -0
  70. package/.cline/skills/respond-review/SKILL.md +71 -0
  71. package/.cline/skills/run-benchmark/SKILL.md +85 -0
  72. package/.cline/skills/run-evals/SKILL.md +80 -0
  73. package/.cline/skills/run-planning/SKILL.md +101 -0
  74. package/.cline/skills/scope-work/SKILL.md +63 -0
  75. package/.cline/skills/search-skills/SKILL.md +73 -0
  76. package/.cline/skills/security-review/SKILL.md +384 -0
  77. package/.cline/skills/seed-conventions/SKILL.md +302 -0
  78. package/.cline/skills/session-state/SKILL.md +146 -0
  79. package/.cline/skills/setup-environment/SKILL.md +39 -0
  80. package/.cline/skills/simulate-agents/SKILL.md +26 -0
  81. package/.cline/skills/slice-tasks/SKILL.md +68 -0
  82. package/.cline/skills/smoke-test/SKILL.md +257 -0
  83. package/.cline/skills/spike-prototype/SKILL.md +95 -0
  84. package/.cline/skills/stocktake-skills/SKILL.md +74 -0
  85. package/.cline/skills/survey-context/SKILL.md +135 -0
  86. package/.cline/skills/terse-mode/SKILL.md +42 -0
  87. package/.cline/skills/trace-requirement/SKILL.md +69 -0
  88. package/.cline/skills/using-bigpowers/SKILL.md +111 -0
  89. package/.cline/skills/validate-contracts/SKILL.md +277 -0
  90. package/.cline/skills/validate-fix/SKILL.md +147 -0
  91. package/.cline/skills/verify-work/SKILL.md +191 -0
  92. package/.cline/skills/visual-dashboard/SKILL.md +50 -0
  93. package/.cline/skills/wire-ci/SKILL.md +374 -0
  94. package/.cline/skills/wire-observability/SKILL.md +97 -0
  95. package/.cline/skills/write-document/SKILL.md +255 -0
  96. package/.codebuddy/skills/commit-message/SKILL.md +1 -1
  97. package/.codebuddy/skills/craft-skill/SKILL.md +2 -2
  98. package/.codebuddy/skills/define-success/SKILL.md +6 -59
  99. package/.codebuddy/skills/deploy/SKILL.md +1 -1
  100. package/.codebuddy/skills/elaborate-spec/SKILL.md +1 -1
  101. package/.codebuddy/skills/evolve-skill/SKILL.md +1 -1
  102. package/.codebuddy/skills/harden-vps/SKILL.md +63 -60
  103. package/.codebuddy/skills/investigate-bug/SKILL.md +2 -2
  104. package/.codebuddy/skills/orchestrate-project/SKILL.md +1 -1
  105. package/.codebuddy/skills/plan-refactor/SKILL.md +2 -2
  106. package/.codebuddy/skills/plan-release/SKILL.md +2 -2
  107. package/.codebuddy/skills/plan-work/SKILL.md +1 -1
  108. package/.codebuddy/skills/using-bigpowers/SKILL.md +2 -2
  109. package/.codebuddy/skills/wire-ci/SKILL.md +11 -14
  110. package/.codebuddy/skills/write-document/SKILL.md +1 -1
  111. package/.codex/skills/commit-message/SKILL.md +1 -1
  112. package/.codex/skills/craft-skill/SKILL.md +2 -2
  113. package/.codex/skills/define-success/SKILL.md +6 -59
  114. package/.codex/skills/deploy/SKILL.md +1 -1
  115. package/.codex/skills/elaborate-spec/SKILL.md +1 -1
  116. package/.codex/skills/evolve-skill/SKILL.md +1 -1
  117. package/.codex/skills/harden-vps/SKILL.md +63 -60
  118. package/.codex/skills/investigate-bug/SKILL.md +2 -2
  119. package/.codex/skills/orchestrate-project/SKILL.md +1 -1
  120. package/.codex/skills/plan-refactor/SKILL.md +2 -2
  121. package/.codex/skills/plan-release/SKILL.md +2 -2
  122. package/.codex/skills/plan-work/SKILL.md +1 -1
  123. package/.codex/skills/using-bigpowers/SKILL.md +2 -2
  124. package/.codex/skills/wire-ci/SKILL.md +11 -14
  125. package/.codex/skills/write-document/SKILL.md +1 -1
  126. package/.copilot/skills/align-grid/SKILL.md +110 -0
  127. package/.copilot/skills/assess-impact/SKILL.md +91 -0
  128. package/.copilot/skills/audit-code/SKILL.md +184 -0
  129. package/.copilot/skills/audit-plan/SKILL.md +89 -0
  130. package/.copilot/skills/build-epic/SKILL.md +105 -0
  131. package/.copilot/skills/change-request/SKILL.md +121 -0
  132. package/.copilot/skills/commit-message/SKILL.md +140 -0
  133. package/.copilot/skills/compose-workflow/SKILL.md +82 -0
  134. package/.copilot/skills/context7-mcp/SKILL.md +55 -0
  135. package/.copilot/skills/craft-skill/SKILL.md +196 -0
  136. package/.copilot/skills/deepen-architecture/SKILL.md +260 -0
  137. package/.copilot/skills/define-language/SKILL.md +80 -0
  138. package/.copilot/skills/define-success/SKILL.md +12 -0
  139. package/.copilot/skills/delegate-task/SKILL.md +91 -0
  140. package/.copilot/skills/deploy/SKILL.md +198 -0
  141. package/.copilot/skills/design-interface/SKILL.md +97 -0
  142. package/.copilot/skills/develop-tdd/SKILL.md +416 -0
  143. package/.copilot/skills/diagnose-root/SKILL.md +24 -0
  144. package/.copilot/skills/diagnose-stall/SKILL.md +54 -0
  145. package/.copilot/skills/dispatch-agents/SKILL.md +118 -0
  146. package/.copilot/skills/edit-document/SKILL.md +23 -0
  147. package/.copilot/skills/elaborate-spec/SKILL.md +101 -0
  148. package/.copilot/skills/enforce-first/SKILL.md +45 -0
  149. package/.copilot/skills/evolve-skill/SKILL.md +55 -0
  150. package/.copilot/skills/execute-plan/SKILL.md +61 -0
  151. package/.copilot/skills/extract-design/SKILL.md +132 -0
  152. package/.copilot/skills/find-way/SKILL.md +191 -0
  153. package/.copilot/skills/fix-bug/SKILL.md +67 -0
  154. package/.copilot/skills/gate-trace/SKILL.md +92 -0
  155. package/.copilot/skills/generate-allure-report/SKILL.md +285 -0
  156. package/.copilot/skills/grill-me/SKILL.md +108 -0
  157. package/.copilot/skills/grill-with-docs/SKILL.md +53 -0
  158. package/.copilot/skills/guard-git/SKILL.md +231 -0
  159. package/.copilot/skills/harden-vps/SKILL.md +291 -0
  160. package/.copilot/skills/hook-commits/SKILL.md +94 -0
  161. package/.copilot/skills/inspect-quality/SKILL.md +106 -0
  162. package/.copilot/skills/investigate-bug/SKILL.md +127 -0
  163. package/.copilot/skills/kickoff-branch/SKILL.md +143 -0
  164. package/.copilot/skills/maintain-wiki/SKILL.md +64 -0
  165. package/.copilot/skills/map-codebase/SKILL.md +71 -0
  166. package/.copilot/skills/migrate-spec/SKILL.md +862 -0
  167. package/.copilot/skills/model-domain/SKILL.md +232 -0
  168. package/.copilot/skills/orchestrate-project/SKILL.md +174 -0
  169. package/.copilot/skills/organize-workspace/SKILL.md +164 -0
  170. package/.copilot/skills/plan-refactor/SKILL.md +87 -0
  171. package/.copilot/skills/plan-release/SKILL.md +145 -0
  172. package/.copilot/skills/plan-tests/SKILL.md +75 -0
  173. package/.copilot/skills/plan-work/SKILL.md +260 -0
  174. package/.copilot/skills/publish-package/SKILL.md +328 -0
  175. package/.copilot/skills/quick-fix/SKILL.md +114 -0
  176. package/.copilot/skills/release-branch/SKILL.md +298 -0
  177. package/.copilot/skills/request-review/SKILL.md +113 -0
  178. package/.copilot/skills/research-first/SKILL.md +87 -0
  179. package/.copilot/skills/reset-baseline/SKILL.md +21 -0
  180. package/.copilot/skills/respond-review/SKILL.md +71 -0
  181. package/.copilot/skills/run-benchmark/SKILL.md +85 -0
  182. package/.copilot/skills/run-evals/SKILL.md +80 -0
  183. package/.copilot/skills/run-planning/SKILL.md +101 -0
  184. package/.copilot/skills/scope-work/SKILL.md +63 -0
  185. package/.copilot/skills/search-skills/SKILL.md +73 -0
  186. package/.copilot/skills/security-review/SKILL.md +384 -0
  187. package/.copilot/skills/seed-conventions/SKILL.md +302 -0
  188. package/.copilot/skills/session-state/SKILL.md +146 -0
  189. package/.copilot/skills/setup-environment/SKILL.md +39 -0
  190. package/.copilot/skills/simulate-agents/SKILL.md +26 -0
  191. package/.copilot/skills/slice-tasks/SKILL.md +68 -0
  192. package/.copilot/skills/smoke-test/SKILL.md +257 -0
  193. package/.copilot/skills/spike-prototype/SKILL.md +95 -0
  194. package/.copilot/skills/stocktake-skills/SKILL.md +74 -0
  195. package/.copilot/skills/survey-context/SKILL.md +135 -0
  196. package/.copilot/skills/terse-mode/SKILL.md +42 -0
  197. package/.copilot/skills/trace-requirement/SKILL.md +69 -0
  198. package/.copilot/skills/using-bigpowers/SKILL.md +111 -0
  199. package/.copilot/skills/validate-contracts/SKILL.md +277 -0
  200. package/.copilot/skills/validate-fix/SKILL.md +147 -0
  201. package/.copilot/skills/verify-work/SKILL.md +191 -0
  202. package/.copilot/skills/visual-dashboard/SKILL.md +50 -0
  203. package/.copilot/skills/wire-ci/SKILL.md +374 -0
  204. package/.copilot/skills/wire-observability/SKILL.md +97 -0
  205. package/.copilot/skills/write-document/SKILL.md +255 -0
  206. package/.hermes/skills/commit-message/SKILL.md +1 -1
  207. package/.hermes/skills/craft-skill/SKILL.md +2 -2
  208. package/.hermes/skills/define-success/SKILL.md +6 -59
  209. package/.hermes/skills/deploy/SKILL.md +1 -1
  210. package/.hermes/skills/elaborate-spec/SKILL.md +1 -1
  211. package/.hermes/skills/evolve-skill/SKILL.md +1 -1
  212. package/.hermes/skills/harden-vps/SKILL.md +63 -60
  213. package/.hermes/skills/investigate-bug/SKILL.md +2 -2
  214. package/.hermes/skills/orchestrate-project/SKILL.md +1 -1
  215. package/.hermes/skills/plan-refactor/SKILL.md +2 -2
  216. package/.hermes/skills/plan-release/SKILL.md +2 -2
  217. package/.hermes/skills/plan-work/SKILL.md +1 -1
  218. package/.hermes/skills/using-bigpowers/SKILL.md +2 -2
  219. package/.hermes/skills/wire-ci/SKILL.md +11 -14
  220. package/.hermes/skills/write-document/SKILL.md +1 -1
  221. package/.kilocode/rules/commit-message.md +1 -1
  222. package/.kilocode/rules/craft-skill.md +2 -2
  223. package/.kilocode/rules/define-success.md +6 -59
  224. package/.kilocode/rules/deploy.md +1 -1
  225. package/.kilocode/rules/elaborate-spec.md +1 -1
  226. package/.kilocode/rules/evolve-skill.md +1 -1
  227. package/.kilocode/rules/harden-vps.md +63 -60
  228. package/.kilocode/rules/investigate-bug.md +2 -2
  229. package/.kilocode/rules/orchestrate-project.md +1 -1
  230. package/.kilocode/rules/plan-refactor.md +2 -2
  231. package/.kilocode/rules/plan-release.md +2 -2
  232. package/.kilocode/rules/plan-work.md +1 -1
  233. package/.kilocode/rules/using-bigpowers.md +2 -2
  234. package/.kilocode/rules/wire-ci.md +11 -14
  235. package/.kilocode/rules/write-document.md +1 -1
  236. package/.mimocode/skills/commit-message/SKILL.md +1 -1
  237. package/.mimocode/skills/craft-skill/SKILL.md +2 -2
  238. package/.mimocode/skills/define-success/SKILL.md +6 -59
  239. package/.mimocode/skills/deploy/SKILL.md +1 -1
  240. package/.mimocode/skills/elaborate-spec/SKILL.md +1 -1
  241. package/.mimocode/skills/evolve-skill/SKILL.md +1 -1
  242. package/.mimocode/skills/harden-vps/SKILL.md +63 -60
  243. package/.mimocode/skills/investigate-bug/SKILL.md +2 -2
  244. package/.mimocode/skills/orchestrate-project/SKILL.md +1 -1
  245. package/.mimocode/skills/plan-refactor/SKILL.md +2 -2
  246. package/.mimocode/skills/plan-release/SKILL.md +2 -2
  247. package/.mimocode/skills/plan-work/SKILL.md +1 -1
  248. package/.mimocode/skills/using-bigpowers/SKILL.md +2 -2
  249. package/.mimocode/skills/wire-ci/SKILL.md +11 -14
  250. package/.mimocode/skills/write-document/SKILL.md +1 -1
  251. package/.opencode/skills/align-grid/SKILL.md +110 -0
  252. package/.opencode/skills/assess-impact/SKILL.md +91 -0
  253. package/.opencode/skills/audit-code/SKILL.md +184 -0
  254. package/.opencode/skills/audit-plan/SKILL.md +89 -0
  255. package/.opencode/skills/build-epic/SKILL.md +105 -0
  256. package/.opencode/skills/change-request/SKILL.md +121 -0
  257. package/.opencode/skills/commit-message/SKILL.md +140 -0
  258. package/.opencode/skills/compose-workflow/SKILL.md +82 -0
  259. package/.opencode/skills/context7-mcp/SKILL.md +55 -0
  260. package/.opencode/skills/craft-skill/SKILL.md +196 -0
  261. package/.opencode/skills/deepen-architecture/SKILL.md +260 -0
  262. package/.opencode/skills/define-language/SKILL.md +80 -0
  263. package/.opencode/skills/define-success/SKILL.md +12 -0
  264. package/.opencode/skills/delegate-task/SKILL.md +91 -0
  265. package/.opencode/skills/deploy/SKILL.md +198 -0
  266. package/.opencode/skills/design-interface/SKILL.md +97 -0
  267. package/.opencode/skills/develop-tdd/SKILL.md +416 -0
  268. package/.opencode/skills/diagnose-root/SKILL.md +24 -0
  269. package/.opencode/skills/diagnose-stall/SKILL.md +54 -0
  270. package/.opencode/skills/dispatch-agents/SKILL.md +118 -0
  271. package/.opencode/skills/edit-document/SKILL.md +23 -0
  272. package/.opencode/skills/elaborate-spec/SKILL.md +101 -0
  273. package/.opencode/skills/enforce-first/SKILL.md +45 -0
  274. package/.opencode/skills/evolve-skill/SKILL.md +55 -0
  275. package/.opencode/skills/execute-plan/SKILL.md +61 -0
  276. package/.opencode/skills/extract-design/SKILL.md +132 -0
  277. package/.opencode/skills/find-way/SKILL.md +191 -0
  278. package/.opencode/skills/fix-bug/SKILL.md +67 -0
  279. package/.opencode/skills/gate-trace/SKILL.md +92 -0
  280. package/.opencode/skills/generate-allure-report/SKILL.md +285 -0
  281. package/.opencode/skills/grill-me/SKILL.md +108 -0
  282. package/.opencode/skills/grill-with-docs/SKILL.md +53 -0
  283. package/.opencode/skills/guard-git/SKILL.md +231 -0
  284. package/.opencode/skills/harden-vps/SKILL.md +291 -0
  285. package/.opencode/skills/hook-commits/SKILL.md +94 -0
  286. package/.opencode/skills/inspect-quality/SKILL.md +106 -0
  287. package/.opencode/skills/investigate-bug/SKILL.md +127 -0
  288. package/.opencode/skills/kickoff-branch/SKILL.md +143 -0
  289. package/.opencode/skills/maintain-wiki/SKILL.md +64 -0
  290. package/.opencode/skills/map-codebase/SKILL.md +71 -0
  291. package/.opencode/skills/migrate-spec/SKILL.md +862 -0
  292. package/.opencode/skills/model-domain/SKILL.md +232 -0
  293. package/.opencode/skills/orchestrate-project/SKILL.md +174 -0
  294. package/.opencode/skills/organize-workspace/SKILL.md +164 -0
  295. package/.opencode/skills/plan-refactor/SKILL.md +87 -0
  296. package/.opencode/skills/plan-release/SKILL.md +145 -0
  297. package/.opencode/skills/plan-tests/SKILL.md +75 -0
  298. package/.opencode/skills/plan-work/SKILL.md +260 -0
  299. package/.opencode/skills/publish-package/SKILL.md +328 -0
  300. package/.opencode/skills/quick-fix/SKILL.md +114 -0
  301. package/.opencode/skills/release-branch/SKILL.md +298 -0
  302. package/.opencode/skills/request-review/SKILL.md +113 -0
  303. package/.opencode/skills/research-first/SKILL.md +87 -0
  304. package/.opencode/skills/reset-baseline/SKILL.md +21 -0
  305. package/.opencode/skills/respond-review/SKILL.md +71 -0
  306. package/.opencode/skills/run-benchmark/SKILL.md +85 -0
  307. package/.opencode/skills/run-evals/SKILL.md +80 -0
  308. package/.opencode/skills/run-planning/SKILL.md +101 -0
  309. package/.opencode/skills/scope-work/SKILL.md +63 -0
  310. package/.opencode/skills/search-skills/SKILL.md +73 -0
  311. package/.opencode/skills/security-review/SKILL.md +384 -0
  312. package/.opencode/skills/seed-conventions/SKILL.md +302 -0
  313. package/.opencode/skills/session-state/SKILL.md +146 -0
  314. package/.opencode/skills/setup-environment/SKILL.md +39 -0
  315. package/.opencode/skills/simulate-agents/SKILL.md +26 -0
  316. package/.opencode/skills/slice-tasks/SKILL.md +68 -0
  317. package/.opencode/skills/smoke-test/SKILL.md +257 -0
  318. package/.opencode/skills/spike-prototype/SKILL.md +95 -0
  319. package/.opencode/skills/stocktake-skills/SKILL.md +74 -0
  320. package/.opencode/skills/survey-context/SKILL.md +135 -0
  321. package/.opencode/skills/terse-mode/SKILL.md +42 -0
  322. package/.opencode/skills/trace-requirement/SKILL.md +69 -0
  323. package/.opencode/skills/using-bigpowers/SKILL.md +111 -0
  324. package/.opencode/skills/validate-contracts/SKILL.md +277 -0
  325. package/.opencode/skills/validate-fix/SKILL.md +147 -0
  326. package/.opencode/skills/verify-work/SKILL.md +191 -0
  327. package/.opencode/skills/visual-dashboard/SKILL.md +50 -0
  328. package/.opencode/skills/wire-ci/SKILL.md +374 -0
  329. package/.opencode/skills/wire-observability/SKILL.md +97 -0
  330. package/.opencode/skills/write-document/SKILL.md +255 -0
  331. package/.pi/package.json +1 -1
  332. package/.pi/prompts/commit-message.md +1 -1
  333. package/.pi/prompts/craft-skill.md +2 -2
  334. package/.pi/prompts/define-success.md +5 -58
  335. package/.pi/prompts/deploy.md +1 -1
  336. package/.pi/prompts/elaborate-spec.md +1 -1
  337. package/.pi/prompts/evolve-skill.md +1 -1
  338. package/.pi/prompts/harden-vps.md +63 -60
  339. package/.pi/prompts/investigate-bug.md +2 -2
  340. package/.pi/prompts/orchestrate-project.md +1 -1
  341. package/.pi/prompts/plan-refactor.md +2 -2
  342. package/.pi/prompts/plan-release.md +2 -2
  343. package/.pi/prompts/plan-work.md +1 -1
  344. package/.pi/prompts/using-bigpowers.md +2 -2
  345. package/.pi/prompts/wire-ci.md +11 -14
  346. package/.pi/prompts/write-document.md +1 -1
  347. package/.pi/skills/commit-message/SKILL.md +1 -1
  348. package/.pi/skills/craft-skill/SKILL.md +2 -2
  349. package/.pi/skills/define-success/SKILL.md +6 -59
  350. package/.pi/skills/deploy/SKILL.md +1 -1
  351. package/.pi/skills/elaborate-spec/SKILL.md +1 -1
  352. package/.pi/skills/evolve-skill/SKILL.md +1 -1
  353. package/.pi/skills/harden-vps/SKILL.md +63 -60
  354. package/.pi/skills/investigate-bug/SKILL.md +2 -2
  355. package/.pi/skills/orchestrate-project/SKILL.md +1 -1
  356. package/.pi/skills/plan-refactor/SKILL.md +2 -2
  357. package/.pi/skills/plan-release/SKILL.md +2 -2
  358. package/.pi/skills/plan-work/SKILL.md +1 -1
  359. package/.pi/skills/using-bigpowers/SKILL.md +2 -2
  360. package/.pi/skills/wire-ci/SKILL.md +11 -14
  361. package/.pi/skills/write-document/SKILL.md +1 -1
  362. package/.qwen/skills/align-grid/SKILL.md +110 -0
  363. package/.qwen/skills/assess-impact/SKILL.md +91 -0
  364. package/.qwen/skills/audit-code/SKILL.md +184 -0
  365. package/.qwen/skills/audit-plan/SKILL.md +89 -0
  366. package/.qwen/skills/build-epic/SKILL.md +105 -0
  367. package/.qwen/skills/change-request/SKILL.md +121 -0
  368. package/.qwen/skills/commit-message/SKILL.md +140 -0
  369. package/.qwen/skills/compose-workflow/SKILL.md +82 -0
  370. package/.qwen/skills/context7-mcp/SKILL.md +55 -0
  371. package/.qwen/skills/craft-skill/SKILL.md +196 -0
  372. package/.qwen/skills/deepen-architecture/SKILL.md +260 -0
  373. package/.qwen/skills/define-language/SKILL.md +80 -0
  374. package/.qwen/skills/define-success/SKILL.md +12 -0
  375. package/.qwen/skills/delegate-task/SKILL.md +91 -0
  376. package/.qwen/skills/deploy/SKILL.md +198 -0
  377. package/.qwen/skills/design-interface/SKILL.md +97 -0
  378. package/.qwen/skills/develop-tdd/SKILL.md +416 -0
  379. package/.qwen/skills/diagnose-root/SKILL.md +24 -0
  380. package/.qwen/skills/diagnose-stall/SKILL.md +54 -0
  381. package/.qwen/skills/dispatch-agents/SKILL.md +118 -0
  382. package/.qwen/skills/edit-document/SKILL.md +23 -0
  383. package/.qwen/skills/elaborate-spec/SKILL.md +101 -0
  384. package/.qwen/skills/enforce-first/SKILL.md +45 -0
  385. package/.qwen/skills/evolve-skill/SKILL.md +55 -0
  386. package/.qwen/skills/execute-plan/SKILL.md +61 -0
  387. package/.qwen/skills/extract-design/SKILL.md +132 -0
  388. package/.qwen/skills/find-way/SKILL.md +191 -0
  389. package/.qwen/skills/fix-bug/SKILL.md +67 -0
  390. package/.qwen/skills/gate-trace/SKILL.md +92 -0
  391. package/.qwen/skills/generate-allure-report/SKILL.md +285 -0
  392. package/.qwen/skills/grill-me/SKILL.md +108 -0
  393. package/.qwen/skills/grill-with-docs/SKILL.md +53 -0
  394. package/.qwen/skills/guard-git/SKILL.md +231 -0
  395. package/.qwen/skills/harden-vps/SKILL.md +291 -0
  396. package/.qwen/skills/hook-commits/SKILL.md +94 -0
  397. package/.qwen/skills/inspect-quality/SKILL.md +106 -0
  398. package/.qwen/skills/investigate-bug/SKILL.md +127 -0
  399. package/.qwen/skills/kickoff-branch/SKILL.md +143 -0
  400. package/.qwen/skills/maintain-wiki/SKILL.md +64 -0
  401. package/.qwen/skills/map-codebase/SKILL.md +71 -0
  402. package/.qwen/skills/migrate-spec/SKILL.md +862 -0
  403. package/.qwen/skills/model-domain/SKILL.md +232 -0
  404. package/.qwen/skills/orchestrate-project/SKILL.md +174 -0
  405. package/.qwen/skills/organize-workspace/SKILL.md +164 -0
  406. package/.qwen/skills/plan-refactor/SKILL.md +87 -0
  407. package/.qwen/skills/plan-release/SKILL.md +145 -0
  408. package/.qwen/skills/plan-tests/SKILL.md +75 -0
  409. package/.qwen/skills/plan-work/SKILL.md +260 -0
  410. package/.qwen/skills/publish-package/SKILL.md +328 -0
  411. package/.qwen/skills/quick-fix/SKILL.md +114 -0
  412. package/.qwen/skills/release-branch/SKILL.md +298 -0
  413. package/.qwen/skills/request-review/SKILL.md +113 -0
  414. package/.qwen/skills/research-first/SKILL.md +87 -0
  415. package/.qwen/skills/reset-baseline/SKILL.md +21 -0
  416. package/.qwen/skills/respond-review/SKILL.md +71 -0
  417. package/.qwen/skills/run-benchmark/SKILL.md +85 -0
  418. package/.qwen/skills/run-evals/SKILL.md +80 -0
  419. package/.qwen/skills/run-planning/SKILL.md +101 -0
  420. package/.qwen/skills/scope-work/SKILL.md +63 -0
  421. package/.qwen/skills/search-skills/SKILL.md +73 -0
  422. package/.qwen/skills/security-review/SKILL.md +384 -0
  423. package/.qwen/skills/seed-conventions/SKILL.md +302 -0
  424. package/.qwen/skills/session-state/SKILL.md +146 -0
  425. package/.qwen/skills/setup-environment/SKILL.md +39 -0
  426. package/.qwen/skills/simulate-agents/SKILL.md +26 -0
  427. package/.qwen/skills/slice-tasks/SKILL.md +68 -0
  428. package/.qwen/skills/smoke-test/SKILL.md +257 -0
  429. package/.qwen/skills/spike-prototype/SKILL.md +95 -0
  430. package/.qwen/skills/stocktake-skills/SKILL.md +74 -0
  431. package/.qwen/skills/survey-context/SKILL.md +135 -0
  432. package/.qwen/skills/terse-mode/SKILL.md +42 -0
  433. package/.qwen/skills/trace-requirement/SKILL.md +69 -0
  434. package/.qwen/skills/using-bigpowers/SKILL.md +111 -0
  435. package/.qwen/skills/validate-contracts/SKILL.md +277 -0
  436. package/.qwen/skills/validate-fix/SKILL.md +147 -0
  437. package/.qwen/skills/verify-work/SKILL.md +191 -0
  438. package/.qwen/skills/visual-dashboard/SKILL.md +50 -0
  439. package/.qwen/skills/wire-ci/SKILL.md +374 -0
  440. package/.qwen/skills/wire-observability/SKILL.md +97 -0
  441. package/.qwen/skills/write-document/SKILL.md +255 -0
  442. package/.trae/skills/commit-message/SKILL.md +1 -1
  443. package/.trae/skills/craft-skill/SKILL.md +2 -2
  444. package/.trae/skills/define-success/SKILL.md +6 -59
  445. package/.trae/skills/deploy/SKILL.md +1 -1
  446. package/.trae/skills/elaborate-spec/SKILL.md +1 -1
  447. package/.trae/skills/evolve-skill/SKILL.md +1 -1
  448. package/.trae/skills/harden-vps/SKILL.md +63 -60
  449. package/.trae/skills/investigate-bug/SKILL.md +2 -2
  450. package/.trae/skills/orchestrate-project/SKILL.md +1 -1
  451. package/.trae/skills/plan-refactor/SKILL.md +2 -2
  452. package/.trae/skills/plan-release/SKILL.md +2 -2
  453. package/.trae/skills/plan-work/SKILL.md +1 -1
  454. package/.trae/skills/using-bigpowers/SKILL.md +2 -2
  455. package/.trae/skills/wire-ci/SKILL.md +11 -14
  456. package/.trae/skills/write-document/SKILL.md +1 -1
  457. package/.windsurf/rules/commit-message.md +1 -1
  458. package/.windsurf/rules/craft-skill.md +2 -2
  459. package/.windsurf/rules/define-success.md +6 -59
  460. package/.windsurf/rules/deploy.md +1 -1
  461. package/.windsurf/rules/elaborate-spec.md +1 -1
  462. package/.windsurf/rules/evolve-skill.md +1 -1
  463. package/.windsurf/rules/harden-vps.md +63 -60
  464. package/.windsurf/rules/investigate-bug.md +2 -2
  465. package/.windsurf/rules/orchestrate-project.md +1 -1
  466. package/.windsurf/rules/plan-refactor.md +2 -2
  467. package/.windsurf/rules/plan-release.md +2 -2
  468. package/.windsurf/rules/plan-work.md +1 -1
  469. package/.windsurf/rules/using-bigpowers.md +2 -2
  470. package/.windsurf/rules/wire-ci.md +11 -14
  471. package/.windsurf/rules/write-document.md +1 -1
  472. package/.zcode/skills/commit-message/SKILL.md +1 -1
  473. package/.zcode/skills/craft-skill/SKILL.md +2 -2
  474. package/.zcode/skills/define-success/SKILL.md +6 -59
  475. package/.zcode/skills/deploy/SKILL.md +1 -1
  476. package/.zcode/skills/elaborate-spec/SKILL.md +1 -1
  477. package/.zcode/skills/evolve-skill/SKILL.md +1 -1
  478. package/.zcode/skills/harden-vps/SKILL.md +63 -60
  479. package/.zcode/skills/investigate-bug/SKILL.md +2 -2
  480. package/.zcode/skills/orchestrate-project/SKILL.md +1 -1
  481. package/.zcode/skills/plan-refactor/SKILL.md +2 -2
  482. package/.zcode/skills/plan-release/SKILL.md +2 -2
  483. package/.zcode/skills/plan-work/SKILL.md +1 -1
  484. package/.zcode/skills/using-bigpowers/SKILL.md +2 -2
  485. package/.zcode/skills/wire-ci/SKILL.md +11 -14
  486. package/.zcode/skills/write-document/SKILL.md +1 -1
  487. package/CHANGELOG.md +14 -0
  488. package/SKILL-INDEX.md +2 -2
  489. package/package.json +1 -1
  490. package/scripts/adapters/agy.sh +3 -0
  491. package/scripts/adapters/continue.sh +3 -0
  492. package/scripts/adapters/cursor.sh +3 -0
  493. package/scripts/adapters/gemini.sh +5 -24
  494. package/scripts/adapters/mimo.sh +3 -0
  495. package/scripts/adapters/omp.sh +3 -0
  496. package/scripts/adapters/pi.sh +6 -3
  497. package/scripts/adapters/zcode.sh +3 -0
  498. package/scripts/adapters/zed.sh +3 -0
  499. package/scripts/check-skill-links.py +35 -0
  500. package/scripts/generate-workflow-diagrams.sh +102 -0
  501. package/scripts/golden-g13-test-orphans.sh +70 -0
  502. package/scripts/golden-g14-adapter-dispatch.sh +113 -0
  503. package/scripts/land-branch.sh +9 -3
  504. package/scripts/lib/__pycache__/link_utils.cpython-312.pyc +0 -0
  505. package/scripts/lib/__pycache__/srp_engine_links.cpython-312.pyc +0 -0
  506. package/scripts/lib/adapter-guard.sh +30 -0
  507. package/scripts/lib/golden-suite-gates.sh +28 -0
  508. package/scripts/lib/install-targets-b.sh +0 -8
  509. package/scripts/lib/sync-render.sh +0 -43
  510. package/scripts/lib/target-contracts.sh +37 -1
  511. package/scripts/targets.yaml +35 -13
  512. package/scripts/test-adapter-render.sh +116 -0
  513. package/scripts/test-adapters.sh +10 -3
  514. package/scripts/test-install-hub.sh +139 -0
  515. package/scripts/test-target-contracts.sh +73 -0
  516. package/scripts/tombstone-skill.sh +6 -0
  517. package/skills/commit-message/REFERENCE.md +1 -1
  518. package/skills/craft-skill/SKILL.md +2 -2
  519. package/skills/define-success/SKILL.md +7 -61
  520. package/skills/deploy/SKILL.md +1 -1
  521. package/skills/elaborate-spec/SKILL.md +1 -1
  522. package/skills/evolve-skill/REFERENCE.md +1 -1
  523. package/skills/harden-vps/REFERENCE.md +39 -36
  524. package/skills/harden-vps/SKILL.md +24 -24
  525. package/skills/investigate-bug/SKILL.md +2 -2
  526. package/skills/orchestrate-project/REFERENCE.md +1 -1
  527. package/skills/plan-refactor/SKILL.md +2 -2
  528. package/skills/plan-release/SKILL.md +2 -2
  529. package/skills/plan-work/SKILL.md +1 -1
  530. package/skills/security-review/fixtures/CWE-639-idor-negative.go +1 -1
  531. package/skills/security-review/fixtures/CWE-639-idor-positive.go +1 -1
  532. package/skills/using-bigpowers/SKILL.md +2 -2
  533. package/skills/wire-ci/REFERENCE.md +11 -14
  534. package/skills/write-document/REFERENCE.md +1 -1
  535. package/skills-lock.json +12 -12
  536. package/.fix_regex.sh +0 -16
  537. package/.hermes-verify-sed-fix.py +0 -53
  538. package/_test_e28s01.sh +0 -2
  539. package/audit-independent-unwaived-2026-07-06.md +0 -49
  540. package/hermes-verify-sed-fix.py +0 -30
  541. package/instructions +0 -1
  542. package/scripts/hermes-verify-e39s02.sh +0 -28
  543. package/scripts/test-agy-hub.sh +0 -60
  544. package/scripts/test-cline-adapter.sh +0 -55
  545. package/scripts/test-cline-hub.sh +0 -48
  546. package/scripts/test-codebuddy-adapter.sh +0 -63
  547. package/scripts/test-codebuddy-hub.sh +0 -49
  548. package/scripts/test-codex-adapter.sh +0 -63
  549. package/scripts/test-codex-hub.sh +0 -49
  550. package/scripts/test-copilot-adapter.sh +0 -47
  551. package/scripts/test-copilot-hub.sh +0 -43
  552. package/scripts/test-gemini-adapter.sh +0 -70
  553. package/scripts/test-gemini-hub.sh +0 -56
  554. package/scripts/test-hermes-adapter.sh +0 -85
  555. package/scripts/test-hermes-hub.sh +0 -52
  556. package/scripts/test-kilocode-adapter.sh +0 -55
  557. package/scripts/test-kilocode-hub.sh +0 -48
  558. package/scripts/test-mimo-hub.sh +0 -52
  559. package/scripts/test-opencode-adapter.sh +0 -47
  560. package/scripts/test-opencode-hub.sh +0 -43
  561. package/scripts/test-qwen-adapter.sh +0 -63
  562. package/scripts/test-qwen-hub.sh +0 -49
  563. package/scripts/test-trae-adapter.sh +0 -63
  564. package/scripts/test-trae-hub.sh +0 -49
  565. package/scripts/test-windsurf-adapter.sh +0 -63
  566. package/scripts/test-windsurf-hub.sh +0 -49
  567. package/scripts/test-zcode-hub.sh +0 -52
  568. package/test_figlet.py +0 -17
@@ -1,49 +0,0 @@
1
- # Independent Compliance Audit (Unwaived Mode)
2
-
3
- **Date**: 2026-07-06
4
- **Mode**: Strict (All waivers disabled)
5
- **Target**: `specs/verifications/features/`
6
- **Result**: GATE: FAIL
7
-
8
- ## Summary of Execution
9
- I executed the verification gates by temporarily bypassing `waivers.yaml` to run an independent compliance audit against the `bigpowers` principles and conventions without any exceptions. The `audit-compliance.sh` and `validate-doctrine.sh` scripts were successfully executed.
10
-
11
- ## Failed Verification Steps & Offending Scripts
12
-
13
- By disabling the waivers, I isolated **4 failing verification steps**. Below is the mapping of each failure to its offending files and corresponding `bigpowers` skills:
14
-
15
- ### 1. Unique Public Symbols (`grep` < 5 results)
16
- **Feature**: `akita.feature` (sourced from `conventions.feature`)
17
- - **Reason**: Duplicate function names across multiple files (e.g., `agent_dry_run`, `assign_tier`, `cleanup`, `emit_json`, `fail`, `parse_frontmatter`, `pass`, `show_help`, `usage`).
18
- - **Affected Core/Skills**: Common shared scripts and lifecycle utilities.
19
-
20
- ### 2. Context Window Constraint (< 300 lines)
21
- **Feature**: `akita.feature`
22
- - **Reason**: Scripts exceeding the 300-line limit for agent context windows.
23
- - **Offending Files**:
24
- - `scripts/sync-skills.sh` (Mapped to: `craft-skill`, `evolve-skill`, `maintain-wiki`)
25
- - `scripts/migrate-version.sh` (Mapped to: `migrate-spec`)
26
- - `scripts/run-verification-gates.sh` (Core harness)
27
- - `scripts/validate-okf.sh` (Core harness)
28
- - `scripts/audit-compliance.sh` (Core harness / `audit-code`)
29
- - `scripts/run-golden-suite.sh` (Core harness)
30
- - `scripts/lib/trace-matrix.py` (Mapped to: `gate-trace`)
31
- - `scripts/lib/trace-stories.py` (Mapped to: `trace-requirement`)
32
-
33
- ### 3. Newspaper Metaphor (< 500 lines)
34
- **Feature**: `cleancode.feature`
35
- - **Reason**: Critical scripts exceeding the absolute 500-line hard cap.
36
- - **Offending Files**:
37
- - `scripts/sync-skills.sh` (Mapped to: `craft-skill`, `evolve-skill`)
38
- - `scripts/migrate-version.sh` (Mapped to: `migrate-spec`)
39
- - `scripts/lib/trace-matrix.py` (Mapped to: `gate-trace`)
40
-
41
- ### 4. Boolean Encapsulation (G28)
42
- **Feature**: `cleancode.feature`
43
- - **Reason**: Complex, multi-clause bash conditional logic not encapsulated in named functions.
44
- - **Offending Files**:
45
- - `scripts/migrate-version.sh` (Mapped to: `migrate-spec`)
46
- - `scripts/check-spec-version-gap.sh` (Mapped to: `plan-release`)
47
-
48
- ## Restoration
49
- After the test run concluded, the original `waivers.yaml` was restored to preserve environment integrity. No actual code modifications were made.
@@ -1,30 +0,0 @@
1
- import subprocess
2
- names=["kickoff-branch","develop-tdd","wire-observability","hook-commits","request-review","dispatch-agents","investigate-bug","define-language","assess-impact","guard-git","smoke-test","respond-review","enforce-first"]
3
- errs=0
4
- print("=== 1. Old sed vs new python3 ===")
5
- for name in names:
6
- old=subprocess.run(["sed","-E",r"s/-/ /g; s/\b(.)/\U\1/g"],input=name,capture_output=True,text=True).stdout.strip()
7
- new=name.replace("-"," ").title()
8
- if old!=new:
9
- print(f" BROKEN: {name:22s} old={old!r:22s} new={new!r}")
10
- errs+=1
11
- print(f" {errs}/13 broken")
12
- print("\n=== 2. Generated files ===")
13
- ok=0
14
- for name in ["kickoff-branch","develop-tdd","wire-observability","dispatch-agents","guard-git"]:
15
- path=f"specs/skills-wiki/skills/{name}.md"
16
- expected="title: \\"%s\\""%name.replace("-"," ").title()
17
- actual="MISSING"
18
- try:
19
- with open(path) as f:
20
- for line in f:
21
- if line.startswith("title:"):actual=line.strip();break
22
- except:pass
23
- match="OK" if actual==expected else "MISMATCH"
24
- if match=="OK":ok+=1
25
- print(f" {match:8s} {name}")
26
- print(f" {ok}/5 ok")
27
- print("\n=== 3. validate-okf ===")
28
- r=subprocess.run(["bash","scripts/validate-okf.sh","--dir","specs/skills-wiki/skills"],capture_output=True,text=True)
29
- print(f" exit={r.returncode} pass_lines={r.stdout.count(chr(80)+chr(65)+chr(83)+chr(83))}")
30
- print(f"\nVERDICT: {errs}/13 sed bug, {ok}/5 outputs correct, validate-okf exit={r.returncode}")
package/instructions DELETED
@@ -1 +0,0 @@
1
- AGENTS.md: AGENTS.md
@@ -1,28 +0,0 @@
1
- #!/bin/bash
2
- # Ad-hoc verification: e39s02 agent-locks protocol
3
- REPO="/Users/danielvm/Developer/bigpowers"
4
- ERR=0
5
- echo "=== e39s02 agent-locks verification ==="
6
-
7
- echo -n "1. agent-locks.yaml: "
8
- test -f "$REPO/specs/agent-locks.yaml" || { echo "MISSING"; ERR=1; }
9
- LOCKS=$(yq '.locks | length' "$REPO/specs/agent-locks.yaml" 2>/dev/null)
10
- [ "$LOCKS" = "0" ] && echo "OK (0 locks)" || { echo "FAIL ($LOCKS)"; ERR=1; }
11
-
12
- echo -n "2. kickoff-branch: "
13
- grep -q 'agent-locks' "$REPO/skills/kickoff-branch/SKILL.md" && echo "OK" || { echo "FAIL"; ERR=1; }
14
-
15
- echo -n "3. release-branch: "
16
- grep -q 'agent-locks' "$REPO/skills/release-branch/SKILL.md" && echo "OK" || { echo "FAIL"; ERR=1; }
17
-
18
- echo -n "4. CI workflow: "
19
- grep -rq 'agent-locks' "$REPO/.github/workflows/" && echo "OK" || { echo "FAIL"; ERR=1; }
20
- echo -n " 24h threshold: "
21
- grep -q 'timedelta(hours=24)' "$REPO/.github/workflows/agent-locks.yml" && echo "OK" || { echo "FAIL"; ERR=1; }
22
- echo -n " exit(1): "
23
- grep -q 'sys.exit(1)' "$REPO/.github/workflows/agent-locks.yml" && echo "OK" || { echo "FAIL"; ERR=1; }
24
- echo -n " hourly cron: "
25
- grep -q 'cron: "0 \* \* \* \*"' "$REPO/.github/workflows/agent-locks.yml" && echo "OK" || { echo "FAIL"; ERR=1; }
26
-
27
- [ $ERR -eq 0 ] && echo "ALL CHECKS PASSED" || echo "SOME FAILED"
28
- exit $ERR
@@ -1,60 +0,0 @@
1
- #!/usr/bin/env bash
2
- # story: e74s02
3
- # Regression tests for Antigravity CLI install hub wiring (Wave B).
4
- set -euo pipefail
5
-
6
- REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
7
- PASS=0
8
- FAIL=0
9
-
10
- pass() { echo "PASS: $1"; PASS=$((PASS + 1)); }
11
- fail() { echo "FAIL: $1" >&2; FAIL=$((FAIL + 1)); }
12
-
13
- echo "=== test-agy-hub.sh ==="
14
-
15
- INSTALL_SH="$REPO_ROOT/scripts/install.sh"
16
- source "$REPO_ROOT/scripts/lib/install-grep.sh"
17
- HELPERS_JS="$REPO_ROOT/scripts/lib/install-helpers.js"
18
- SETUP_JS="$REPO_ROOT/bin/setup.js"
19
- TARGETS_YAML="$REPO_ROOT/scripts/targets.yaml"
20
-
21
- install_grep -q 'install_agy()' && pass 'install.sh: install_agy()' || fail 'install.sh: missing install_agy()'
22
- install_grep -q 'install_antigravity()' && pass 'install.sh: install_antigravity alias' || fail 'install.sh: missing install_antigravity()'
23
- install_grep -q 'uninstall_agy()' && pass 'install.sh: uninstall_agy()' || fail 'install.sh: missing uninstall_agy()'
24
- install_grep -q 'uninstall_antigravity()' && pass 'install.sh: uninstall_antigravity alias' || fail 'install.sh: missing uninstall_antigravity()'
25
- install_grep -q 'AGY_SKILLS_DIR=' && pass 'install.sh: AGY_SKILLS_DIR' || fail 'install.sh: missing AGY_SKILLS_DIR'
26
- install_grep -q 'antigravity-cli/skills' && pass 'install.sh: antigravity-cli path' || fail 'install.sh: missing antigravity-cli path'
27
- install_grep -q 'install_agy' && install_grep -q 'uninstall_agy' && pass 'install.sh: dispatch wired' || fail 'install.sh: dispatch missing agy'
28
- ! grep -q '\.gemini/extensions/bigpowers' <<< "$(sed -n '/install_agy/,/^}/p' "$INSTALL_SH")" \
29
- && pass 'install.sh: no gemini extension path' || fail 'install.sh: touches gemini extension path'
30
-
31
- DRY_OUT="$(bash "$INSTALL_SH" --dry-run 2>&1)"
32
- grep -q 'Antigravity CLI →' <<< "$DRY_OUT" && pass 'dry-run: Antigravity CLI section' || fail 'dry-run: missing Antigravity CLI section'
33
- DRY_UNINSTALL="$(bash "$INSTALL_SH" --dry-run --uninstall 2>&1)"
34
- grep -q 'Antigravity CLI →' <<< "$DRY_UNINSTALL" && pass 'dry-run uninstall: Antigravity CLI section' || fail 'dry-run uninstall: missing Antigravity CLI section'
35
-
36
- grep -q "case 'antigravity'" "$HELPERS_JS" && pass 'install-helpers: antigravity case' || fail 'install-helpers: missing antigravity case'
37
- grep -q "case 'agy'" "$HELPERS_JS" && pass 'install-helpers: agy case' || fail 'install-helpers: missing agy case'
38
- grep -q "'antigravity-cli', 'skills'" "$HELPERS_JS" && pass 'install-helpers: antigravity-cli global path' || fail 'install-helpers: missing antigravity-cli path'
39
- grep -q "'\\.agents', 'skills'" "$HELPERS_JS" && pass 'install-helpers: .agents/skills local path' || fail 'install-helpers: missing .agents/skills path'
40
-
41
- SETUP_SRC="$(cat "$SETUP_JS")"
42
- echo "$SETUP_SRC" | grep -q "SUPPORTED_IDS = new Set" && pass 'setup.js: SUPPORTED_IDS set' || fail 'setup.js: missing SUPPORTED_IDS'
43
- echo "$SETUP_SRC" | grep -q "'antigravity'" && pass 'setup.js: antigravity in TOOLS/SUPPORTED_IDS' || fail 'setup.js: antigravity missing'
44
- echo "$SETUP_SRC" | grep -q "'agy'" && pass 'setup.js: agy in SUPPORTED_IDS' || fail 'setup.js: agy missing from SUPPORTED_IDS'
45
- echo "$SETUP_SRC" | grep -q 'antigravity-cli/skills' <<< "$DRY_OUT" && pass 'setup.js: antigravity-cli global path' || fail 'setup.js: wrong antigravity global path'
46
- echo "$SETUP_SRC" | grep -q "'\\.agents/skills'" && pass 'setup.js: .agents/skills local path' || fail 'setup.js: wrong antigravity local path'
47
-
48
- grep -q 'id: agy' "$TARGETS_YAML" && pass 'targets.yaml: agy row' || fail 'targets.yaml: missing agy row'
49
- grep -q 'adapter: agy' "$TARGETS_YAML" && pass 'targets.yaml: agy adapter' || fail 'targets.yaml: missing agy adapter'
50
- grep -q 'output: .agents/skills' "$TARGETS_YAML" && pass 'targets.yaml: agy output path' || fail 'targets.yaml: missing agy output'
51
- grep -q 'agy_skills_nonempty' "$TARGETS_YAML" && pass 'targets.yaml: agy contract' || fail 'targets.yaml: missing agy contract'
52
-
53
- grep -q 'install_agy()' "$REPO_ROOT/scripts/verify-install.sh" && pass 'verify-install: install_agy assertion' || fail 'verify-install: missing install_agy assertion'
54
-
55
- bash -n "$INSTALL_SH" && pass 'bash -n install.sh' || fail 'bash -n install.sh'
56
- node --check "$HELPERS_JS" && pass 'node --check install-helpers.js' || fail 'node --check install-helpers.js'
57
- node --check "$SETUP_JS" && pass 'node --check setup.js' || fail 'node --check setup.js'
58
-
59
- echo "test-agy-hub: $PASS passed, $FAIL failed"
60
- [[ "$FAIL" -eq 0 ]] || exit 1
@@ -1,55 +0,0 @@
1
- #!/usr/bin/env bash
2
- # story: e66s01
3
- # scenario: SC-e66s01-P1-02
4
- # Regression tests for Cline adapter render + hook templates.
5
- set -euo pipefail
6
-
7
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
8
- REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
9
-
10
- PASS=0
11
- FAIL=0
12
-
13
- pass() { echo "PASS: $1"; PASS=$((PASS + 1)); }
14
- fail() { echo "FAIL: $1"; FAIL=$((FAIL + 1)); }
15
-
16
- echo "=== test-cline-adapter.sh ==="
17
-
18
- TMP=$(mktemp -d)
19
- trap 'rm -rf "$TMP"' EXIT
20
-
21
- if echo '{"name":"test-skill","description":"test desc","body":"test body"}' \
22
- | CLINE_SKILLS="$TMP" bash "$REPO_ROOT/scripts/adapters/cline.sh" \
23
- && [[ -f $TMP/test-skill/SKILL.md ]] \
24
- && grep -q 'name: test-skill' $TMP/test-skill/SKILL.md \
25
- && grep -q 'test body' $TMP/test-skill/SKILL.md; then
26
- pass "render_skill emits artifact from stdin SkillIR"
27
- else
28
- fail "render_skill emits artifact from stdin SkillIR"
29
- fi
30
-
31
- if ! echo '{"name":"../escape","description":"d","body":"b"}' \
32
- | CLINE_SKILLS="$TMP/bad" bash "$REPO_ROOT/scripts/adapters/cline.sh" 2>/dev/null; then
33
- pass "rejects path traversal in skill name"
34
- else
35
- fail "rejects path traversal in skill name"
36
- fi
37
-
38
- if [[ -f "$REPO_ROOT/scripts/hooks/cline/plugin/guard-git-plugin.ts" ]] \
39
- && [[ -f "$REPO_ROOT/scripts/hooks/cline/hooks-manifest.json" ]] \
40
- && grep -q 'registerHook' "$REPO_ROOT/scripts/hooks/cline/plugin/guard-git-plugin.ts"; then
41
- pass "plugin hook template present"
42
- else
43
- fail "plugin hook template present"
44
- fi
45
-
46
- ADAPTER_OUT=$(bash "$REPO_ROOT/scripts/test-adapters.sh" cline 2>&1 || true)
47
- if echo "$ADAPTER_OUT" | grep -q '0 failed'; then
48
- pass "test-adapters.sh cline"
49
- else
50
- fail "test-adapters.sh cline"
51
- echo "$ADAPTER_OUT"
52
- fi
53
-
54
- echo "test-cline-adapter: $PASS passed, $FAIL failed"
55
- [[ "$FAIL" -eq 0 ]] || exit 1
@@ -1,48 +0,0 @@
1
- #!/usr/bin/env bash
2
- # story: e66s02
3
- # Regression tests for Cline install hub wiring (Wave B).
4
- set -euo pipefail
5
-
6
- REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
7
- PASS=0
8
- FAIL=0
9
-
10
- pass() { echo "PASS: $1"; PASS=$((PASS + 1)); }
11
- fail() { echo "FAIL: $1" >&2; FAIL=$((FAIL + 1)); }
12
-
13
- echo "=== test-cline-hub.sh ==="
14
-
15
- INSTALL_SH="$REPO_ROOT/scripts/install.sh"
16
- source "$REPO_ROOT/scripts/lib/install-grep.sh"
17
- HELPERS_JS="$REPO_ROOT/scripts/lib/install-helpers.js"
18
- SETUP_JS="$REPO_ROOT/bin/setup.js"
19
- TARGETS_YAML="$REPO_ROOT/scripts/targets.yaml"
20
-
21
- install_grep -q 'install_cline()' && pass 'install.sh: install_cline()' || fail 'install.sh: missing install_cline()'
22
- install_grep -q 'uninstall_cline()' && pass 'install.sh: uninstall_cline()' || fail 'install.sh: missing uninstall_cline()'
23
- install_grep -q 'CLINE_SKILLS_DIR=' && pass 'install.sh: skills dir var' || fail 'install.sh: missing skills dir var'
24
- install_grep -q 'install_cline' && install_grep -q 'uninstall_cline' && pass 'install.sh: dispatch wired' || fail 'install.sh: dispatch missing cline'
25
-
26
- DRY_OUT="$(bash "$INSTALL_SH" --dry-run 2>&1)"
27
- grep -q 'Cline →' <<< "$DRY_OUT" && pass 'dry-run: Cline section' || fail 'dry-run: missing Cline section'
28
- DRY_UNINSTALL="$(bash "$INSTALL_SH" --dry-run --uninstall 2>&1)"
29
- grep -q 'Cline →' <<< "$DRY_UNINSTALL" && pass 'dry-run uninstall: Cline section' || fail 'dry-run uninstall: missing Cline section'
30
-
31
- grep -q "case 'cline'" "$HELPERS_JS" && pass 'install-helpers: cline case' || fail 'install-helpers: missing cline case'
32
- install_grep -q 'scripts/hooks/cline/plugin' && pass 'install.sh: plugin hook template' || fail 'install.sh: missing plugin template'
33
-
34
- SETUP_SRC="$(cat "$SETUP_JS")"
35
- echo "$SETUP_SRC" | grep -q "SUPPORTED_IDS = new Set" && pass 'setup.js: SUPPORTED_IDS set' || fail 'setup.js: missing SUPPORTED_IDS'
36
- grep -q "'cline'" <<< "$(sed -n "/SUPPORTED_IDS = new Set/,/);/p" "$SETUP_JS")" && pass 'setup.js: cline in SUPPORTED_IDS' || fail 'setup.js: cline not in SUPPORTED_IDS'
37
-
38
- grep -q 'id: cline' "$TARGETS_YAML" && pass 'targets.yaml: cline row' || fail 'targets.yaml: missing cline row'
39
- grep -q 'adapter: cline' "$TARGETS_YAML" && pass 'targets.yaml: cline adapter' || fail 'targets.yaml: missing cline adapter'
40
- grep -q 'cline_hooks_manifest' "$TARGETS_YAML" && pass 'targets.yaml: cline_hooks_manifest' || fail 'targets.yaml: missing cline_hooks_manifest'
41
- grep -q 'install_cline()' "$REPO_ROOT/scripts/verify-install.sh" && pass 'verify-install: install_cline assertion' || fail 'verify-install: missing install_cline assertion'
42
-
43
- bash -n "$INSTALL_SH" && pass 'bash -n install.sh' || fail 'bash -n install.sh'
44
- node --check "$HELPERS_JS" && pass 'node --check install-helpers.js' || fail 'node --check install-helpers.js'
45
- node --check "$SETUP_JS" && pass 'node --check setup.js' || fail 'node --check setup.js'
46
-
47
- echo "test-cline-hub: $PASS passed, $FAIL failed"
48
- [[ "$FAIL" -eq 0 ]] || exit 1
@@ -1,63 +0,0 @@
1
- #!/usr/bin/env bash
2
- # story: e72s01
3
- # scenario: SC-e72s01-P1-02
4
- # Regression tests for CodeBuddy adapter render + hook templates.
5
- set -euo pipefail
6
-
7
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
8
- REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
9
-
10
- PASS=0
11
- FAIL=0
12
-
13
- pass() { echo "PASS: $1"; PASS=$((PASS + 1)); }
14
- fail() { echo "FAIL: $1"; FAIL=$((FAIL + 1)); }
15
-
16
- echo "=== test-codebuddy-adapter.sh ==="
17
-
18
- TMP=$(mktemp -d)
19
- trap 'rm -rf "$TMP"' EXIT
20
-
21
- if echo '{"name":"test-skill","description":"test desc","body":"test body"}' \
22
- | CODEBUDDY_SKILLS="$TMP" bash "$REPO_ROOT/scripts/adapters/codebuddy.sh" \
23
- && [[ -f $TMP/test-skill/SKILL.md ]] \
24
- && grep -q 'name: test-skill' $TMP/test-skill/SKILL.md \
25
- && grep -q 'test body' $TMP/test-skill/SKILL.md; then
26
- pass "render_skill emits artifact from stdin SkillIR"
27
- else
28
- fail "render_skill emits artifact from stdin SkillIR"
29
- fi
30
-
31
- if ! echo '{"name":"../escape","description":"d","body":"b"}' \
32
- | CODEBUDDY_SKILLS="$TMP/bad" bash "$REPO_ROOT/scripts/adapters/codebuddy.sh" 2>/dev/null; then
33
- pass "rejects path traversal in skill name"
34
- else
35
- fail "rejects path traversal in skill name"
36
- fi
37
-
38
- if [[ -f "$REPO_ROOT/scripts/hooks/codebuddy/pre-tool-git-guard.sh" ]] \
39
- && [[ -f "$REPO_ROOT/scripts/hooks/codebuddy/hooks-manifest.json" ]] \
40
- && [[ -f "$REPO_ROOT/scripts/hooks/codebuddy/settings.example.json" ]]; then
41
- pass "hook template bundle present"
42
- else
43
- fail "hook template bundle present"
44
- fi
45
-
46
- BLOCK_OUT=$(echo '{"tool_input":{"command":"git push --force origin main"}}' \
47
- | bash "$REPO_ROOT/scripts/hooks/codebuddy/pre-tool-git-guard.sh")
48
- if echo "$BLOCK_OUT" | grep -q 'block'; then
49
- pass "pre-tool guard blocks dangerous command"
50
- else
51
- fail "pre-tool guard blocks dangerous command"
52
- fi
53
-
54
- ADAPTER_OUT=$(bash "$REPO_ROOT/scripts/test-adapters.sh" codebuddy 2>&1 || true)
55
- if echo "$ADAPTER_OUT" | grep -q '0 failed'; then
56
- pass "test-adapters.sh codebuddy"
57
- else
58
- fail "test-adapters.sh codebuddy"
59
- echo "$ADAPTER_OUT"
60
- fi
61
-
62
- echo "test-codebuddy-adapter: $PASS passed, $FAIL failed"
63
- [[ "$FAIL" -eq 0 ]] || exit 1
@@ -1,49 +0,0 @@
1
- #!/usr/bin/env bash
2
- # story: e72s02
3
- # Regression tests for CodeBuddy install hub wiring (Wave B).
4
- set -euo pipefail
5
-
6
- REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
7
- PASS=0
8
- FAIL=0
9
-
10
- pass() { echo "PASS: $1"; PASS=$((PASS + 1)); }
11
- fail() { echo "FAIL: $1" >&2; FAIL=$((FAIL + 1)); }
12
-
13
- echo "=== test-codebuddy-hub.sh ==="
14
-
15
- INSTALL_SH="$REPO_ROOT/scripts/install.sh"
16
- source "$REPO_ROOT/scripts/lib/install-grep.sh"
17
- HELPERS_JS="$REPO_ROOT/scripts/lib/install-helpers.js"
18
- SETUP_JS="$REPO_ROOT/bin/setup.js"
19
- TARGETS_YAML="$REPO_ROOT/scripts/targets.yaml"
20
-
21
- install_grep -q 'install_codebuddy()' && pass 'install.sh: install_codebuddy()' || fail 'install.sh: missing install_codebuddy()'
22
- install_grep -q 'uninstall_codebuddy()' && pass 'install.sh: uninstall_codebuddy()' || fail 'install.sh: missing uninstall_codebuddy()'
23
- install_grep -q 'CODEBUDDY_SKILLS_DIR=' && pass 'install.sh: skills dir var' || fail 'install.sh: missing skills dir var'
24
- install_grep -q 'install_codebuddy' && install_grep -q 'uninstall_codebuddy' && pass 'install.sh: dispatch wired' || fail 'install.sh: dispatch missing codebuddy'
25
-
26
- DRY_OUT="$(bash "$INSTALL_SH" --dry-run 2>&1)"
27
- grep -q 'CodeBuddy →' <<< "$DRY_OUT" && pass 'dry-run: CodeBuddy section' || fail 'dry-run: missing CodeBuddy section'
28
- DRY_UNINSTALL="$(bash "$INSTALL_SH" --dry-run --uninstall 2>&1)"
29
- grep -q 'CodeBuddy →' <<< "$DRY_UNINSTALL" && pass 'dry-run uninstall: CodeBuddy section' || fail 'dry-run uninstall: missing CodeBuddy section'
30
-
31
- grep -q "case 'codebuddy'" "$HELPERS_JS" && pass 'install-helpers: codebuddy case' || fail 'install-helpers: missing codebuddy case'
32
- install_grep -q 'CODEBUDDY_HOOK_SRC=' && pass 'install.sh: hook src' || fail 'install.sh: missing hook src'
33
- install_grep -q 'pre-tool-git-guard.sh' && pass 'install.sh: git-guard hook' || fail 'install.sh: missing git-guard hook'
34
-
35
- SETUP_SRC="$(cat "$SETUP_JS")"
36
- echo "$SETUP_SRC" | grep -q "SUPPORTED_IDS = new Set" && pass 'setup.js: SUPPORTED_IDS set' || fail 'setup.js: missing SUPPORTED_IDS'
37
- grep -q "'codebuddy'" <<< "$(sed -n "/SUPPORTED_IDS = new Set/,/);/p" "$SETUP_JS")" && pass 'setup.js: codebuddy in SUPPORTED_IDS' || fail 'setup.js: codebuddy not in SUPPORTED_IDS'
38
-
39
- grep -q 'id: codebuddy' "$TARGETS_YAML" && pass 'targets.yaml: codebuddy row' || fail 'targets.yaml: missing codebuddy row'
40
- grep -q 'adapter: codebuddy' "$TARGETS_YAML" && pass 'targets.yaml: codebuddy adapter' || fail 'targets.yaml: missing codebuddy adapter'
41
- grep -q 'codebuddy_hooks_manifest' "$TARGETS_YAML" && pass 'targets.yaml: codebuddy_hooks_manifest' || fail 'targets.yaml: missing codebuddy_hooks_manifest'
42
- grep -q 'install_codebuddy()' "$REPO_ROOT/scripts/verify-install.sh" && pass 'verify-install: install_codebuddy assertion' || fail 'verify-install: missing install_codebuddy assertion'
43
-
44
- bash -n "$INSTALL_SH" && pass 'bash -n install.sh' || fail 'bash -n install.sh'
45
- node --check "$HELPERS_JS" && pass 'node --check install-helpers.js' || fail 'node --check install-helpers.js'
46
- node --check "$SETUP_JS" && pass 'node --check setup.js' || fail 'node --check setup.js'
47
-
48
- echo "test-codebuddy-hub: $PASS passed, $FAIL failed"
49
- [[ "$FAIL" -eq 0 ]] || exit 1
@@ -1,63 +0,0 @@
1
- #!/usr/bin/env bash
2
- # story: e65s01
3
- # scenario: SC-e65s01-P1-02
4
- # Regression tests for Codex CLI adapter render + hook templates.
5
- set -euo pipefail
6
-
7
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
8
- REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
9
-
10
- PASS=0
11
- FAIL=0
12
-
13
- pass() { echo "PASS: $1"; PASS=$((PASS + 1)); }
14
- fail() { echo "FAIL: $1"; FAIL=$((FAIL + 1)); }
15
-
16
- echo "=== test-codex-adapter.sh ==="
17
-
18
- TMP=$(mktemp -d)
19
- trap 'rm -rf "$TMP"' EXIT
20
-
21
- if echo '{"name":"test-skill","description":"test desc","body":"test body"}' \
22
- | CODEX_SKILLS="$TMP" bash "$REPO_ROOT/scripts/adapters/codex.sh" \
23
- && [[ -f $TMP/test-skill/SKILL.md ]] \
24
- && grep -q 'name: test-skill' $TMP/test-skill/SKILL.md \
25
- && grep -q 'test body' $TMP/test-skill/SKILL.md; then
26
- pass "render_skill emits artifact from stdin SkillIR"
27
- else
28
- fail "render_skill emits artifact from stdin SkillIR"
29
- fi
30
-
31
- if ! echo '{"name":"../escape","description":"d","body":"b"}' \
32
- | CODEX_SKILLS="$TMP/bad" bash "$REPO_ROOT/scripts/adapters/codex.sh" 2>/dev/null; then
33
- pass "rejects path traversal in skill name"
34
- else
35
- fail "rejects path traversal in skill name"
36
- fi
37
-
38
- if [[ -f "$REPO_ROOT/scripts/hooks/codex/pre-tool-git-guard.sh" ]] \
39
- && [[ -f "$REPO_ROOT/scripts/hooks/codex/hooks-manifest.json" ]] \
40
- && [[ -f "$REPO_ROOT/scripts/hooks/codex/settings.example.json" ]]; then
41
- pass "hook template bundle present"
42
- else
43
- fail "hook template bundle present"
44
- fi
45
-
46
- BLOCK_OUT=$(echo '{"tool_input":{"command":"git push --force origin main"}}' \
47
- | bash "$REPO_ROOT/scripts/hooks/codex/pre-tool-git-guard.sh")
48
- if echo "$BLOCK_OUT" | grep -q 'block'; then
49
- pass "pre-tool guard blocks dangerous command"
50
- else
51
- fail "pre-tool guard blocks dangerous command"
52
- fi
53
-
54
- ADAPTER_OUT=$(bash "$REPO_ROOT/scripts/test-adapters.sh" codex 2>&1 || true)
55
- if echo "$ADAPTER_OUT" | grep -q '0 failed'; then
56
- pass "test-adapters.sh codex"
57
- else
58
- fail "test-adapters.sh codex"
59
- echo "$ADAPTER_OUT"
60
- fi
61
-
62
- echo "test-codex-adapter: $PASS passed, $FAIL failed"
63
- [[ "$FAIL" -eq 0 ]] || exit 1
@@ -1,49 +0,0 @@
1
- #!/usr/bin/env bash
2
- # story: e65s02
3
- # Regression tests for Codex CLI install hub wiring (Wave B).
4
- set -euo pipefail
5
-
6
- REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
7
- PASS=0
8
- FAIL=0
9
-
10
- pass() { echo "PASS: $1"; PASS=$((PASS + 1)); }
11
- fail() { echo "FAIL: $1" >&2; FAIL=$((FAIL + 1)); }
12
-
13
- echo "=== test-codex-hub.sh ==="
14
-
15
- INSTALL_SH="$REPO_ROOT/scripts/install.sh"
16
- source "$REPO_ROOT/scripts/lib/install-grep.sh"
17
- HELPERS_JS="$REPO_ROOT/scripts/lib/install-helpers.js"
18
- SETUP_JS="$REPO_ROOT/bin/setup.js"
19
- TARGETS_YAML="$REPO_ROOT/scripts/targets.yaml"
20
-
21
- install_grep -q 'install_codex()' && pass 'install.sh: install_codex()' || fail 'install.sh: missing install_codex()'
22
- install_grep -q 'uninstall_codex()' && pass 'install.sh: uninstall_codex()' || fail 'install.sh: missing uninstall_codex()'
23
- install_grep -q 'CODEX_SKILLS_DIR=' && pass 'install.sh: skills dir var' || fail 'install.sh: missing skills dir var'
24
- install_grep -q 'install_codex' && install_grep -q 'uninstall_codex' && pass 'install.sh: dispatch wired' || fail 'install.sh: dispatch missing codex'
25
-
26
- DRY_OUT="$(bash "$INSTALL_SH" --dry-run 2>&1)"
27
- grep -q 'Codex CLI →' <<< "$DRY_OUT" && pass 'dry-run: Codex CLI section' || fail 'dry-run: missing Codex CLI section'
28
- DRY_UNINSTALL="$(bash "$INSTALL_SH" --dry-run --uninstall 2>&1)"
29
- grep -q 'Codex CLI →' <<< "$DRY_UNINSTALL" && pass 'dry-run uninstall: Codex CLI section' || fail 'dry-run uninstall: missing Codex CLI section'
30
-
31
- grep -q "case 'codex'" "$HELPERS_JS" && pass 'install-helpers: codex case' || fail 'install-helpers: missing codex case'
32
- install_grep -q 'CODEX_HOOK_SRC=' && pass 'install.sh: hook src' || fail 'install.sh: missing hook src'
33
- install_grep -q 'pre-tool-git-guard.sh' && pass 'install.sh: git-guard hook' || fail 'install.sh: missing git-guard hook'
34
-
35
- SETUP_SRC="$(cat "$SETUP_JS")"
36
- echo "$SETUP_SRC" | grep -q "SUPPORTED_IDS = new Set" && pass 'setup.js: SUPPORTED_IDS set' || fail 'setup.js: missing SUPPORTED_IDS'
37
- grep -q "'codex'" <<< "$(sed -n "/SUPPORTED_IDS = new Set/,/);/p" "$SETUP_JS")" && pass 'setup.js: codex in SUPPORTED_IDS' || fail 'setup.js: codex not in SUPPORTED_IDS'
38
-
39
- grep -q 'id: codex' "$TARGETS_YAML" && pass 'targets.yaml: codex row' || fail 'targets.yaml: missing codex row'
40
- grep -q 'adapter: codex' "$TARGETS_YAML" && pass 'targets.yaml: codex adapter' || fail 'targets.yaml: missing codex adapter'
41
- grep -q 'codex_hooks_manifest' "$TARGETS_YAML" && pass 'targets.yaml: codex_hooks_manifest' || fail 'targets.yaml: missing codex_hooks_manifest'
42
- grep -q 'install_codex()' "$REPO_ROOT/scripts/verify-install.sh" && pass 'verify-install: install_codex assertion' || fail 'verify-install: missing install_codex assertion'
43
-
44
- bash -n "$INSTALL_SH" && pass 'bash -n install.sh' || fail 'bash -n install.sh'
45
- node --check "$HELPERS_JS" && pass 'node --check install-helpers.js' || fail 'node --check install-helpers.js'
46
- node --check "$SETUP_JS" && pass 'node --check setup.js' || fail 'node --check setup.js'
47
-
48
- echo "test-codex-hub: $PASS passed, $FAIL failed"
49
- [[ "$FAIL" -eq 0 ]] || exit 1
@@ -1,47 +0,0 @@
1
- #!/usr/bin/env bash
2
- # story: e71s01
3
- # scenario: SC-e71s01-P1-02
4
- # Regression tests for Copilot CLI adapter render + hook templates.
5
- set -euo pipefail
6
-
7
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
8
- REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
9
-
10
- PASS=0
11
- FAIL=0
12
-
13
- pass() { echo "PASS: $1"; PASS=$((PASS + 1)); }
14
- fail() { echo "FAIL: $1"; FAIL=$((FAIL + 1)); }
15
-
16
- echo "=== test-copilot-adapter.sh ==="
17
-
18
- TMP=$(mktemp -d)
19
- trap 'rm -rf "$TMP"' EXIT
20
-
21
- if echo '{"name":"test-skill","description":"test desc","body":"test body"}' \
22
- | COPILOT_SKILLS="$TMP" bash "$REPO_ROOT/scripts/adapters/copilot.sh" \
23
- && [[ -f $TMP/test-skill/SKILL.md ]] \
24
- && grep -q 'name: test-skill' $TMP/test-skill/SKILL.md \
25
- && grep -q 'test body' $TMP/test-skill/SKILL.md; then
26
- pass "render_skill emits artifact from stdin SkillIR"
27
- else
28
- fail "render_skill emits artifact from stdin SkillIR"
29
- fi
30
-
31
- if ! echo '{"name":"../escape","description":"d","body":"b"}' \
32
- | COPILOT_SKILLS="$TMP/bad" bash "$REPO_ROOT/scripts/adapters/copilot.sh" 2>/dev/null; then
33
- pass "rejects path traversal in skill name"
34
- else
35
- fail "rejects path traversal in skill name"
36
- fi
37
-
38
- ADAPTER_OUT=$(bash "$REPO_ROOT/scripts/test-adapters.sh" copilot 2>&1 || true)
39
- if echo "$ADAPTER_OUT" | grep -q '0 failed'; then
40
- pass "test-adapters.sh copilot"
41
- else
42
- fail "test-adapters.sh copilot"
43
- echo "$ADAPTER_OUT"
44
- fi
45
-
46
- echo "test-copilot-adapter: $PASS passed, $FAIL failed"
47
- [[ "$FAIL" -eq 0 ]] || exit 1
@@ -1,43 +0,0 @@
1
- #!/usr/bin/env bash
2
- # story: e71s02
3
- # Regression tests for Copilot CLI install hub wiring (Wave B).
4
- set -euo pipefail
5
-
6
- REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
7
- PASS=0
8
- FAIL=0
9
-
10
- pass() { echo "PASS: $1"; PASS=$((PASS + 1)); }
11
- fail() { echo "FAIL: $1" >&2; FAIL=$((FAIL + 1)); }
12
-
13
- echo "=== test-copilot-hub.sh ==="
14
-
15
- INSTALL_SH="$REPO_ROOT/scripts/install.sh"
16
- source "$REPO_ROOT/scripts/lib/install-grep.sh"
17
- HELPERS_JS="$REPO_ROOT/scripts/lib/install-helpers.js"
18
- SETUP_JS="$REPO_ROOT/bin/setup.js"
19
- TARGETS_YAML="$REPO_ROOT/scripts/targets.yaml"
20
-
21
- install_grep -q 'install_copilot()' && pass 'install.sh: install_copilot()' || fail 'install.sh: missing install_copilot()'
22
- install_grep -q 'uninstall_copilot()' && pass 'install.sh: uninstall_copilot()' || fail 'install.sh: missing uninstall_copilot()'
23
- install_grep -q 'COPILOT_SKILLS_DIR=' && pass 'install.sh: skills dir var' || fail 'install.sh: missing skills dir var'
24
- install_grep -q 'install_copilot' && install_grep -q 'uninstall_copilot' && pass 'install.sh: dispatch wired' || fail 'install.sh: dispatch missing copilot'
25
-
26
- DRY_OUT="$(bash "$INSTALL_SH" --dry-run 2>&1)"
27
- grep -q 'Copilot CLI →' <<< "$DRY_OUT" && pass 'dry-run: Copilot CLI section' || fail 'dry-run: missing Copilot CLI section'
28
- DRY_UNINSTALL="$(bash "$INSTALL_SH" --dry-run --uninstall 2>&1)"
29
- grep -q 'Copilot CLI →' <<< "$DRY_UNINSTALL" && pass 'dry-run uninstall: Copilot CLI section' || fail 'dry-run uninstall: missing Copilot CLI section'
30
-
31
- grep -q "case 'copilot'" "$HELPERS_JS" && pass 'install-helpers: copilot case' || fail 'install-helpers: missing copilot case'
32
-
33
- SETUP_SRC="$(cat "$SETUP_JS")"
34
- echo "$SETUP_SRC" | grep -q "SUPPORTED_IDS = new Set" && pass 'setup.js: SUPPORTED_IDS set' || fail 'setup.js: missing SUPPORTED_IDS'
35
- grep -q "'copilot'" <<< "$(sed -n "/SUPPORTED_IDS = new Set/,/);/p" "$SETUP_JS")" && pass 'setup.js: copilot in SUPPORTED_IDS' || fail 'setup.js: copilot not in SUPPORTED_IDS'
36
-
37
-
38
- bash -n "$INSTALL_SH" && pass 'bash -n install.sh' || fail 'bash -n install.sh'
39
- node --check "$HELPERS_JS" && pass 'node --check install-helpers.js' || fail 'node --check install-helpers.js'
40
- node --check "$SETUP_JS" && pass 'node --check setup.js' || fail 'node --check setup.js'
41
-
42
- echo "test-copilot-hub: $PASS passed, $FAIL failed"
43
- [[ "$FAIL" -eq 0 ]] || exit 1