@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,204 +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 { c as a, f as o, o as s, u as c } from "../store--2sAv12X.js";
4
- import { t as l } from "../advisor-BkgwDKvQ.js";
5
- import { t as u } from "../auditor-C3bSmPD_.js";
6
- import { n as d } from "../evidence-DD0CHzJ0.js";
7
- import { n as f } from "../completeness-DamWradt.js";
8
- import { Flags as p } from "@oclif/core";
9
- import { execFileSync as m } from "node:child_process";
10
- //#region src/assurance/graph.ts
11
- var h = /* @__PURE__ */ new Set([
12
- "traces_to",
13
- "refines",
14
- "implements",
15
- "derives_from",
16
- "mitigates",
17
- "satisfies"
18
- ]);
19
- function g(e) {
20
- let t = e.claimTypes ?? ["StR"], n = new Set(t.map((e) => e.toLowerCase())), r = /* @__PURE__ */ new Map();
21
- for (let t of e.documents) {
22
- let e = y(t);
23
- e && r.set(e, t);
24
- }
25
- let i = /* @__PURE__ */ new Map();
26
- for (let t of e.documents) {
27
- let e = y(t);
28
- if (e) for (let n of b(t)) r.has(n) && i.set(n, [...i.get(n) ?? [], e]);
29
- }
30
- let a = /* @__PURE__ */ new Map();
31
- for (let t of e.findings) a.has(t.obligation) || a.set(t.obligation, t);
32
- let o = /* @__PURE__ */ new Map();
33
- for (let t of e.obligations) {
34
- let e = x(t.id);
35
- o.set(e, [...o.get(e) ?? [], t]);
36
- }
37
- let s = [], c = /* @__PURE__ */ new Set();
38
- for (let [e, t] of r) n.has(String(t.frontmatter.type ?? "").toLowerCase()) && s.push(_(e, r, i, o, a, c, /* @__PURE__ */ new Set()));
39
- s.sort((e, t) => e.id.localeCompare(t.id));
40
- let l = {
41
- claims: s,
42
- unreachable: [...r.keys()].filter((e) => !c.has(e) && o.has(e)).sort(),
43
- unreadable: e.unreadable ?? []
44
- };
45
- return s.length === 0 && (l.reason = `no document declares itself a top-level claim (searched claim types: ${t.join(", ")}); declare one or pass --claim-type`), l;
46
- }
47
- function _(e, t, n, r, i, a, o) {
48
- a.add(e), o.add(e);
49
- let s = t.get(e), c = String(s?.frontmatter.title ?? e), l = (n.get(e) ?? []).filter((e) => !o.has(e)).sort().map((e) => _(e, t, n, r, i, a, new Set(o))), u = (r.get(e) ?? []).slice().sort((e, t) => e.id.localeCompare(t.id)).map((e) => v(e, i)), d = [...l, ...u], f = {
50
- id: e,
51
- kind: "goal",
52
- statement: c,
53
- status: d.length === 0 || d.some((e) => e.status === "open") ? "open" : "supported",
54
- children: d
55
- };
56
- return d.length === 0 && (f.because = "no sub-claim and no obligation traces to this claim"), f;
57
- }
58
- function v(e, t) {
59
- let n = t.get(e.id);
60
- return {
61
- id: e.id,
62
- kind: "solution",
63
- statement: e.statement,
64
- status: n ? "open" : "supported",
65
- ...n ? { because: `${n.kind}: ${n.summary}` } : {},
66
- children: []
67
- };
68
- }
69
- function y(e) {
70
- let t = e.frontmatter.id;
71
- return typeof t == "string" && t.length > 0 ? t : null;
72
- }
73
- function b(e) {
74
- let t = e.frontmatter.relationships;
75
- if (!Array.isArray(t)) return [];
76
- let n = [];
77
- for (let e of t) {
78
- if (!e || typeof e != "object" || !h.has(String(e.type ?? ""))) continue;
79
- let t = String(e.target ?? "").split("/").pop();
80
- t && n.push(t);
81
- }
82
- return n;
83
- }
84
- function x(e) {
85
- let t = /^([A-Za-z]+-\d+)/.exec(e);
86
- return t ? t[1] : e;
87
- }
88
- //#endregion
89
- //#region src/assurance/render.ts
90
- var S = {
91
- supported: "✅",
92
- open: "◇"
93
- };
94
- function C(e) {
95
- let t = ["# Assurance case", ""];
96
- e.claims.length === 0 && t.push("No document declares itself a top-level claim, so there is no case to", "argue. Declare an `StR` (or pass `--claim-type`) and re-run.", "");
97
- let n = e.claims.filter((e) => e.status === "open").length;
98
- e.claims.length > 0 && t.push(`${e.claims.length} claim(s), ${n} with an open branch.`, "");
99
- for (let n of e.claims) t.push(`## ${S[n.status]} ${n.id} — ${n.statement}`, ""), t.push(...w(n, 0)), t.push(""), t.push("```mermaid", ...T(n), "```", "");
100
- return e.unreachable.length > 0 && t.push("## Reachable from no claim", "", "These carry obligations and no claim argues over them. A case rendered", "only over the reachable half would read as complete.", "", ...e.unreachable.map((e) => `- ${e}`), ""), e.unreadable.length > 0 && t.push("## Unreadable", "", ...e.unreadable.map((e) => `- ${e.path}: ${e.reason}`), ""), t.join("\n");
101
- }
102
- function w(e, t) {
103
- let n = " ".repeat(t), r = e.kind === "solution" ? `${n}- ${S[e.status]} **${e.id}** — ${e.statement}` : `${n}- ${S[e.status]} ${e.id} — ${e.statement}`, i = t === 0 ? [] : [r];
104
- e.because && i.push(`${n} - ↳ ${e.because}`);
105
- for (let n of e.children) i.push(...w(n, t + 1));
106
- return i;
107
- }
108
- function T(e) {
109
- let t = ["flowchart TD"], n = /* @__PURE__ */ new Set(), r = (e) => {
110
- let i = E(e.id);
111
- if (!n.has(i)) {
112
- n.add(i);
113
- let r = e.kind === "solution" ? ["([", "])"] : ["[", "]"];
114
- t.push(` ${i}${r[0]}"${D(e)}"${r[1]}`);
115
- }
116
- for (let n of e.children) r(n), t.push(` ${i} --> ${E(n.id)}`);
117
- };
118
- return r(e), t;
119
- }
120
- function E(e) {
121
- return e.replace(/[^A-Za-z0-9]/g, "_");
122
- }
123
- function D(e) {
124
- return `${e.id}: ${e.statement}`.replace(/["`]/g, "'").replace(/;/g, ",").slice(0, 80).concat(e.status === "open" ? " ◇" : "");
125
- }
126
- //#endregion
127
- //#region src/commands/assurance.ts
128
- var O = class a extends i {
129
- static summary = "Render the assurance case: claim → argument → evidence, from the store.";
130
- static description = "A pile of green evidence is not an argument (FR-040). ISO 15026-2 / GSN turns\nthe trace graph into something reviewable: this claim holds BECAUSE these\nsub-claims hold, EACH verified by a stated method, WITH evidence that is fresh.\n\nStrictly a view. It runs nothing, collects nothing and writes nothing to the\nstore — where the case cannot be built, the missing data is a finding against\nthe spec, not something this fabricates.\n\nGaps render as OPEN nodes (◇), not as omissions. An undischarged obligation, a\nsuspect binding or a claim nothing traces to stays in the tree, because a case\nthat quietly narrows to what it can prove reads exactly like a complete one.";
131
- static examples = [
132
- "quoin assurance",
133
- "quoin assurance --claim-type StR --claim-type hazard",
134
- "quoin assurance > docs/assurance.md"
135
- ];
136
- static flags = {
137
- repo: p.string({
138
- description: "Repository root.",
139
- default: "."
140
- }),
141
- module: p.string({ description: "Module directory supplying the traceability model." }),
142
- "claim-type": p.string({
143
- description: "Artifact type that is a top-level claim. Repeatable; matched case-insensitively. REPLACES the StR default rather than adding to it — pass --claim-type StR as well if StRs should stay claims. A safety or security bundle argues from a declared hazard or threat.",
144
- multiple: !0
145
- }),
146
- json: p.boolean({ description: "Emit the case as JSON." })
147
- };
148
- async run() {
149
- let { flags: i } = await this.parse(a), s = n(r());
150
- s && this.error(s.message, { exit: 2 });
151
- let c = [
152
- "coverage",
153
- "--scope",
154
- i.repo,
155
- "--json"
156
- ];
157
- i.module && c.push("--module", i.module);
158
- let p = e(t(c));
159
- p.ok || this.error(p.error.message, { exit: 2 });
160
- let m = p.value.obligations ?? [], h = k(i.repo), _ = d(i.repo, h), v = u({
161
- obligations: m,
162
- bindings: o(i.repo).bindings,
163
- runs: j(i.repo),
164
- scans: A(i.repo),
165
- injections: _.injections,
166
- mockInspectionSuites: _.suites,
167
- catalog: l(i.module ? [i.module] : void 0)
168
- }), y = f(`${i.repo}/spec`), b = g({
169
- documents: y.documents,
170
- obligations: m,
171
- findings: v.findings,
172
- claimTypes: i["claim-type"],
173
- unreadable: y.unreadable
174
- });
175
- this.log(i.json ? JSON.stringify(b, null, 2) : C(b));
176
- }
177
- };
178
- function k(e) {
179
- try {
180
- return m("git", [
181
- "-C",
182
- e,
183
- "rev-parse",
184
- "HEAD"
185
- ], {
186
- encoding: "utf8",
187
- stdio: [
188
- "ignore",
189
- "pipe",
190
- "ignore"
191
- ]
192
- }).trim();
193
- } catch {
194
- return;
195
- }
196
- }
197
- function A(e) {
198
- return c(e).map((t) => a(e, t)).filter((e) => e !== null);
199
- }
200
- function j(e) {
201
- return c(e).map((t) => s(e, t)).filter((e) => e !== null);
202
- }
203
- //#endregion
204
- export { O as default };
@@ -1,2 +0,0 @@
1
- export { default } from './list.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/catalog/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
@@ -1,2 +0,0 @@
1
- import e from "./list.js";
2
- export { e as default };
@@ -1,11 +0,0 @@
1
- import { QuoinCommand } from '../../base.js';
2
- export default class CatalogList extends QuoinCommand {
3
- static summary: string;
4
- static description: string;
5
- static examples: string[];
6
- static flags: {
7
- json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
8
- };
9
- run(): Promise<void>;
10
- }
11
- //# sourceMappingURL=list.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/commands/catalog/list.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAI7C,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,YAAY;IACnD,MAAM,CAAC,OAAO,SAAsD;IACpE,MAAM,CAAC,WAAW,SAK4D;IAE9E,MAAM,CAAC,QAAQ,WAAuD;IAEtE,MAAM,CAAC,KAAK;;MAEV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAY3B"}
@@ -1,22 +0,0 @@
1
- import { o as e, t } from "../../base-CqKNs2Kd.js";
2
- import { n } from "../../modules-ez9httBA.js";
3
- import { Flags as r } from "@oclif/core";
4
- //#region src/commands/catalog/list.ts
5
- var i = class i extends t {
6
- static summary = "List the active artifact/object catalog modules.";
7
- static description = "The catalog is assembled from, in order:\n 1. QUOIN_MODULE_PATHS\n 2. modules installed under ~/.ix/filament/modules\n\nThe default module set is installed there automatically on first catalog access,\nand updated by \"quoin module install\". The same directory is read by quire-rs.";
8
- static examples = ["quoin catalog list", "quoin catalog list --json"];
9
- static flags = { json: r.boolean({ description: "Emit the full catalog as JSON." }) };
10
- async run() {
11
- let { flags: t } = await this.parse(i);
12
- n();
13
- let r = e();
14
- if (t.json) {
15
- this.log(JSON.stringify(r, null, 2));
16
- return;
17
- }
18
- for (let e of r.modules) this.log(`${e.name}@${e.version ?? "unknown"} ${e.root}`);
19
- }
20
- };
21
- //#endregion
22
- export { i as default };
@@ -1,12 +0,0 @@
1
- import { QuoinCommand } from '../../base.js';
2
- export default class CatalogMethods extends QuoinCommand {
3
- static summary: string;
4
- static description: string;
5
- static examples: string[];
6
- static flags: {
7
- json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
8
- class: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
9
- };
10
- run(): Promise<void>;
11
- }
12
- //# sourceMappingURL=methods.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"methods.d.ts","sourceRoot":"","sources":["../../../src/commands/catalog/methods.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAI7C,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,YAAY;IACtD,MAAM,CAAC,OAAO,SAAkD;IAChE,MAAM,CAAC,WAAW,SAOuC;IAEzD,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;MAKV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CA2C3B"}
@@ -1,43 +0,0 @@
1
- import { t as e } from "../../base-CqKNs2Kd.js";
2
- import { n as t } from "../../modules-ez9httBA.js";
3
- import { n, t as r } from "../../advisor-BkgwDKvQ.js";
4
- import { Flags as i } from "@oclif/core";
5
- //#region src/commands/catalog/methods.ts
6
- var a = class a extends e {
7
- static summary = "List the merged verification-method catalog.";
8
- static description = "The 29119-4-shaped answer to \"how should this requirement be verified\"\n(quire-rs FR-054), merged first-wins across the active modules exactly as the\nengine merges it — so the advisor recommends from the same catalog the auditor\nchecks conformance against.\n\nBefore this catalog existed the knowledge was prose: IADT lived in two lint\nrules, techniques in a traceability vocabulary, and the method table in a skill\nmarkdown file that no manifest declared and no code read.";
9
- static examples = [
10
- "quoin catalog methods",
11
- "quoin catalog methods --json",
12
- "quoin catalog methods --class Analysis"
13
- ];
14
- static flags = {
15
- json: i.boolean({ description: "Emit the merged catalog as JSON." }),
16
- class: i.string({ description: "Only methods of this class (e.g. Test, Analysis)." })
17
- };
18
- async run() {
19
- let { flags: e } = await this.parse(a);
20
- t();
21
- let i = r(), o = e.class ? i.methods.filter((t) => t.class.toLowerCase() === e.class.toLowerCase()) : i.methods;
22
- if (e.json) {
23
- this.log(JSON.stringify({
24
- ...i,
25
- methods: o
26
- }, null, 2));
27
- return;
28
- }
29
- if (o.length === 0) {
30
- this.log(e.class ? `no methods of class \`${e.class}\` in the merged catalog` : "no active module declares a verification_catalog");
31
- return;
32
- }
33
- for (let e of o) {
34
- let t = e.evidenceKind ? ` → ${e.evidenceKind}` : "";
35
- this.log(`${e.id} [${e.class}]${t}`), this.log(` ${e.name} — ${e.definition.trim()}`);
36
- for (let [t, n] of Object.entries(e.applicability)) this.log(` when ${t}: ${n.join(", ")}`);
37
- }
38
- this.log(""), this.log(`${o.length} method(s) across ${n(i).join(", ")}`);
39
- for (let e of i.duplicates) this.log(` duplicate \`${e.id}\` from ${e.modules.join(", ")} (first wins)`);
40
- }
41
- };
42
- //#endregion
43
- export { a as default };
@@ -1,13 +0,0 @@
1
- import { QuoinCommand } from '../../base.js';
2
- export default class CatalogShow extends QuoinCommand {
3
- static summary: string;
4
- static examples: string[];
5
- static args: {
6
- type: import('@oclif/core/interfaces').Arg<string | undefined, Record<string, unknown>>;
7
- };
8
- static flags: {
9
- json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
10
- };
11
- run(): Promise<void>;
12
- }
13
- //# sourceMappingURL=show.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"show.d.ts","sourceRoot":"","sources":["../../../src/commands/catalog/show.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAI7C,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,YAAY;IACnD,MAAM,CAAC,OAAO,SAA0D;IACxE,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,IAAI;;MAET;IAEF,MAAM,CAAC,KAAK;;MAEV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAc3B"}
@@ -1,25 +0,0 @@
1
- import { i as e, o as t, t as n } from "../../base-CqKNs2Kd.js";
2
- import { n as r } from "../../modules-ez9httBA.js";
3
- import { Args as i, Flags as a } from "@oclif/core";
4
- //#region src/commands/catalog/show.ts
5
- var o = class o extends n {
6
- static summary = "Show a single artifact/object type from the catalog.";
7
- static examples = [
8
- "quoin catalog show FR",
9
- "quoin catalog show entity",
10
- "quoin catalog show FR --json"
11
- ];
12
- static args = { type: i.string({ description: "Artifact or object type name." }) };
13
- static flags = { json: a.boolean({ description: "Emit the entry as JSON." }) };
14
- async run() {
15
- let { args: n, flags: i } = await this.parse(o);
16
- r();
17
- let a = t(), s = n.type;
18
- if (!s) throw Error("catalog show requires <type>");
19
- let c = e(a, s);
20
- if (!c) throw Error(`catalog type not found: ${s}`);
21
- this.log(i.json ? JSON.stringify(c, null, 2) : `${c.kind} ${c.name} from ${c.moduleName}\n${c.moduleRoot}`);
22
- }
23
- };
24
- //#endregion
25
- export { o as default };
@@ -1,10 +0,0 @@
1
- import { QuoinCommand } from '../../base.js';
2
- export default class CatalogValidate extends QuoinCommand {
3
- static summary: string;
4
- static examples: string[];
5
- static flags: {
6
- json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
7
- };
8
- run(): Promise<void>;
9
- }
10
- //# sourceMappingURL=validate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../src/commands/catalog/validate.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAI7C,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,YAAY;IACvD,MAAM,CAAC,OAAO,SAAyD;IACvE,MAAM,CAAC,QAAQ,WAA+D;IAE9E,MAAM,CAAC,KAAK;;MAEV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAiB3B"}
@@ -1,27 +0,0 @@
1
- import { o as e, t } from "../../base-CqKNs2Kd.js";
2
- import { n } from "../../modules-ez9httBA.js";
3
- import { Flags as r } from "@oclif/core";
4
- //#region src/commands/catalog/validate.ts
5
- var i = class i extends t {
6
- static summary = "Validate the active catalog has no duplicate types.";
7
- static examples = ["quoin catalog validate", "quoin catalog validate --json"];
8
- static flags = { json: r.boolean({ description: "Emit the result as JSON." }) };
9
- async run() {
10
- let { flags: t } = await this.parse(i);
11
- n();
12
- let r = e();
13
- if (r.duplicates.length > 0) {
14
- this.logToStderr(JSON.stringify({
15
- ok: !1,
16
- duplicates: r.duplicates
17
- }, null, 2)), process.exitCode = 1;
18
- return;
19
- }
20
- this.log(t.json ? JSON.stringify({
21
- ok: !0,
22
- modules: r.modules.length
23
- }, null, 2) : `catalog ok (${r.modules.length} modules)`);
24
- }
25
- };
26
- //#endregion
27
- export { i as default };
@@ -1,16 +0,0 @@
1
- import { QuoinCommand } from '../base.js';
2
- export default class Completeness 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
- bundle: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
9
- module: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
10
- strict: import('@oclif/core/interfaces').BooleanFlag<boolean>;
11
- json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
12
- };
13
- run(): Promise<void>;
14
- private render;
15
- }
16
- //# sourceMappingURL=completeness.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"completeness.d.ts","sourceRoot":"","sources":["../../src/commands/completeness.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAO1C,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,YAAY;IACpD,MAAM,CAAC,OAAO,SAC0E;IACxF,MAAM,CAAC,WAAW,SAwBd;IAEJ,MAAM,CAAC,QAAQ,WAKb;IAEF,MAAM,CAAC,KAAK;;;;;;MAcV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;IA4B1B,OAAO,CAAC,MAAM;CAmCf"}
@@ -1,49 +0,0 @@
1
- import { t as e } from "../base-CqKNs2Kd.js";
2
- import { t } from "../completeness-DamWradt.js";
3
- import { Flags as n } from "@oclif/core";
4
- //#region src/commands/completeness.ts
5
- var r = class r extends e {
6
- static summary = "Report which declared vocabulary values no requirement owns, and judge the excuses.";
7
- static description = "The verdict half of declared-vocabulary coverage (FR-037). quire-rs FR-059\ncomputes which declared values no document claims — a deterministic fact about\nthe spec. This decides what a gap is worth, and whether an exclusion was earned.\n\nThe first vocabulary is ISO 25010: a bundle can be 100% AC-covered and still\nhave no requirement anywhere for reliability, security or maintainability. The\ncharacteristic list is module data (12 values, not the 9 the ticket assumed), so\nnothing here is hardcoded — it is read from the same declaration the engine\nreads.\n\nA value may be excused. \"This is a CLI that controls no physical process, so it\nhas no safety characteristic\" is an answer, and a check that cannot accept one\nforces either a permanent false finding or a requirement fabricated to silence\nit. But the engine accepts a bare list: adding one frontmatter line took this\nrepository from 7 findings to 5 with no reason written anywhere. So an exclusion\nmust carry a written reason, in the same document, in a table row naming the\nvalue.\n\nSeverities are deliberately asymmetric. An unowned characteristic is medium —\nan admitted gap a reader can see. An unjustified exclusion is high: an assertion\nof completeness with nothing behind it, which also removes the finding that\nwould have prompted the work.\n\nAdvisory by default. --strict makes an admitted gap fail too; it does not invent\none.";
8
- static examples = [
9
- "quoin completeness",
10
- "quoin completeness --strict",
11
- "quoin completeness --json",
12
- "quoin completeness --repo ../other-repo"
13
- ];
14
- static flags = {
15
- repo: n.string({
16
- description: "Repository root.",
17
- default: "."
18
- }),
19
- bundle: n.string({ description: "Bundle root to read. Defaults to <repo>/spec, the directory quire treats as the bundle." }),
20
- module: n.string({ description: "Module directory supplying the vocabulary declarations." }),
21
- strict: n.boolean({ description: "Exit non-zero when any value is unowned, not only on a high finding." }),
22
- json: n.boolean({ description: "Emit the report as JSON." })
23
- };
24
- async run() {
25
- let { flags: e } = await this.parse(r), n = t({
26
- bundleRoot: e.bundle ?? `${e.repo}/spec`,
27
- strict: e.strict,
28
- moduleRoots: e.module ? [e.module] : void 0
29
- });
30
- e.json ? this.log(JSON.stringify(n, null, 2)) : this.render(n), n.verdict === "FAIL" && this.exit(1), n.verdict === "UNCHECKED" && e.strict && this.exit(1);
31
- }
32
- render(e) {
33
- e.vocabularies.length === 0 && this.warn("no active module declares `traceability.vocabulary_coverage`, so nothing was checked. Install one (e.g. spec-artifacts-iso) or pass --module.");
34
- for (let t of e.unresolved) this.warn(`vocabulary '${t.name}' not resolved: ${t.reason}`);
35
- for (let t of e.unreadable) this.warn(`frontmatter unreadable in ${t.path}: ${t.reason}`);
36
- for (let t of e.rollups) this.log(`${t.vocabulary}: ${t.owned}/${t.declared} owned, ${t.excused} excused, ${t.unowned} unowned`);
37
- for (let t of e.findings) this.log(` ${i(t)} ${t.message}`);
38
- this.log(`\n${e.verdict} — ${a(e.findings, "high")} high, ${a(e.findings, "medium")} medium (bundle ${e.bundleRoot})`);
39
- }
40
- };
41
- function i(e) {
42
- let t = e.document ? ` ${e.document}:` : "";
43
- return `[${e.severity}]${t}`;
44
- }
45
- function a(e, t) {
46
- return e.filter((e) => e.severity === t).length;
47
- }
48
- //#endregion
49
- export { r as default };
@@ -1,7 +0,0 @@
1
- import { QuoinCommand } from '../../base.js';
2
- export default class ConfigDoctor extends QuoinCommand {
3
- static summary: string;
4
- static description: string;
5
- run(): Promise<void>;
6
- }
7
- //# sourceMappingURL=doctor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../../src/commands/config/doctor.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,YAAY;IACpD,MAAM,CAAC,OAAO,SAA2D;IACzE,MAAM,CAAC,WAAW,SAC+C;IAE3D,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAU3B"}
@@ -1,15 +0,0 @@
1
- import { t as e } from "../../base-CqKNs2Kd.js";
2
- import { a as t } from "../../config-schema-Dp-vlxuR.js";
3
- import { runConfigDoctor as n } from "@agent-ix/ix-cli-core";
4
- //#region src/commands/config/doctor.ts
5
- var r = class r extends e {
6
- static summary = "Report config files that failed to parse or validate.";
7
- static description = "A malformed config never blocks a command -- schema defaults are used and the\nproblem is recorded instead. This is where those records surface.";
8
- async run() {
9
- await this.parse(r), t();
10
- let { exitCode: e } = await n();
11
- process.exitCode = e;
12
- }
13
- };
14
- //#endregion
15
- export { r as default };
@@ -1,7 +0,0 @@
1
- import { QuoinCommand } from '../../base.js';
2
- export default class ConfigEdit extends QuoinCommand {
3
- static summary: string;
4
- static examples: string[];
5
- run(): Promise<void>;
6
- }
7
- //# sourceMappingURL=edit.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"edit.d.ts","sourceRoot":"","sources":["../../../src/commands/config/edit.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,YAAY;IAClD,MAAM,CAAC,OAAO,SAA0C;IAExD,MAAM,CAAC,QAAQ,WAAyB;IAElC,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAK3B"}
@@ -1,13 +0,0 @@
1
- import { t as e } from "../../base-CqKNs2Kd.js";
2
- import { a as t, n } from "../../config-schema-Dp-vlxuR.js";
3
- import { runConfigEdit as r } from "@agent-ix/ix-cli-core";
4
- //#region src/commands/config/edit.ts
5
- var i = class i extends e {
6
- static summary = "Open quoin's config file in $EDITOR.";
7
- static examples = ["quoin config edit"];
8
- async run() {
9
- await this.parse(i), t(), await r(n);
10
- }
11
- };
12
- //#endregion
13
- export { i as default };
@@ -1,11 +0,0 @@
1
- import { QuoinCommand } from '../../base.js';
2
- export default class ConfigGet extends QuoinCommand {
3
- static summary: string;
4
- static description: string;
5
- static examples: string[];
6
- static args: {
7
- key: import('@oclif/core/interfaces').Arg<string, Record<string, unknown>>;
8
- };
9
- run(): Promise<void>;
10
- }
11
- //# sourceMappingURL=get.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/commands/config/get.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,YAAY;IACjD,MAAM,CAAC,OAAO,SAAuC;IACrD,MAAM,CAAC,WAAW,SAC0C;IAE5D,MAAM,CAAC,QAAQ,WAA4B;IAE3C,MAAM,CAAC,IAAI;;MAET;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAK3B"}
@@ -1,20 +0,0 @@
1
- import { t as e } from "../../base-CqKNs2Kd.js";
2
- import { a as t, n } from "../../config-schema-Dp-vlxuR.js";
3
- import { runConfigGet as r } from "@agent-ix/ix-cli-core";
4
- import { Args as i } from "@oclif/core";
5
- //#region src/commands/config/get.ts
6
- var a = class a extends e {
7
- static summary = "Read a stored quoin config value.";
8
- static description = "Values are read from ~/.config/ix/config.d/quoin.yaml, with any project-local\n.ix config and a bound environment variable layered over it.";
9
- static examples = ["quoin config get org"];
10
- static args = { key: i.string({
11
- required: !0,
12
- description: "Config key path."
13
- }) };
14
- async run() {
15
- let { args: e } = await this.parse(a);
16
- t(), await r(n, e.key);
17
- }
18
- };
19
- //#endregion
20
- export { a as default };
@@ -1,2 +0,0 @@
1
- export { default } from './get.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC"}
@@ -1,2 +0,0 @@
1
- import e from "./get.js";
2
- export { e as default };
@@ -1,12 +0,0 @@
1
- import { QuoinCommand } from '../../base.js';
2
- export default class ConfigSet extends QuoinCommand {
3
- static summary: string;
4
- static description: string;
5
- static examples: string[];
6
- static args: {
7
- key: import('@oclif/core/interfaces').Arg<string, Record<string, unknown>>;
8
- value: import('@oclif/core/interfaces').Arg<string, Record<string, unknown>>;
9
- };
10
- run(): Promise<void>;
11
- }
12
- //# sourceMappingURL=set.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"set.d.ts","sourceRoot":"","sources":["../../../src/commands/config/set.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,YAAY;IACjD,MAAM,CAAC,OAAO,SAAiC;IAC/C,MAAM,CAAC,WAAW,SAI2C;IAE7D,MAAM,CAAC,QAAQ,WAAiC;IAEhD,MAAM,CAAC,IAAI;;;MAGT;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAK3B"}
@@ -1,26 +0,0 @@
1
- import { t as e } from "../../base-CqKNs2Kd.js";
2
- import { a as t, n } from "../../config-schema-Dp-vlxuR.js";
3
- import { runConfigSet as r } from "@agent-ix/ix-cli-core";
4
- import { Args as i } from "@oclif/core";
5
- //#region src/commands/config/set.ts
6
- var a = class a extends e {
7
- static summary = "Store a quoin config value.";
8
- static description = "Writes to ~/.config/ix/config.d/quoin.yaml. Scalars are coerced through the\nschema; an unknown key is rejected rather than silently written.\n\nStoring an org is what makes it persist: --org lasts one invocation and\nQUOIN_ORG one shell, but a stored value is read on every run.";
9
- static examples = ["quoin config set org acme"];
10
- static args = {
11
- key: i.string({
12
- required: !0,
13
- description: "Config key path."
14
- }),
15
- value: i.string({
16
- required: !0,
17
- description: "Value to store."
18
- })
19
- };
20
- async run() {
21
- let { args: e } = await this.parse(a);
22
- t(), await r(n, e.key, e.value);
23
- }
24
- };
25
- //#endregion
26
- export { a as default };