@agent-ix/quoin 0.23.1 → 0.26.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.
- package/README.md +8 -258
- package/bin/launcher.js +138 -0
- package/package.json +22 -123
- package/.agents/plugins/marketplace.json +0 -14
- package/.claude-plugin/marketplace.json +0 -16
- package/.claude-plugin/plugin.json +0 -8
- package/.codex-plugin/plugin.json +0 -27
- package/.github/plugin/marketplace.json +0 -16
- package/bin/quoin.js +0 -21
- package/default-modules.yaml +0 -107
- package/dist/advisor/advise.d.ts +0 -199
- package/dist/advisor/advise.d.ts.map +0 -1
- package/dist/advisor/index.d.ts +0 -10
- package/dist/advisor/index.d.ts.map +0 -1
- package/dist/advisor/methods.d.ts +0 -60
- package/dist/advisor/methods.d.ts.map +0 -1
- package/dist/advisor-B0rESCx1.js +0 -63
- package/dist/assurance/graph.d.ts +0 -87
- package/dist/assurance/graph.d.ts.map +0 -1
- package/dist/assurance/index.d.ts +0 -9
- package/dist/assurance/index.d.ts.map +0 -1
- package/dist/assurance/render.d.ts +0 -3
- package/dist/assurance/render.d.ts.map +0 -1
- package/dist/auditor/audit.d.ts +0 -146
- package/dist/auditor/audit.d.ts.map +0 -1
- package/dist/auditor/combinatorial.d.ts +0 -53
- package/dist/auditor/combinatorial.d.ts.map +0 -1
- package/dist/auditor/index.d.ts +0 -9
- package/dist/auditor/index.d.ts.map +0 -1
- package/dist/auditor-Dd3i9Aqx.js +0 -340
- package/dist/base-gAClyCNd.js +0 -137
- package/dist/base.d.ts +0 -23
- package/dist/base.d.ts.map +0 -1
- package/dist/catalog.d.ts +0 -33
- package/dist/catalog.d.ts.map +0 -1
- package/dist/change-assurance/attestations.d.ts +0 -7
- package/dist/change-assurance/attestations.d.ts.map +0 -1
- package/dist/change-assurance/index.d.ts +0 -14
- package/dist/change-assurance/index.d.ts.map +0 -1
- package/dist/change-assurance/integrity.d.ts +0 -11
- package/dist/change-assurance/integrity.d.ts.map +0 -1
- package/dist/change-assurance/records.d.ts +0 -22
- package/dist/change-assurance/records.d.ts.map +0 -1
- package/dist/change-assurance/schema-assets.d.ts +0 -8
- package/dist/change-assurance/schema-assets.d.ts.map +0 -1
- package/dist/change-assurance/store.d.ts +0 -18
- package/dist/change-assurance/store.d.ts.map +0 -1
- package/dist/change-assurance/types.d.ts +0 -180
- package/dist/change-assurance/types.d.ts.map +0 -1
- package/dist/change-assurance/verify.d.ts +0 -4
- package/dist/change-assurance/verify.d.ts.map +0 -1
- package/dist/change-assurance-CyKLPeKa.js +0 -1236
- package/dist/cli.d.ts +0 -61
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js +0 -34
- package/dist/commands/advise.d.ts +0 -16
- package/dist/commands/advise.d.ts.map +0 -1
- package/dist/commands/advise.js +0 -234
- package/dist/commands/assurance.d.ts +0 -14
- package/dist/commands/assurance.d.ts.map +0 -1
- package/dist/commands/assurance.js +0 -204
- package/dist/commands/catalog/index.d.ts +0 -2
- package/dist/commands/catalog/index.d.ts.map +0 -1
- package/dist/commands/catalog/index.js +0 -2
- package/dist/commands/catalog/list.d.ts +0 -11
- package/dist/commands/catalog/list.d.ts.map +0 -1
- package/dist/commands/catalog/list.js +0 -22
- package/dist/commands/catalog/methods.d.ts +0 -12
- package/dist/commands/catalog/methods.d.ts.map +0 -1
- package/dist/commands/catalog/methods.js +0 -43
- package/dist/commands/catalog/show.d.ts +0 -13
- package/dist/commands/catalog/show.d.ts.map +0 -1
- package/dist/commands/catalog/show.js +0 -25
- package/dist/commands/catalog/validate.d.ts +0 -10
- package/dist/commands/catalog/validate.d.ts.map +0 -1
- package/dist/commands/catalog/validate.js +0 -27
- package/dist/commands/change-assurance/common.d.ts +0 -37
- package/dist/commands/change-assurance/common.d.ts.map +0 -1
- package/dist/commands/change-assurance/index.d.ts +0 -8
- package/dist/commands/change-assurance/index.d.ts.map +0 -1
- package/dist/commands/change-assurance/index.js +0 -12
- package/dist/commands/change-assurance/intake.d.ts +0 -15
- package/dist/commands/change-assurance/intake.d.ts.map +0 -1
- package/dist/commands/change-assurance/intake.js +0 -53
- package/dist/commands/change-assurance/receipt.d.ts +0 -21
- package/dist/commands/change-assurance/receipt.d.ts.map +0 -1
- package/dist/commands/change-assurance/receipt.js +0 -99
- package/dist/commands/change-assurance/recover.d.ts +0 -13
- package/dist/commands/change-assurance/recover.d.ts.map +0 -1
- package/dist/commands/change-assurance/recover.js +0 -29
- package/dist/commands/change-assurance/schema.d.ts +0 -13
- package/dist/commands/change-assurance/schema.d.ts.map +0 -1
- package/dist/commands/change-assurance/schema.js +0 -40
- package/dist/commands/change-assurance/seal-attestation.d.ts +0 -15
- package/dist/commands/change-assurance/seal-attestation.d.ts.map +0 -1
- package/dist/commands/change-assurance/seal-attestation.js +0 -58
- package/dist/commands/change-assurance/seal-record.d.ts +0 -14
- package/dist/commands/change-assurance/seal-record.d.ts.map +0 -1
- package/dist/commands/change-assurance/seal-record.js +0 -53
- package/dist/commands/change-assurance/verify-receipt.d.ts +0 -13
- package/dist/commands/change-assurance/verify-receipt.d.ts.map +0 -1
- package/dist/commands/change-assurance/verify-receipt.js +0 -41
- package/dist/commands/completeness.d.ts +0 -16
- package/dist/commands/completeness.d.ts.map +0 -1
- package/dist/commands/completeness.js +0 -49
- package/dist/commands/config/doctor.d.ts +0 -7
- package/dist/commands/config/doctor.d.ts.map +0 -1
- package/dist/commands/config/doctor.js +0 -15
- package/dist/commands/config/edit.d.ts +0 -7
- package/dist/commands/config/edit.d.ts.map +0 -1
- package/dist/commands/config/edit.js +0 -13
- package/dist/commands/config/get.d.ts +0 -11
- package/dist/commands/config/get.d.ts.map +0 -1
- package/dist/commands/config/get.js +0 -20
- package/dist/commands/config/index.d.ts +0 -2
- package/dist/commands/config/index.d.ts.map +0 -1
- package/dist/commands/config/index.js +0 -2
- package/dist/commands/config/set.d.ts +0 -12
- package/dist/commands/config/set.d.ts.map +0 -1
- package/dist/commands/config/set.js +0 -26
- package/dist/commands/evidence/affirm.d.ts +0 -17
- package/dist/commands/evidence/affirm.d.ts.map +0 -1
- package/dist/commands/evidence/affirm.js +0 -65
- package/dist/commands/evidence/audit.d.ts +0 -34
- package/dist/commands/evidence/audit.d.ts.map +0 -1
- package/dist/commands/evidence/audit.js +0 -107
- package/dist/commands/evidence/baseline.d.ts +0 -14
- package/dist/commands/evidence/baseline.d.ts.map +0 -1
- package/dist/commands/evidence/baseline.js +0 -89
- package/dist/commands/evidence/gc.d.ts +0 -13
- package/dist/commands/evidence/gc.d.ts.map +0 -1
- package/dist/commands/evidence/gc.js +0 -35
- package/dist/commands/evidence/index.d.ts +0 -8
- package/dist/commands/evidence/index.d.ts.map +0 -1
- package/dist/commands/evidence/index.js +0 -18
- package/dist/commands/evidence/inspect-mocks.d.ts +0 -16
- package/dist/commands/evidence/inspect-mocks.d.ts.map +0 -1
- package/dist/commands/evidence/inspect-mocks.js +0 -49
- package/dist/commands/evidence/record.d.ts +0 -22
- package/dist/commands/evidence/record.d.ts.map +0 -1
- package/dist/commands/evidence/record.js +0 -144
- package/dist/commands/graph/change-impact.d.ts +0 -16
- package/dist/commands/graph/change-impact.d.ts.map +0 -1
- package/dist/commands/graph/change-impact.js +0 -29
- package/dist/commands/graph/churn.d.ts +0 -14
- package/dist/commands/graph/churn.d.ts.map +0 -1
- package/dist/commands/graph/churn.js +0 -15
- package/dist/commands/graph/common.d.ts +0 -16
- package/dist/commands/graph/common.d.ts.map +0 -1
- package/dist/commands/graph/fan-out.d.ts +0 -14
- package/dist/commands/graph/fan-out.d.ts.map +0 -1
- package/dist/commands/graph/fan-out.js +0 -15
- package/dist/commands/graph/index.d.ts +0 -8
- package/dist/commands/graph/index.d.ts.map +0 -1
- package/dist/commands/graph/index.js +0 -12
- package/dist/commands/matrix.d.ts +0 -14
- package/dist/commands/matrix.d.ts.map +0 -1
- package/dist/commands/matrix.js +0 -15
- package/dist/commands/measurement/index.d.ts +0 -7
- package/dist/commands/measurement/index.d.ts.map +0 -1
- package/dist/commands/measurement/index.js +0 -11
- package/dist/commands/measurement/intervention.d.ts +0 -11
- package/dist/commands/measurement/intervention.d.ts.map +0 -1
- package/dist/commands/measurement/intervention.js +0 -31
- package/dist/commands/measurement/operational-release.d.ts +0 -11
- package/dist/commands/measurement/operational-release.d.ts.map +0 -1
- package/dist/commands/measurement/operational-release.js +0 -31
- package/dist/commands/measurement/record.d.ts +0 -10
- package/dist/commands/measurement/record.d.ts.map +0 -1
- package/dist/commands/measurement/record.js +0 -36
- package/dist/commands/module/ensure-defaults.d.ts +0 -8
- package/dist/commands/module/ensure-defaults.d.ts.map +0 -1
- package/dist/commands/module/ensure-defaults.js +0 -17
- package/dist/commands/module/index.d.ts +0 -2
- package/dist/commands/module/index.d.ts.map +0 -1
- package/dist/commands/module/index.js +0 -2
- package/dist/commands/module/install.d.ts +0 -11
- package/dist/commands/module/install.d.ts.map +0 -1
- package/dist/commands/module/install.js +0 -22
- package/dist/commands/module/list.d.ts +0 -8
- package/dist/commands/module/list.d.ts.map +0 -1
- package/dist/commands/module/list.js +0 -13
- package/dist/commands/module/remove.d.ts +0 -10
- package/dist/commands/module/remove.d.ts.map +0 -1
- package/dist/commands/module/remove.js +0 -16
- package/dist/commands/plugin/deprecation.d.ts +0 -10
- package/dist/commands/plugin/deprecation.d.ts.map +0 -1
- package/dist/commands/plugin/ensure-defaults.d.ts +0 -8
- package/dist/commands/plugin/ensure-defaults.d.ts.map +0 -1
- package/dist/commands/plugin/ensure-defaults.js +0 -12
- package/dist/commands/plugin/index.d.ts +0 -2
- package/dist/commands/plugin/index.d.ts.map +0 -1
- package/dist/commands/plugin/index.js +0 -2
- package/dist/commands/plugin/install.d.ts +0 -8
- package/dist/commands/plugin/install.d.ts.map +0 -1
- package/dist/commands/plugin/install.js +0 -12
- package/dist/commands/plugin/list.d.ts +0 -8
- package/dist/commands/plugin/list.d.ts.map +0 -1
- package/dist/commands/plugin/list.js +0 -12
- package/dist/commands/plugin/remove.d.ts +0 -8
- package/dist/commands/plugin/remove.d.ts.map +0 -1
- package/dist/commands/plugin/remove.js +0 -12
- package/dist/commands/report.d.ts +0 -19
- package/dist/commands/report.d.ts.map +0 -1
- package/dist/commands/report.js +0 -96
- package/dist/commands/review.d.ts +0 -14
- package/dist/commands/review.d.ts.map +0 -1
- package/dist/commands/review.js +0 -15
- package/dist/commands/to-plan.d.ts +0 -14
- package/dist/commands/to-plan.d.ts.map +0 -1
- package/dist/commands/to-plan.js +0 -15
- package/dist/commands/update.d.ts +0 -13
- package/dist/commands/update.d.ts.map +0 -1
- package/dist/commands/update.js +0 -34
- package/dist/commands/validate.d.ts +0 -13
- package/dist/commands/validate.d.ts.map +0 -1
- package/dist/commands/validate.js +0 -123
- package/dist/commands/write.d.ts +0 -16
- package/dist/commands/write.d.ts.map +0 -1
- package/dist/commands/write.js +0 -33
- package/dist/common-B1ZJ8CSO.js +0 -36
- package/dist/common-DTrmnvL-.js +0 -35
- package/dist/completeness/assess.d.ts +0 -82
- package/dist/completeness/assess.d.ts.map +0 -1
- package/dist/completeness/bundle.d.ts +0 -52
- package/dist/completeness/bundle.d.ts.map +0 -1
- package/dist/completeness/declarations.d.ts +0 -46
- package/dist/completeness/declarations.d.ts.map +0 -1
- package/dist/completeness/index.d.ts +0 -11
- package/dist/completeness/index.d.ts.map +0 -1
- package/dist/completeness/run.d.ts +0 -35
- package/dist/completeness/run.d.ts.map +0 -1
- package/dist/completeness-BzBuNq6w.js +0 -228
- package/dist/config-schema-Dp-vlxuR.js +0 -13
- package/dist/config-schema.d.ts +0 -52
- package/dist/config-schema.d.ts.map +0 -1
- package/dist/deprecation-fRxUHoxv.js +0 -4
- package/dist/evidence/adapters/agent-eval.d.ts +0 -26
- package/dist/evidence/adapters/agent-eval.d.ts.map +0 -1
- package/dist/evidence/adapters/audit-script.d.ts +0 -25
- package/dist/evidence/adapters/audit-script.d.ts.map +0 -1
- package/dist/evidence/adapters/cargo-mutants.d.ts +0 -3
- package/dist/evidence/adapters/cargo-mutants.d.ts.map +0 -1
- package/dist/evidence/adapters/contract-conformance.d.ts +0 -16
- package/dist/evidence/adapters/contract-conformance.d.ts.map +0 -1
- package/dist/evidence/adapters/differential-report.d.ts +0 -18
- package/dist/evidence/adapters/differential-report.d.ts.map +0 -1
- package/dist/evidence/adapters/junit.d.ts +0 -17
- package/dist/evidence/adapters/junit.d.ts.map +0 -1
- package/dist/evidence/adapters/registry.d.ts +0 -63
- package/dist/evidence/adapters/registry.d.ts.map +0 -1
- package/dist/evidence/adapters/sarif.d.ts +0 -35
- package/dist/evidence/adapters/sarif.d.ts.map +0 -1
- package/dist/evidence/adapters/sbom.d.ts +0 -35
- package/dist/evidence/adapters/sbom.d.ts.map +0 -1
- package/dist/evidence/adapters/types.d.ts +0 -86
- package/dist/evidence/adapters/types.d.ts.map +0 -1
- package/dist/evidence/index.d.ts +0 -27
- package/dist/evidence/index.d.ts.map +0 -1
- package/dist/evidence/mock-inspection.d.ts +0 -16
- package/dist/evidence/mock-inspection.d.ts.map +0 -1
- package/dist/evidence/record.d.ts +0 -58
- package/dist/evidence/record.d.ts.map +0 -1
- package/dist/evidence/store.d.ts +0 -215
- package/dist/evidence/store.d.ts.map +0 -1
- package/dist/evidence/types.d.ts +0 -281
- package/dist/evidence/types.d.ts.map +0 -1
- package/dist/evidence-OyqpqHLS.js +0 -614
- package/dist/flow-command-CCRTE5Oe.js +0 -88
- package/dist/flow-command.d.ts +0 -25
- package/dist/flow-command.d.ts.map +0 -1
- package/dist/flows.d.ts +0 -7
- package/dist/flows.d.ts.map +0 -1
- package/dist/graph-analysis/analysis.d.ts +0 -106
- package/dist/graph-analysis/analysis.d.ts.map +0 -1
- package/dist/graph-analysis/index.d.ts +0 -6
- package/dist/graph-analysis/index.d.ts.map +0 -1
- package/dist/graph-analysis/input.d.ts +0 -33
- package/dist/graph-analysis/input.d.ts.map +0 -1
- package/dist/graph-analysis/load.d.ts +0 -21
- package/dist/graph-analysis/load.d.ts.map +0 -1
- package/dist/graph-analysis/render.d.ts +0 -4
- package/dist/graph-analysis/render.d.ts.map +0 -1
- package/dist/graph-analysis-IWaoJJSN.js +0 -657
- package/dist/hooks/command-not-found.d.ts +0 -23
- package/dist/hooks/command-not-found.d.ts.map +0 -1
- package/dist/hooks/command-not-found.js +0 -8
- package/dist/index.d.ts +0 -13
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -12
- package/dist/measurement/agent-eval-intervention.d.ts +0 -6
- package/dist/measurement/agent-eval-intervention.d.ts.map +0 -1
- package/dist/measurement/atomic-file.d.ts +0 -5
- package/dist/measurement/atomic-file.d.ts.map +0 -1
- package/dist/measurement/compare.d.ts +0 -4
- package/dist/measurement/compare.d.ts.map +0 -1
- package/dist/measurement/date-time.d.ts +0 -3
- package/dist/measurement/date-time.d.ts.map +0 -1
- package/dist/measurement/github-release-operational.d.ts +0 -7
- package/dist/measurement/github-release-operational.d.ts.map +0 -1
- package/dist/measurement/graph-adapters.d.ts +0 -304
- package/dist/measurement/graph-adapters.d.ts.map +0 -1
- package/dist/measurement/graph-portfolio-load.d.ts +0 -3
- package/dist/measurement/graph-portfolio-load.d.ts.map +0 -1
- package/dist/measurement/graph-portfolio.d.ts +0 -158
- package/dist/measurement/graph-portfolio.d.ts.map +0 -1
- package/dist/measurement/index.d.ts +0 -22
- package/dist/measurement/index.d.ts.map +0 -1
- package/dist/measurement/intervention-report.d.ts +0 -24
- package/dist/measurement/intervention-report.d.ts.map +0 -1
- package/dist/measurement/intervention-schema.d.ts +0 -144
- package/dist/measurement/intervention-schema.d.ts.map +0 -1
- package/dist/measurement/intervention-types.d.ts +0 -105
- package/dist/measurement/intervention-types.d.ts.map +0 -1
- package/dist/measurement/intervention.d.ts +0 -16
- package/dist/measurement/intervention.d.ts.map +0 -1
- package/dist/measurement/operational-report.d.ts +0 -17
- package/dist/measurement/operational-report.d.ts.map +0 -1
- package/dist/measurement/operational-schema.d.ts +0 -461
- package/dist/measurement/operational-schema.d.ts.map +0 -1
- package/dist/measurement/operational-types.d.ts +0 -121
- package/dist/measurement/operational-types.d.ts.map +0 -1
- package/dist/measurement/operational.d.ts +0 -13
- package/dist/measurement/operational.d.ts.map +0 -1
- package/dist/measurement/plans.d.ts +0 -6
- package/dist/measurement/plans.d.ts.map +0 -1
- package/dist/measurement/portfolio.d.ts +0 -54
- package/dist/measurement/portfolio.d.ts.map +0 -1
- package/dist/measurement/profiles.d.ts +0 -9
- package/dist/measurement/profiles.d.ts.map +0 -1
- package/dist/measurement/report.d.ts +0 -48
- package/dist/measurement/report.d.ts.map +0 -1
- package/dist/measurement/schemas/operational-evidence-v1.schema.json.d.ts +0 -384
- package/dist/measurement/store.d.ts +0 -14
- package/dist/measurement/store.d.ts.map +0 -1
- package/dist/measurement/types.d.ts +0 -85
- package/dist/measurement/types.d.ts.map +0 -1
- package/dist/measurement/validate.d.ts +0 -9
- package/dist/measurement/validate.d.ts.map +0 -1
- package/dist/measurement-j8sDSqx5.js +0 -2980
- package/dist/modules-DDQkKC4l.js +0 -23
- package/dist/modules.d.ts +0 -10
- package/dist/modules.d.ts.map +0 -1
- package/dist/org.d.ts +0 -61
- package/dist/org.d.ts.map +0 -1
- package/dist/plugins-CHpYhpEI.js +0 -77
- package/dist/plugins.d.ts +0 -13
- package/dist/plugins.d.ts.map +0 -1
- package/dist/quire/assurance.d.ts +0 -109
- package/dist/quire/assurance.d.ts.map +0 -1
- package/dist/quire/contract.d.ts +0 -88
- package/dist/quire/contract.d.ts.map +0 -1
- package/dist/quire/exec.d.ts +0 -66
- package/dist/quire/exec.d.ts.map +0 -1
- package/dist/quire/index.d.ts +0 -13
- package/dist/quire/index.d.ts.map +0 -1
- package/dist/quire/types.d.ts +0 -415
- package/dist/quire/types.d.ts.map +0 -1
- package/dist/quire/validate.d.ts +0 -39
- package/dist/quire/validate.d.ts.map +0 -1
- package/dist/quire-BsVj1xIR.js +0 -4968
- package/dist/schema-assets-HZWo_iFN.js +0 -233
- package/dist/schemas/assurance-v1.schema.json +0 -225
- package/dist/schemas/change-assurance-record-v1.schema.json +0 -234
- package/dist/schemas/coverage-v1.schema.json +0 -1111
- package/dist/schemas/operational-evidence-v1.schema.json +0 -381
- package/dist/schemas/proof-attestation-v1.schema.json +0 -96
- package/dist/schemas/properties-v1.schema.json +0 -159
- package/dist/schemas/verification-receipt-v1.schema.json +0 -208
- package/dist/validators/gates.d.ts +0 -18
- package/dist/validators/gates.d.ts.map +0 -1
- package/dist/validators/index.d.ts +0 -2
- package/dist/validators/index.d.ts.map +0 -1
- package/dist/version-CMxMIh5g.js +0 -17
- package/dist/version.d.ts +0 -3
- package/dist/version.d.ts.map +0 -1
- package/dist/write-CGTI0dRO.js +0 -157
- package/dist/write.d.ts +0 -28
- package/dist/write.d.ts.map +0 -1
- package/skills/assurance-status-report/SKILL.md +0 -135
- package/skills/assurance-status-report/references/report-contract.md +0 -110
- package/skills/gap-analysis/SKILL.md +0 -111
- package/skills/gap-analysis/references/step-1-target-selection.md +0 -53
- package/skills/gap-analysis/references/step-2-plan-completion.md +0 -49
- package/skills/gap-analysis/references/step-3-matrix-verification.md +0 -147
- package/skills/gap-analysis/references/step-4-underspecified-code.md +0 -92
- package/skills/gap-analysis/references/step-5-semantic-review.md +0 -51
- package/skills/gap-analysis/references/step-6-specreview-artifact.md +0 -108
- package/skills/spec-app-review/SKILL.md +0 -51
- package/skills/spec-app-review/references/checklist.md +0 -197
- package/skills/spec-architecture-evaluation/SKILL.md +0 -30
- package/skills/spec-correctness/SKILL.md +0 -96
- package/skills/spec-correctness/assets/strategy-table.md +0 -101
- package/skills/spec-correctness/assets/templates/fast-check.ts.md +0 -169
- package/skills/spec-correctness/assets/templates/hypothesis.py.md +0 -156
- package/skills/spec-correctness/assets/templates/proptest.rs.md +0 -147
- package/skills/spec-correctness/references/step-0-scope-and-harness.md +0 -94
- package/skills/spec-correctness/references/step-1-census.md +0 -53
- package/skills/spec-correctness/references/step-2-clause-grounding.md +0 -159
- package/skills/spec-correctness/references/step-3-strategy-selection.md +0 -85
- package/skills/spec-correctness/references/step-4-generate-tests.md +0 -117
- package/skills/spec-correctness/references/step-5-second-pass.md +0 -81
- package/skills/spec-correctness/references/step-6-review-artifact.md +0 -134
- package/skills/spec-correctness/references/step-7-report-and-handoff.md +0 -102
- package/skills/spec-dependency-analysis/SKILL.md +0 -90
- package/skills/spec-ears-analysis/SKILL.md +0 -102
- package/skills/spec-evidence-analysis/SKILL.md +0 -156
- package/skills/spec-failure-domain-analysis/SKILL.md +0 -59
- package/skills/spec-fuzz/SKILL.md +0 -133
- package/skills/spec-fuzz/assets/templates/atheris.py.md +0 -74
- package/skills/spec-fuzz/assets/templates/cargo-fuzz.rs.md +0 -83
- package/skills/spec-fuzz/assets/templates/fast-check.ts.md +0 -76
- package/skills/spec-fuzz/references/step-0-scope-and-harness.md +0 -51
- package/skills/spec-fuzz/references/step-1-select-obligations.md +0 -47
- package/skills/spec-fuzz/references/step-2-ground-entry-point.md +0 -55
- package/skills/spec-fuzz/references/step-3-emit-targets.md +0 -65
- package/skills/spec-fuzz/references/step-4-report.md +0 -56
- package/skills/spec-ideation/SKILL.md +0 -46
- package/skills/spec-integrity-analysis/SKILL.md +0 -62
- package/skills/spec-matrix/SKILL.md +0 -186
- package/skills/spec-matrix/assets/test-cases/TC-001.md +0 -35
- package/skills/spec-matrix/assets/test-cases/TC-002.md +0 -37
- package/skills/spec-matrix/assets/test-cases/TC-006.md +0 -50
- package/skills/spec-matrix/assets/test-matrix-example.md +0 -104
- package/skills/spec-matrix/assets/test-matrix-template.md +0 -123
- package/skills/spec-matrix/workflow-assets/dist/index.d.ts +0 -146
- package/skills/spec-matrix/workflow-assets/dist/index.d.ts.map +0 -1
- package/skills/spec-matrix/workflow-assets/dist/index.js +0 -7525
- package/skills/spec-matrix/workflow-assets/dist/invariants.d.ts +0 -6
- package/skills/spec-matrix/workflow-assets/dist/invariants.d.ts.map +0 -1
- package/skills/spec-matrix/workflow-assets/skills/matrix/SKILL.md +0 -35
- package/skills/spec-matrix/workflow-assets/skills/matrix/scripts/invariants.js +0 -1
- package/skills/spec-matrix/workflow-assets/skills/matrix/templates/report/default.md +0 -30
- package/skills/spec-matrix/workflow-assets/skills/matrix/workflows/matrix/def.yaml +0 -82
- package/skills/spec-object-review/SKILL.md +0 -125
- package/skills/spec-object-review/references/object-type-guide.md +0 -118
- package/skills/spec-review/SKILL.md +0 -92
- package/skills/spec-review/references/checklist.md +0 -50
- package/skills/spec-review/workflow-assets/dist/index.d.ts +0 -146
- package/skills/spec-review/workflow-assets/dist/index.d.ts.map +0 -1
- package/skills/spec-review/workflow-assets/dist/index.js +0 -7525
- package/skills/spec-review/workflow-assets/dist/invariants.d.ts +0 -6
- package/skills/spec-review/workflow-assets/dist/invariants.d.ts.map +0 -1
- package/skills/spec-review/workflow-assets/skills/review/SKILL.md +0 -96
- package/skills/spec-review/workflow-assets/skills/review/scripts/invariants.js +0 -61
- package/skills/spec-review/workflow-assets/skills/review/workflows/review/def.yaml +0 -68
- package/skills/spec-risk-complexity-analysis/SKILL.md +0 -92
- package/skills/spec-scope-boundary-analysis/SKILL.md +0 -101
- package/skills/spec-security-analysis/SKILL.md +0 -84
- package/skills/spec-security-analysis/assets/security-analysis-example.md +0 -89
- package/skills/spec-security-analysis/assets/security-analysis-template.md +0 -73
- package/skills/spec-security-analysis/references/component-type-mapping.md +0 -161
- package/skills/spec-security-analysis/references/gdpr/ChII-Principles.md +0 -58
- package/skills/spec-security-analysis/references/gdpr/ChIII-DataSubjectRights.md +0 -84
- package/skills/spec-security-analysis/references/gdpr/ChIV-ControllerProcessor.md +0 -83
- package/skills/spec-security-analysis/references/gdpr/ChV-DataTransfers.md +0 -62
- package/skills/spec-security-analysis/references/gdpr/index.md +0 -54
- package/skills/spec-security-analysis/references/iso27001/A5-OrganizationalControls.md +0 -64
- package/skills/spec-security-analysis/references/iso27001/A6-PeopleControls.md +0 -30
- package/skills/spec-security-analysis/references/iso27001/A7-PhysicalControls.md +0 -35
- package/skills/spec-security-analysis/references/iso27001/A8-TechnologicalControls.md +0 -66
- package/skills/spec-security-analysis/references/iso27001/index.md +0 -43
- package/skills/spec-security-analysis/references/nist-800-53/AC-AccessControl.md +0 -57
- package/skills/spec-security-analysis/references/nist-800-53/AU-AuditAccountability.md +0 -49
- package/skills/spec-security-analysis/references/nist-800-53/CM-ConfigurationManagement.md +0 -36
- package/skills/spec-security-analysis/references/nist-800-53/IA-IdentificationAuthentication.md +0 -44
- package/skills/spec-security-analysis/references/nist-800-53/SA-SystemServicesAcquisition.md +0 -50
- package/skills/spec-security-analysis/references/nist-800-53/SC-SystemCommunications.md +0 -53
- package/skills/spec-security-analysis/references/nist-800-53/SI-SystemInformationIntegrity.md +0 -52
- package/skills/spec-security-analysis/references/nist-800-53/index.md +0 -58
- package/skills/spec-security-analysis/references/owasp-asvs/V1-Architecture.md +0 -33
- package/skills/spec-security-analysis/references/owasp-asvs/V10-MaliciousCode.md +0 -33
- package/skills/spec-security-analysis/references/owasp-asvs/V11-BusinessLogic.md +0 -32
- package/skills/spec-security-analysis/references/owasp-asvs/V12-Files.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V13-API.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V14-Configuration.md +0 -35
- package/skills/spec-security-analysis/references/owasp-asvs/V2-Authentication.md +0 -36
- package/skills/spec-security-analysis/references/owasp-asvs/V3-SessionManagement.md +0 -35
- package/skills/spec-security-analysis/references/owasp-asvs/V4-AccessControl.md +0 -39
- package/skills/spec-security-analysis/references/owasp-asvs/V5-Validation.md +0 -37
- package/skills/spec-security-analysis/references/owasp-asvs/V6-Cryptography.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V7-ErrorLogging.md +0 -37
- package/skills/spec-security-analysis/references/owasp-asvs/V8-DataProtection.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V9-Communication.md +0 -32
- package/skills/spec-security-analysis/references/owasp-asvs/index.md +0 -59
- package/skills/spec-security-analysis/references/soc2/CC1-ControlEnvironment.md +0 -31
- package/skills/spec-security-analysis/references/soc2/CC2-CommunicationInformation.md +0 -27
- package/skills/spec-security-analysis/references/soc2/CC3-RiskAssessment.md +0 -29
- package/skills/spec-security-analysis/references/soc2/CC4-MonitoringActivities.md +0 -27
- package/skills/spec-security-analysis/references/soc2/CC5-ControlActivities.md +0 -28
- package/skills/spec-security-analysis/references/soc2/CC6-LogicalPhysicalAccess.md +0 -45
- package/skills/spec-security-analysis/references/soc2/CC7-SystemOperations.md +0 -42
- package/skills/spec-security-analysis/references/soc2/CC8-ChangeManagement.md +0 -32
- package/skills/spec-security-analysis/references/soc2/CC9-RiskMitigation.md +0 -34
- package/skills/spec-security-analysis/references/soc2/index.md +0 -46
- package/skills/spec-security-analysis/references/standards-index.md +0 -46
- package/skills/spec-to-plan/SKILL.md +0 -88
- package/skills/spec-to-plan/references/step-0-plan-selection.md +0 -121
- package/skills/spec-to-plan/references/step-1-analysis.md +0 -88
- package/skills/spec-to-plan/references/step-2-test-plan.md +0 -43
- package/skills/spec-to-plan/references/step-3-execution-plan.md +0 -218
- package/skills/spec-to-plan/workflow-assets/dist/index.d.ts +0 -146
- package/skills/spec-to-plan/workflow-assets/dist/index.d.ts.map +0 -1
- package/skills/spec-to-plan/workflow-assets/dist/index.js +0 -7525
- package/skills/spec-to-plan/workflow-assets/dist/invariants.d.ts +0 -6
- package/skills/spec-to-plan/workflow-assets/dist/invariants.d.ts.map +0 -1
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/SKILL.md +0 -35
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/scripts/invariants.js +0 -1
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/templates/implementation-plan/default.md +0 -44
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/workflows/to-plan/def.yaml +0 -85
- package/skills/specify/SKILL.md +0 -154
- package/skills/specify/assets/app-spec-template.md +0 -143
- package/skills/specify/assets/spec-template.md +0 -299
- package/skills/specify/references/integration-tests.md +0 -72
- package/skills/specify/references/us-to-fr.md +0 -40
- package/skills/specify/references/writing-good-requirements.md +0 -61
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { a as e, l as t, n, t as r } from "../../quire-BsVj1xIR.js";
|
|
2
|
-
import { t as i } from "../../base-gAClyCNd.js";
|
|
3
|
-
import { a, b as o, g as s, m as c, u as l } from "../../schema-assets-HZWo_iFN.js";
|
|
4
|
-
import { n as u } from "../../evidence-OyqpqHLS.js";
|
|
5
|
-
import { t as d } from "../../advisor-B0rESCx1.js";
|
|
6
|
-
import { n as f, t as p } from "../../auditor-Dd3i9Aqx.js";
|
|
7
|
-
import { execFileSync as m } from "node:child_process";
|
|
8
|
-
import { Flags as h } from "@oclif/core";
|
|
9
|
-
//#region src/commands/evidence/baseline.ts
|
|
10
|
-
var g = class c extends i {
|
|
11
|
-
static summary = "Accept the current findings as the ratchet baseline.";
|
|
12
|
-
static description = "Writes spec/evidence/baseline.json: every finding the audit reports right now,\nas <kind>:<obligation>, plus the commit it was accepted at.\n\n`--ratchet` reads this file and fails only on findings NOT in it. Without it,\na first run of the gate reports the entire existing backlog and gets switched\noff within a week — so accepting a baseline is the deliberate act that makes\nthe ratchet usable, and its diff is the record of what was accepted and by whom.\n\nRe-run this at a release to move the ratchet forward. Never run it to make a\nnew failure go away: the diff is reviewed, and a baseline that grows between\nreleases is the gate quietly being disabled one entry at a time.";
|
|
13
|
-
static examples = ["quoin evidence baseline", "quoin evidence baseline --dry-run"];
|
|
14
|
-
static flags = {
|
|
15
|
-
repo: h.string({
|
|
16
|
-
description: "Repository root.",
|
|
17
|
-
default: "."
|
|
18
|
-
}),
|
|
19
|
-
module: h.string({ description: "Module directory supplying the traceability model." }),
|
|
20
|
-
"dry-run": h.boolean({ description: "Print what would be accepted and write nothing." }),
|
|
21
|
-
json: h.boolean({ description: "Emit the outcome as JSON." })
|
|
22
|
-
};
|
|
23
|
-
async run() {
|
|
24
|
-
let { flags: i } = await this.parse(c), l = t(r());
|
|
25
|
-
l && this.error(l.message, { exit: 2 });
|
|
26
|
-
let m = [
|
|
27
|
-
"coverage",
|
|
28
|
-
"--scope",
|
|
29
|
-
i.repo,
|
|
30
|
-
"--json"
|
|
31
|
-
];
|
|
32
|
-
i.module && m.push("--module", i.module);
|
|
33
|
-
let h = e(n(m));
|
|
34
|
-
h.ok || this.error(h.error.message, { exit: 2 });
|
|
35
|
-
let g = v(i.repo), y = u(i.repo, g), b = p({
|
|
36
|
-
obligations: h.value.obligations ?? [],
|
|
37
|
-
bindings: s(i.repo).bindings,
|
|
38
|
-
runs: _(i.repo),
|
|
39
|
-
injections: y.injections,
|
|
40
|
-
mockInspectionSuites: y.suites,
|
|
41
|
-
catalog: d(i.module ? [i.module] : void 0),
|
|
42
|
-
headCommit: g
|
|
43
|
-
}).findings.map(f).sort(), x = g ?? "";
|
|
44
|
-
if (i["dry-run"] || o(i.repo, {
|
|
45
|
-
schemaVersion: 1,
|
|
46
|
-
commit: x,
|
|
47
|
-
accepted: b
|
|
48
|
-
}), i.json) {
|
|
49
|
-
this.log(JSON.stringify({
|
|
50
|
-
accepted: b,
|
|
51
|
-
commit: x,
|
|
52
|
-
dryRun: !!i["dry-run"]
|
|
53
|
-
}, null, 2));
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
let S = /* @__PURE__ */ new Map();
|
|
57
|
-
for (let e of b) {
|
|
58
|
-
let t = e.slice(0, e.indexOf(":"));
|
|
59
|
-
S.set(t, (S.get(t) ?? 0) + 1);
|
|
60
|
-
}
|
|
61
|
-
this.log(`${i["dry-run"] ? "would accept" : "accepted"} ${b.length} finding(s) at ${x.slice(0, 12) || "an unknown commit"}`);
|
|
62
|
-
for (let [e, t] of [...S].sort()) this.log(` ${e}: ${t}`);
|
|
63
|
-
i["dry-run"] || this.log(a(i.repo));
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
function _(e) {
|
|
67
|
-
return c(e).map((t) => l(e, t)).filter((e) => e !== null);
|
|
68
|
-
}
|
|
69
|
-
function v(e) {
|
|
70
|
-
try {
|
|
71
|
-
return m("git", [
|
|
72
|
-
"-C",
|
|
73
|
-
e,
|
|
74
|
-
"rev-parse",
|
|
75
|
-
"HEAD"
|
|
76
|
-
], {
|
|
77
|
-
encoding: "utf8",
|
|
78
|
-
stdio: [
|
|
79
|
-
"ignore",
|
|
80
|
-
"pipe",
|
|
81
|
-
"ignore"
|
|
82
|
-
]
|
|
83
|
-
}).trim();
|
|
84
|
-
} catch {
|
|
85
|
-
return;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
//#endregion
|
|
89
|
-
export { g as default };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { QuoinCommand } from '../../base.js';
|
|
2
|
-
export default class EvidenceGc extends QuoinCommand {
|
|
3
|
-
static summary: string;
|
|
4
|
-
static description: string;
|
|
5
|
-
static examples: string[];
|
|
6
|
-
static flags: {
|
|
7
|
-
repo: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
8
|
-
"dry-run": import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
9
|
-
json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
10
|
-
};
|
|
11
|
-
run(): Promise<void>;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=gc.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gc.d.ts","sourceRoot":"","sources":["../../../src/commands/evidence/gc.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,YAAY;IAClD,MAAM,CAAC,OAAO,SAA0C;IACxD,MAAM,CAAC,WAAW,SAW4D;IAE9E,MAAM,CAAC,QAAQ,WAAwD;IAEvE,MAAM,CAAC,KAAK;;;;MAMV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAe3B"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../../base-gAClyCNd.js";
|
|
2
|
-
import { l as t } from "../../schema-assets-HZWo_iFN.js";
|
|
3
|
-
import "../../evidence-OyqpqHLS.js";
|
|
4
|
-
import { Flags as n } from "@oclif/core";
|
|
5
|
-
//#region src/commands/evidence/gc.ts
|
|
6
|
-
var r = class r extends e {
|
|
7
|
-
static summary = "Drop run records nothing references.";
|
|
8
|
-
static description = "Retention policy: the latest run per suite, plus anything a binding points at.\n\nDir-per-suite is what makes this local — a policy change for one expensive suite\n(mutation, DAST, fuzz) touches one directory, and a .gitignore decision can be\nmade per suite rather than for the whole store.\n\nTakes no --module, deliberately, though every sibling command does: --module\nsupplies the traceability model to quire, and gc never invokes quire and never\nloads a catalog. It is a repo-scoped store operation — it walks runs/ and\nscans/ under spec/evidence/ and decides from timestamps and bindings alone,\nnone of which carry catalog semantics. Should retention ever become\nmodule-policy-driven, the flag stops being a no-op and gets added then (#171).";
|
|
9
|
-
static examples = ["quoin evidence gc --dry-run", "quoin evidence gc"];
|
|
10
|
-
static flags = {
|
|
11
|
-
repo: n.string({
|
|
12
|
-
description: "Repository root.",
|
|
13
|
-
default: "."
|
|
14
|
-
}),
|
|
15
|
-
"dry-run": n.boolean({ description: "List what would be deleted without deleting it." }),
|
|
16
|
-
json: n.boolean({ description: "Emit the deleted paths as JSON." })
|
|
17
|
-
};
|
|
18
|
-
async run() {
|
|
19
|
-
let { flags: e } = await this.parse(r), n = t(e.repo, e["dry-run"]);
|
|
20
|
-
if (e.json) {
|
|
21
|
-
this.log(JSON.stringify({
|
|
22
|
-
deleted: n,
|
|
23
|
-
dryRun: e["dry-run"]
|
|
24
|
-
}, null, 2));
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
if (n.length === 0) {
|
|
28
|
-
this.log("nothing to collect");
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
for (let t of n) this.log(`${e["dry-run"] ? "would delete" : "deleted"} ${t}`);
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
//#endregion
|
|
35
|
-
export { r as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/evidence/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,YAAY;IAChD,MAAM,CAAC,OAAO,SAC2D;IACzE,MAAM,CAAC,WAAW,SAgB6C;IAE/D,MAAM,CAAC,QAAQ,WAMb;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAG3B"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../../base-gAClyCNd.js";
|
|
2
|
-
//#region src/commands/evidence/index.ts
|
|
3
|
-
var t = class t extends e {
|
|
4
|
-
static summary = "The evidence store — what actually ran, and against which statement.";
|
|
5
|
-
static description = "The artifact of record for verification (FR-030). quoin TRANSCRIBES; the\nconsumer's CI executes — nothing here runs a test.\n\nLayout, under spec/evidence/:\n\n suites.md authored suite registry (validated corpus document)\n inspections.md authored inspection acts (validated corpus document)\n bindings.json obligation -> hash-at-binding -> evidence\n baseline.json the accepted violation set the ratchet compares against\n runs/<SUITE-N>/<commit12>.json one file = one run of one suite\n\nSubcommands:\n quoin evidence record transcribe a suite run\n quoin evidence affirm re-affirm a binding after its statement changed\n quoin evidence audit read the store and report\n quoin evidence baseline accept the current findings as the ratchet baseline\n quoin evidence gc drop run records nothing references";
|
|
6
|
-
static examples = [
|
|
7
|
-
"quoin evidence record --suite SUITE-001 --commit $(git rev-parse HEAD) --tool 'cargo test' --results run.json",
|
|
8
|
-
"quoin evidence affirm --obligation FR-001-AC-1 --who @reviewer",
|
|
9
|
-
"quoin evidence audit --ratchet --strict",
|
|
10
|
-
"quoin evidence baseline",
|
|
11
|
-
"quoin evidence gc --dry-run"
|
|
12
|
-
];
|
|
13
|
-
async run() {
|
|
14
|
-
this.log(t.description);
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
//#endregion
|
|
18
|
-
export { t as default };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { QuoinCommand } from '../../base.js';
|
|
2
|
-
export default class EvidenceInspectMocks extends QuoinCommand {
|
|
3
|
-
static summary: string;
|
|
4
|
-
static description: string;
|
|
5
|
-
static examples: string[];
|
|
6
|
-
static flags: {
|
|
7
|
-
suite: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
8
|
-
commit: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
9
|
-
repo: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
10
|
-
timestamp: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
11
|
-
"dry-run": import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
12
|
-
json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
13
|
-
};
|
|
14
|
-
run(): Promise<void>;
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=inspect-mocks.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inspect-mocks.d.ts","sourceRoot":"","sources":["../../../src/commands/evidence/inspect-mocks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAQ7C,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,YAAY;IAC5D,MAAM,CAAC,OAAO,SACkD;IAChE,MAAM,CAAC,WAAW,SAMsD;IAExE,MAAM,CAAC,QAAQ,WAEb;IAEF,MAAM,CAAC,KAAK;;;;;;;MAiBV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CA+B3B"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../../version-CMxMIh5g.js";
|
|
2
|
-
import { t } from "../../base-gAClyCNd.js";
|
|
3
|
-
import { S as n } from "../../schema-assets-HZWo_iFN.js";
|
|
4
|
-
import { t as r } from "../../evidence-OyqpqHLS.js";
|
|
5
|
-
import { Flags as i } from "@oclif/core";
|
|
6
|
-
//#region src/commands/evidence/inspect-mocks.ts
|
|
7
|
-
var a = class a extends t {
|
|
8
|
-
static summary = "Inspect test source and record explicit mock substitutions.";
|
|
9
|
-
static description = "Scans source for explicit stand-in constructors used by test symbols and records\nthe observation for one suite at one commit. It runs no test and assigns no\nverdict: evidence audit independently decides whether an injected identifier\noverlaps the behaviour an obligation claims to verify.\n\nRecord an empty inspection too. That is how audit distinguishes \"looked and\nfound no relevant injections\" from \"nobody looked\" (agent-ix/quoin#204).";
|
|
10
|
-
static examples = ["quoin evidence inspect-mocks --suite SUITE-001 --commit $(git rev-parse HEAD)"];
|
|
11
|
-
static flags = {
|
|
12
|
-
suite: i.string({
|
|
13
|
-
description: "Suite id whose test source is being inspected.",
|
|
14
|
-
required: !0
|
|
15
|
-
}),
|
|
16
|
-
commit: i.string({
|
|
17
|
-
description: "Full commit sha whose source is being inspected.",
|
|
18
|
-
required: !0
|
|
19
|
-
}),
|
|
20
|
-
repo: i.string({
|
|
21
|
-
description: "Repository root.",
|
|
22
|
-
default: "."
|
|
23
|
-
}),
|
|
24
|
-
timestamp: i.string({ description: "ISO-8601 inspection time. Defaults to now." }),
|
|
25
|
-
"dry-run": i.boolean({ description: "Inspect and report without writing an observation record." }),
|
|
26
|
-
json: i.boolean({ description: "Emit the record outcome as JSON." })
|
|
27
|
-
};
|
|
28
|
-
async run() {
|
|
29
|
-
let { flags: t } = await this.parse(a), i = r(t.repo, t.suite), o = t["dry-run"] ? null : n(t.repo, {
|
|
30
|
-
schemaVersion: 1,
|
|
31
|
-
suite: t.suite,
|
|
32
|
-
commit: t.commit,
|
|
33
|
-
tool: `quoin mock-inspection ${e()}`,
|
|
34
|
-
timestamp: t.timestamp ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
35
|
-
injections: i
|
|
36
|
-
});
|
|
37
|
-
if (t.json) {
|
|
38
|
-
this.log(JSON.stringify({
|
|
39
|
-
path: o,
|
|
40
|
-
injections: i
|
|
41
|
-
}, null, 2));
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
this.log(`${t["dry-run"] ? "inspected" : "recorded mock inspection"} ${t.suite} @ ${t.commit.slice(0, 12)}` + (o ? ` -> ${o}` : " (dry run; wrote nothing)")), this.log(` injections: ${i.length}`);
|
|
45
|
-
for (let e of i) this.log(` ${e.path ?? "(unknown)"}:${e.line ?? 0} ${e.symbol} injects ${e.injects.join(", ")}`);
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
//#endregion
|
|
49
|
-
export { a as default };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { QuoinCommand } from '../../base.js';
|
|
2
|
-
export default class EvidenceRecord extends QuoinCommand {
|
|
3
|
-
static summary: string;
|
|
4
|
-
static description: string;
|
|
5
|
-
static examples: string[];
|
|
6
|
-
static flags: {
|
|
7
|
-
suite: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
8
|
-
commit: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
9
|
-
tool: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
10
|
-
kind: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
11
|
-
discharges: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
12
|
-
adapter: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
13
|
-
results: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
14
|
-
repo: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
15
|
-
module: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
16
|
-
timestamp: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
17
|
-
json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
18
|
-
};
|
|
19
|
-
run(): Promise<void>;
|
|
20
|
-
}
|
|
21
|
-
export declare function isVersionedToolIdentity(value: string): boolean;
|
|
22
|
-
//# sourceMappingURL=record.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"record.d.ts","sourceRoot":"","sources":["../../../src/commands/evidence/record.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAoB7C,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,YAAY;IACtD,MAAM,CAAC,OAAO,SAAuD;IACrE,MAAM,CAAC,WAAW,SAcc;IAEhC,MAAM,CAAC,QAAQ,WAEb;IAEF,MAAM,CAAC,KAAK;;;;;;;;;;;;MAoDV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAqM3B;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAI9D"}
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import { a as e, l as t, n, t as r } from "../../quire-BsVj1xIR.js";
|
|
2
|
-
import { t as i } from "../../base-gAClyCNd.js";
|
|
3
|
-
import { g as a, o, w as s, x as c } from "../../schema-assets-HZWo_iFN.js";
|
|
4
|
-
import { a as l, c as u, i as d, r as f, s as p } from "../../evidence-OyqpqHLS.js";
|
|
5
|
-
import { readFileSync as m } from "node:fs";
|
|
6
|
-
import { Flags as h } from "@oclif/core";
|
|
7
|
-
//#region src/commands/evidence/record.ts
|
|
8
|
-
var g = class d extends i {
|
|
9
|
-
static summary = "Transcribe one suite run into the evidence store.";
|
|
10
|
-
static description = "Records ONE run of ONE suite at ONE commit, then binds every obligation that\nrun discharged, stamping the statement hash as it stands now.\n\nquoin transcribes; the consumer's CI executes (ADR-0011 invariant 1). This\ncommand runs no test and judges no result — recording a FAILING run is as\nlegitimate as recording a passing one, and more useful, because a suite that\nstopped passing is exactly what a freshness check needs to see.\n\n--results takes normalized entries:\n\n {\"entries\": [{\"symbol\": \"tests::tc001\", \"outcome\": \"pass\", \"traceIds\": [\"FR-001-AC-1\"]}]}\n\n--adapter selects a format reader. Without it the suite's --tool picks one, and\nfailing that the normalized shape above is assumed. An adapter transcribes; it\nruns nothing and judges nothing.";
|
|
11
|
-
static examples = ["quoin evidence record --suite SUITE-001 --commit $(git rev-parse HEAD) --tool 'cargo test 1.94.1' --results run.json"];
|
|
12
|
-
static flags = {
|
|
13
|
-
suite: h.string({
|
|
14
|
-
description: "Suite id from spec/evidence/suites.md (e.g. SUITE-001).",
|
|
15
|
-
required: !0
|
|
16
|
-
}),
|
|
17
|
-
commit: h.string({
|
|
18
|
-
description: "Full commit sha the run was performed at.",
|
|
19
|
-
required: !0
|
|
20
|
-
}),
|
|
21
|
-
tool: h.string({
|
|
22
|
-
description: "Tool and version, as it identifies itself.",
|
|
23
|
-
required: !0
|
|
24
|
-
}),
|
|
25
|
-
kind: h.string({ description: "Evidence kind this run produced (Unit, Property, Static, Manual, …) — the vocabulary the catalog's `evidence_kind` and the suite registry's `Evidence Kind` column use. Method conformance compares kind to kind; without it the check stays silent rather than guessing." }),
|
|
26
|
-
discharges: h.string({
|
|
27
|
-
description: "Obligation ids this scan discharges, comma-separated. Finding-shaped only. A CLEAN scan is the strongest evidence a scanner produces and carries no finding to bind from, so the obligations it was run to check are stated rather than inferred. A scan that evaluated no rules binds nothing regardless.",
|
|
28
|
-
multiple: !1
|
|
29
|
-
}),
|
|
30
|
-
adapter: h.string({
|
|
31
|
-
description: `Format reader for --results (${f.join(", ")}). Defaults to the adapter claiming --tool, else the normalized shape. An unknown name is an error rather than a silent fall back, so a typo reports itself instead of failing later as a JSON-shape complaint.`,
|
|
32
|
-
options: [...f]
|
|
33
|
-
}),
|
|
34
|
-
results: h.string({
|
|
35
|
-
description: "Normalized run entries as JSON. `-` reads stdin.",
|
|
36
|
-
required: !0
|
|
37
|
-
}),
|
|
38
|
-
repo: h.string({
|
|
39
|
-
description: "Repository root. Defaults to the working directory.",
|
|
40
|
-
default: "."
|
|
41
|
-
}),
|
|
42
|
-
module: h.string({ description: "Module directory supplying the traceability model." }),
|
|
43
|
-
timestamp: h.string({ description: "ISO-8601 run time. Defaults to now." }),
|
|
44
|
-
json: h.boolean({ description: "Emit the outcome as JSON." })
|
|
45
|
-
};
|
|
46
|
-
async run() {
|
|
47
|
-
let { flags: i } = await this.parse(d);
|
|
48
|
-
_(i.tool) || this.error("--tool must include an immutable version (for example `vitest 3.2.4` or `scanner git:<full-sha>`)", { exit: 2 });
|
|
49
|
-
let f = t(r());
|
|
50
|
-
f && this.error(f.message, { exit: 2 });
|
|
51
|
-
let h = [
|
|
52
|
-
"coverage",
|
|
53
|
-
"--scope",
|
|
54
|
-
i.repo,
|
|
55
|
-
"--json"
|
|
56
|
-
];
|
|
57
|
-
i.module && h.push("--module", i.module);
|
|
58
|
-
let g = n(h), b = e(g);
|
|
59
|
-
b.ok || this.error(`${b.error.message}\n${b.error.errors.slice(0, 10).join("\n")}`, { exit: 2 });
|
|
60
|
-
let x = l({
|
|
61
|
-
adapter: i.adapter,
|
|
62
|
-
tool: i.tool
|
|
63
|
-
});
|
|
64
|
-
if (x) {
|
|
65
|
-
let e = i.results === "-" ? m(0, "utf8") : m(i.results, "utf8"), t = x.parse(e), n = t.tool;
|
|
66
|
-
n !== void 0 && n !== i.tool && n !== v(i.tool) && this.error(`result tool identity ${JSON.stringify(n)} does not match --tool ${JSON.stringify(i.tool)}`, { exit: 2 });
|
|
67
|
-
let r = s(i.repo, {
|
|
68
|
-
schemaVersion: 1,
|
|
69
|
-
suite: i.suite,
|
|
70
|
-
commit: i.commit,
|
|
71
|
-
tool: i.tool,
|
|
72
|
-
...i.kind === void 0 ? {} : { evidenceKind: i.kind },
|
|
73
|
-
timestamp: i.timestamp ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
74
|
-
...t.ruleset === void 0 ? {} : { ruleset: t.ruleset },
|
|
75
|
-
...t.rulesEvaluated === void 0 ? {} : { rulesEvaluated: t.rulesEvaluated },
|
|
76
|
-
findings: t.findings
|
|
77
|
-
}), l = t.rulesEvaluated === 0, u = (i.discharges ?? "").split(",").map((e) => e.trim()).filter((e) => e !== ""), d = [], f = [];
|
|
78
|
-
if (u.length > 0 && !l) {
|
|
79
|
-
let e = new Map(p(b.value).map((e) => [e.id, e])), t = a(i.repo).bindings;
|
|
80
|
-
for (let n of [...u].sort()) {
|
|
81
|
-
let r = e.get(n);
|
|
82
|
-
if (!r) {
|
|
83
|
-
f.push(n);
|
|
84
|
-
continue;
|
|
85
|
-
}
|
|
86
|
-
let a = o(t, {
|
|
87
|
-
obligation: n,
|
|
88
|
-
statementHashAtBinding: r.statement_hash,
|
|
89
|
-
suite: i.suite,
|
|
90
|
-
commit: i.commit,
|
|
91
|
-
symbols: []
|
|
92
|
-
});
|
|
93
|
-
t = a.bindings, a.created && d.push(n);
|
|
94
|
-
}
|
|
95
|
-
c(i.repo, { bindings: t });
|
|
96
|
-
}
|
|
97
|
-
if (i.json) {
|
|
98
|
-
this.log(JSON.stringify({
|
|
99
|
-
scanPath: r,
|
|
100
|
-
findings: t.findings,
|
|
101
|
-
bound: d,
|
|
102
|
-
unknown: f
|
|
103
|
-
}, null, 2));
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
this.log(`recorded scan ${i.suite} @ ${i.commit.slice(0, 12)} → ${r}`), this.log(` bound: ${d.length}`), f.length > 0 && this.log(` discharges no such obligation: ${f.sort().join(", ")}`), l && u.length > 0 && this.log(" bound nothing: the scan evaluated no rules, so it found nothing because it looked for nothing"), this.log(` findings: ${t.findings.length}` + (t.rulesEvaluated === void 0 ? " (the tool reported no rule count, so this cannot be told from a scan with no rules enabled)" : ` over ${t.rulesEvaluated} rules evaluated`));
|
|
107
|
-
return;
|
|
108
|
-
}
|
|
109
|
-
let S = y(i.results, {
|
|
110
|
-
adapter: i.adapter,
|
|
111
|
-
tool: i.tool
|
|
112
|
-
}), C = S.entries, w = u({
|
|
113
|
-
repo: i.repo,
|
|
114
|
-
suite: i.suite,
|
|
115
|
-
commit: i.commit,
|
|
116
|
-
tool: i.tool,
|
|
117
|
-
evidenceKind: i.kind,
|
|
118
|
-
timestamp: i.timestamp ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
119
|
-
entries: C,
|
|
120
|
-
obligations: p(b.value)
|
|
121
|
-
});
|
|
122
|
-
if (i.json) {
|
|
123
|
-
this.log(JSON.stringify(S.unrepresented === void 0 ? w : {
|
|
124
|
-
...w,
|
|
125
|
-
unrepresented: S.unrepresented
|
|
126
|
-
}, null, 2));
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
this.log(`recorded ${i.suite} @ ${i.commit.slice(0, 12)} → ${w.runPath}`), this.log(` bound: ${w.bound.length}`), w.suspect.length > 0 && this.log(` suspect (statement changed since binding, re-affirm to clear): ${w.suspect.join(", ")}`), w.unmatched.length > 0 && this.log(` unmatched trace ids (tagged in the suite, stated by no obligation): ${w.unmatched.join(", ")}`);
|
|
130
|
-
for (let e of S.unrepresented ?? []) this.log(` not transcribed — ${e.symbol} reported ${e.state}: ${e.reason}`);
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
function _(e) {
|
|
134
|
-
return /(?:^|[\s/@])(?:v?\d+(?:\.\d+)+(?:[-+][0-9A-Za-z.-]+)?|git:[0-9a-f]{40}|sha256:[0-9a-f]{64})(?:$|[\s,)])/i.test(e);
|
|
135
|
-
}
|
|
136
|
-
function v(e) {
|
|
137
|
-
return e.trim().split(/\s+/, 1)[0];
|
|
138
|
-
}
|
|
139
|
-
function y(e, t) {
|
|
140
|
-
let n = m(e === "-" ? 0 : e, "utf8");
|
|
141
|
-
return d(t).parse(n);
|
|
142
|
-
}
|
|
143
|
-
//#endregion
|
|
144
|
-
export { g as default, _ as isVersionedToolIdentity };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { QuoinCommand } from '../../base.js';
|
|
2
|
-
export default class GraphChangeImpact extends QuoinCommand {
|
|
3
|
-
protected skipUpdateNudge: boolean;
|
|
4
|
-
static summary: string;
|
|
5
|
-
static flags: {
|
|
6
|
-
requirement: import('@oclif/core/interfaces').OptionFlag<string[], import('@oclif/core/interfaces').CustomOptions>;
|
|
7
|
-
relation: import('@oclif/core/interfaces').OptionFlag<string[] | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
8
|
-
repo: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
9
|
-
export: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
10
|
-
premises: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
11
|
-
audit: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
12
|
-
json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
13
|
-
};
|
|
14
|
-
run(): Promise<void>;
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=change-impact.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"change-impact.d.ts","sourceRoot":"","sources":["../../../src/commands/graph/change-impact.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAI7C,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,YAAY;IACzD,SAAS,CAAC,eAAe,UAAQ;IACjC,MAAM,CAAC,OAAO,SACmD;IACjE,MAAM,CAAC,KAAK;;;;;;;;MAYV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAW3B"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../../base-gAClyCNd.js";
|
|
2
|
-
import { i as t } from "../../graph-analysis-IWaoJJSN.js";
|
|
3
|
-
import { n, r, t as i } from "../../common-DTrmnvL-.js";
|
|
4
|
-
import { Flags as a } from "@oclif/core";
|
|
5
|
-
//#region src/commands/graph/change-impact.ts
|
|
6
|
-
var o = class o extends e {
|
|
7
|
-
skipUpdateNudge = !0;
|
|
8
|
-
static summary = "Report reverse dependency exposure from requirement changes.";
|
|
9
|
-
static flags = {
|
|
10
|
-
...i,
|
|
11
|
-
requirement: a.string({
|
|
12
|
-
description: "Changed requirement id. Repeatable.",
|
|
13
|
-
multiple: !0,
|
|
14
|
-
required: !0
|
|
15
|
-
}),
|
|
16
|
-
relation: a.string({
|
|
17
|
-
description: "Relationship kind replacing the default selection. Repeatable.",
|
|
18
|
-
multiple: !0
|
|
19
|
-
})
|
|
20
|
-
};
|
|
21
|
-
async run() {
|
|
22
|
-
let { flags: e } = await this.parse(o), i = r(e);
|
|
23
|
-
i.ok || this.error(i.error.message, { exit: 2 });
|
|
24
|
-
let a = t(i.value, e.requirement, e.relation);
|
|
25
|
-
this.log(n(a, e.json));
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
//#endregion
|
|
29
|
-
export { o as default };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { QuoinCommand } from '../../base.js';
|
|
2
|
-
export default class GraphChurn extends QuoinCommand {
|
|
3
|
-
protected skipUpdateNudge: boolean;
|
|
4
|
-
static summary: string;
|
|
5
|
-
static flags: {
|
|
6
|
-
repo: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
7
|
-
export: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
8
|
-
premises: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
9
|
-
audit: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
10
|
-
json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
11
|
-
};
|
|
12
|
-
run(): Promise<void>;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=churn.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"churn.d.ts","sourceRoot":"","sources":["../../../src/commands/graph/churn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAI7C,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,YAAY;IAClD,SAAS,CAAC,eAAe,UAAQ;IACjC,MAAM,CAAC,OAAO,SAAuD;IACrE,MAAM,CAAC,KAAK;;;;;;MAAmB;IAEzB,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAM3B"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../../base-gAClyCNd.js";
|
|
2
|
-
import { a as t } from "../../graph-analysis-IWaoJJSN.js";
|
|
3
|
-
import { n, r, t as i } from "../../common-DTrmnvL-.js";
|
|
4
|
-
//#region src/commands/graph/churn.ts
|
|
5
|
-
var a = class a extends e {
|
|
6
|
-
skipUpdateNudge = !0;
|
|
7
|
-
static summary = "Report retained obligation reaffirmation history.";
|
|
8
|
-
static flags = i;
|
|
9
|
-
async run() {
|
|
10
|
-
let { flags: e } = await this.parse(a), i = r(e);
|
|
11
|
-
i.ok || this.error(i.error.message, { exit: 2 }), this.log(n(t(i.value), e.json));
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
//#endregion
|
|
15
|
-
export { a as default };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { GraphAnalysis } from '../../graph-analysis/index.js';
|
|
2
|
-
export declare const graphInputFlags: {
|
|
3
|
-
repo: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
4
|
-
export: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
5
|
-
premises: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
6
|
-
audit: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
7
|
-
json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
8
|
-
};
|
|
9
|
-
export declare function loadGraphFlags(flags: {
|
|
10
|
-
repo: string;
|
|
11
|
-
export: string;
|
|
12
|
-
premises: string;
|
|
13
|
-
audit: string;
|
|
14
|
-
}): import('../../graph-analysis/load.js').GraphLoadResult;
|
|
15
|
-
export declare function graphOutput(report: GraphAnalysis, json: boolean): string;
|
|
16
|
-
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/commands/graph/common.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAOnE,eAAO,MAAM,eAAe;;;;;;CAkB3B,CAAC;AAEF,wBAAgB,cAAc,CAAC,KAAK,EAAE;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf,0DAOA;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,GAAG,MAAM,CAIxE"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { QuoinCommand } from '../../base.js';
|
|
2
|
-
export default class GraphFanOut extends QuoinCommand {
|
|
3
|
-
protected skipUpdateNudge: boolean;
|
|
4
|
-
static summary: string;
|
|
5
|
-
static flags: {
|
|
6
|
-
repo: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
7
|
-
export: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
8
|
-
premises: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
9
|
-
audit: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
10
|
-
json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
11
|
-
};
|
|
12
|
-
run(): Promise<void>;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=fan-out.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fan-out.d.ts","sourceRoot":"","sources":["../../../src/commands/graph/fan-out.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAI7C,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,YAAY;IACnD,SAAS,CAAC,eAAe,UAAQ;IACjC,MAAM,CAAC,OAAO,SAA0D;IACxE,MAAM,CAAC,KAAK;;;;;;MAAmB;IAEzB,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAM3B"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../../base-gAClyCNd.js";
|
|
2
|
-
import { o as t } from "../../graph-analysis-IWaoJJSN.js";
|
|
3
|
-
import { n, r, t as i } from "../../common-DTrmnvL-.js";
|
|
4
|
-
//#region src/commands/graph/fan-out.ts
|
|
5
|
-
var a = class a extends e {
|
|
6
|
-
skipUpdateNudge = !0;
|
|
7
|
-
static summary = "Report distinct live obligations per evidence suite.";
|
|
8
|
-
static flags = i;
|
|
9
|
-
async run() {
|
|
10
|
-
let { flags: e } = await this.parse(a), i = r(e);
|
|
11
|
-
i.ok || this.error(i.error.message, { exit: 2 }), this.log(n(t(i.value), e.json));
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
//#endregion
|
|
15
|
-
export { a as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/graph/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,YAAY;IAC7C,SAAS,CAAC,eAAe,UAAQ;IACjC,MAAM,CAAC,OAAO,SAA8C;IAC5D,MAAM,CAAC,WAAW,SAOC;IAEb,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAI3B"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../../base-gAClyCNd.js";
|
|
2
|
-
//#region src/commands/graph/index.ts
|
|
3
|
-
var t = class t extends e {
|
|
4
|
-
skipUpdateNudge = !0;
|
|
5
|
-
static summary = "Read-only evidence-graph analysis views.";
|
|
6
|
-
static description = "Analyze an existing, accepted Quire assurance export together with retained\nQuoin evidence and an existing FR-032 audit. These commands run no producer,\nsuite, Quire, Git, or network operation and write nothing.\n\nSubcommands:\n quoin graph fan-out\n quoin graph change-impact\n quoin graph churn";
|
|
7
|
-
async run() {
|
|
8
|
-
await this.parse(t), this.log(t.description);
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
12
|
-
export { t as default };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FlowCommand } from '../flow-command.js';
|
|
2
|
-
export default class Matrix 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 = "matrix";
|
|
12
|
-
run(): Promise<void>;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=matrix.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"matrix.d.ts","sourceRoot":"","sources":["../../src/commands/matrix.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,WAAW;IAC7C,MAAM,CAAC,OAAO,SAAiD;IAC/D,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"}
|
package/dist/commands/matrix.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../flow-command-CCRTE5Oe.js";
|
|
2
|
-
//#region src/commands/matrix.ts
|
|
3
|
-
var t = class t extends e {
|
|
4
|
-
static summary = "Build or update a requirements test matrix.";
|
|
5
|
-
static description = "Starts the bundled matrix workflow run in ~/.ix/flows. Use ix-flow to inspect,\nresume, advance phases, and acknowledge human gates.";
|
|
6
|
-
static examples = ["quoin matrix --target spec/", "ix-flow status <run-id>"];
|
|
7
|
-
static flags = e.flowFlags;
|
|
8
|
-
flowName = "matrix";
|
|
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 };
|