@agent-ix/quoin 0.22.5 → 0.24.1

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 (398) hide show
  1. package/README.md +8 -258
  2. package/bin/launcher.js +138 -0
  3. package/package.json +22 -119
  4. package/.agents/plugins/marketplace.json +0 -14
  5. package/.claude-plugin/marketplace.json +0 -16
  6. package/.claude-plugin/plugin.json +0 -8
  7. package/.codex-plugin/plugin.json +0 -27
  8. package/.github/plugin/marketplace.json +0 -16
  9. package/bin/quoin.js +0 -21
  10. package/default-modules.yaml +0 -107
  11. package/dist/advisor/advise.d.ts +0 -199
  12. package/dist/advisor/advise.d.ts.map +0 -1
  13. package/dist/advisor/index.d.ts +0 -10
  14. package/dist/advisor/index.d.ts.map +0 -1
  15. package/dist/advisor/methods.d.ts +0 -60
  16. package/dist/advisor/methods.d.ts.map +0 -1
  17. package/dist/advisor-BkgwDKvQ.js +0 -63
  18. package/dist/assurance/graph.d.ts +0 -87
  19. package/dist/assurance/graph.d.ts.map +0 -1
  20. package/dist/assurance/index.d.ts +0 -9
  21. package/dist/assurance/index.d.ts.map +0 -1
  22. package/dist/assurance/render.d.ts +0 -3
  23. package/dist/assurance/render.d.ts.map +0 -1
  24. package/dist/auditor/audit.d.ts +0 -146
  25. package/dist/auditor/audit.d.ts.map +0 -1
  26. package/dist/auditor/combinatorial.d.ts +0 -53
  27. package/dist/auditor/combinatorial.d.ts.map +0 -1
  28. package/dist/auditor/index.d.ts +0 -9
  29. package/dist/auditor/index.d.ts.map +0 -1
  30. package/dist/auditor-C3bSmPD_.js +0 -340
  31. package/dist/base-CqKNs2Kd.js +0 -137
  32. package/dist/base.d.ts +0 -23
  33. package/dist/base.d.ts.map +0 -1
  34. package/dist/catalog.d.ts +0 -33
  35. package/dist/catalog.d.ts.map +0 -1
  36. package/dist/cli.d.ts +0 -61
  37. package/dist/cli.d.ts.map +0 -1
  38. package/dist/cli.js +0 -34
  39. package/dist/commands/advise.d.ts +0 -16
  40. package/dist/commands/advise.d.ts.map +0 -1
  41. package/dist/commands/advise.js +0 -234
  42. package/dist/commands/assurance.d.ts +0 -14
  43. package/dist/commands/assurance.d.ts.map +0 -1
  44. package/dist/commands/assurance.js +0 -204
  45. package/dist/commands/catalog/index.d.ts +0 -2
  46. package/dist/commands/catalog/index.d.ts.map +0 -1
  47. package/dist/commands/catalog/index.js +0 -2
  48. package/dist/commands/catalog/list.d.ts +0 -11
  49. package/dist/commands/catalog/list.d.ts.map +0 -1
  50. package/dist/commands/catalog/list.js +0 -22
  51. package/dist/commands/catalog/methods.d.ts +0 -12
  52. package/dist/commands/catalog/methods.d.ts.map +0 -1
  53. package/dist/commands/catalog/methods.js +0 -43
  54. package/dist/commands/catalog/show.d.ts +0 -13
  55. package/dist/commands/catalog/show.d.ts.map +0 -1
  56. package/dist/commands/catalog/show.js +0 -25
  57. package/dist/commands/catalog/validate.d.ts +0 -10
  58. package/dist/commands/catalog/validate.d.ts.map +0 -1
  59. package/dist/commands/catalog/validate.js +0 -27
  60. package/dist/commands/completeness.d.ts +0 -16
  61. package/dist/commands/completeness.d.ts.map +0 -1
  62. package/dist/commands/completeness.js +0 -49
  63. package/dist/commands/config/doctor.d.ts +0 -7
  64. package/dist/commands/config/doctor.d.ts.map +0 -1
  65. package/dist/commands/config/doctor.js +0 -15
  66. package/dist/commands/config/edit.d.ts +0 -7
  67. package/dist/commands/config/edit.d.ts.map +0 -1
  68. package/dist/commands/config/edit.js +0 -13
  69. package/dist/commands/config/get.d.ts +0 -11
  70. package/dist/commands/config/get.d.ts.map +0 -1
  71. package/dist/commands/config/get.js +0 -20
  72. package/dist/commands/config/index.d.ts +0 -2
  73. package/dist/commands/config/index.d.ts.map +0 -1
  74. package/dist/commands/config/index.js +0 -2
  75. package/dist/commands/config/set.d.ts +0 -12
  76. package/dist/commands/config/set.d.ts.map +0 -1
  77. package/dist/commands/config/set.js +0 -26
  78. package/dist/commands/evidence/affirm.d.ts +0 -17
  79. package/dist/commands/evidence/affirm.d.ts.map +0 -1
  80. package/dist/commands/evidence/affirm.js +0 -65
  81. package/dist/commands/evidence/audit.d.ts +0 -34
  82. package/dist/commands/evidence/audit.d.ts.map +0 -1
  83. package/dist/commands/evidence/audit.js +0 -107
  84. package/dist/commands/evidence/baseline.d.ts +0 -14
  85. package/dist/commands/evidence/baseline.d.ts.map +0 -1
  86. package/dist/commands/evidence/baseline.js +0 -89
  87. package/dist/commands/evidence/gc.d.ts +0 -13
  88. package/dist/commands/evidence/gc.d.ts.map +0 -1
  89. package/dist/commands/evidence/gc.js +0 -35
  90. package/dist/commands/evidence/index.d.ts +0 -8
  91. package/dist/commands/evidence/index.d.ts.map +0 -1
  92. package/dist/commands/evidence/index.js +0 -18
  93. package/dist/commands/evidence/inspect-mocks.d.ts +0 -16
  94. package/dist/commands/evidence/inspect-mocks.d.ts.map +0 -1
  95. package/dist/commands/evidence/inspect-mocks.js +0 -49
  96. package/dist/commands/evidence/record.d.ts +0 -22
  97. package/dist/commands/evidence/record.d.ts.map +0 -1
  98. package/dist/commands/evidence/record.js +0 -140
  99. package/dist/commands/matrix.d.ts +0 -14
  100. package/dist/commands/matrix.d.ts.map +0 -1
  101. package/dist/commands/matrix.js +0 -15
  102. package/dist/commands/measurement/index.d.ts +0 -7
  103. package/dist/commands/measurement/index.d.ts.map +0 -1
  104. package/dist/commands/measurement/index.js +0 -11
  105. package/dist/commands/measurement/record.d.ts +0 -10
  106. package/dist/commands/measurement/record.d.ts.map +0 -1
  107. package/dist/commands/measurement/record.js +0 -35
  108. package/dist/commands/module/ensure-defaults.d.ts +0 -8
  109. package/dist/commands/module/ensure-defaults.d.ts.map +0 -1
  110. package/dist/commands/module/ensure-defaults.js +0 -17
  111. package/dist/commands/module/index.d.ts +0 -2
  112. package/dist/commands/module/index.d.ts.map +0 -1
  113. package/dist/commands/module/index.js +0 -2
  114. package/dist/commands/module/install.d.ts +0 -11
  115. package/dist/commands/module/install.d.ts.map +0 -1
  116. package/dist/commands/module/install.js +0 -22
  117. package/dist/commands/module/list.d.ts +0 -8
  118. package/dist/commands/module/list.d.ts.map +0 -1
  119. package/dist/commands/module/list.js +0 -13
  120. package/dist/commands/module/remove.d.ts +0 -10
  121. package/dist/commands/module/remove.d.ts.map +0 -1
  122. package/dist/commands/module/remove.js +0 -16
  123. package/dist/commands/plugin/deprecation.d.ts +0 -10
  124. package/dist/commands/plugin/deprecation.d.ts.map +0 -1
  125. package/dist/commands/plugin/ensure-defaults.d.ts +0 -8
  126. package/dist/commands/plugin/ensure-defaults.d.ts.map +0 -1
  127. package/dist/commands/plugin/ensure-defaults.js +0 -12
  128. package/dist/commands/plugin/index.d.ts +0 -2
  129. package/dist/commands/plugin/index.d.ts.map +0 -1
  130. package/dist/commands/plugin/index.js +0 -2
  131. package/dist/commands/plugin/install.d.ts +0 -8
  132. package/dist/commands/plugin/install.d.ts.map +0 -1
  133. package/dist/commands/plugin/install.js +0 -12
  134. package/dist/commands/plugin/list.d.ts +0 -8
  135. package/dist/commands/plugin/list.d.ts.map +0 -1
  136. package/dist/commands/plugin/list.js +0 -12
  137. package/dist/commands/plugin/remove.d.ts +0 -8
  138. package/dist/commands/plugin/remove.d.ts.map +0 -1
  139. package/dist/commands/plugin/remove.js +0 -12
  140. package/dist/commands/report.d.ts +0 -15
  141. package/dist/commands/report.d.ts.map +0 -1
  142. package/dist/commands/report.js +0 -70
  143. package/dist/commands/review.d.ts +0 -14
  144. package/dist/commands/review.d.ts.map +0 -1
  145. package/dist/commands/review.js +0 -15
  146. package/dist/commands/to-plan.d.ts +0 -14
  147. package/dist/commands/to-plan.d.ts.map +0 -1
  148. package/dist/commands/to-plan.js +0 -15
  149. package/dist/commands/update.d.ts +0 -13
  150. package/dist/commands/update.d.ts.map +0 -1
  151. package/dist/commands/update.js +0 -34
  152. package/dist/commands/validate.d.ts +0 -13
  153. package/dist/commands/validate.d.ts.map +0 -1
  154. package/dist/commands/validate.js +0 -123
  155. package/dist/commands/write.d.ts +0 -16
  156. package/dist/commands/write.d.ts.map +0 -1
  157. package/dist/commands/write.js +0 -33
  158. package/dist/completeness/assess.d.ts +0 -82
  159. package/dist/completeness/assess.d.ts.map +0 -1
  160. package/dist/completeness/bundle.d.ts +0 -52
  161. package/dist/completeness/bundle.d.ts.map +0 -1
  162. package/dist/completeness/declarations.d.ts +0 -46
  163. package/dist/completeness/declarations.d.ts.map +0 -1
  164. package/dist/completeness/index.d.ts +0 -11
  165. package/dist/completeness/index.d.ts.map +0 -1
  166. package/dist/completeness/run.d.ts +0 -35
  167. package/dist/completeness/run.d.ts.map +0 -1
  168. package/dist/completeness-DamWradt.js +0 -228
  169. package/dist/config-schema-Dp-vlxuR.js +0 -13
  170. package/dist/config-schema.d.ts +0 -52
  171. package/dist/config-schema.d.ts.map +0 -1
  172. package/dist/deprecation-fRxUHoxv.js +0 -4
  173. package/dist/evidence/adapters/agent-eval.d.ts +0 -26
  174. package/dist/evidence/adapters/agent-eval.d.ts.map +0 -1
  175. package/dist/evidence/adapters/audit-script.d.ts +0 -25
  176. package/dist/evidence/adapters/audit-script.d.ts.map +0 -1
  177. package/dist/evidence/adapters/cargo-mutants.d.ts +0 -3
  178. package/dist/evidence/adapters/cargo-mutants.d.ts.map +0 -1
  179. package/dist/evidence/adapters/junit.d.ts +0 -17
  180. package/dist/evidence/adapters/junit.d.ts.map +0 -1
  181. package/dist/evidence/adapters/registry.d.ts +0 -63
  182. package/dist/evidence/adapters/registry.d.ts.map +0 -1
  183. package/dist/evidence/adapters/sarif.d.ts +0 -35
  184. package/dist/evidence/adapters/sarif.d.ts.map +0 -1
  185. package/dist/evidence/adapters/sbom.d.ts +0 -35
  186. package/dist/evidence/adapters/sbom.d.ts.map +0 -1
  187. package/dist/evidence/adapters/types.d.ts +0 -55
  188. package/dist/evidence/adapters/types.d.ts.map +0 -1
  189. package/dist/evidence/index.d.ts +0 -24
  190. package/dist/evidence/index.d.ts.map +0 -1
  191. package/dist/evidence/mock-inspection.d.ts +0 -16
  192. package/dist/evidence/mock-inspection.d.ts.map +0 -1
  193. package/dist/evidence/record.d.ts +0 -58
  194. package/dist/evidence/record.d.ts.map +0 -1
  195. package/dist/evidence/store.d.ts +0 -215
  196. package/dist/evidence/store.d.ts.map +0 -1
  197. package/dist/evidence/types.d.ts +0 -281
  198. package/dist/evidence/types.d.ts.map +0 -1
  199. package/dist/evidence-DD0CHzJ0.js +0 -533
  200. package/dist/flow-command-BfFNY0Rv.js +0 -88
  201. package/dist/flow-command.d.ts +0 -25
  202. package/dist/flow-command.d.ts.map +0 -1
  203. package/dist/flows.d.ts +0 -7
  204. package/dist/flows.d.ts.map +0 -1
  205. package/dist/hooks/command-not-found.d.ts +0 -23
  206. package/dist/hooks/command-not-found.d.ts.map +0 -1
  207. package/dist/hooks/command-not-found.js +0 -8
  208. package/dist/index.d.ts +0 -12
  209. package/dist/index.d.ts.map +0 -1
  210. package/dist/index.js +0 -10
  211. package/dist/measurement/compare.d.ts +0 -4
  212. package/dist/measurement/compare.d.ts.map +0 -1
  213. package/dist/measurement/index.d.ts +0 -9
  214. package/dist/measurement/index.d.ts.map +0 -1
  215. package/dist/measurement/plans.d.ts +0 -4
  216. package/dist/measurement/plans.d.ts.map +0 -1
  217. package/dist/measurement/portfolio.d.ts +0 -48
  218. package/dist/measurement/portfolio.d.ts.map +0 -1
  219. package/dist/measurement/profiles.d.ts +0 -9
  220. package/dist/measurement/profiles.d.ts.map +0 -1
  221. package/dist/measurement/report.d.ts +0 -44
  222. package/dist/measurement/report.d.ts.map +0 -1
  223. package/dist/measurement/store.d.ts +0 -7
  224. package/dist/measurement/store.d.ts.map +0 -1
  225. package/dist/measurement/types.d.ts +0 -83
  226. package/dist/measurement/types.d.ts.map +0 -1
  227. package/dist/measurement/validate.d.ts +0 -9
  228. package/dist/measurement/validate.d.ts.map +0 -1
  229. package/dist/measurement-CzB74Q07.js +0 -595
  230. package/dist/modules-ez9httBA.js +0 -23
  231. package/dist/modules.d.ts +0 -10
  232. package/dist/modules.d.ts.map +0 -1
  233. package/dist/org.d.ts +0 -61
  234. package/dist/org.d.ts.map +0 -1
  235. package/dist/plugins-C-ta0llj.js +0 -77
  236. package/dist/plugins.d.ts +0 -13
  237. package/dist/plugins.d.ts.map +0 -1
  238. package/dist/quire/contract.d.ts +0 -87
  239. package/dist/quire/contract.d.ts.map +0 -1
  240. package/dist/quire/exec.d.ts +0 -66
  241. package/dist/quire/exec.d.ts.map +0 -1
  242. package/dist/quire/index.d.ts +0 -12
  243. package/dist/quire/index.d.ts.map +0 -1
  244. package/dist/quire/types.d.ts +0 -415
  245. package/dist/quire/types.d.ts.map +0 -1
  246. package/dist/quire/validate.d.ts +0 -34
  247. package/dist/quire/validate.d.ts.map +0 -1
  248. package/dist/quire-D8tCpgyA.js +0 -4961
  249. package/dist/schemas/coverage-v1.schema.json +0 -1111
  250. package/dist/schemas/properties-v1.schema.json +0 -159
  251. package/dist/store--2sAv12X.js +0 -219
  252. package/dist/validators/gates.d.ts +0 -18
  253. package/dist/validators/gates.d.ts.map +0 -1
  254. package/dist/validators/index.d.ts +0 -2
  255. package/dist/validators/index.d.ts.map +0 -1
  256. package/dist/version-Dg0e6CZU.js +0 -17
  257. package/dist/version.d.ts +0 -3
  258. package/dist/version.d.ts.map +0 -1
  259. package/dist/write-DElwS9xc.js +0 -157
  260. package/dist/write.d.ts +0 -28
  261. package/dist/write.d.ts.map +0 -1
  262. package/skills/assurance-status-report/SKILL.md +0 -135
  263. package/skills/assurance-status-report/references/report-contract.md +0 -110
  264. package/skills/gap-analysis/SKILL.md +0 -111
  265. package/skills/gap-analysis/references/step-1-target-selection.md +0 -53
  266. package/skills/gap-analysis/references/step-2-plan-completion.md +0 -49
  267. package/skills/gap-analysis/references/step-3-matrix-verification.md +0 -147
  268. package/skills/gap-analysis/references/step-4-underspecified-code.md +0 -63
  269. package/skills/gap-analysis/references/step-5-semantic-review.md +0 -51
  270. package/skills/gap-analysis/references/step-6-specreview-artifact.md +0 -107
  271. package/skills/spec-app-review/SKILL.md +0 -51
  272. package/skills/spec-app-review/references/checklist.md +0 -197
  273. package/skills/spec-architecture-evaluation/SKILL.md +0 -30
  274. package/skills/spec-correctness/SKILL.md +0 -96
  275. package/skills/spec-correctness/assets/strategy-table.md +0 -101
  276. package/skills/spec-correctness/assets/templates/fast-check.ts.md +0 -169
  277. package/skills/spec-correctness/assets/templates/hypothesis.py.md +0 -156
  278. package/skills/spec-correctness/assets/templates/proptest.rs.md +0 -147
  279. package/skills/spec-correctness/references/step-0-scope-and-harness.md +0 -94
  280. package/skills/spec-correctness/references/step-1-census.md +0 -53
  281. package/skills/spec-correctness/references/step-2-clause-grounding.md +0 -159
  282. package/skills/spec-correctness/references/step-3-strategy-selection.md +0 -85
  283. package/skills/spec-correctness/references/step-4-generate-tests.md +0 -117
  284. package/skills/spec-correctness/references/step-5-second-pass.md +0 -81
  285. package/skills/spec-correctness/references/step-6-review-artifact.md +0 -134
  286. package/skills/spec-correctness/references/step-7-report-and-handoff.md +0 -102
  287. package/skills/spec-dependency-analysis/SKILL.md +0 -90
  288. package/skills/spec-ears-analysis/SKILL.md +0 -102
  289. package/skills/spec-evidence-analysis/SKILL.md +0 -156
  290. package/skills/spec-failure-domain-analysis/SKILL.md +0 -59
  291. package/skills/spec-fuzz/SKILL.md +0 -132
  292. package/skills/spec-fuzz/assets/templates/atheris.py.md +0 -74
  293. package/skills/spec-fuzz/assets/templates/cargo-fuzz.rs.md +0 -83
  294. package/skills/spec-fuzz/assets/templates/fast-check.ts.md +0 -76
  295. package/skills/spec-fuzz/references/step-0-scope-and-harness.md +0 -51
  296. package/skills/spec-fuzz/references/step-1-select-obligations.md +0 -47
  297. package/skills/spec-fuzz/references/step-2-ground-entry-point.md +0 -55
  298. package/skills/spec-fuzz/references/step-3-emit-targets.md +0 -65
  299. package/skills/spec-fuzz/references/step-4-report.md +0 -56
  300. package/skills/spec-ideation/SKILL.md +0 -46
  301. package/skills/spec-integrity-analysis/SKILL.md +0 -62
  302. package/skills/spec-matrix/SKILL.md +0 -186
  303. package/skills/spec-matrix/assets/test-cases/TC-001.md +0 -35
  304. package/skills/spec-matrix/assets/test-cases/TC-002.md +0 -37
  305. package/skills/spec-matrix/assets/test-cases/TC-006.md +0 -50
  306. package/skills/spec-matrix/assets/test-matrix-example.md +0 -104
  307. package/skills/spec-matrix/assets/test-matrix-template.md +0 -123
  308. package/skills/spec-matrix/workflow-assets/dist/index.d.ts +0 -146
  309. package/skills/spec-matrix/workflow-assets/dist/index.d.ts.map +0 -1
  310. package/skills/spec-matrix/workflow-assets/dist/index.js +0 -7525
  311. package/skills/spec-matrix/workflow-assets/dist/invariants.d.ts +0 -6
  312. package/skills/spec-matrix/workflow-assets/dist/invariants.d.ts.map +0 -1
  313. package/skills/spec-matrix/workflow-assets/skills/matrix/SKILL.md +0 -35
  314. package/skills/spec-matrix/workflow-assets/skills/matrix/scripts/invariants.js +0 -1
  315. package/skills/spec-matrix/workflow-assets/skills/matrix/templates/report/default.md +0 -30
  316. package/skills/spec-matrix/workflow-assets/skills/matrix/workflows/matrix/def.yaml +0 -82
  317. package/skills/spec-object-review/SKILL.md +0 -125
  318. package/skills/spec-object-review/references/object-type-guide.md +0 -118
  319. package/skills/spec-review/SKILL.md +0 -92
  320. package/skills/spec-review/references/checklist.md +0 -50
  321. package/skills/spec-review/workflow-assets/dist/index.d.ts +0 -146
  322. package/skills/spec-review/workflow-assets/dist/index.d.ts.map +0 -1
  323. package/skills/spec-review/workflow-assets/dist/index.js +0 -7525
  324. package/skills/spec-review/workflow-assets/dist/invariants.d.ts +0 -6
  325. package/skills/spec-review/workflow-assets/dist/invariants.d.ts.map +0 -1
  326. package/skills/spec-review/workflow-assets/skills/review/SKILL.md +0 -96
  327. package/skills/spec-review/workflow-assets/skills/review/scripts/invariants.js +0 -61
  328. package/skills/spec-review/workflow-assets/skills/review/workflows/review/def.yaml +0 -68
  329. package/skills/spec-risk-complexity-analysis/SKILL.md +0 -92
  330. package/skills/spec-scope-boundary-analysis/SKILL.md +0 -101
  331. package/skills/spec-security-analysis/SKILL.md +0 -84
  332. package/skills/spec-security-analysis/assets/security-analysis-example.md +0 -89
  333. package/skills/spec-security-analysis/assets/security-analysis-template.md +0 -73
  334. package/skills/spec-security-analysis/references/component-type-mapping.md +0 -161
  335. package/skills/spec-security-analysis/references/gdpr/ChII-Principles.md +0 -58
  336. package/skills/spec-security-analysis/references/gdpr/ChIII-DataSubjectRights.md +0 -84
  337. package/skills/spec-security-analysis/references/gdpr/ChIV-ControllerProcessor.md +0 -83
  338. package/skills/spec-security-analysis/references/gdpr/ChV-DataTransfers.md +0 -62
  339. package/skills/spec-security-analysis/references/gdpr/index.md +0 -54
  340. package/skills/spec-security-analysis/references/iso27001/A5-OrganizationalControls.md +0 -64
  341. package/skills/spec-security-analysis/references/iso27001/A6-PeopleControls.md +0 -30
  342. package/skills/spec-security-analysis/references/iso27001/A7-PhysicalControls.md +0 -35
  343. package/skills/spec-security-analysis/references/iso27001/A8-TechnologicalControls.md +0 -66
  344. package/skills/spec-security-analysis/references/iso27001/index.md +0 -43
  345. package/skills/spec-security-analysis/references/nist-800-53/AC-AccessControl.md +0 -57
  346. package/skills/spec-security-analysis/references/nist-800-53/AU-AuditAccountability.md +0 -49
  347. package/skills/spec-security-analysis/references/nist-800-53/CM-ConfigurationManagement.md +0 -36
  348. package/skills/spec-security-analysis/references/nist-800-53/IA-IdentificationAuthentication.md +0 -44
  349. package/skills/spec-security-analysis/references/nist-800-53/SA-SystemServicesAcquisition.md +0 -50
  350. package/skills/spec-security-analysis/references/nist-800-53/SC-SystemCommunications.md +0 -53
  351. package/skills/spec-security-analysis/references/nist-800-53/SI-SystemInformationIntegrity.md +0 -52
  352. package/skills/spec-security-analysis/references/nist-800-53/index.md +0 -58
  353. package/skills/spec-security-analysis/references/owasp-asvs/V1-Architecture.md +0 -33
  354. package/skills/spec-security-analysis/references/owasp-asvs/V10-MaliciousCode.md +0 -33
  355. package/skills/spec-security-analysis/references/owasp-asvs/V11-BusinessLogic.md +0 -32
  356. package/skills/spec-security-analysis/references/owasp-asvs/V12-Files.md +0 -34
  357. package/skills/spec-security-analysis/references/owasp-asvs/V13-API.md +0 -34
  358. package/skills/spec-security-analysis/references/owasp-asvs/V14-Configuration.md +0 -35
  359. package/skills/spec-security-analysis/references/owasp-asvs/V2-Authentication.md +0 -36
  360. package/skills/spec-security-analysis/references/owasp-asvs/V3-SessionManagement.md +0 -35
  361. package/skills/spec-security-analysis/references/owasp-asvs/V4-AccessControl.md +0 -39
  362. package/skills/spec-security-analysis/references/owasp-asvs/V5-Validation.md +0 -37
  363. package/skills/spec-security-analysis/references/owasp-asvs/V6-Cryptography.md +0 -34
  364. package/skills/spec-security-analysis/references/owasp-asvs/V7-ErrorLogging.md +0 -37
  365. package/skills/spec-security-analysis/references/owasp-asvs/V8-DataProtection.md +0 -34
  366. package/skills/spec-security-analysis/references/owasp-asvs/V9-Communication.md +0 -32
  367. package/skills/spec-security-analysis/references/owasp-asvs/index.md +0 -59
  368. package/skills/spec-security-analysis/references/soc2/CC1-ControlEnvironment.md +0 -31
  369. package/skills/spec-security-analysis/references/soc2/CC2-CommunicationInformation.md +0 -27
  370. package/skills/spec-security-analysis/references/soc2/CC3-RiskAssessment.md +0 -29
  371. package/skills/spec-security-analysis/references/soc2/CC4-MonitoringActivities.md +0 -27
  372. package/skills/spec-security-analysis/references/soc2/CC5-ControlActivities.md +0 -28
  373. package/skills/spec-security-analysis/references/soc2/CC6-LogicalPhysicalAccess.md +0 -45
  374. package/skills/spec-security-analysis/references/soc2/CC7-SystemOperations.md +0 -42
  375. package/skills/spec-security-analysis/references/soc2/CC8-ChangeManagement.md +0 -32
  376. package/skills/spec-security-analysis/references/soc2/CC9-RiskMitigation.md +0 -34
  377. package/skills/spec-security-analysis/references/soc2/index.md +0 -46
  378. package/skills/spec-security-analysis/references/standards-index.md +0 -46
  379. package/skills/spec-to-plan/SKILL.md +0 -88
  380. package/skills/spec-to-plan/references/step-0-plan-selection.md +0 -121
  381. package/skills/spec-to-plan/references/step-1-analysis.md +0 -88
  382. package/skills/spec-to-plan/references/step-2-test-plan.md +0 -43
  383. package/skills/spec-to-plan/references/step-3-execution-plan.md +0 -218
  384. package/skills/spec-to-plan/workflow-assets/dist/index.d.ts +0 -146
  385. package/skills/spec-to-plan/workflow-assets/dist/index.d.ts.map +0 -1
  386. package/skills/spec-to-plan/workflow-assets/dist/index.js +0 -7525
  387. package/skills/spec-to-plan/workflow-assets/dist/invariants.d.ts +0 -6
  388. package/skills/spec-to-plan/workflow-assets/dist/invariants.d.ts.map +0 -1
  389. package/skills/spec-to-plan/workflow-assets/skills/to-plan/SKILL.md +0 -35
  390. package/skills/spec-to-plan/workflow-assets/skills/to-plan/scripts/invariants.js +0 -1
  391. package/skills/spec-to-plan/workflow-assets/skills/to-plan/templates/implementation-plan/default.md +0 -44
  392. package/skills/spec-to-plan/workflow-assets/skills/to-plan/workflows/to-plan/def.yaml +0 -85
  393. package/skills/specify/SKILL.md +0 -154
  394. package/skills/specify/assets/app-spec-template.md +0 -143
  395. package/skills/specify/assets/spec-template.md +0 -299
  396. package/skills/specify/references/integration-tests.md +0 -72
  397. package/skills/specify/references/us-to-fr.md +0 -40
  398. package/skills/specify/references/writing-good-requirements.md +0 -61
@@ -1,17 +0,0 @@
1
- import { QuoinCommand } from '../../base.js';
2
- export default class EvidenceAffirm extends QuoinCommand {
3
- static summary: string;
4
- static description: string;
5
- static examples: string[];
6
- static flags: {
7
- obligation: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
8
- who: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
9
- note: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
10
- commit: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
11
- repo: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
12
- module: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
13
- json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
14
- };
15
- run(): Promise<void>;
16
- }
17
- //# sourceMappingURL=affirm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"affirm.d.ts","sourceRoot":"","sources":["../../../src/commands/evidence/affirm.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAS7C,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,YAAY;IACtD,MAAM,CAAC,OAAO,SAC2D;IACzE,MAAM,CAAC,WAAW,SAWgD;IAElE,MAAM,CAAC,QAAQ,WAGb;IAEF,MAAM,CAAC,KAAK;;;;;;;;MAkBV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAmE3B"}
@@ -1,65 +0,0 @@
1
- import { i as e, n as t, o as n, t as r } from "../../quire-D8tCpgyA.js";
2
- import { t as i } from "../../base-CqKNs2Kd.js";
3
- import { _ as a, f as o, t as s } from "../../store--2sAv12X.js";
4
- import "../../evidence-DD0CHzJ0.js";
5
- import { Flags as c } from "@oclif/core";
6
- import { execFileSync as l } from "node:child_process";
7
- //#region src/commands/evidence/affirm.ts
8
- var u = class u extends i {
9
- static summary = "Re-affirm a binding after the statement it was made against changed.";
10
- static description = "A reworded acceptance criterion changes its content hash, which makes every\nbinding on it SUSPECT until somebody says the evidence still discharges the new\nwording. This is that act.\n\nAuto-bind, explicit affirmation: first discharge binds without asking, because\nrequiring a signature on something the evidence already proves puts a gate in\nfront of the common case and teaches people to click through it. Re-affirmation\nis the judgement call, so it stays explicit — and it is recorded with who, at\nwhich commit, and optionally why.\n\nRe-running the test does NOT clear suspicion. If it did, the suspect state would\nclear itself on the next CI run and the detector would never fire.";
11
- static examples = ["quoin evidence affirm --obligation FR-001-AC-1 --who @reviewer", "quoin evidence affirm --obligation NFR-006-M-2 --who @reviewer --note 'threshold widened deliberately'"];
12
- static flags = {
13
- obligation: c.string({
14
- description: "Obligation id whose binding is being re-affirmed.",
15
- required: !0
16
- }),
17
- who: c.string({
18
- description: "Who is affirming. Recorded verbatim.",
19
- required: !0
20
- }),
21
- note: c.string({ description: "Why the evidence still holds." }),
22
- commit: c.string({ description: "Commit of the affirmation. Defaults to HEAD." }),
23
- repo: c.string({
24
- description: "Repository root.",
25
- default: "."
26
- }),
27
- module: c.string({ description: "Module directory supplying the traceability model." }),
28
- json: c.boolean({ description: "Emit the outcome as JSON." })
29
- };
30
- async run() {
31
- let { flags: i } = await this.parse(u), c = n(r());
32
- c && this.error(c.message, { exit: 2 });
33
- let d = [
34
- "coverage",
35
- "--scope",
36
- i.repo,
37
- "--json"
38
- ];
39
- i.module && d.push("--module", i.module);
40
- let f = e(t(d));
41
- f.ok || this.error(f.error.message, { exit: 2 });
42
- let p = (f.value.obligations ?? []).find((e) => e.id === i.obligation);
43
- p || this.error(`no obligation \`${i.obligation}\` is derived from this spec today. Either the id is wrong, or the requirement it named is gone — in which case the binding should be removed rather than affirmed.`, { exit: 2 });
44
- let m = i.commit ?? l("git", [
45
- "-C",
46
- i.repo,
47
- "rev-parse",
48
- "HEAD"
49
- ], { encoding: "utf8" }).trim(), h = o(i.repo).bindings, { bindings: g, found: _ } = s(h, i.obligation, p.statement_hash, i.who, m, i.note);
50
- _ || this.error(`no binding exists for \`${i.obligation}\`, so there is nothing to affirm. A binding is created when a suite first discharges the obligation (\`quoin evidence record\`).`, { exit: 2 }), a(i.repo, { bindings: g });
51
- let v = {
52
- obligation: i.obligation,
53
- who: i.who,
54
- commit: m,
55
- statementHash: p.statement_hash
56
- };
57
- if (i.json) {
58
- this.log(JSON.stringify(v, null, 2));
59
- return;
60
- }
61
- this.log(`affirmed ${i.obligation} by ${i.who} at ${m.slice(0, 12)} (hash ${p.statement_hash.slice(0, 12)}…)`);
62
- }
63
- };
64
- //#endregion
65
- export { u as default };
@@ -1,34 +0,0 @@
1
- import { QuoinCommand } from '../../base.js';
2
- export default class EvidenceAudit extends QuoinCommand {
3
- static summary: string;
4
- static description: string;
5
- static examples: string[];
6
- static flags: {
7
- repo: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
8
- module: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
9
- ratchet: import('@oclif/core/interfaces').BooleanFlag<boolean>;
10
- strict: import('@oclif/core/interfaces').BooleanFlag<boolean>;
11
- json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
12
- "multiplicity-requires": import('@oclif/core/interfaces').OptionFlag<string[] | undefined, import('@oclif/core/interfaces').CustomOptions>;
13
- "mutation-floor": import('@oclif/core/interfaces').OptionFlag<string[] | undefined, import('@oclif/core/interfaces').CustomOptions>;
14
- };
15
- run(): Promise<void>;
16
- }
17
- /**
18
- * What `--ratchet` prints when there is no baseline to ratchet against.
19
- *
20
- * Named path, named remedy: the reader who hits this on day one has not
21
- * broken anything and has not introduced the backlog they are looking at —
22
- * they are one `quoin evidence baseline` away from the gate they asked for.
23
- */
24
- export declare function missingBaselineNotice(repo: string): string;
25
- /**
26
- * `--mutation-floor P0=0.8` → `{ P0: 0.8 }`.
27
- *
28
- * Rejected rather than ignored: a malformed entry means the operator asked for
29
- * a threshold and would otherwise get a clean report saying nothing was below
30
- * it. A floor that silently does not apply is worse than no floor, because it
31
- * reads as a passing gate.
32
- */
33
- export declare function parseMutationFloor(entries: string[] | undefined, fail: (message: string) => never): Record<string, number> | undefined;
34
- //# sourceMappingURL=audit.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"audit.d.ts","sourceRoot":"","sources":["../../../src/commands/evidence/audit.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAkB7C,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,YAAY;IACrD,MAAM,CAAC,OAAO,SACmD;IACjE,MAAM,CAAC,WAAW,SAiBuC;IAEzD,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;;;;;MA0BV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CA2F3B;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAM1D;AAuBD;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,MAAM,EAAE,GAAG,SAAS,EAC7B,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,KAAK,GAC/B,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAuBpC"}
@@ -1,107 +0,0 @@
1
- import { i as e, n as t, o as n, t as r } from "../../quire-D8tCpgyA.js";
2
- import { t as i } from "../../base-CqKNs2Kd.js";
3
- import { d as a, f as o, l as s, n as c, s as l } from "../../store--2sAv12X.js";
4
- import { t as u } from "../../advisor-BkgwDKvQ.js";
5
- import { r as d, t as f } from "../../auditor-C3bSmPD_.js";
6
- import { n as p } from "../../evidence-DD0CHzJ0.js";
7
- import { Flags as m } from "@oclif/core";
8
- import { execFileSync as h } from "node:child_process";
9
- //#region src/commands/evidence/audit.ts
10
- var g = class c extends i {
11
- static summary = "Audit the evidence store: suspect links, staleness, vacuity.";
12
- static description = "Reads the store and reports. RUNS NOTHING (ADR-0011 invariant 1) — the\nconsumer's CI refreshes evidence, and an auditor that could re-run a suite could\nalso make a finding disappear by re-running it.\n\nChecks:\n suspect-link the statement changed after the evidence was bound\n stale-evidence bound to a missing run, or to a run behind HEAD\n vacuous-evidence every bound symbol was skipped or absent from the run\n undischarged no evidence is bound at all\n method-conformance evidence of a kind the declared method does not produce\n unknown-method the declared method is in no catalog\n insufficient-multiplicity criticality demands two independent suites\n insufficient-mutation-score criticality demands a mutation score it misses\n unmeasured-mutation-score a demanded mutation score, with none recorded\n\n--ratchet compares against spec/evidence/baseline.json and fails only on NEW\nviolations. A gate that fails on the whole existing backlog gets disabled within\na week. Write that baseline with: quoin evidence baseline";
13
- static examples = [
14
- "quoin evidence audit",
15
- "quoin evidence audit --ratchet --strict",
16
- "quoin evidence audit --json"
17
- ];
18
- static flags = {
19
- repo: m.string({
20
- description: "Repository root.",
21
- default: "."
22
- }),
23
- module: m.string({ description: "Module directory supplying the traceability model." }),
24
- ratchet: m.boolean({ description: "Report only violations absent from the baseline." }),
25
- strict: m.boolean({ description: "Exit 1 when any reported finding remains." }),
26
- json: m.boolean({ description: "Emit the report as JSON." }),
27
- "multiplicity-requires": m.string({
28
- description: "Criticality values demanding two independent suites. Repeatable. Unset by default: no obligation source in the ecosystem declares a criticality column, so a built-in default could never fire.",
29
- multiple: !0
30
- }),
31
- "mutation-floor": m.string({
32
- description: "Minimum mutation score per criticality, as <criticality>=<0..1>. Repeatable. Unset by default, for the same reason as --multiplicity-requires: a built-in floor is a rule nobody chose.",
33
- multiple: !0
34
- })
35
- };
36
- async run() {
37
- let { flags: i } = await this.parse(c), m = n(r());
38
- m && this.error(m.message, { exit: 2 });
39
- let h = [
40
- "coverage",
41
- "--scope",
42
- i.repo,
43
- "--json"
44
- ];
45
- i.module && h.push("--module", i.module);
46
- let g = e(t(h));
47
- g.ok || this.error(g.error.message, { exit: 2 });
48
- let b = v(i.repo), x = p(i.repo, b), S = f({
49
- obligations: g.value.obligations ?? [],
50
- bindings: o(i.repo).bindings,
51
- runs: l(i.repo),
52
- scans: s(i.repo),
53
- injections: x.injections,
54
- mockInspectionSuites: x.suites,
55
- catalog: u(i.module ? [i.module] : void 0),
56
- headCommit: b,
57
- multiplicityRequires: i["multiplicity-requires"],
58
- mutationFloor: y(i["mutation-floor"], (e) => this.error(e, { exit: 2 }))
59
- }), C = i.ratchet ? a(i.repo) : null, w = C !== null, T = C ? d(S, C) : S.findings;
60
- if (i.ratchet && !w && !i.json && this.log(_(i.repo)), i.json) this.log(JSON.stringify({
61
- findings: T,
62
- healthy: S.healthy,
63
- unevaluated: S.unevaluated,
64
- ratchet: w
65
- }, null, 2));
66
- else if (T.length === 0 && S.unevaluated.length === 0) this.log(`${S.healthy.length} obligation(s) with healthy evidence; nothing to report`);
67
- else {
68
- for (let e of T) this.log(`[${e.severity}] ${e.kind}: ${e.summary}`);
69
- for (let e of S.unevaluated) this.log(`[not-evaluated] ${e.check}: ${e.obligation}: ${e.reason}`);
70
- this.log(""), this.log(`${T.length} finding(s), ${S.unevaluated.length} check(s) not evaluated, ${S.healthy.length} healthy` + (w ? " (new violations only)" : ""));
71
- }
72
- i.strict && (T.length > 0 || S.unevaluated.length > 0) && this.exit(1);
73
- }
74
- };
75
- function _(e) {
76
- return `--ratchet requested but ${c(e)} does not exist; reporting the full backlog, not new violations. Write the baseline with: quoin evidence baseline`;
77
- }
78
- function v(e) {
79
- try {
80
- return h("git", [
81
- "-C",
82
- e,
83
- "rev-parse",
84
- "HEAD"
85
- ], {
86
- encoding: "utf8",
87
- stdio: [
88
- "ignore",
89
- "pipe",
90
- "ignore"
91
- ]
92
- }).trim();
93
- } catch {
94
- return;
95
- }
96
- }
97
- function y(e, t) {
98
- if (!e || e.length === 0) return;
99
- let n = {};
100
- for (let r of e) {
101
- let [e, i] = r.split("="), a = Number(i);
102
- (!e || i === void 0 || Number.isNaN(a)) && t(`--mutation-floor expects <criticality>=<score>, got '${r}'. Example: --mutation-floor P0=0.8`), (a < 0 || a > 1) && t(`--mutation-floor score must be a ratio in [0, 1], got '${i}'. 80% is 0.8, not 80.`), n[e] = a;
103
- }
104
- return n;
105
- }
106
- //#endregion
107
- export { g as default, _ as missingBaselineNotice, y as parseMutationFloor };
@@ -1,14 +0,0 @@
1
- import { QuoinCommand } from '../../base.js';
2
- export default class EvidenceBaseline extends QuoinCommand {
3
- static summary: string;
4
- static description: string;
5
- static examples: string[];
6
- static flags: {
7
- repo: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
8
- module: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
9
- "dry-run": import('@oclif/core/interfaces').BooleanFlag<boolean>;
10
- json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
11
- };
12
- run(): Promise<void>;
13
- }
14
- //# sourceMappingURL=baseline.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"baseline.d.ts","sourceRoot":"","sources":["../../../src/commands/evidence/baseline.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAmB7C,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,YAAY;IACxD,MAAM,CAAC,OAAO,SAA0D;IACxE,MAAM,CAAC,WAAW,SAU8C;IAEhE,MAAM,CAAC,QAAQ,WAGb;IAEF,MAAM,CAAC,KAAK;;;;;MASV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAqD3B"}
@@ -1,89 +0,0 @@
1
- import { i as e, n as t, o as n, t as r } from "../../quire-D8tCpgyA.js";
2
- import { t as i } from "../../base-CqKNs2Kd.js";
3
- import { f as a, g as o, n as s, o as c, u as l } from "../../store--2sAv12X.js";
4
- import { t as u } from "../../advisor-BkgwDKvQ.js";
5
- import { n as d, t as f } from "../../auditor-C3bSmPD_.js";
6
- import { n as p } from "../../evidence-DD0CHzJ0.js";
7
- import { Flags as m } from "@oclif/core";
8
- import { execFileSync as h } from "node:child_process";
9
- //#region src/commands/evidence/baseline.ts
10
- var g = class c extends i {
11
- static summary = "Accept the current findings as the ratchet baseline.";
12
- static description = "Writes spec/evidence/baseline.json: every finding the audit reports right now,\nas <kind>:<obligation>, plus the commit it was accepted at.\n\n`--ratchet` reads this file and fails only on findings NOT in it. Without it,\na first run of the gate reports the entire existing backlog and gets switched\noff within a week — so accepting a baseline is the deliberate act that makes\nthe ratchet usable, and its diff is the record of what was accepted and by whom.\n\nRe-run this at a release to move the ratchet forward. Never run it to make a\nnew failure go away: the diff is reviewed, and a baseline that grows between\nreleases is the gate quietly being disabled one entry at a time.";
13
- static examples = ["quoin evidence baseline", "quoin evidence baseline --dry-run"];
14
- static flags = {
15
- repo: m.string({
16
- description: "Repository root.",
17
- default: "."
18
- }),
19
- module: m.string({ description: "Module directory supplying the traceability model." }),
20
- "dry-run": m.boolean({ description: "Print what would be accepted and write nothing." }),
21
- json: m.boolean({ description: "Emit the outcome as JSON." })
22
- };
23
- async run() {
24
- let { flags: i } = await this.parse(c), l = n(r());
25
- l && this.error(l.message, { exit: 2 });
26
- let m = [
27
- "coverage",
28
- "--scope",
29
- i.repo,
30
- "--json"
31
- ];
32
- i.module && m.push("--module", i.module);
33
- let h = e(t(m));
34
- h.ok || this.error(h.error.message, { exit: 2 });
35
- let g = v(i.repo), y = p(i.repo, g), b = f({
36
- obligations: h.value.obligations ?? [],
37
- bindings: a(i.repo).bindings,
38
- runs: _(i.repo),
39
- injections: y.injections,
40
- mockInspectionSuites: y.suites,
41
- catalog: u(i.module ? [i.module] : void 0),
42
- headCommit: g
43
- }).findings.map(d).sort(), x = g ?? "";
44
- if (i["dry-run"] || o(i.repo, {
45
- schemaVersion: 1,
46
- commit: x,
47
- accepted: b
48
- }), i.json) {
49
- this.log(JSON.stringify({
50
- accepted: b,
51
- commit: x,
52
- dryRun: !!i["dry-run"]
53
- }, null, 2));
54
- return;
55
- }
56
- let S = /* @__PURE__ */ new Map();
57
- for (let e of b) {
58
- let t = e.slice(0, e.indexOf(":"));
59
- S.set(t, (S.get(t) ?? 0) + 1);
60
- }
61
- this.log(`${i["dry-run"] ? "would accept" : "accepted"} ${b.length} finding(s) at ${x.slice(0, 12) || "an unknown commit"}`);
62
- for (let [e, t] of [...S].sort()) this.log(` ${e}: ${t}`);
63
- i["dry-run"] || this.log(s(i.repo));
64
- }
65
- };
66
- function _(e) {
67
- return l(e).map((t) => c(e, t)).filter((e) => e !== null);
68
- }
69
- function v(e) {
70
- try {
71
- return h("git", [
72
- "-C",
73
- e,
74
- "rev-parse",
75
- "HEAD"
76
- ], {
77
- encoding: "utf8",
78
- stdio: [
79
- "ignore",
80
- "pipe",
81
- "ignore"
82
- ]
83
- }).trim();
84
- } catch {
85
- return;
86
- }
87
- }
88
- //#endregion
89
- export { g as default };
@@ -1,13 +0,0 @@
1
- import { QuoinCommand } from '../../base.js';
2
- export default class EvidenceGc extends QuoinCommand {
3
- static summary: string;
4
- static description: string;
5
- static examples: string[];
6
- static flags: {
7
- repo: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
8
- "dry-run": import('@oclif/core/interfaces').BooleanFlag<boolean>;
9
- json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
10
- };
11
- run(): Promise<void>;
12
- }
13
- //# sourceMappingURL=gc.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"gc.d.ts","sourceRoot":"","sources":["../../../src/commands/evidence/gc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,YAAY;IAClD,MAAM,CAAC,OAAO,SAA0C;IACxD,MAAM,CAAC,WAAW,SAW4D;IAE9E,MAAM,CAAC,QAAQ,WAAwD;IAEvE,MAAM,CAAC,KAAK;;;;MAMV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAe3B"}
@@ -1,35 +0,0 @@
1
- import { t as e } from "../../base-CqKNs2Kd.js";
2
- import { a as t } from "../../store--2sAv12X.js";
3
- import "../../evidence-DD0CHzJ0.js";
4
- import { Flags as n } from "@oclif/core";
5
- //#region src/commands/evidence/gc.ts
6
- var r = class r extends e {
7
- static summary = "Drop run records nothing references.";
8
- static description = "Retention policy: the latest run per suite, plus anything a binding points at.\n\nDir-per-suite is what makes this local — a policy change for one expensive suite\n(mutation, DAST, fuzz) touches one directory, and a .gitignore decision can be\nmade per suite rather than for the whole store.\n\nTakes no --module, deliberately, though every sibling command does: --module\nsupplies the traceability model to quire, and gc never invokes quire and never\nloads a catalog. It is a repo-scoped store operation — it walks runs/ and\nscans/ under spec/evidence/ and decides from timestamps and bindings alone,\nnone of which carry catalog semantics. Should retention ever become\nmodule-policy-driven, the flag stops being a no-op and gets added then (#171).";
9
- static examples = ["quoin evidence gc --dry-run", "quoin evidence gc"];
10
- static flags = {
11
- repo: n.string({
12
- description: "Repository root.",
13
- default: "."
14
- }),
15
- "dry-run": n.boolean({ description: "List what would be deleted without deleting it." }),
16
- json: n.boolean({ description: "Emit the deleted paths as JSON." })
17
- };
18
- async run() {
19
- let { flags: e } = await this.parse(r), n = t(e.repo, e["dry-run"]);
20
- if (e.json) {
21
- this.log(JSON.stringify({
22
- deleted: n,
23
- dryRun: e["dry-run"]
24
- }, null, 2));
25
- return;
26
- }
27
- if (n.length === 0) {
28
- this.log("nothing to collect");
29
- return;
30
- }
31
- for (let t of n) this.log(`${e["dry-run"] ? "would delete" : "deleted"} ${t}`);
32
- }
33
- };
34
- //#endregion
35
- export { r as default };
@@ -1,8 +0,0 @@
1
- import { QuoinCommand } from '../../base.js';
2
- export default class Evidence extends QuoinCommand {
3
- static summary: string;
4
- static description: string;
5
- static examples: string[];
6
- run(): Promise<void>;
7
- }
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/evidence/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,YAAY;IAChD,MAAM,CAAC,OAAO,SAC2D;IACzE,MAAM,CAAC,WAAW,SAgB6C;IAE/D,MAAM,CAAC,QAAQ,WAMb;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAG3B"}
@@ -1,18 +0,0 @@
1
- import { t as e } from "../../base-CqKNs2Kd.js";
2
- //#region src/commands/evidence/index.ts
3
- var t = class t extends e {
4
- static summary = "The evidence store — what actually ran, and against which statement.";
5
- static description = "The artifact of record for verification (FR-030). quoin TRANSCRIBES; the\nconsumer's CI executes — nothing here runs a test.\n\nLayout, under spec/evidence/:\n\n suites.md authored suite registry (validated corpus document)\n inspections.md authored inspection acts (validated corpus document)\n bindings.json obligation -> hash-at-binding -> evidence\n baseline.json the accepted violation set the ratchet compares against\n runs/<SUITE-N>/<commit12>.json one file = one run of one suite\n\nSubcommands:\n quoin evidence record transcribe a suite run\n quoin evidence affirm re-affirm a binding after its statement changed\n quoin evidence audit read the store and report\n quoin evidence baseline accept the current findings as the ratchet baseline\n quoin evidence gc drop run records nothing references";
6
- static examples = [
7
- "quoin evidence record --suite SUITE-001 --commit $(git rev-parse HEAD) --tool 'cargo test' --results run.json",
8
- "quoin evidence affirm --obligation FR-001-AC-1 --who @reviewer",
9
- "quoin evidence audit --ratchet --strict",
10
- "quoin evidence baseline",
11
- "quoin evidence gc --dry-run"
12
- ];
13
- async run() {
14
- this.log(t.description);
15
- }
16
- };
17
- //#endregion
18
- export { t as default };
@@ -1,16 +0,0 @@
1
- import { QuoinCommand } from '../../base.js';
2
- export default class EvidenceInspectMocks extends QuoinCommand {
3
- static summary: string;
4
- static description: string;
5
- static examples: string[];
6
- static flags: {
7
- suite: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
8
- commit: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
9
- repo: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
10
- timestamp: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
11
- "dry-run": import('@oclif/core/interfaces').BooleanFlag<boolean>;
12
- json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
13
- };
14
- run(): Promise<void>;
15
- }
16
- //# sourceMappingURL=inspect-mocks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inspect-mocks.d.ts","sourceRoot":"","sources":["../../../src/commands/evidence/inspect-mocks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAQ7C,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,YAAY;IAC5D,MAAM,CAAC,OAAO,SACkD;IAChE,MAAM,CAAC,WAAW,SAMsD;IAExE,MAAM,CAAC,QAAQ,WAEb;IAEF,MAAM,CAAC,KAAK;;;;;;;MAiBV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CA+B3B"}
@@ -1,49 +0,0 @@
1
- import { t as e } from "../../version-Dg0e6CZU.js";
2
- import { t } from "../../base-CqKNs2Kd.js";
3
- import { v as n } from "../../store--2sAv12X.js";
4
- import { t as r } from "../../evidence-DD0CHzJ0.js";
5
- import { Flags as i } from "@oclif/core";
6
- //#region src/commands/evidence/inspect-mocks.ts
7
- var a = class a extends t {
8
- static summary = "Inspect test source and record explicit mock substitutions.";
9
- static description = "Scans source for explicit stand-in constructors used by test symbols and records\nthe observation for one suite at one commit. It runs no test and assigns no\nverdict: evidence audit independently decides whether an injected identifier\noverlaps the behaviour an obligation claims to verify.\n\nRecord an empty inspection too. That is how audit distinguishes \"looked and\nfound no relevant injections\" from \"nobody looked\" (agent-ix/quoin#204).";
10
- static examples = ["quoin evidence inspect-mocks --suite SUITE-001 --commit $(git rev-parse HEAD)"];
11
- static flags = {
12
- suite: i.string({
13
- description: "Suite id whose test source is being inspected.",
14
- required: !0
15
- }),
16
- commit: i.string({
17
- description: "Full commit sha whose source is being inspected.",
18
- required: !0
19
- }),
20
- repo: i.string({
21
- description: "Repository root.",
22
- default: "."
23
- }),
24
- timestamp: i.string({ description: "ISO-8601 inspection time. Defaults to now." }),
25
- "dry-run": i.boolean({ description: "Inspect and report without writing an observation record." }),
26
- json: i.boolean({ description: "Emit the record outcome as JSON." })
27
- };
28
- async run() {
29
- let { flags: t } = await this.parse(a), i = r(t.repo, t.suite), o = t["dry-run"] ? null : n(t.repo, {
30
- schemaVersion: 1,
31
- suite: t.suite,
32
- commit: t.commit,
33
- tool: `quoin mock-inspection ${e()}`,
34
- timestamp: t.timestamp ?? (/* @__PURE__ */ new Date()).toISOString(),
35
- injections: i
36
- });
37
- if (t.json) {
38
- this.log(JSON.stringify({
39
- path: o,
40
- injections: i
41
- }, null, 2));
42
- return;
43
- }
44
- this.log(`${t["dry-run"] ? "inspected" : "recorded mock inspection"} ${t.suite} @ ${t.commit.slice(0, 12)}` + (o ? ` -> ${o}` : " (dry run; wrote nothing)")), this.log(` injections: ${i.length}`);
45
- for (let e of i) this.log(` ${e.path ?? "(unknown)"}:${e.line ?? 0} ${e.symbol} injects ${e.injects.join(", ")}`);
46
- }
47
- };
48
- //#endregion
49
- export { a as default };
@@ -1,22 +0,0 @@
1
- import { QuoinCommand } from '../../base.js';
2
- export default class EvidenceRecord extends QuoinCommand {
3
- static summary: string;
4
- static description: string;
5
- static examples: string[];
6
- static flags: {
7
- suite: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
8
- commit: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
9
- tool: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
10
- kind: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
11
- discharges: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
12
- adapter: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
13
- results: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
14
- repo: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
15
- module: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
16
- timestamp: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
17
- json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
18
- };
19
- run(): Promise<void>;
20
- }
21
- export declare function isVersionedToolIdentity(value: string): boolean;
22
- //# sourceMappingURL=record.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"record.d.ts","sourceRoot":"","sources":["../../../src/commands/evidence/record.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAoB7C,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,YAAY;IACtD,MAAM,CAAC,OAAO,SAAuD;IACrE,MAAM,CAAC,WAAW,SAcc;IAEhC,MAAM,CAAC,QAAQ,WAEb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;;;MAoDV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAoL3B;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAI9D"}