@agent-ix/quoin 0.23.1 → 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.
- 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
package/bin/quoin.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
import { execute } from "@agent-ix/ix-cli-core";
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
isVersionRequest,
|
|
7
|
-
packageVersion,
|
|
8
|
-
versionedConfig,
|
|
9
|
-
} from "../dist/cli.js";
|
|
10
|
-
|
|
11
|
-
const argv = process.argv.slice(2);
|
|
12
|
-
|
|
13
|
-
// Preserve quoin's bare build-time version output ahead of the oclif runner.
|
|
14
|
-
if (isVersionRequest(argv)) {
|
|
15
|
-
console.log(packageVersion());
|
|
16
|
-
} else {
|
|
17
|
-
// #196: the config carries the build-time version, so the `--help` VERSION
|
|
18
|
-
// block agrees with `--version` instead of printing package.json's CI
|
|
19
|
-
// placeholder.
|
|
20
|
-
await execute({ loadOptions: await versionedConfig(import.meta.url) });
|
|
21
|
-
}
|
package/default-modules.yaml
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
# Default Filament module set shipped with quoin.
|
|
2
|
-
#
|
|
3
|
-
# Lazily installed into ~/.ix/filament/modules on first catalog access (see
|
|
4
|
-
# src/modules.ts). Each entry sparse-checks out one module's data subdir from its
|
|
5
|
-
# canonical repo at a pinned tag — the same git tag the Python wheel is built
|
|
6
|
-
# from. This file is the canonical-ready source of truth for the module set +
|
|
7
|
-
# pins (a future generator can derive the backend pyproject pins / activation
|
|
8
|
-
# list from it).
|
|
9
|
-
schemaVersion: 1
|
|
10
|
-
name: quoin-default-modules
|
|
11
|
-
entries:
|
|
12
|
-
# Assurance artifacts are available by default but remain opt-in: installing
|
|
13
|
-
# their vocabulary does not require a repository to author any assurance
|
|
14
|
-
# document. Pin an exact reachable revision until a release tag carrying the
|
|
15
|
-
# module exists (agent-ix/quire-rs#275). The first-integration pin 2a66359
|
|
16
|
-
# was orphaned when upstream history was rebuilt — upload-pack refuses it, so
|
|
17
|
-
# clean-room installs failed while already-installed dev machines stayed
|
|
18
|
-
# green (agent-ix/quoin#308, caught by the v0.22.1 release run).
|
|
19
|
-
- name: engineering-assurance
|
|
20
|
-
version: "0.2.0+4e6522f"
|
|
21
|
-
defaultEnabled: true
|
|
22
|
-
source:
|
|
23
|
-
type: git-subdir
|
|
24
|
-
url: agent-ix/engineering-assurance
|
|
25
|
-
path: engineering_assurance
|
|
26
|
-
ref: 4e6522fc32f82cac82a3489a4192e17a94f539c3
|
|
27
|
-
|
|
28
|
-
- name: spec-artifacts-iso
|
|
29
|
-
version: "0.18.0"
|
|
30
|
-
defaultEnabled: true
|
|
31
|
-
source:
|
|
32
|
-
type: git-subdir
|
|
33
|
-
url: agent-ix/spec-artifacts-iso
|
|
34
|
-
path: spec_artifacts_iso
|
|
35
|
-
ref: v0.18.0
|
|
36
|
-
|
|
37
|
-
- name: spec-artifacts-app
|
|
38
|
-
version: "0.5.0"
|
|
39
|
-
defaultEnabled: true
|
|
40
|
-
source:
|
|
41
|
-
type: git-subdir
|
|
42
|
-
url: agent-ix/spec-artifacts-app
|
|
43
|
-
path: spec_artifacts_app
|
|
44
|
-
ref: v0.5.0
|
|
45
|
-
|
|
46
|
-
- name: spec-artifacts-process
|
|
47
|
-
version: "0.24.0+d605caa"
|
|
48
|
-
defaultEnabled: true
|
|
49
|
-
source:
|
|
50
|
-
type: git-subdir
|
|
51
|
-
url: agent-ix/spec-artifacts-process
|
|
52
|
-
path: spec_artifacts_process
|
|
53
|
-
ref: d605caad70a8c09884ef22525d532e01330f763f
|
|
54
|
-
|
|
55
|
-
- name: spec-objects-business
|
|
56
|
-
version: "0.6.0"
|
|
57
|
-
defaultEnabled: true
|
|
58
|
-
source:
|
|
59
|
-
type: git-subdir
|
|
60
|
-
url: agent-ix/spec-objects-business
|
|
61
|
-
path: spec_objects_business
|
|
62
|
-
ref: v0.6.0
|
|
63
|
-
|
|
64
|
-
- name: spec-objects-architecture
|
|
65
|
-
version: "0.6.0"
|
|
66
|
-
defaultEnabled: true
|
|
67
|
-
source:
|
|
68
|
-
type: git-subdir
|
|
69
|
-
url: agent-ix/spec-objects-architecture
|
|
70
|
-
path: spec_objects_architecture
|
|
71
|
-
ref: v0.6.0
|
|
72
|
-
|
|
73
|
-
- name: spec-objects-enterprise
|
|
74
|
-
version: "0.5.0"
|
|
75
|
-
defaultEnabled: true
|
|
76
|
-
source:
|
|
77
|
-
type: git-subdir
|
|
78
|
-
url: agent-ix/spec-objects-enterprise
|
|
79
|
-
path: spec_objects_enterprise
|
|
80
|
-
ref: v0.5.0
|
|
81
|
-
|
|
82
|
-
- name: spec-objects-operational
|
|
83
|
-
version: "0.6.0"
|
|
84
|
-
defaultEnabled: true
|
|
85
|
-
source:
|
|
86
|
-
type: git-subdir
|
|
87
|
-
url: agent-ix/spec-objects-operational
|
|
88
|
-
path: spec_objects_operational
|
|
89
|
-
ref: v0.6.0
|
|
90
|
-
|
|
91
|
-
- name: spec-objects-security
|
|
92
|
-
version: "0.7.0"
|
|
93
|
-
defaultEnabled: true
|
|
94
|
-
source:
|
|
95
|
-
type: git-subdir
|
|
96
|
-
url: agent-ix/spec-objects-security
|
|
97
|
-
path: spec_objects_security
|
|
98
|
-
ref: v0.7.0
|
|
99
|
-
|
|
100
|
-
- name: spec-objects-safety
|
|
101
|
-
version: "0.4.0"
|
|
102
|
-
defaultEnabled: true
|
|
103
|
-
source:
|
|
104
|
-
type: git-subdir
|
|
105
|
-
url: agent-ix/spec-objects-safety
|
|
106
|
-
path: spec_objects_safety
|
|
107
|
-
ref: v0.4.0
|
package/dist/advisor/advise.d.ts
DELETED
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
import { MethodCatalog } from './methods.js';
|
|
2
|
-
import { CoverageDiagnostic } from '../quire/index.js';
|
|
3
|
-
/** What the advisor knows about one obligation before it recommends anything. */
|
|
4
|
-
export interface ObligationFacts {
|
|
5
|
-
id: string;
|
|
6
|
-
statement: string;
|
|
7
|
-
/** The authored `Verification` cell, when the row has one. */
|
|
8
|
-
authoredMethod?: string | null;
|
|
9
|
-
/** The FR-052 property shape quire classified the criterion as. */
|
|
10
|
-
propertyShape?: string | null;
|
|
11
|
-
/** The owning document's archetype (`FR`, `NFR`, `StR`). */
|
|
12
|
-
archetype?: string | null;
|
|
13
|
-
/** Object types the spec declares near this requirement, if any. */
|
|
14
|
-
objectTypes?: string[];
|
|
15
|
-
/**
|
|
16
|
-
* What the evidence store already knows about this obligation.
|
|
17
|
-
*
|
|
18
|
-
* Supplied by the caller, never read here: `advise` performs no I/O, so the
|
|
19
|
-
* command opens the store and hands the answer in — the same way
|
|
20
|
-
* `propertyShape` and `archetype` arrive. Absent means "not consulted", which
|
|
21
|
-
* is different from "consulted and empty" and must not mint anything.
|
|
22
|
-
*/
|
|
23
|
-
evidence?: ObligationEvidence;
|
|
24
|
-
/**
|
|
25
|
-
* The obligation's declared criticality, verbatim (`P0`, `high`, …).
|
|
26
|
-
*
|
|
27
|
-
* Carried rather than interpreted. `mutation-testing` is keyed on
|
|
28
|
-
* `high-criticality`, and the engine does not get to decide which values
|
|
29
|
-
* count as high — CR-008 deleted a hardcoded `["P0"]` for exactly that
|
|
30
|
-
* reason. So the characteristic is minted when the value **says so itself**,
|
|
31
|
-
* which is reading it, not judging it.
|
|
32
|
-
*/
|
|
33
|
-
criticality?: string | null;
|
|
34
|
-
/**
|
|
35
|
-
* The obligation's structured `parameters`, as quire emits them —
|
|
36
|
-
* `{"target": "< 4 min", "threshold": "< 5 min"}` on an NFR measurement row.
|
|
37
|
-
*
|
|
38
|
-
* The only *structured* signal quire provides about an obligation, and it
|
|
39
|
-
* was typed, parsed and read nowhere while the advisor re-derived everything
|
|
40
|
-
* by regex over the statement prose (agent-ix/quoin#166). A quantified
|
|
41
|
-
* threshold is exactly the fact a verification-method advisor should key on,
|
|
42
|
-
* and the one fact it cannot get wrong by misreading a sentence.
|
|
43
|
-
*/
|
|
44
|
-
parameters?: Record<string, string>;
|
|
45
|
-
/**
|
|
46
|
-
* True when the engine's `uncatalogued-verification-method` diagnostic names
|
|
47
|
-
* this obligation's authored method (agent-ix/quoin#168).
|
|
48
|
-
*
|
|
49
|
-
* Supplied by the caller, never derived here — the same seam as `evidence`:
|
|
50
|
-
* the command joins the coverage payload's diagnostics' `value` against
|
|
51
|
-
* `Obligation.method` by byte equality, which quire-rs CR-091 guarantees.
|
|
52
|
-
* The engine's own catalog knowledge decides what "known" means, so the
|
|
53
|
-
* advisor and the engine cannot disagree about the same value (the ADR-0011
|
|
54
|
-
* discipline). Absent means the classification was unavailable — an engine
|
|
55
|
-
* predating CR-091 — and the advisor degrades to the two-state behaviour
|
|
56
|
-
* rather than guessing.
|
|
57
|
-
*/
|
|
58
|
-
uncataloguedMethod?: boolean;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* What the evidence store records about one obligation.
|
|
62
|
-
*
|
|
63
|
-
* Only what the advisor needs to answer a single question: has anything
|
|
64
|
-
* measured that this obligation's tests would catch a fault?
|
|
65
|
-
*/
|
|
66
|
-
export interface ObligationEvidence {
|
|
67
|
-
/** True when at least one binding names this obligation. */
|
|
68
|
-
bound: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Fault-detection scores from runs bound to it — entries whose declared
|
|
71
|
-
* `metric` says they are mutation scores (agent-ix/quoin#138).
|
|
72
|
-
*
|
|
73
|
-
* Empty while `bound` is true is the interesting case, not an error: the
|
|
74
|
-
* obligation is exercised and nothing says the exercise discriminates.
|
|
75
|
-
*/
|
|
76
|
-
faultDetectionScores: number[];
|
|
77
|
-
}
|
|
78
|
-
/** Why a method was recommended — the rule and the value that matched. */
|
|
79
|
-
export interface MatchReason {
|
|
80
|
-
rule: string;
|
|
81
|
-
value: string;
|
|
82
|
-
}
|
|
83
|
-
/** One recommendation for one obligation. */
|
|
84
|
-
export interface Recommendation {
|
|
85
|
-
method: string;
|
|
86
|
-
class: string;
|
|
87
|
-
evidenceKind?: string;
|
|
88
|
-
reasons: MatchReason[];
|
|
89
|
-
}
|
|
90
|
-
/** The advisor's verdict for one obligation. */
|
|
91
|
-
export interface Advice {
|
|
92
|
-
obligation: string;
|
|
93
|
-
/** Deterministic recommendations, strongest (most rules matched) first. */
|
|
94
|
-
recommended: Recommendation[];
|
|
95
|
-
/** The authored method, normalized. */
|
|
96
|
-
authored?: string | null;
|
|
97
|
-
/**
|
|
98
|
-
* Set when the authored method **is a declared method or class**, is not
|
|
99
|
-
* among the recommendations, AND the advisor had rules to go on. A genuine
|
|
100
|
-
* disagreement — *did you mean to inspect this rather than test it?* —
|
|
101
|
-
* advisory: the human confirms, and the confirmed method is what the auditor
|
|
102
|
-
* later checks conformance against.
|
|
103
|
-
*
|
|
104
|
-
* Never set for an uncatalogued value (agent-ix/quoin#168): a word the
|
|
105
|
-
* catalog has never heard of is a vocabulary problem, not a choice the
|
|
106
|
-
* advisor disagrees with, and conflating the two buried the handful of real
|
|
107
|
-
* disagreements under 90 vocabulary rows.
|
|
108
|
-
*/
|
|
109
|
-
mismatch: boolean;
|
|
110
|
-
/**
|
|
111
|
-
* The authored value is in neither the catalog's method set nor its class
|
|
112
|
-
* set, per the engine's own `uncatalogued-verification-method` diagnostic.
|
|
113
|
-
* The fix is a vocabulary fix — add a catalog entry, or author a declared
|
|
114
|
-
* method — so it is reported as its own state, never as a mismatch.
|
|
115
|
-
* Orthogonal to `inconclusive`: the vocabulary fact does not disappear
|
|
116
|
-
* because the advisor was silent.
|
|
117
|
-
*/
|
|
118
|
-
uncatalogued: boolean;
|
|
119
|
-
/**
|
|
120
|
-
* True when no rule matched anything. The honest outcome — an advisor that
|
|
121
|
-
* recommends `Test` because it found nothing is the habit this replaces.
|
|
122
|
-
*/
|
|
123
|
-
inconclusive: boolean;
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* Does the regex match anywhere OUTSIDE a hyphenated compound token?
|
|
127
|
-
*
|
|
128
|
-
* `\b` treats a hyphen as a boundary, so `\bunsafe\b` matched inside
|
|
129
|
-
* `unsafe-audit` and a CI wall-clock budget was advised as a memory-safety
|
|
130
|
-
* check (agent-ix/quoin#167). A hyphenated compound is ONE token: a match is
|
|
131
|
-
* discarded when its edge is glued by a hyphen to more word characters —
|
|
132
|
-
* i.e. when it caught a fragment of a compound rather than the whole of one.
|
|
133
|
-
*
|
|
134
|
-
* A match that *contains* its hyphens (`use-after-free`, `constant-time`,
|
|
135
|
-
* `fault-tolerant` up to its stem) is untouched: the guard looks only at the
|
|
136
|
-
* characters just outside the match. And a regex that names the whole
|
|
137
|
-
* compound (`memory[- ]safe(ty)?`, `thread[- ]safe(ty)?`) still matches it,
|
|
138
|
-
* which is how a compound earns a characteristic: by being named, not by
|
|
139
|
-
* containing a keyword.
|
|
140
|
-
*/
|
|
141
|
-
export declare function matchesOutsideCompound(re: RegExp, text: string): boolean;
|
|
142
|
-
export declare function characteristicsOf(statement: string, criticality?: string | null, evidence?: ObligationEvidence, parameters?: Record<string, string>): string[];
|
|
143
|
-
/**
|
|
144
|
-
* Every `characteristics` value any code path in quoin can produce.
|
|
145
|
-
*
|
|
146
|
-
* This exists so the **join** between the catalog and the fact set is
|
|
147
|
-
* checkable. The catalog declares the values that trigger a method; this is the
|
|
148
|
-
* set that can ever be produced to match them. Nothing compared the two, and
|
|
149
|
-
* the consequence was silent: `matchRules` skips an unknown *axis* by design
|
|
150
|
-
* (FR-054-CON-2 leaves the axis set open) but an unknown *value* on a known
|
|
151
|
-
* axis simply never matches, and `inconclusive` is already a legitimate
|
|
152
|
-
* outcome. A systematically under-advising advisor was indistinguishable from a
|
|
153
|
-
* quiet one.
|
|
154
|
-
*
|
|
155
|
-
* Measured when this was added: the installed catalog declared **60** values
|
|
156
|
-
* and 20 were producible, leaving **7 methods** — `integration-testing` and
|
|
157
|
-
* `mutation-testing` among them — that no statement could ever reach
|
|
158
|
-
* (agent-ix/quoin#128).
|
|
159
|
-
*
|
|
160
|
-
* Derived from the regex table rather than hand-listed, because a hand-listed
|
|
161
|
-
* copy is the failure mode this whole check exists to catch.
|
|
162
|
-
*/
|
|
163
|
-
export declare function mintableCharacteristics(): Set<string>;
|
|
164
|
-
/**
|
|
165
|
-
* Recommend methods for one obligation.
|
|
166
|
-
*
|
|
167
|
-
* A method is recommended when **any** of its applicability rules matches a
|
|
168
|
-
* fact about the obligation. Ranking is by number of matching rules — a method
|
|
169
|
-
* two axes agree on outranks one a single axis suggested — with the method id
|
|
170
|
-
* as a deterministic tiebreak, so the same input always yields the same order.
|
|
171
|
-
*/
|
|
172
|
-
export declare function advise(catalog: MethodCatalog, facts: ObligationFacts): Advice;
|
|
173
|
-
/** The diagnostic reason quire mints for a method the catalog never declared. */
|
|
174
|
-
export declare const UNCATALOGUED_METHOD_REASON = "uncatalogued-verification-method";
|
|
175
|
-
/** What the coverage payload's diagnostics say about authored-method vocabulary. */
|
|
176
|
-
export interface UncataloguedMethods {
|
|
177
|
-
/**
|
|
178
|
-
* Authored methods the engine diagnosed as uncatalogued — each `value`
|
|
179
|
-
* byte-equal to the `Obligation.method` it is about (quire-rs CR-091).
|
|
180
|
-
*/
|
|
181
|
-
values: Set<string>;
|
|
182
|
-
/**
|
|
183
|
-
* True when a diagnostic carried the reason but no `value`: the engine
|
|
184
|
-
* predates the CR-091 classification, so uncatalogued values cannot be told
|
|
185
|
-
* from genuine disagreements. The caller must degrade to the two-state
|
|
186
|
-
* behaviour and say so, rather than misclassify.
|
|
187
|
-
*/
|
|
188
|
-
degraded: boolean;
|
|
189
|
-
}
|
|
190
|
-
/**
|
|
191
|
-
* The uncatalogued-method join, read off a coverage payload's diagnostics.
|
|
192
|
-
*
|
|
193
|
-
* No diagnostics, or none with the reason, yields an empty set with
|
|
194
|
-
* `degraded: false`: under an engine of either vintage that means every
|
|
195
|
-
* authored value is catalogued, and the three-state split degenerates to the
|
|
196
|
-
* two-state behaviour *correctly* — nothing was there to classify.
|
|
197
|
-
*/
|
|
198
|
-
export declare function uncataloguedAuthoredMethods(diagnostics: CoverageDiagnostic[] | undefined): UncataloguedMethods;
|
|
199
|
-
//# sourceMappingURL=advise.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"advise.d.ts","sourceRoot":"","sources":["../../src/advisor/advise.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAsB,MAAM,cAAc,CAAC;AAEtE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,iFAAiF;AACjF,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,mEAAmE;IACnE,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,oEAAoE;IACpE,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC;;;;;;;;;;;;OAYG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC,4DAA4D;IAC5D,KAAK,EAAE,OAAO,CAAC;IACf;;;;;;OAMG;IACH,oBAAoB,EAAE,MAAM,EAAE,CAAC;CAChC;AAED,0EAA0E;AAC1E,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,6CAA6C;AAC7C,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,WAAW,EAAE,CAAC;CACxB;AAED,gDAAgD;AAChD,MAAM,WAAW,MAAM;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,uCAAuC;IACvC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;;;;;;;;OAWG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;;;;OAOG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,YAAY,EAAE,OAAO,CAAC;CACvB;AAkRD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAWxE;AAED,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,MAAM,EACjB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,EAC3B,QAAQ,CAAC,EAAE,kBAAkB,EAC7B,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAClC,MAAM,EAAE,CAmDV;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,uBAAuB,IAAI,GAAG,CAAC,MAAM,CAAC,CASrD;AAED;;;;;;;GAOG;AACH,wBAAgB,MAAM,CAAC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,eAAe,GAAG,MAAM,CAgE7E;AAED,iFAAiF;AACjF,eAAO,MAAM,0BAA0B,qCAAqC,CAAC;AAE7E,oFAAoF;AACpF,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACpB;;;;;OAKG;IACH,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CACzC,WAAW,EAAE,kBAAkB,EAAE,GAAG,SAAS,GAC5C,mBAAmB,CASrB"}
|
package/dist/advisor/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The catalog-driven test-plan advisor (FR-031).
|
|
3
|
-
*
|
|
4
|
-
* The capability the ADR-0011 mission names: help define the TESTING PLAN for
|
|
5
|
-
* the software being specced, so the evidence store then measures that it
|
|
6
|
-
* happens.
|
|
7
|
-
*/
|
|
8
|
-
export { loadMethodCatalog, methodClasses, type MethodCatalog, type VerificationMethod, } from './methods.js';
|
|
9
|
-
export { advise, characteristicsOf, mintableCharacteristics, uncataloguedAuthoredMethods, UNCATALOGUED_METHOD_REASON, type Advice, type MatchReason, type ObligationEvidence, type ObligationFacts, type Recommendation, type UncataloguedMethods, } from './advise.js';
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/advisor/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,KAAK,aAAa,EAClB,KAAK,kBAAkB,GACxB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,MAAM,EACN,iBAAiB,EACjB,uBAAuB,EACvB,2BAA2B,EAC3B,0BAA0B,EAC1B,KAAK,MAAM,EACX,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,mBAAmB,GACzB,MAAM,aAAa,CAAC"}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The verification-method catalog, merged and readable (FR-031).
|
|
3
|
-
*
|
|
4
|
-
* quire-rs owns the merge for its own consumers; this reads the same manifests
|
|
5
|
-
* from the same module roots so an agent — and this advisor — can reach the
|
|
6
|
-
* catalog without shelling into the engine for a value that is plain module
|
|
7
|
-
* data on disk.
|
|
8
|
-
*
|
|
9
|
-
* Merge is **first-wins by method id**, matching quire-rs FR-054 exactly. If
|
|
10
|
-
* the two disagreed, the advisor would recommend from one catalog while the
|
|
11
|
-
* auditor checked conformance against another.
|
|
12
|
-
*/
|
|
13
|
-
/** One catalog entry, as the module declared it. */
|
|
14
|
-
export interface VerificationMethod {
|
|
15
|
-
id: string;
|
|
16
|
-
name: string;
|
|
17
|
-
/** IADT here; a free string to the engine, so a free string here. */
|
|
18
|
-
class: string;
|
|
19
|
-
definition: string;
|
|
20
|
-
evidenceKind?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Rule name → values. **Never interpreted structurally** — the advisor
|
|
23
|
-
* matches values, and which axes exist is the declaring module's business
|
|
24
|
-
* (quire-rs FR-054-CON-2).
|
|
25
|
-
*/
|
|
26
|
-
applicability: Record<string, string[]>;
|
|
27
|
-
tooling: string[];
|
|
28
|
-
/** Module that contributed this entry (first-wins). */
|
|
29
|
-
moduleName: string;
|
|
30
|
-
}
|
|
31
|
-
/** The merged catalog plus what the merge could not use. */
|
|
32
|
-
export interface MethodCatalog {
|
|
33
|
-
methods: VerificationMethod[];
|
|
34
|
-
/** Method ids more than one module declared, in first-wins order. */
|
|
35
|
-
duplicates: Array<{
|
|
36
|
-
id: string;
|
|
37
|
-
modules: string[];
|
|
38
|
-
}>;
|
|
39
|
-
/**
|
|
40
|
-
* Module roots whose `manifest.yaml` could not be read or parsed. Reported
|
|
41
|
-
* rather than thrown: a catalog missing one module's entries is still worth
|
|
42
|
-
* having, and the command that would have crashed is the one an operator runs
|
|
43
|
-
* to diagnose the module (agent-ix/quoin#106).
|
|
44
|
-
*/
|
|
45
|
-
unreadable: Array<{
|
|
46
|
-
moduleRoot: string;
|
|
47
|
-
reason: string;
|
|
48
|
-
}>;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Load and merge every module's `verification_catalog`.
|
|
52
|
-
*
|
|
53
|
-
* A module declaring none contributes none, and a catalog nobody declares is
|
|
54
|
-
* an empty list rather than an error — a repository that has not adopted the
|
|
55
|
-
* catalog can still run everything else.
|
|
56
|
-
*/
|
|
57
|
-
export declare function loadMethodCatalog(moduleRoots?: string[]): MethodCatalog;
|
|
58
|
-
/** Every distinct `class` in the catalog, sorted — the IADT axis in practice. */
|
|
59
|
-
export declare function methodClasses(catalog: MethodCatalog): string[];
|
|
60
|
-
//# sourceMappingURL=methods.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"methods.d.ts","sourceRoot":"","sources":["../../src/advisor/methods.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AASH,oDAAoD;AACpD,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACxC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,uDAAuD;IACvD,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,4DAA4D;AAC5D,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,qEAAqE;IACrE,UAAU,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAC;IACrD;;;;;OAKG;IACH,UAAU,EAAE,KAAK,CAAC;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC3D;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,WAAW,WAAuB,GACjC,aAAa,CAuEf;AAaD,iFAAiF;AACjF,wBAAgB,aAAa,CAAC,OAAO,EAAE,aAAa,GAAG,MAAM,EAAE,CAE9D"}
|
package/dist/advisor-B0rESCx1.js
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { n as e, s as t } from "./base-gAClyCNd.js";
|
|
2
|
-
import { readFileSync as n } from "node:fs";
|
|
3
|
-
import { join as r } from "node:path";
|
|
4
|
-
import { parse as i } from "yaml";
|
|
5
|
-
//#region src/advisor/methods.ts
|
|
6
|
-
function a(a = e()) {
|
|
7
|
-
let s = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Set(), u = [];
|
|
8
|
-
for (let e of a) {
|
|
9
|
-
let a = t(e);
|
|
10
|
-
if (!a || l.has(a)) continue;
|
|
11
|
-
l.add(a);
|
|
12
|
-
let d;
|
|
13
|
-
try {
|
|
14
|
-
d = i(n(r(a, "manifest.yaml"), "utf8"));
|
|
15
|
-
} catch (e) {
|
|
16
|
-
u.push({
|
|
17
|
-
moduleRoot: a,
|
|
18
|
-
reason: e instanceof Error ? e.message : String(e)
|
|
19
|
-
});
|
|
20
|
-
continue;
|
|
21
|
-
}
|
|
22
|
-
if (!d || typeof d != "object") continue;
|
|
23
|
-
let f = String(d.name ?? a), p = d.verification_catalog;
|
|
24
|
-
if (!(!p || typeof p != "object")) for (let [e, t] of Object.entries(p)) {
|
|
25
|
-
let n = s.get(e);
|
|
26
|
-
if (n) {
|
|
27
|
-
let t = c.get(e) ?? [n.moduleName];
|
|
28
|
-
t.push(f), c.set(e, t);
|
|
29
|
-
continue;
|
|
30
|
-
}
|
|
31
|
-
s.set(e, {
|
|
32
|
-
id: e,
|
|
33
|
-
name: String(t.name ?? ""),
|
|
34
|
-
class: String(t.class ?? ""),
|
|
35
|
-
definition: String(t.definition ?? ""),
|
|
36
|
-
evidenceKind: typeof t.evidence_kind == "string" ? t.evidence_kind : void 0,
|
|
37
|
-
applicability: o(t.applicability),
|
|
38
|
-
tooling: Array.isArray(t.tooling) ? t.tooling.map(String) : [],
|
|
39
|
-
moduleName: f
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
let d = (e, t) => e.id === t.id ? 0 : e.id < t.id ? -1 : 1;
|
|
44
|
-
return {
|
|
45
|
-
methods: [...s.values()].sort(d),
|
|
46
|
-
duplicates: [...c.entries()].map(([e, t]) => ({
|
|
47
|
-
id: e,
|
|
48
|
-
modules: t
|
|
49
|
-
})).sort(d),
|
|
50
|
-
unreadable: u.sort((e, t) => e.moduleRoot === t.moduleRoot ? 0 : e.moduleRoot < t.moduleRoot ? -1 : 1)
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
function o(e) {
|
|
54
|
-
if (!e || typeof e != "object") return {};
|
|
55
|
-
let t = {};
|
|
56
|
-
for (let [n, r] of Object.entries(e)) Array.isArray(r) && (t[n] = r.map(String));
|
|
57
|
-
return t;
|
|
58
|
-
}
|
|
59
|
-
function s(e) {
|
|
60
|
-
return [...new Set(e.methods.map((e) => e.class))].sort();
|
|
61
|
-
}
|
|
62
|
-
//#endregion
|
|
63
|
-
export { s as n, a as t };
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { Obligation } from '../quire/index.js';
|
|
2
|
-
import { Finding } from '../auditor/index.js';
|
|
3
|
-
import { BundleDocument } from '../completeness/index.js';
|
|
4
|
-
/** GSN node kinds, in the vocabulary the standard uses. */
|
|
5
|
-
export type NodeKind = "goal" | "strategy" | "solution";
|
|
6
|
-
/**
|
|
7
|
-
* Whether a node's part of the argument holds.
|
|
8
|
-
*
|
|
9
|
-
* `open` is the point of the whole view. An undischarged obligation or a suspect
|
|
10
|
-
* binding stays in the tree as an **undeveloped goal** rather than being
|
|
11
|
-
* dropped: a case that silently narrows to only what it can prove reads as
|
|
12
|
-
* complete, and that is the failure this program exists to catch.
|
|
13
|
-
*/
|
|
14
|
-
export type NodeStatus = "supported" | "open";
|
|
15
|
-
export interface CaseNode {
|
|
16
|
-
id: string;
|
|
17
|
-
kind: NodeKind;
|
|
18
|
-
/** What the node asserts, in the spec's own words where it has them. */
|
|
19
|
-
statement: string;
|
|
20
|
-
status: NodeStatus;
|
|
21
|
-
/** Why it is open — the auditor's finding, verbatim. Absent when supported. */
|
|
22
|
-
because?: string;
|
|
23
|
-
children: CaseNode[];
|
|
24
|
-
}
|
|
25
|
-
export interface AssuranceCase {
|
|
26
|
-
/** Top-level claims, one tree each. */
|
|
27
|
-
claims: CaseNode[];
|
|
28
|
-
/**
|
|
29
|
-
* Present exactly when `claims` is empty: why there is no case, naming the
|
|
30
|
-
* claim types that were searched. The human renderer already explained this
|
|
31
|
-
* (`render.ts`); the JSON payload carried no equivalent, so a machine
|
|
32
|
-
* consumer could not tell "the assurance case is clean" from "nothing
|
|
33
|
-
* matched, so nothing was argued" (#170).
|
|
34
|
-
*/
|
|
35
|
-
reason?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Requirements reachable from no claim.
|
|
38
|
-
*
|
|
39
|
-
* Not an error and not hidden: a bundle whose StRs do not reach its FRs has a
|
|
40
|
-
* traceability gap, and the view's job is to make that visible rather than to
|
|
41
|
-
* render a tidy case over the reachable half.
|
|
42
|
-
*/
|
|
43
|
-
unreachable: string[];
|
|
44
|
-
/** Documents whose frontmatter could not be read. */
|
|
45
|
-
unreadable: Array<{
|
|
46
|
-
path: string;
|
|
47
|
-
reason: string;
|
|
48
|
-
}>;
|
|
49
|
-
}
|
|
50
|
-
export interface CaseInput {
|
|
51
|
-
/** Frontmatter of every document in the bundle. */
|
|
52
|
-
documents: BundleDocument[];
|
|
53
|
-
/** Obligations, from `quire coverage --json`. */
|
|
54
|
-
obligations: Obligation[];
|
|
55
|
-
/** The auditor's findings, keyed by obligation elsewhere. */
|
|
56
|
-
findings: Finding[];
|
|
57
|
-
/**
|
|
58
|
-
* Artifact types that are top-level claims.
|
|
59
|
-
*
|
|
60
|
-
* Defaults to `StR`. A safety or security bundle argues from a declared
|
|
61
|
-
* hazard or threat instead, and that vocabulary is module data — so it is a
|
|
62
|
-
* parameter here, never a constant.
|
|
63
|
-
*/
|
|
64
|
-
claimTypes?: string[];
|
|
65
|
-
unreadable?: Array<{
|
|
66
|
-
path: string;
|
|
67
|
-
reason: string;
|
|
68
|
-
}>;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Build the case.
|
|
72
|
-
*
|
|
73
|
-
* The decomposition is read from the documents' own `relationships`, in the
|
|
74
|
-
* child→parent direction the corpus actually authors: an FR says it
|
|
75
|
-
* `traces_to` an StR, not the other way round.
|
|
76
|
-
*/
|
|
77
|
-
export declare function buildCase(input: CaseInput): AssuranceCase;
|
|
78
|
-
/**
|
|
79
|
-
* The requirement an obligation belongs to.
|
|
80
|
-
*
|
|
81
|
-
* `FR-001-AC-3` → `FR-001`; `NFR-010-M-2` → `NFR-010`. Derived from the id
|
|
82
|
-
* rather than from an edge because obligations are minted from a document's
|
|
83
|
-
* own tables — the ownership is not in question and an edge for it would be a
|
|
84
|
-
* second thing to keep in agreement.
|
|
85
|
-
*/
|
|
86
|
-
export declare function requirementOf(obligationId: string): string;
|
|
87
|
-
//# sourceMappingURL=graph.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graph.d.ts","sourceRoot":"","sources":["../../src/assurance/graph.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,2DAA2D;AAC3D,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,CAAC;AAExD;;;;;;;GAOG;AACH,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,MAAM,CAAC;AAE9C,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,QAAQ,CAAC;IACf,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,UAAU,CAAC;IACnB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,QAAQ,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,aAAa;IAC5B,uCAAuC;IACvC,MAAM,EAAE,QAAQ,EAAE,CAAC;IACnB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,qDAAqD;IACrD,UAAU,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACrD;AAYD,MAAM,WAAW,SAAS;IACxB,mDAAmD;IACnD,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,iDAAiD;IACjD,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,6DAA6D;IAC7D,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,UAAU,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACtD;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,aAAa,CAsFzD;AAgGD;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAG1D"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The assurance-case view (FR-040).
|
|
3
|
-
*
|
|
4
|
-
* ADR-0011 L1: read-only over the evidence store and the spec. It collects
|
|
5
|
-
* nothing and writes nothing.
|
|
6
|
-
*/
|
|
7
|
-
export { buildCase, requirementOf, type AssuranceCase, type CaseInput, type CaseNode, type NodeKind, type NodeStatus, } from './graph.js';
|
|
8
|
-
export { renderCase } from './render.js';
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/assurance/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,SAAS,EACT,aAAa,EACb,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,UAAU,GAChB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../src/assurance/render.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAY,MAAM,YAAY,CAAC;AAQ1D,wBAAgB,UAAU,CAAC,SAAS,EAAE,aAAa,GAAG,MAAM,CAmD3D"}
|