@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,233 +0,0 @@
|
|
|
1
|
-
import { fileURLToPath as e } from "node:url";
|
|
2
|
-
import { existsSync as t, mkdirSync as n, readFileSync as r, readdirSync as i, rmSync as a, writeFileSync as o } from "node:fs";
|
|
3
|
-
import { dirname as s, join as c } from "node:path";
|
|
4
|
-
//#region src/evidence/types.ts
|
|
5
|
-
var l = "runs", u = "scans", d = "mock-inspections", f = "mutation-score";
|
|
6
|
-
//#endregion
|
|
7
|
-
//#region src/evidence/store.ts
|
|
8
|
-
function p(e) {
|
|
9
|
-
return c(e, "spec", "evidence");
|
|
10
|
-
}
|
|
11
|
-
function m(e) {
|
|
12
|
-
return c(p(e), "bindings.json");
|
|
13
|
-
}
|
|
14
|
-
function h(e) {
|
|
15
|
-
return c(p(e), "baseline.json");
|
|
16
|
-
}
|
|
17
|
-
function g(e, t, n) {
|
|
18
|
-
return c(p(e), l, t, `${y(n)}.json`);
|
|
19
|
-
}
|
|
20
|
-
function _(e, t, n) {
|
|
21
|
-
return c(p(e), u, t, `${y(n)}.json`);
|
|
22
|
-
}
|
|
23
|
-
function v(e, t, n) {
|
|
24
|
-
return c(p(e), d, t, `${y(n)}.json`);
|
|
25
|
-
}
|
|
26
|
-
function y(e) {
|
|
27
|
-
return e.slice(0, 12);
|
|
28
|
-
}
|
|
29
|
-
function b(e) {
|
|
30
|
-
return `${JSON.stringify(x(e), null, 2)}\n`;
|
|
31
|
-
}
|
|
32
|
-
function x(e) {
|
|
33
|
-
if (Array.isArray(e)) return e.map(x);
|
|
34
|
-
if (typeof e != "object" || !e) return e;
|
|
35
|
-
let t = {};
|
|
36
|
-
for (let n of Object.keys(e).sort()) t[n] = x(e[n]);
|
|
37
|
-
return t;
|
|
38
|
-
}
|
|
39
|
-
function S(e, t) {
|
|
40
|
-
n(s(e), { recursive: !0 }), o(e, b(t), "utf8");
|
|
41
|
-
}
|
|
42
|
-
var C = class extends Error {
|
|
43
|
-
path;
|
|
44
|
-
cause;
|
|
45
|
-
constructor(e, t) {
|
|
46
|
-
let n = t instanceof Error ? t.message : String(t);
|
|
47
|
-
super(`${e} exists but is not readable JSON: ${n}. A merge conflict in a checked-in store file is the usual cause — resolve it, or delete the file to start from an empty store.`), this.path = e, this.cause = t, this.name = "StoreReadError";
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
function w(e) {
|
|
51
|
-
if (!t(e)) return null;
|
|
52
|
-
try {
|
|
53
|
-
return JSON.parse(r(e, "utf8"));
|
|
54
|
-
} catch (t) {
|
|
55
|
-
throw new C(e, t);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
function T(e, t) {
|
|
59
|
-
try {
|
|
60
|
-
return w(e);
|
|
61
|
-
} catch (n) {
|
|
62
|
-
if (n instanceof C) return t.push(e), null;
|
|
63
|
-
throw n;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
function E(e, t) {
|
|
67
|
-
let n = g(e, t.suite, t.commit);
|
|
68
|
-
return S(n, {
|
|
69
|
-
...t,
|
|
70
|
-
schemaVersion: 1
|
|
71
|
-
}), n;
|
|
72
|
-
}
|
|
73
|
-
function D(e, t) {
|
|
74
|
-
let n = _(e, t.suite, t.commit);
|
|
75
|
-
return S(n, {
|
|
76
|
-
...t,
|
|
77
|
-
schemaVersion: 1
|
|
78
|
-
}), n;
|
|
79
|
-
}
|
|
80
|
-
function O(e, t) {
|
|
81
|
-
let n = v(e, t.suite, t.commit);
|
|
82
|
-
return S(n, {
|
|
83
|
-
...t,
|
|
84
|
-
schemaVersion: 1
|
|
85
|
-
}), n;
|
|
86
|
-
}
|
|
87
|
-
function k(e, t, n) {
|
|
88
|
-
return w(v(e, t, n));
|
|
89
|
-
}
|
|
90
|
-
function A(e, n) {
|
|
91
|
-
let r = c(p(e), u, n);
|
|
92
|
-
return t(r) ? i(r).filter((e) => e.endsWith(".json")).sort() : [];
|
|
93
|
-
}
|
|
94
|
-
function j(e, t, n = []) {
|
|
95
|
-
return A(e, t).map((r) => T(_(e, t, r.replace(/\.json$/, "")), n)).filter((e) => e !== null).sort((e, t) => z(e.timestamp, t.timestamp) || z(e.commit, t.commit));
|
|
96
|
-
}
|
|
97
|
-
function M(e, t, n = []) {
|
|
98
|
-
return j(e, t, n).at(-1) ?? null;
|
|
99
|
-
}
|
|
100
|
-
function N(e) {
|
|
101
|
-
return e.rulesEvaluated === void 0 ? null : e.rulesEvaluated === 0;
|
|
102
|
-
}
|
|
103
|
-
function P(e, n) {
|
|
104
|
-
let r = c(p(e), l, n);
|
|
105
|
-
return t(r) ? i(r).filter((e) => e.endsWith(".json")).sort() : [];
|
|
106
|
-
}
|
|
107
|
-
function F(e, t, n = []) {
|
|
108
|
-
return P(e, t).map((r) => T(g(e, t, r.replace(/\.json$/, "")), n)).filter((e) => e !== null).sort((e, t) => z(e.timestamp, t.timestamp) || z(e.commit, t.commit));
|
|
109
|
-
}
|
|
110
|
-
function I(e, t, n = []) {
|
|
111
|
-
return F(e, t, n).at(-1) ?? null;
|
|
112
|
-
}
|
|
113
|
-
function L(e) {
|
|
114
|
-
return B(e).map((t) => I(e, t)).filter((e) => e !== null);
|
|
115
|
-
}
|
|
116
|
-
function R(e) {
|
|
117
|
-
return B(e).map((t) => M(e, t)).filter((e) => e !== null);
|
|
118
|
-
}
|
|
119
|
-
function z(e, t) {
|
|
120
|
-
return e === t ? 0 : e < t ? -1 : 1;
|
|
121
|
-
}
|
|
122
|
-
function B(e) {
|
|
123
|
-
let n = /* @__PURE__ */ new Set();
|
|
124
|
-
for (let r of [
|
|
125
|
-
l,
|
|
126
|
-
u,
|
|
127
|
-
d
|
|
128
|
-
]) {
|
|
129
|
-
let a = c(p(e), r);
|
|
130
|
-
if (t(a)) for (let e of i(a, { withFileTypes: !0 })) e.isDirectory() && n.add(e.name);
|
|
131
|
-
}
|
|
132
|
-
return [...n].sort();
|
|
133
|
-
}
|
|
134
|
-
function V(e) {
|
|
135
|
-
return w(m(e)) ?? {
|
|
136
|
-
schemaVersion: 1,
|
|
137
|
-
bindings: []
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
function H(e, t) {
|
|
141
|
-
let n = [...t.bindings].sort(K);
|
|
142
|
-
S(m(e), {
|
|
143
|
-
schemaVersion: 1,
|
|
144
|
-
bindings: n
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
function U(e) {
|
|
148
|
-
return w(h(e));
|
|
149
|
-
}
|
|
150
|
-
function W(e, t) {
|
|
151
|
-
S(h(e), {
|
|
152
|
-
schemaVersion: 1,
|
|
153
|
-
commit: t.commit,
|
|
154
|
-
accepted: [...t.accepted].sort(z)
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
|
-
function G(e, t = !1) {
|
|
158
|
-
let n = new Set(V(e).bindings.map((e) => `${e.suite}/${y(e.commit)}.json`)), r = [];
|
|
159
|
-
for (let i of B(e)) {
|
|
160
|
-
let o = P(e, i), s = /* @__PURE__ */ new Set(), d = I(e, i);
|
|
161
|
-
d && s.add(`${y(d.commit)}.json`);
|
|
162
|
-
for (let u of o) {
|
|
163
|
-
if (s.has(u) || n.has(`${i}/${u}`)) continue;
|
|
164
|
-
let o = c(p(e), l, i, u);
|
|
165
|
-
r.push(o), t || a(o);
|
|
166
|
-
}
|
|
167
|
-
let f = A(e, i), m = /* @__PURE__ */ new Set(), h = M(e, i);
|
|
168
|
-
h && m.add(`${y(h.commit)}.json`);
|
|
169
|
-
for (let o of f) {
|
|
170
|
-
if (m.has(o) || n.has(`${i}/${o}`)) continue;
|
|
171
|
-
let s = c(p(e), u, i, o);
|
|
172
|
-
r.push(s), t || a(s);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
return r.sort();
|
|
176
|
-
}
|
|
177
|
-
function K(e, t) {
|
|
178
|
-
return e.obligation === t.obligation ? e.suite === t.suite ? 0 : e.suite < t.suite ? -1 : 1 : e.obligation < t.obligation ? -1 : 1;
|
|
179
|
-
}
|
|
180
|
-
function q(e, t) {
|
|
181
|
-
let n = e.findIndex((e) => e.obligation === t.obligation && e.suite === t.suite);
|
|
182
|
-
if (n === -1) return {
|
|
183
|
-
bindings: [...e, { ...t }],
|
|
184
|
-
created: !0,
|
|
185
|
-
suspect: !1
|
|
186
|
-
};
|
|
187
|
-
let r = e[n], i = r.statementHashAtBinding !== t.statementHashAtBinding, a = {
|
|
188
|
-
...r,
|
|
189
|
-
commit: t.commit,
|
|
190
|
-
symbols: t.symbols
|
|
191
|
-
}, o = [...e];
|
|
192
|
-
return o[n] = a, {
|
|
193
|
-
bindings: o,
|
|
194
|
-
created: !1,
|
|
195
|
-
suspect: i
|
|
196
|
-
};
|
|
197
|
-
}
|
|
198
|
-
function J(e, t, n, r, i, a, o) {
|
|
199
|
-
let s = e.map((e, t) => [e, t]).filter(([e]) => e.obligation === t && (!o || e.suite === o));
|
|
200
|
-
if (s.length === 0) return {
|
|
201
|
-
bindings: e,
|
|
202
|
-
found: !1
|
|
203
|
-
};
|
|
204
|
-
let c = [...e];
|
|
205
|
-
for (let [e, t] of s) c[t] = {
|
|
206
|
-
...e,
|
|
207
|
-
statementHashAtBinding: n,
|
|
208
|
-
affirmations: [...e.affirmations ?? [], {
|
|
209
|
-
who: r,
|
|
210
|
-
commit: i,
|
|
211
|
-
note: a
|
|
212
|
-
}]
|
|
213
|
-
};
|
|
214
|
-
return {
|
|
215
|
-
bindings: c,
|
|
216
|
-
found: !0
|
|
217
|
-
};
|
|
218
|
-
}
|
|
219
|
-
//#endregion
|
|
220
|
-
//#region src/change-assurance/schema-assets.ts
|
|
221
|
-
var Y = [
|
|
222
|
-
"change-assurance-record-v1.schema.json",
|
|
223
|
-
"proof-attestation-v1.schema.json",
|
|
224
|
-
"verification-receipt-v1.schema.json"
|
|
225
|
-
], X = s(e(import.meta.url));
|
|
226
|
-
function Z(e) {
|
|
227
|
-
return c(X, "schemas", e);
|
|
228
|
-
}
|
|
229
|
-
function Q(e) {
|
|
230
|
-
return JSON.parse(r(Z(e), "utf8"));
|
|
231
|
-
}
|
|
232
|
-
//#endregion
|
|
233
|
-
export { E as C, O as S, f as T, k as _, h as a, W as b, b as c, L as d, M as f, V as g, U as h, J as i, G as l, B as m, Z as n, q as o, R as p, Q as r, m as s, Y as t, I as u, N as v, D as w, H as x, p as y };
|
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://agent-ix.github.io/quire-rs/schemas/output/assurance-v1.schema.json",
|
|
4
|
-
"title": "Quire source-grounded assurance export v1",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"additionalProperties": false,
|
|
7
|
-
"required": [
|
|
8
|
-
"format",
|
|
9
|
-
"format_version",
|
|
10
|
-
"source",
|
|
11
|
-
"modules",
|
|
12
|
-
"artifacts",
|
|
13
|
-
"obligations",
|
|
14
|
-
"symbols",
|
|
15
|
-
"relation_kinds",
|
|
16
|
-
"relations",
|
|
17
|
-
"relation_observations"
|
|
18
|
-
],
|
|
19
|
-
"properties": {
|
|
20
|
-
"format": { "const": "quire-assurance" },
|
|
21
|
-
"format_version": { "const": 1 },
|
|
22
|
-
"source": { "$ref": "#/$defs/sourcePremise" },
|
|
23
|
-
"modules": {
|
|
24
|
-
"type": "array",
|
|
25
|
-
"items": { "$ref": "#/$defs/modulePremise" }
|
|
26
|
-
},
|
|
27
|
-
"artifacts": {
|
|
28
|
-
"type": "array",
|
|
29
|
-
"items": { "$ref": "#/$defs/artifact" }
|
|
30
|
-
},
|
|
31
|
-
"obligations": {
|
|
32
|
-
"type": "array",
|
|
33
|
-
"items": { "$ref": "#/$defs/obligation" }
|
|
34
|
-
},
|
|
35
|
-
"symbols": {
|
|
36
|
-
"type": "array",
|
|
37
|
-
"items": { "$ref": "#/$defs/symbol" }
|
|
38
|
-
},
|
|
39
|
-
"relation_kinds": {
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": { "$ref": "#/$defs/relationKind" }
|
|
42
|
-
},
|
|
43
|
-
"relations": {
|
|
44
|
-
"type": "array",
|
|
45
|
-
"items": {
|
|
46
|
-
"oneOf": [
|
|
47
|
-
{ "$ref": "#/$defs/corpusRelation" },
|
|
48
|
-
{ "$ref": "#/$defs/verifiesRelation" },
|
|
49
|
-
{ "$ref": "#/$defs/implementsRelation" }
|
|
50
|
-
]
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
"relation_observations": {
|
|
54
|
-
"type": "array",
|
|
55
|
-
"items": { "$ref": "#/$defs/relationObservation" }
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"$defs": {
|
|
59
|
-
"sha256": {
|
|
60
|
-
"type": "string",
|
|
61
|
-
"pattern": "^[0-9a-f]{64}$"
|
|
62
|
-
},
|
|
63
|
-
"sourcePremise": {
|
|
64
|
-
"type": "object",
|
|
65
|
-
"additionalProperties": false,
|
|
66
|
-
"required": ["repository", "revision"],
|
|
67
|
-
"properties": {
|
|
68
|
-
"repository": { "type": "string", "minLength": 1 },
|
|
69
|
-
"revision": { "type": "string", "pattern": "^[0-9a-f]{40}$" }
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"schemaPremise": {
|
|
73
|
-
"type": "object",
|
|
74
|
-
"additionalProperties": false,
|
|
75
|
-
"required": ["archetype", "schema_digest"],
|
|
76
|
-
"properties": {
|
|
77
|
-
"archetype": { "type": "string", "minLength": 1 },
|
|
78
|
-
"schema_digest": { "$ref": "#/$defs/sha256" }
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"modulePremise": {
|
|
82
|
-
"type": "object",
|
|
83
|
-
"additionalProperties": false,
|
|
84
|
-
"required": ["name", "version", "schemas"],
|
|
85
|
-
"properties": {
|
|
86
|
-
"name": { "type": "string", "minLength": 1 },
|
|
87
|
-
"version": { "type": "string", "minLength": 1 },
|
|
88
|
-
"schemas": {
|
|
89
|
-
"type": "array",
|
|
90
|
-
"items": { "$ref": "#/$defs/schemaPremise" }
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
"locator": {
|
|
95
|
-
"type": "object",
|
|
96
|
-
"additionalProperties": false,
|
|
97
|
-
"required": ["path", "line", "digest"],
|
|
98
|
-
"properties": {
|
|
99
|
-
"path": { "type": "string", "minLength": 1, "pattern": "^(?!/)(?!.*(?:^|/)\\.\\.(?:/|$)).+$" },
|
|
100
|
-
"line": { "type": "integer", "minimum": 1 },
|
|
101
|
-
"digest": { "$ref": "#/$defs/sha256" }
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"artifact": {
|
|
105
|
-
"type": "object",
|
|
106
|
-
"additionalProperties": false,
|
|
107
|
-
"required": ["id", "artifact_type", "locator"],
|
|
108
|
-
"properties": {
|
|
109
|
-
"id": { "type": "string", "minLength": 1 },
|
|
110
|
-
"uuid": { "type": "string", "format": "uuid" },
|
|
111
|
-
"artifact_type": { "type": "string", "minLength": 1 },
|
|
112
|
-
"locator": { "$ref": "#/$defs/locator" }
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
"obligation": {
|
|
116
|
-
"type": "object",
|
|
117
|
-
"additionalProperties": false,
|
|
118
|
-
"required": ["source", "id", "document", "statement", "statement_hash", "target_ids", "locator"],
|
|
119
|
-
"properties": {
|
|
120
|
-
"source": { "type": "string", "minLength": 1 },
|
|
121
|
-
"id": { "type": "string", "minLength": 1 },
|
|
122
|
-
"document": { "type": "string", "minLength": 1 },
|
|
123
|
-
"statement": { "type": "string", "minLength": 1 },
|
|
124
|
-
"statement_hash": { "$ref": "#/$defs/sha256" },
|
|
125
|
-
"method": { "type": "string", "minLength": 1 },
|
|
126
|
-
"parameters": {
|
|
127
|
-
"type": "object",
|
|
128
|
-
"additionalProperties": { "type": "string" }
|
|
129
|
-
},
|
|
130
|
-
"criticality": { "type": "string", "minLength": 1 },
|
|
131
|
-
"target_ids": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
|
132
|
-
"locator": { "$ref": "#/$defs/locator" }
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
"symbol": {
|
|
136
|
-
"type": "object",
|
|
137
|
-
"additionalProperties": false,
|
|
138
|
-
"required": ["id", "language", "kind", "qualified_name", "container", "capabilities", "locator"],
|
|
139
|
-
"properties": {
|
|
140
|
-
"id": { "$ref": "#/$defs/sha256" },
|
|
141
|
-
"language": { "enum": ["rust", "python", "typescript"] },
|
|
142
|
-
"kind": { "enum": ["function", "test_function", "container", "benchmark", "fuzz_target"] },
|
|
143
|
-
"qualified_name": { "type": "string", "minLength": 1 },
|
|
144
|
-
"container": { "type": ["string", "null"] },
|
|
145
|
-
"capabilities": {
|
|
146
|
-
"type": "array",
|
|
147
|
-
"items": { "enum": ["verifies", "implements"] },
|
|
148
|
-
"uniqueItems": true
|
|
149
|
-
},
|
|
150
|
-
"locator": { "$ref": "#/$defs/locator" }
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
"freshness": {
|
|
154
|
-
"enum": ["current", "suspect", "unknown", "not_applicable"]
|
|
155
|
-
},
|
|
156
|
-
"relationKind": {
|
|
157
|
-
"type": "object",
|
|
158
|
-
"additionalProperties": false,
|
|
159
|
-
"required": ["kind", "availability", "sources"],
|
|
160
|
-
"properties": {
|
|
161
|
-
"kind": { "type": "string", "minLength": 1 },
|
|
162
|
-
"availability": { "const": "available" },
|
|
163
|
-
"sources": {
|
|
164
|
-
"type": "array",
|
|
165
|
-
"items": { "enum": ["module_vocabulary", "required_relation", "trace_binding", "observed"] },
|
|
166
|
-
"minItems": 1,
|
|
167
|
-
"uniqueItems": true
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
"corpusRelation": {
|
|
172
|
-
"type": "object",
|
|
173
|
-
"additionalProperties": false,
|
|
174
|
-
"required": ["kind", "source", "target", "edge_type", "resolution", "locator", "freshness"],
|
|
175
|
-
"properties": {
|
|
176
|
-
"kind": { "const": "corpus" },
|
|
177
|
-
"source": { "type": "string", "minLength": 1 },
|
|
178
|
-
"target": { "type": "string", "minLength": 1 },
|
|
179
|
-
"edge_type": { "type": "string", "minLength": 1 },
|
|
180
|
-
"resolution": { "enum": ["resolved", "dangling"] },
|
|
181
|
-
"locator": { "$ref": "#/$defs/locator" },
|
|
182
|
-
"freshness": { "$ref": "#/$defs/freshness" }
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
"verifiesRelation": {
|
|
186
|
-
"type": "object",
|
|
187
|
-
"additionalProperties": false,
|
|
188
|
-
"required": ["kind", "source", "target", "form", "provenance", "locator", "freshness"],
|
|
189
|
-
"properties": {
|
|
190
|
-
"kind": { "const": "verifies" },
|
|
191
|
-
"source": { "$ref": "#/$defs/sha256" },
|
|
192
|
-
"target": { "type": "string", "minLength": 1 },
|
|
193
|
-
"form": { "type": "string", "minLength": 1 },
|
|
194
|
-
"provenance": { "enum": ["canonical", "legacy"] },
|
|
195
|
-
"locator": { "$ref": "#/$defs/locator" },
|
|
196
|
-
"freshness": { "$ref": "#/$defs/freshness" }
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
"implementsRelation": {
|
|
200
|
-
"type": "object",
|
|
201
|
-
"additionalProperties": false,
|
|
202
|
-
"required": ["kind", "source", "target", "form", "locator", "freshness"],
|
|
203
|
-
"properties": {
|
|
204
|
-
"kind": { "const": "implements" },
|
|
205
|
-
"source": { "$ref": "#/$defs/sha256" },
|
|
206
|
-
"target": { "type": "string", "minLength": 1 },
|
|
207
|
-
"form": { "type": "string", "minLength": 1 },
|
|
208
|
-
"locator": { "$ref": "#/$defs/locator" },
|
|
209
|
-
"freshness": { "$ref": "#/$defs/freshness" }
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
"relationObservation": {
|
|
213
|
-
"type": "object",
|
|
214
|
-
"additionalProperties": false,
|
|
215
|
-
"required": ["declaration", "availability", "freshness"],
|
|
216
|
-
"properties": {
|
|
217
|
-
"declaration": { "type": "string", "minLength": 1 },
|
|
218
|
-
"subject": { "type": "string", "minLength": 1 },
|
|
219
|
-
"availability": { "enum": ["available", "missing", "not_applicable", "unknown"] },
|
|
220
|
-
"freshness": { "$ref": "#/$defs/freshness" },
|
|
221
|
-
"reason": { "type": "string", "minLength": 1 }
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://agent-ix.github.io/quoin/schemas/change-assurance-record-v1.schema.json",
|
|
4
|
-
"title": "ChangeAssuranceRecordV1",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"required": [
|
|
7
|
-
"schema_version",
|
|
8
|
-
"record_type",
|
|
9
|
-
"record_id",
|
|
10
|
-
"revision",
|
|
11
|
-
"parent_digest",
|
|
12
|
-
"digest",
|
|
13
|
-
"subject",
|
|
14
|
-
"source_connections",
|
|
15
|
-
"impact_snapshot",
|
|
16
|
-
"definition",
|
|
17
|
-
"review_workflow"
|
|
18
|
-
],
|
|
19
|
-
"properties": {
|
|
20
|
-
"schema_version": { "const": 1 },
|
|
21
|
-
"record_type": { "const": "change_assurance" },
|
|
22
|
-
"record_id": { "$ref": "#/$defs/identity" },
|
|
23
|
-
"revision": { "type": "integer", "minimum": 1 },
|
|
24
|
-
"parent_digest": {
|
|
25
|
-
"anyOf": [{ "$ref": "#/$defs/digest" }, { "type": "null" }]
|
|
26
|
-
},
|
|
27
|
-
"digest": { "$ref": "#/$defs/digest" },
|
|
28
|
-
"subject": {
|
|
29
|
-
"type": "object",
|
|
30
|
-
"required": ["repository", "base_revision", "scope"],
|
|
31
|
-
"properties": {
|
|
32
|
-
"repository": { "type": "string", "minLength": 1 },
|
|
33
|
-
"base_revision": { "type": "string", "minLength": 1 },
|
|
34
|
-
"scope": {
|
|
35
|
-
"type": "array",
|
|
36
|
-
"minItems": 1,
|
|
37
|
-
"uniqueItems": true,
|
|
38
|
-
"items": { "type": "string", "minLength": 1 }
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"additionalProperties": false
|
|
42
|
-
},
|
|
43
|
-
"source_connections": {
|
|
44
|
-
"type": "array",
|
|
45
|
-
"minItems": 1,
|
|
46
|
-
"items": { "$ref": "#/$defs/source_connection" }
|
|
47
|
-
},
|
|
48
|
-
"impact_snapshot": {
|
|
49
|
-
"type": "object",
|
|
50
|
-
"required": [
|
|
51
|
-
"identity",
|
|
52
|
-
"revision",
|
|
53
|
-
"digest",
|
|
54
|
-
"completeness",
|
|
55
|
-
"truncated",
|
|
56
|
-
"gaps"
|
|
57
|
-
],
|
|
58
|
-
"properties": {
|
|
59
|
-
"identity": { "$ref": "#/$defs/identity" },
|
|
60
|
-
"revision": { "type": "string", "minLength": 1 },
|
|
61
|
-
"digest": { "$ref": "#/$defs/digest" },
|
|
62
|
-
"completeness": {
|
|
63
|
-
"type": "string",
|
|
64
|
-
"enum": ["complete", "incomplete"]
|
|
65
|
-
},
|
|
66
|
-
"truncated": { "type": "boolean" },
|
|
67
|
-
"gaps": {
|
|
68
|
-
"type": "array",
|
|
69
|
-
"items": { "type": "string", "minLength": 1 }
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"additionalProperties": false
|
|
73
|
-
},
|
|
74
|
-
"definition": {
|
|
75
|
-
"type": "object",
|
|
76
|
-
"required": [
|
|
77
|
-
"requirements",
|
|
78
|
-
"preservation_constraints",
|
|
79
|
-
"proof_obligations",
|
|
80
|
-
"unknowns"
|
|
81
|
-
],
|
|
82
|
-
"properties": {
|
|
83
|
-
"requirements": {
|
|
84
|
-
"type": "array",
|
|
85
|
-
"minItems": 1,
|
|
86
|
-
"items": { "$ref": "#/$defs/requirement" }
|
|
87
|
-
},
|
|
88
|
-
"preservation_constraints": {
|
|
89
|
-
"type": "array",
|
|
90
|
-
"items": { "$ref": "#/$defs/preservation_constraint" }
|
|
91
|
-
},
|
|
92
|
-
"proof_obligations": {
|
|
93
|
-
"type": "array",
|
|
94
|
-
"minItems": 1,
|
|
95
|
-
"items": { "$ref": "#/$defs/proof_obligation" }
|
|
96
|
-
},
|
|
97
|
-
"unknowns": {
|
|
98
|
-
"type": "array",
|
|
99
|
-
"items": { "$ref": "#/$defs/unknown" }
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
"additionalProperties": false
|
|
103
|
-
},
|
|
104
|
-
"review_workflow": {
|
|
105
|
-
"type": "object",
|
|
106
|
-
"required": ["run_id", "decision_event_kind"],
|
|
107
|
-
"properties": {
|
|
108
|
-
"run_id": { "$ref": "#/$defs/identity" },
|
|
109
|
-
"decision_event_kind": {
|
|
110
|
-
"const": "change_assurance.review_decided"
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
"additionalProperties": false
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
"$defs": {
|
|
117
|
-
"identity": {
|
|
118
|
-
"type": "string",
|
|
119
|
-
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,255}$"
|
|
120
|
-
},
|
|
121
|
-
"digest": {
|
|
122
|
-
"type": "string",
|
|
123
|
-
"pattern": "^[a-f0-9]{64}$"
|
|
124
|
-
},
|
|
125
|
-
"source_connection": {
|
|
126
|
-
"type": "object",
|
|
127
|
-
"required": ["source_id", "kind", "revision", "digest"],
|
|
128
|
-
"properties": {
|
|
129
|
-
"source_id": { "$ref": "#/$defs/identity" },
|
|
130
|
-
"kind": {
|
|
131
|
-
"type": "string",
|
|
132
|
-
"enum": [
|
|
133
|
-
"requirement",
|
|
134
|
-
"test",
|
|
135
|
-
"api",
|
|
136
|
-
"architecture",
|
|
137
|
-
"impact_evidence",
|
|
138
|
-
"recovery_evidence",
|
|
139
|
-
"other"
|
|
140
|
-
]
|
|
141
|
-
},
|
|
142
|
-
"revision": { "type": "string", "minLength": 1 },
|
|
143
|
-
"digest": { "$ref": "#/$defs/digest" }
|
|
144
|
-
},
|
|
145
|
-
"additionalProperties": false
|
|
146
|
-
},
|
|
147
|
-
"requirement": {
|
|
148
|
-
"type": "object",
|
|
149
|
-
"required": ["id", "statement", "source_ids"],
|
|
150
|
-
"properties": {
|
|
151
|
-
"id": { "$ref": "#/$defs/identity" },
|
|
152
|
-
"statement": { "type": "string", "minLength": 1 },
|
|
153
|
-
"source_ids": {
|
|
154
|
-
"type": "array",
|
|
155
|
-
"minItems": 1,
|
|
156
|
-
"uniqueItems": true,
|
|
157
|
-
"items": { "$ref": "#/$defs/identity" }
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
"additionalProperties": false
|
|
161
|
-
},
|
|
162
|
-
"preservation_constraint": {
|
|
163
|
-
"type": "object",
|
|
164
|
-
"required": ["id", "statement", "source_ids"],
|
|
165
|
-
"properties": {
|
|
166
|
-
"id": { "$ref": "#/$defs/identity" },
|
|
167
|
-
"statement": { "type": "string", "minLength": 1 },
|
|
168
|
-
"source_ids": {
|
|
169
|
-
"type": "array",
|
|
170
|
-
"minItems": 1,
|
|
171
|
-
"uniqueItems": true,
|
|
172
|
-
"items": { "$ref": "#/$defs/identity" }
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
"additionalProperties": false
|
|
176
|
-
},
|
|
177
|
-
"command": {
|
|
178
|
-
"type": "object",
|
|
179
|
-
"required": ["argv", "working_directory"],
|
|
180
|
-
"properties": {
|
|
181
|
-
"argv": {
|
|
182
|
-
"type": "array",
|
|
183
|
-
"minItems": 1,
|
|
184
|
-
"items": { "type": "string" }
|
|
185
|
-
},
|
|
186
|
-
"working_directory": { "type": "string", "minLength": 1 }
|
|
187
|
-
},
|
|
188
|
-
"additionalProperties": false
|
|
189
|
-
},
|
|
190
|
-
"proof_obligation": {
|
|
191
|
-
"type": "object",
|
|
192
|
-
"required": [
|
|
193
|
-
"proof_id",
|
|
194
|
-
"statement",
|
|
195
|
-
"obligation_ids",
|
|
196
|
-
"evidence_kind",
|
|
197
|
-
"command",
|
|
198
|
-
"tool_identity",
|
|
199
|
-
"configuration_digest"
|
|
200
|
-
],
|
|
201
|
-
"properties": {
|
|
202
|
-
"proof_id": { "$ref": "#/$defs/identity" },
|
|
203
|
-
"statement": { "type": "string", "minLength": 1 },
|
|
204
|
-
"obligation_ids": {
|
|
205
|
-
"type": "array",
|
|
206
|
-
"minItems": 1,
|
|
207
|
-
"uniqueItems": true,
|
|
208
|
-
"items": { "$ref": "#/$defs/identity" }
|
|
209
|
-
},
|
|
210
|
-
"evidence_kind": { "$ref": "#/$defs/identity" },
|
|
211
|
-
"command": { "$ref": "#/$defs/command" },
|
|
212
|
-
"tool_identity": { "type": "string", "minLength": 1 },
|
|
213
|
-
"configuration_digest": { "$ref": "#/$defs/digest" }
|
|
214
|
-
},
|
|
215
|
-
"additionalProperties": false
|
|
216
|
-
},
|
|
217
|
-
"unknown": {
|
|
218
|
-
"type": "object",
|
|
219
|
-
"required": ["id", "statement", "disposition", "owner"],
|
|
220
|
-
"properties": {
|
|
221
|
-
"id": { "$ref": "#/$defs/identity" },
|
|
222
|
-
"statement": { "type": "string", "minLength": 1 },
|
|
223
|
-
"disposition": {
|
|
224
|
-
"type": "string",
|
|
225
|
-
"enum": ["open", "accepted", "deferred", "resolved"]
|
|
226
|
-
},
|
|
227
|
-
"owner": { "type": "string", "minLength": 1 },
|
|
228
|
-
"resolution": { "type": "string", "minLength": 1 }
|
|
229
|
-
},
|
|
230
|
-
"additionalProperties": false
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
"additionalProperties": false
|
|
234
|
-
}
|