@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,14 +0,0 @@
1
- import { FlowCommand } from '../flow-command.js';
2
- export default class Review extends FlowCommand {
3
- static summary: string;
4
- static description: string;
5
- static examples: string[];
6
- static flags: {
7
- target: import('@oclif/core/interfaces').OptionFlag<string[] | undefined, import('@oclif/core/interfaces').CustomOptions>;
8
- json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
9
- id: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
10
- };
11
- protected readonly flowName = "review";
12
- run(): Promise<void>;
13
- }
14
- //# sourceMappingURL=review.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"review.d.ts","sourceRoot":"","sources":["../../src/commands/review.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,WAAW;IAC7C,MAAM,CAAC,OAAO,SAA2C;IACzD,MAAM,CAAC,WAAW,SACkC;IAEpD,MAAM,CAAC,QAAQ,WAA8D;IAE7E,MAAM,CAAC,KAAK;;;;MAAyB;IAErC,SAAS,CAAC,QAAQ,CAAC,QAAQ,YAAY;IAEjC,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAI3B"}
@@ -1,15 +0,0 @@
1
- import { t as e } from "../flow-command-BfFNY0Rv.js";
2
- //#region src/commands/review.ts
3
- var t = class t extends e {
4
- static summary = "Run a composite spec review workflow.";
5
- static description = "Starts the bundled review workflow run in ~/.ix/flows. Use ix-flow to inspect,\nresume, advance phases, and acknowledge human gates.";
6
- static examples = ["quoin review --target spec/", "ix-flow status <run-id>"];
7
- static flags = e.flowFlags;
8
- flowName = "review";
9
- async run() {
10
- let { flags: e } = await this.parse(t);
11
- await this.launch(e);
12
- }
13
- };
14
- //#endregion
15
- export { t as default };
@@ -1,14 +0,0 @@
1
- import { FlowCommand } from '../flow-command.js';
2
- export default class ToPlan extends FlowCommand {
3
- static summary: string;
4
- static description: string;
5
- static examples: string[];
6
- static flags: {
7
- target: import('@oclif/core/interfaces').OptionFlag<string[] | undefined, import('@oclif/core/interfaces').CustomOptions>;
8
- json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
9
- id: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
10
- };
11
- protected readonly flowName = "to-plan";
12
- run(): Promise<void>;
13
- }
14
- //# sourceMappingURL=to-plan.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"to-plan.d.ts","sourceRoot":"","sources":["../../src/commands/to-plan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,WAAW;IAC7C,MAAM,CAAC,OAAO,SAAgE;IAC9E,MAAM,CAAC,WAAW,SACkC;IAEpD,MAAM,CAAC,QAAQ,WAA+D;IAE9E,MAAM,CAAC,KAAK;;;;MAAyB;IAErC,SAAS,CAAC,QAAQ,CAAC,QAAQ,aAAa;IAElC,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAI3B"}
@@ -1,15 +0,0 @@
1
- import { t as e } from "../flow-command-BfFNY0Rv.js";
2
- //#region src/commands/to-plan.ts
3
- var t = class t extends e {
4
- static summary = "Convert accepted requirements into an implementation plan.";
5
- static description = "Starts the bundled to-plan workflow run in ~/.ix/flows. Use ix-flow to inspect,\nresume, advance phases, and acknowledge human gates.";
6
- static examples = ["quoin to-plan --target spec/", "ix-flow status <run-id>"];
7
- static flags = e.flowFlags;
8
- flowName = "to-plan";
9
- async run() {
10
- let { flags: e } = await this.parse(t);
11
- await this.launch(e);
12
- }
13
- };
14
- //#endregion
15
- export { t as default };
@@ -1,13 +0,0 @@
1
- import { QuoinCommand } from '../base.js';
2
- export default class Update extends QuoinCommand {
3
- static summary: string;
4
- static description: string;
5
- static examples: string[];
6
- static flags: {
7
- check: import('@oclif/core/interfaces').BooleanFlag<boolean>;
8
- registry: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
9
- };
10
- protected skipUpdateNudge: boolean;
11
- run(): Promise<void>;
12
- }
13
- //# sourceMappingURL=update.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../src/commands/update.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAS1C,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,YAAY;IAC9C,MAAM,CAAC,OAAO,SAAuD;IACrE,MAAM,CAAC,WAAW,SAE2C;IAE7D,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;MASV;IAGF,UAAmB,eAAe,UAAQ;IAEpC,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAU3B"}
@@ -1,34 +0,0 @@
1
- import { t as e } from "../version-Dg0e6CZU.js";
2
- import { t } from "../base-CqKNs2Kd.js";
3
- import { runSelfUpdate as n } from "@agent-ix/ix-cli-core";
4
- import { Flags as r } from "@oclif/core";
5
- //#region src/commands/update.ts
6
- var i = "https://registry.npmjs.org/", a = class a extends t {
7
- static summary = "Check for and install the latest published quoin.";
8
- static description = "quoin is distributed on the public npm registry as @agent-ix/quoin. This command\nqueries the registry for the latest version, compares it to the running version,\nand (unless --check) runs npm install -g to upgrade in place.";
9
- static examples = [
10
- "quoin update",
11
- "quoin update --check",
12
- "quoin update --registry http://npm.ix/"
13
- ];
14
- static flags = {
15
- check: r.boolean({
16
- description: "Report whether an update is available; do not install.",
17
- default: !1
18
- }),
19
- registry: r.string({ description: "Force an npm registry to query/install from. Defaults to the public npm registry (https://registry.npmjs.org/), where @agent-ix/quoin is published. Pass http://npm.ix/ for local dev snapshots." })
20
- };
21
- skipUpdateNudge = !0;
22
- async run() {
23
- let { flags: t } = await this.parse(a);
24
- await n({
25
- packageName: "@agent-ix/quoin",
26
- currentVersion: e(),
27
- header: "quoin update",
28
- registry: t.registry ?? i,
29
- check: t.check === !0
30
- });
31
- }
32
- };
33
- //#endregion
34
- export { a as default };
@@ -1,13 +0,0 @@
1
- import { QuoinCommand } from '../base.js';
2
- export default class Validate 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
- strict: import('@oclif/core/interfaces').BooleanFlag<boolean>;
9
- json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
10
- };
11
- run(): Promise<void>;
12
- }
13
- //# sourceMappingURL=validate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../src/commands/validate.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,YAAY;IAChD,MAAM,CAAC,OAAO,SAA8D;IAC5E,MAAM,CAAC,WAAW,SAIqD;IAEvE,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;MAIV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAiB3B"}
@@ -1,123 +0,0 @@
1
- import { t as e } from "../base-CqKNs2Kd.js";
2
- import { readFileSync as t, readdirSync as n } from "node:fs";
3
- import { basename as r, extname as i, join as a, relative as o } from "node:path";
4
- import { Flags as s } from "@oclif/core";
5
- //#region src/validators/gates.ts
6
- var c = /* @__PURE__ */ new Set([
7
- ".git",
8
- "dist",
9
- "node_modules",
10
- "spec",
11
- "target",
12
- "vendor"
13
- ]);
14
- function l(e) {
15
- let n = _(e), r = [];
16
- for (let i of g(e)) {
17
- let a = t(i, "utf8"), s = u(a);
18
- if (!s || !d(s.statement)) continue;
19
- let c = y(o(e, i)), l = n.find((e) => h(t(e, "utf8"), c));
20
- if (!l) continue;
21
- let m = a.split(/\r?\n/);
22
- for (let [t, n] of m.entries()) {
23
- let i = f(n);
24
- if (!i || !p(s.statement, i)) continue;
25
- let a = y(o(e, l));
26
- r.push({
27
- kind: "gate-that-gates-nothing",
28
- obligation: s.obligation,
29
- path: c,
30
- line: t + 1,
31
- wiredBy: a,
32
- subject: `gate for ${s.obligation}`,
33
- changeTarget: `${c}:${t + 1}`,
34
- remedy: `compare the count for “${i}” to zero or make the match command exit non-zero when forbidden text is present`,
35
- summary: `${s.obligation} claims “${s.statement}”, and ${a} wires ${c}, but line ${t + 1} only counts matches for “${i}” without asserting zero. The gate succeeds when the forbidden text is present; compare the count to zero or make a match exit non-zero.`
36
- });
37
- }
38
- }
39
- return r.sort((e, t) => b(e.path, t.path) || e.line - t.line || b(e.obligation, t.obligation));
40
- }
41
- function u(e) {
42
- let t = /^\s*#\s*(?:gate|check)\s+for\s+([A-Z][A-Z0-9-]+):\s*(.+?)\s*$/im.exec(e);
43
- return t ? {
44
- obligation: t[1],
45
- statement: t[2]
46
- } : null;
47
- }
48
- function d(e) {
49
- return /\b(?:no|never|not|forbid(?:s|den)?|without)\b/i.test(e);
50
- }
51
- function f(e) {
52
- if (/^\s*(?:if|while|until)\b/.test(e)) return null;
53
- let t = /\|\s*wc\s+-?l\b/.exec(e);
54
- if (!/\b(?:grep|rg)\b/.test(e) || !t) return null;
55
- let n = e.slice((t.index ?? 0) + t[0].length);
56
- return /\|\s*(?:grep|test)\b/.test(n) || /(?:==|!=|\b(?:eq|ne|gt|ge|lt|le)\b)/.test(n) ? null : (/\b(?:grep|rg)\b[^\n]*?["']([^"']+)["']/.exec(e)?.[1])?.trim() || null;
57
- }
58
- function p(e, t) {
59
- let n = m(e);
60
- return [...m(t)].some((e) => e.length >= 4 && n.has(e));
61
- }
62
- function m(e) {
63
- return new Set(e.toLowerCase().match(/[a-z_][a-z0-9_]*/g) ?? []);
64
- }
65
- function h(e, t) {
66
- return e.includes(t) || e.includes(`./${t}`) || e.includes(r(t));
67
- }
68
- function g(e) {
69
- return v(e).filter((e) => i(e) === ".sh");
70
- }
71
- function _(e) {
72
- return v(e).filter((t) => {
73
- let n = y(o(e, t)), i = r(t).toLowerCase();
74
- return /^makefile(?:\..+)?$/.test(i) || i === "justfile" || i === "package.json" || /^taskfile\.(?:ya?ml)$/.test(i) || /^\.github\/workflows\//.test(n) && /\.ya?ml$/.test(n);
75
- });
76
- }
77
- function v(e) {
78
- let t = [], r = (e) => {
79
- for (let i of n(e, { withFileTypes: !0 })) {
80
- if (i.isDirectory() && c.has(i.name)) continue;
81
- let n = a(e, i.name);
82
- i.isDirectory() ? r(n) : i.isFile() && t.push(n);
83
- }
84
- };
85
- return r(e), t.sort(b);
86
- }
87
- function y(e) {
88
- return e.split("\\").join("/");
89
- }
90
- function b(e, t) {
91
- return e === t ? 0 : e < t ? -1 : 1;
92
- }
93
- //#endregion
94
- //#region src/commands/validate.ts
95
- var x = class t extends e {
96
- static summary = "Validate repository QA gates and report located defects.";
97
- static description = "Runs deterministic repository validators. The gate-capability check joins an\nexplicit shell-gate claim, build/CI wiring, and the command that is supposed to\nenforce it; report scripts are not treated as gates from their text alone.\n\nFindings are advisory by default. Pass --strict in CI to exit non-zero.";
98
- static examples = [
99
- "quoin validate",
100
- "quoin validate --strict",
101
- "quoin validate --json"
102
- ];
103
- static flags = {
104
- repo: s.string({
105
- description: "Repository root.",
106
- default: "."
107
- }),
108
- strict: s.boolean({ description: "Exit 1 when a finding remains." }),
109
- json: s.boolean({ description: "Emit findings as JSON." })
110
- };
111
- async run() {
112
- let { flags: e } = await this.parse(t), n = l(e.repo);
113
- if (e.json) this.log(JSON.stringify({ findings: n }, null, 2));
114
- else if (n.length === 0) this.log("repository QA gates: no findings");
115
- else {
116
- for (let e of n) this.log(`[warning] ${e.kind}: ${e.path}:${e.line}: ${e.summary}`);
117
- this.log(`${n.length} gate finding(s)`);
118
- }
119
- e.strict && n.length > 0 && this.exit(1);
120
- }
121
- };
122
- //#endregion
123
- export { x as default };
@@ -1,16 +0,0 @@
1
- import { QuoinCommand } from '../base.js';
2
- export default class Write extends QuoinCommand {
3
- static summary: string;
4
- static description: string;
5
- static examples: string[];
6
- static args: {
7
- repo_dir: import('@oclif/core/interfaces').Arg<string | undefined, Record<string, unknown>>;
8
- };
9
- static flags: {
10
- types: import('@oclif/core/interfaces').OptionFlag<string[] | undefined, import('@oclif/core/interfaces').CustomOptions>;
11
- org: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
12
- json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
13
- };
14
- run(): Promise<void>;
15
- }
16
- //# sourceMappingURL=write.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"write.d.ts","sourceRoot":"","sources":["../../src/commands/write.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAS1C,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,YAAY;IAC7C,MAAM,CAAC,OAAO,SACkE;IAChF,MAAM,CAAC,WAAW,SAW2C;IAE7D,MAAM,CAAC,QAAQ,WAKb;IAEF,MAAM,CAAC,IAAI;;MAET;IAEF,MAAM,CAAC,KAAK;;;;MAUV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAgB3B"}
@@ -1,33 +0,0 @@
1
- import { o as e, t } from "../base-CqKNs2Kd.js";
2
- import { n } from "../modules-ez9httBA.js";
3
- import { n as r, r as i, t as a } from "../write-DElwS9xc.js";
4
- import { Args as o, Flags as s } from "@oclif/core";
5
- //#region src/commands/write.ts
6
- var c = class c extends t {
7
- static summary = "Build an authoring pack for spec files an agent is about to create or edit.";
8
- static description = "Pass the target repository and the artifact/object types involved in the work.\nquoin resolves those types from the active catalog and returns the local\nskeletons, schemas, module roots, and Quire validation command for the repo.\n\nNotes:\n - Type lookup is case-insensitive; FR and fr are the same type.\n - Types can be artifacts or objects from the default module set or modules.\n - Use the returned skeletons and schemas as the authoring contract.\n - Run the returned Quire command after editing spec files.\n - The org is resolved from --org, else QUOIN_ORG, else the repo's origin\n remote. It is never defaulted: put the reported org in the frontmatter\n \"org:\" field rather than copying a value from a skeleton.";
9
- static examples = [
10
- "quoin write . --types FR",
11
- "quoin write . --types FR,domain,entity",
12
- "quoin write ../my-service --types fr,DOMAIN --json",
13
- "quoin write . --types Spec --org acme"
14
- ];
15
- static args = { repo_dir: o.string({ description: "Target repository directory." }) };
16
- static flags = {
17
- types: s.string({
18
- description: "Artifact/object type(s), comma-separated or repeated.",
19
- multiple: !0
20
- }),
21
- org: s.string({ description: "Authoring organization. Overrides QUOIN_ORG and the repo's origin remote." }),
22
- json: s.boolean({ description: "Emit the authoring pack as JSON." })
23
- };
24
- async run() {
25
- let { args: t, flags: o } = await this.parse(c), s = t.repo_dir;
26
- if (!s) throw Error("write requires <repo_dir>");
27
- n();
28
- let l = e(), u = a(l, s, i(o.types), { org: o.org });
29
- this.log(o.json ? JSON.stringify(u, null, 2) : r(u));
30
- }
31
- };
32
- //#endregion
33
- export { c as default };
@@ -1,82 +0,0 @@
1
- import { VocabularyDeclaration } from './declarations.js';
2
- export type FindingKind = "unowned" | "unjustified-exclusion" | "undeclared-exclusion";
3
- export type Severity = "medium" | "high";
4
- export interface CompletenessFinding {
5
- /** Declaration this concerns, e.g. `quality-characteristics`. */
6
- vocabulary: string;
7
- /** The vocabulary value, e.g. `safety`. */
8
- value: string;
9
- kind: FindingKind;
10
- severity: Severity;
11
- message: string;
12
- /** Document carrying the exclusion, for the two exclusion kinds. */
13
- document?: string;
14
- }
15
- export interface VocabularyRollup {
16
- vocabulary: string;
17
- /** Values in the declared enum. */
18
- declared: number;
19
- /** Values some document claims. */
20
- owned: number;
21
- /** Values a document excuses, whether or not the excuse is justified. */
22
- excused: number;
23
- /** Values neither claimed nor excused. */
24
- unowned: number;
25
- }
26
- /**
27
- * `UNCHECKED` is not a fourth flavour of pass.
28
- *
29
- * A bundle whose module set declares no vocabulary has not been assessed, and
30
- * `PASS` over it is the green-matrix-over-dead-links result this program was
31
- * created to stop — the first draft of this file printed exactly that, and the
32
- * criterion written to forbid it caught it.
33
- */
34
- export type Verdict = "PASS" | "CONDITIONAL" | "FAIL" | "UNCHECKED";
35
- export interface CompletenessReport {
36
- rollups: VocabularyRollup[];
37
- findings: CompletenessFinding[];
38
- verdict: Verdict;
39
- }
40
- /** One document's declared-vocabulary frontmatter, as read from the bundle. */
41
- export interface DocumentClaims {
42
- /** Path, relative to the bundle root. */
43
- path: string;
44
- /** Values this document claims via the declaration's `field`. */
45
- claims: string[];
46
- /** Values this document excuses via `justified_absence_field`. */
47
- excuses: string[];
48
- /** Raw body text, searched for the written reason behind each excuse. */
49
- body: string;
50
- }
51
- /**
52
- * Assess one vocabulary declaration against what the bundle's documents say.
53
- *
54
- * Note the asymmetry, which is the policy: **`unowned` is medium and an
55
- * unjustified exclusion is high.** Saying nothing about reliability is an
56
- * admitted gap that a reader can see. Excusing it without a reason is an
57
- * assertion of completeness with nothing behind it, and it removes the finding
58
- * that would have prompted the work.
59
- */
60
- export declare function assessVocabulary(declaration: VocabularyDeclaration, documents: DocumentClaims[]): {
61
- rollup: VocabularyRollup;
62
- findings: CompletenessFinding[];
63
- };
64
- /**
65
- * The written reason for excusing `value`, or `null` when there is none.
66
- *
67
- * A table row whose first cell names the value and whose remaining cells carry
68
- * a real sentence. A table is required rather than free prose because the value
69
- * name will occur in passing — "safety" appears in any document discussing
70
- * safety — and a mention is not a justification.
71
- */
72
- export declare function writtenReasonFor(value: string, body: string): string | null;
73
- /**
74
- * The verdict over every finding.
75
- *
76
- * `--strict` promotes an admitted gap to a failure; it does not invent one. The
77
- * default is advisory because a new check landing as a hard error across a
78
- * corpus teaches people to disable it, and a disabled check reports nothing
79
- * forever — which is the outcome this whole area exists to prevent.
80
- */
81
- export declare function verdictFor(findings: CompletenessFinding[], strict: boolean, vocabulariesChecked?: number): Verdict;
82
- //# sourceMappingURL=assess.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"assess.d.ts","sourceRoot":"","sources":["../../src/completeness/assess.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,MAAM,MAAM,WAAW,GACrB,SAAS,GAAG,uBAAuB,GAAG,sBAAsB,CAAC;AAE/D,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEzC,MAAM,WAAW,mBAAmB;IAClC,iEAAiE;IACjE,UAAU,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,WAAW,CAAC;IAClB,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,mCAAmC;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,yEAAyE;IACzE,OAAO,EAAE,MAAM,CAAC;IAChB,0CAA0C;IAC1C,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,aAAa,GAAG,MAAM,GAAG,WAAW,CAAC;AAEpE,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,+EAA+E;AAC/E,MAAM,WAAW,cAAc;IAC7B,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,iEAAiE;IACjE,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,kEAAkE;IAClE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,yEAAyE;IACzE,IAAI,EAAE,MAAM,CAAC;CACd;AAgCD;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAC9B,WAAW,EAAE,qBAAqB,EAClC,SAAS,EAAE,cAAc,EAAE,GAC1B;IAAE,MAAM,EAAE,gBAAgB,CAAC;IAAC,QAAQ,EAAE,mBAAmB,EAAE,CAAA;CAAE,CAoE/D;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAe3E;AAQD;;;;;;;GAOG;AACH,wBAAgB,UAAU,CACxB,QAAQ,EAAE,mBAAmB,EAAE,EAC/B,MAAM,EAAE,OAAO,EACf,mBAAmB,SAAI,GACtB,OAAO,CAKT"}
@@ -1,52 +0,0 @@
1
- import { VocabularyDeclaration } from './declarations.js';
2
- import { DocumentClaims } from './assess.js';
3
- export interface BundleRead {
4
- documents: DocumentClaims[];
5
- /** Documents whose frontmatter could not be parsed, and why. */
6
- unreadable: Array<{
7
- path: string;
8
- reason: string;
9
- }>;
10
- }
11
- /**
12
- * Read every markdown document under `bundleRoot` for one declaration's fields.
13
- *
14
- * Both the claim field and the justified-absence field accept a scalar or a
15
- * list, because `quality_attribute: security` and
16
- * `quality_attributes_not_applicable: [safety, compliance]` are both ordinary
17
- * authoring — the same two shapes the engine accepts, for the same reason.
18
- */
19
- export declare function readBundleClaims(bundleRoot: string, declaration: VocabularyDeclaration): BundleRead;
20
- /**
21
- * Project already-read documents onto one declaration.
22
- *
23
- * Split out from {@link readBundleClaims} so a caller with several declarations
24
- * walks the bundle **once**. The combined form re-read every file per
25
- * declaration, which NFR-011-M-2 budgets at one pass per invocation.
26
- */
27
- export declare function claimsFor(read: BundleDocument[], declaration: VocabularyDeclaration): DocumentClaims[];
28
- /** One document's frontmatter and body, as read from the bundle. */
29
- export interface BundleDocument {
30
- /** Path, relative to the bundle root. */
31
- path: string;
32
- frontmatter: Record<string, unknown>;
33
- body: string;
34
- }
35
- export interface FrontmatterRead {
36
- documents: BundleDocument[];
37
- unreadable: Array<{
38
- path: string;
39
- reason: string;
40
- }>;
41
- }
42
- /**
43
- * Every document under `bundleRoot` that carries parseable frontmatter.
44
- *
45
- * One pass and one reader, shared by the completeness sweep (FR-037) and the
46
- * assurance view (FR-040). Two readers over the same files would drift, and the
47
- * second would be written by whoever needed a field the first did not expose —
48
- * which is how a repository ends up with two answers to "what does this
49
- * document declare".
50
- */
51
- export declare function readBundleFrontmatter(bundleRoot: string): FrontmatterRead;
52
- //# sourceMappingURL=bundle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle.d.ts","sourceRoot":"","sources":["../../src/completeness/bundle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAOH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAKlD,MAAM,WAAW,UAAU;IACzB,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,gEAAgE;IAChE,UAAU,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACrD;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,qBAAqB,GACjC,UAAU,CAGZ;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,cAAc,EAAE,EACtB,WAAW,EAAE,qBAAqB,GACjC,cAAc,EAAE,CAalB;AAED,oEAAoE;AACpE,MAAM,WAAW,cAAc;IAC7B,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,UAAU,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACrD;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,eAAe,CAgCzE"}
@@ -1,46 +0,0 @@
1
- /**
2
- * Declared vocabulary coverage, read from module data (FR-037).
3
- *
4
- * quire-rs FR-059 computes which declared values no document claims. This reads
5
- * the *same declaration* the engine reads, so quoin can say what a finding means
6
- * — which vocabulary, how many values it has, and where a justified absence may
7
- * be recorded — without minting a second list.
8
- *
9
- * Minting one is the failure this whole area exists to avoid: the 25010
10
- * characteristic set is **12 values in module data**, and the original ticket
11
- * proposed walking a hardcoded 9.
12
- */
13
- /** One `traceability.vocabulary_coverage` entry, with its values resolved. */
14
- export interface VocabularyDeclaration {
15
- /** The declaration's own name, e.g. `quality-characteristics`. */
16
- name: string;
17
- /** Artifact type the projection reads, e.g. `NFR`. */
18
- from: string;
19
- /** Frontmatter field carrying the claim, e.g. `quality_attribute`. */
20
- field: string;
21
- /** Corpus-check token the engine reports under. */
22
- check: string;
23
- /** Frontmatter field recording a deliberate non-applicability, if declared. */
24
- justifiedAbsenceField?: string;
25
- /** The declared vocabulary, read from the artifact type's frontmatter schema. */
26
- values: string[];
27
- /** Module that declared it, for collision reporting. */
28
- moduleName: string;
29
- }
30
- export interface VocabularyDeclarations {
31
- declarations: VocabularyDeclaration[];
32
- /** Declarations whose vocabulary could not be resolved, and why. */
33
- unresolved: Array<{
34
- name: string;
35
- reason: string;
36
- }>;
37
- }
38
- /**
39
- * Load every module's declared vocabulary coverage.
40
- *
41
- * A module declaring none contributes none. A declaration whose values cannot be
42
- * resolved is **reported, not dropped** — it is the case where the engine emits
43
- * findings quoin cannot explain, and silence there is worse than an empty list.
44
- */
45
- export declare function loadVocabularyCoverage(moduleRoots?: string[]): VocabularyDeclarations;
46
- //# sourceMappingURL=declarations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"declarations.d.ts","sourceRoot":"","sources":["../../src/completeness/declarations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AASH,8EAA8E;AAC9E,MAAM,WAAW,qBAAqB;IACpC,kEAAkE;IAClE,IAAI,EAAE,MAAM,CAAC;IACb,sDAAsD;IACtD,IAAI,EAAE,MAAM,CAAC;IACb,sEAAsE;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,+EAA+E;IAC/E,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,iFAAiF;IACjF,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,wDAAwD;IACxD,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACrC,YAAY,EAAE,qBAAqB,EAAE,CAAC;IACtC,oEAAoE;IACpE,UAAU,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACrD;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CACpC,WAAW,WAAuB,GACjC,sBAAsB,CAoDxB"}
@@ -1,11 +0,0 @@
1
- /**
2
- * Declared-vocabulary completeness and its verdict policy (FR-037).
3
- *
4
- * The split ADR-0011 names: quire-rs computes coverage over the spec corpus,
5
- * quoin decides what a gap is worth and whether an excuse was earned.
6
- */
7
- export { assessVocabulary, verdictFor, writtenReasonFor, type CompletenessFinding, type CompletenessReport, type DocumentClaims, type FindingKind, type Severity, type Verdict, type VocabularyRollup, } from './assess.js';
8
- export { loadVocabularyCoverage, type VocabularyDeclaration, type VocabularyDeclarations, } from './declarations.js';
9
- export { claimsFor, readBundleClaims, readBundleFrontmatter, type BundleDocument, type BundleRead, type FrontmatterRead, } from './bundle.js';
10
- export { assessBundle, type AssessOptions, type BundleAssessment, } from './run.js';
11
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/completeness/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,gBAAgB,GACtB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,sBAAsB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,GAC5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,qBAAqB,EACrB,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,eAAe,GACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,YAAY,EACZ,KAAK,aAAa,EAClB,KAAK,gBAAgB,GACtB,MAAM,UAAU,CAAC"}
@@ -1,35 +0,0 @@
1
- import { CompletenessReport } from './assess.js';
2
- export interface AssessOptions {
3
- /** Bundle root — the directory whose documents are read. */
4
- bundleRoot: string;
5
- /** Promote an admitted gap to a failing verdict. */
6
- strict?: boolean;
7
- /** Module roots to read declarations from; defaults to the installed set. */
8
- moduleRoots?: string[];
9
- }
10
- export interface BundleAssessment extends CompletenessReport {
11
- bundleRoot: string;
12
- /** Declarations found, so a report of zero findings can be told from zero checks. */
13
- vocabularies: string[];
14
- /** Declarations whose vocabulary could not be resolved. */
15
- unresolved: Array<{
16
- name: string;
17
- reason: string;
18
- }>;
19
- /** Documents whose frontmatter could not be parsed. */
20
- unreadable: Array<{
21
- path: string;
22
- reason: string;
23
- }>;
24
- }
25
- /**
26
- * Assess a bundle and return the report the command prints.
27
- *
28
- * **Zero declarations is reported, not passed.** A repository whose module set
29
- * declares no vocabulary coverage has not been checked, and printing `PASS`
30
- * over it would be the "green matrix over dead links" result this program was
31
- * created to stop. `vocabularies: []` makes the difference visible in both the
32
- * human and JSON output.
33
- */
34
- export declare function assessBundle(options: AssessOptions): BundleAssessment;
35
- //# sourceMappingURL=run.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../src/completeness/run.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAIL,KAAK,kBAAkB,EAExB,MAAM,aAAa,CAAC;AAOrB,MAAM,WAAW,aAAa;IAC5B,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,6EAA6E;IAC7E,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB;IAC1D,UAAU,EAAE,MAAM,CAAC;IACnB,qFAAqF;IACrF,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,2DAA2D;IAC3D,UAAU,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACpD,uDAAuD;IACvD,UAAU,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACrD;AAED;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,aAAa,GAAG,gBAAgB,CA8CrE"}