@agent-ix/quoin 0.22.5 → 0.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -258
- package/bin/launcher.js +138 -0
- package/package.json +22 -119
- 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-BkgwDKvQ.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-C3bSmPD_.js +0 -340
- package/dist/base-CqKNs2Kd.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/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/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 -140
- 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/record.d.ts +0 -10
- package/dist/commands/measurement/record.d.ts.map +0 -1
- package/dist/commands/measurement/record.js +0 -35
- 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 -15
- package/dist/commands/report.d.ts.map +0 -1
- package/dist/commands/report.js +0 -70
- 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/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-DamWradt.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/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 -55
- package/dist/evidence/adapters/types.d.ts.map +0 -1
- package/dist/evidence/index.d.ts +0 -24
- 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-DD0CHzJ0.js +0 -533
- package/dist/flow-command-BfFNY0Rv.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/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 -12
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -10
- package/dist/measurement/compare.d.ts +0 -4
- package/dist/measurement/compare.d.ts.map +0 -1
- package/dist/measurement/index.d.ts +0 -9
- package/dist/measurement/index.d.ts.map +0 -1
- package/dist/measurement/plans.d.ts +0 -4
- package/dist/measurement/plans.d.ts.map +0 -1
- package/dist/measurement/portfolio.d.ts +0 -48
- 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 -44
- package/dist/measurement/report.d.ts.map +0 -1
- package/dist/measurement/store.d.ts +0 -7
- package/dist/measurement/store.d.ts.map +0 -1
- package/dist/measurement/types.d.ts +0 -83
- 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-CzB74Q07.js +0 -595
- package/dist/modules-ez9httBA.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-C-ta0llj.js +0 -77
- package/dist/plugins.d.ts +0 -13
- package/dist/plugins.d.ts.map +0 -1
- package/dist/quire/contract.d.ts +0 -87
- 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 -12
- 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 -34
- package/dist/quire/validate.d.ts.map +0 -1
- package/dist/quire-D8tCpgyA.js +0 -4961
- package/dist/schemas/coverage-v1.schema.json +0 -1111
- package/dist/schemas/properties-v1.schema.json +0 -159
- package/dist/store--2sAv12X.js +0 -219
- 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-Dg0e6CZU.js +0 -17
- package/dist/version.d.ts +0 -3
- package/dist/version.d.ts.map +0 -1
- package/dist/write-DElwS9xc.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 -63
- package/skills/gap-analysis/references/step-5-semantic-review.md +0 -51
- package/skills/gap-analysis/references/step-6-specreview-artifact.md +0 -107
- 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 -132
- 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/dist/quire/types.d.ts
DELETED
|
@@ -1,415 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TypeScript models for the quire JSON payloads (FR-029).
|
|
3
|
-
*
|
|
4
|
-
* These mirror the vendored schemas rather than restating them: every value
|
|
5
|
-
* that reaches consumer code has been validated against the published schema
|
|
6
|
-
* first (`validateCoverage` / `validateProperties`), so a mismatch between
|
|
7
|
-
* these declarations and the contract surfaces as a validation error naming the
|
|
8
|
-
* offending path — not as an `undefined` three frames later.
|
|
9
|
-
*
|
|
10
|
-
* That ordering is the point. quoin's own `spec/review.md` Finding 8 records
|
|
11
|
-
* "no contract test against quire": the shapes lived as prose in skill
|
|
12
|
-
* markdown, and when one drifted an agent failed mid-skill with nothing to
|
|
13
|
-
* diagnose. Types alone would not have fixed that — TypeScript erases at
|
|
14
|
-
* runtime and JSON from a subprocess is `any`. The validator is what makes
|
|
15
|
-
* these types true.
|
|
16
|
-
*/
|
|
17
|
-
/** One reference row answerable for trace ids nothing backs (FR-050-AC-3). */
|
|
18
|
-
export interface UnbackedRow {
|
|
19
|
-
reference: string;
|
|
20
|
-
document: string;
|
|
21
|
-
row_id?: string | null;
|
|
22
|
-
target_ids: string[];
|
|
23
|
-
/**
|
|
24
|
-
* 1-based document line of the matrix row (quire-rs #210, v0.42.0). Absent
|
|
25
|
-
* on a payload from an engine predating the field.
|
|
26
|
-
*/
|
|
27
|
-
line?: number;
|
|
28
|
-
}
|
|
29
|
-
/** A row whose status classes as complete while nothing backs it. */
|
|
30
|
-
export interface StatusLie {
|
|
31
|
-
reference: string;
|
|
32
|
-
document: string;
|
|
33
|
-
row_id?: string | null;
|
|
34
|
-
status: string;
|
|
35
|
-
target_ids: string[];
|
|
36
|
-
/** 1-based document line of the matrix row (quire-rs #210, v0.42.0). */
|
|
37
|
-
line?: number;
|
|
38
|
-
}
|
|
39
|
-
/** An unbacked row exempted by a method that mints no source symbol (CR-041). */
|
|
40
|
-
export interface NoSymbolRow {
|
|
41
|
-
reference: string;
|
|
42
|
-
document: string;
|
|
43
|
-
row_id?: string | null;
|
|
44
|
-
test_type: string;
|
|
45
|
-
target_ids: string[];
|
|
46
|
-
/** 1-based document line of the matrix row (quire-rs #210, v0.42.0). */
|
|
47
|
-
line?: number;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* A row whose authored status the module's vocabulary classes as nothing
|
|
51
|
-
* (FR-050-AC-21, quire-rs CR-083).
|
|
52
|
-
*
|
|
53
|
-
* Carries no class, deliberately: having none is the entire finding, and two
|
|
54
|
-
* undeclared glyphs in one corpus are told apart only by the authored value.
|
|
55
|
-
*/
|
|
56
|
-
export interface UndeclaredStatus {
|
|
57
|
-
reference: string;
|
|
58
|
-
document: string;
|
|
59
|
-
row_id?: string | null;
|
|
60
|
-
/** The authored status value, verbatim. */
|
|
61
|
-
status: string;
|
|
62
|
-
/**
|
|
63
|
-
* 1-based document line of the matrix row (quire-rs #210, v0.42.0).
|
|
64
|
-
* Byte-identical duplicate rows still collapse to one record (quire-rs
|
|
65
|
-
* CR-086), which carries the first duplicate's line.
|
|
66
|
-
*/
|
|
67
|
-
line?: number;
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* One `implements` edge — requirement to production code (FR-062).
|
|
71
|
-
*
|
|
72
|
-
* **Carries no weight in `totals`.** Scope is not evidence: folding it into the
|
|
73
|
-
* backed set would let code that merely cites a requirement move a coverage
|
|
74
|
-
* number, which is the backdoor quire-rs CR-061 closed.
|
|
75
|
-
*/
|
|
76
|
-
export interface ImplementsRecord {
|
|
77
|
-
path: string;
|
|
78
|
-
symbol: string;
|
|
79
|
-
trace_id: string;
|
|
80
|
-
/** Name of the declared marker form that bound it. */
|
|
81
|
-
form: string;
|
|
82
|
-
}
|
|
83
|
-
/** A source symbol whose trace tag resolves to nothing declared. */
|
|
84
|
-
export interface UntrackedSymbol {
|
|
85
|
-
path: string;
|
|
86
|
-
symbol: string;
|
|
87
|
-
trace_id: string;
|
|
88
|
-
/** 1-based declaration line of the tagged symbol (quire-rs #210, v0.42.0). */
|
|
89
|
-
line?: number;
|
|
90
|
-
}
|
|
91
|
-
/** One minted source-evidence row and its resolved backed state (FR-050-AC-38). */
|
|
92
|
-
export interface MintedTargetRecord {
|
|
93
|
-
id: string;
|
|
94
|
-
target: string;
|
|
95
|
-
document: string;
|
|
96
|
-
line: number;
|
|
97
|
-
backed: boolean;
|
|
98
|
-
}
|
|
99
|
-
/** An authored annotation token that no declared form bound (FR-050-AC-39). */
|
|
100
|
-
export interface UnmatchedTag {
|
|
101
|
-
trace_id: string;
|
|
102
|
-
language: "rust" | "python" | "typescript";
|
|
103
|
-
path: string;
|
|
104
|
-
line: number;
|
|
105
|
-
symbol: string;
|
|
106
|
-
}
|
|
107
|
-
/** One of the distinct symbols binding a shared trace id (quire-rs CR-087). */
|
|
108
|
-
export interface SharedTraceSymbol {
|
|
109
|
-
path: string;
|
|
110
|
-
symbol: string;
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* A trace id bound by more than one distinct source symbol (quire-rs
|
|
114
|
-
* FR-050-AC-23, CR-087).
|
|
115
|
-
*
|
|
116
|
-
* One id names one symbol; a row backed by N symbols stays green while N-1 of
|
|
117
|
-
* its tests rot. Carries no weight in `totals`, and `--strict` does not gate
|
|
118
|
-
* on it in this contract revision.
|
|
119
|
-
*/
|
|
120
|
-
export interface SharedTraceId {
|
|
121
|
-
/** The trace id, exactly as the binding forms yield it. */
|
|
122
|
-
trace_id: string;
|
|
123
|
-
/** The distinct binding symbols, ordered by (path, symbol); at least two. */
|
|
124
|
-
symbols: SharedTraceSymbol[];
|
|
125
|
-
}
|
|
126
|
-
/** Backed/total counts for one minting document and target kind. */
|
|
127
|
-
export interface GroupCounts {
|
|
128
|
-
document: string;
|
|
129
|
-
target: string;
|
|
130
|
-
backed: number;
|
|
131
|
-
total: number;
|
|
132
|
-
}
|
|
133
|
-
/** Per-document property-shape counts (CR-028). */
|
|
134
|
-
export interface CriteriaCounts {
|
|
135
|
-
document: string;
|
|
136
|
-
archetype: string;
|
|
137
|
-
criteria: number;
|
|
138
|
-
property_shaped: number;
|
|
139
|
-
by_property: Record<string, number>;
|
|
140
|
-
specific_shaped?: number;
|
|
141
|
-
grounding?: Record<string, GroundingCounts>;
|
|
142
|
-
catch_all_example?: CatchAllCriterion;
|
|
143
|
-
}
|
|
144
|
-
/** Span availability for one property-shape population. */
|
|
145
|
-
export interface GroundingCounts {
|
|
146
|
-
records: number;
|
|
147
|
-
domain: number;
|
|
148
|
-
precondition: number;
|
|
149
|
-
oracle: number;
|
|
150
|
-
all_three: number;
|
|
151
|
-
}
|
|
152
|
-
/** One located criterion illustrating catch-all classification. */
|
|
153
|
-
export interface CatchAllCriterion {
|
|
154
|
-
row_id?: string;
|
|
155
|
-
line?: number;
|
|
156
|
-
}
|
|
157
|
-
/** A declaration that selected nothing, and why (CR-054). */
|
|
158
|
-
export interface CoverageDiagnostic {
|
|
159
|
-
declaration: string;
|
|
160
|
-
/** Open machine vocabulary — deliberately not a union (FR-055). */
|
|
161
|
-
reason: string;
|
|
162
|
-
message: string;
|
|
163
|
-
path?: string | null;
|
|
164
|
-
/** One-based line at the smallest repair locus, when one exists. */
|
|
165
|
-
line?: number;
|
|
166
|
-
/**
|
|
167
|
-
* The vocabulary or catalog value the diagnostic is about, verbatim, when it
|
|
168
|
-
* is about exactly one (quire-rs FR-054-AC-12, CR-091).
|
|
169
|
-
*
|
|
170
|
-
* `uncatalogued-verification-method` carries the authored method here —
|
|
171
|
-
* byte-equal to the `Obligation` records' `method` — so the advisor's
|
|
172
|
-
* mismatch / uncatalogued split is an equality join rather than a regex over
|
|
173
|
-
* `message` prose (agent-ix/quoin#168). Absent on a payload from an engine
|
|
174
|
-
* predating the classification, and absent when the diagnostic is not about
|
|
175
|
-
* one value; a consumer must tolerate both.
|
|
176
|
-
*/
|
|
177
|
-
value?: string;
|
|
178
|
-
/** Affected row, declaration, metric, criterion, or symbol (quire-rs#364). */
|
|
179
|
-
subject?: string;
|
|
180
|
-
/** Source or configuration surface to inspect or change. */
|
|
181
|
-
change_target?: string;
|
|
182
|
-
/** Prescribed repair; the JSON contract excludes next_diagnostic_step. */
|
|
183
|
-
remedy?: string;
|
|
184
|
-
/** Safe investigation step; the JSON contract excludes remedy. */
|
|
185
|
-
next_diagnostic_step?: string;
|
|
186
|
-
}
|
|
187
|
-
/**
|
|
188
|
-
* One declared coverage-vocabulary value, classified (quire-rs FR-059-AC-9,
|
|
189
|
-
* CR-091).
|
|
190
|
-
*
|
|
191
|
-
* Carried ahead of the previously pinned release as an additive field (see
|
|
192
|
-
* `QUIRE_CONTRACT`): a payload from quire 0.27.0 simply omits the whole
|
|
193
|
-
* `vocabulary_coverage` array, and every consumer must treat absence as "the
|
|
194
|
-
* engine predates the classification", never as "every value is owned".
|
|
195
|
-
*/
|
|
196
|
-
export interface VocabularyValueRecord {
|
|
197
|
-
/** The `vocabulary_coverage` declaration's name. */
|
|
198
|
-
vocabulary: string;
|
|
199
|
-
/** The projected archetype (the declaration's `from`). */
|
|
200
|
-
archetype: string;
|
|
201
|
-
/** The frontmatter field whose schema `enum` is the vocabulary. */
|
|
202
|
-
field: string;
|
|
203
|
-
/** The declared `<check>` severity token. */
|
|
204
|
-
check: string;
|
|
205
|
-
/** The vocabulary value, verbatim from the schema enum. */
|
|
206
|
-
value: string;
|
|
207
|
-
/** Closed deliberately, unlike `CoverageDiagnostic.reason`. */
|
|
208
|
-
state: "owned" | "excused" | "unowned";
|
|
209
|
-
/** Scope-relative documents that decide the state; empty for `unowned`. */
|
|
210
|
-
documents: string[];
|
|
211
|
-
}
|
|
212
|
-
/**
|
|
213
|
-
* One derived obligation (quire-rs FR-053) — the quire↔quoin contract itself.
|
|
214
|
-
*
|
|
215
|
-
* `statement_hash` is the whole reason this record exists downstream: suspect
|
|
216
|
-
* detection is `current_hash !== hash_at_binding` and nothing more.
|
|
217
|
-
*/
|
|
218
|
-
export interface Obligation {
|
|
219
|
-
source: string;
|
|
220
|
-
id: string;
|
|
221
|
-
document: string;
|
|
222
|
-
statement: string;
|
|
223
|
-
statement_hash: string;
|
|
224
|
-
method?: string | null;
|
|
225
|
-
parameters?: Record<string, string>;
|
|
226
|
-
criticality?: string | null;
|
|
227
|
-
/**
|
|
228
|
-
* Test-case ids the criterion's method cell names — `Test (TC-707)` yields
|
|
229
|
-
* `["TC-707"]` (quire-rs FR-053-AC-11, v0.35.0).
|
|
230
|
-
*
|
|
231
|
-
* Optional because an engine before v0.35.0 emits none, and because a cell
|
|
232
|
-
* naming no test case carries none. Treat absent and empty alike: both mean
|
|
233
|
-
* "this obligation names no test case", never "the engine is old" — a
|
|
234
|
-
* consumer that branched on the difference would report a version as a
|
|
235
|
-
* finding.
|
|
236
|
-
*/
|
|
237
|
-
target_ids?: string[];
|
|
238
|
-
}
|
|
239
|
-
/** Bundle-wide totals. The criteria pair is all-or-nothing. */
|
|
240
|
-
export interface CoverageTotals {
|
|
241
|
-
backed: number;
|
|
242
|
-
total: number;
|
|
243
|
-
criteria?: number | null;
|
|
244
|
-
property_shaped?: number | null;
|
|
245
|
-
specific_shaped?: number | null;
|
|
246
|
-
}
|
|
247
|
-
/** One source symbol the binder examined but did not bind. */
|
|
248
|
-
export interface UnboundSymbol {
|
|
249
|
-
path: string;
|
|
250
|
-
line: number;
|
|
251
|
-
symbol: string;
|
|
252
|
-
}
|
|
253
|
-
/** The trace binder's measured premise for one language. */
|
|
254
|
-
export interface BindingCensus {
|
|
255
|
-
language: "rust" | "python" | "typescript";
|
|
256
|
-
candidates: number;
|
|
257
|
-
tagged: number;
|
|
258
|
-
bound: number;
|
|
259
|
-
self_named?: number;
|
|
260
|
-
self_named_bound?: number;
|
|
261
|
-
forms: string[];
|
|
262
|
-
unbound_example?: UnboundSymbol;
|
|
263
|
-
unmatched_example?: UnboundSymbol;
|
|
264
|
-
self_named_unbound_example?: UnboundSymbol;
|
|
265
|
-
}
|
|
266
|
-
/** Which executable and engine produced a payload. */
|
|
267
|
-
export interface EngineProvenance {
|
|
268
|
-
cli: string;
|
|
269
|
-
engine: string;
|
|
270
|
-
capabilities: string[];
|
|
271
|
-
}
|
|
272
|
-
export type MetricShape = "ratio" | "count";
|
|
273
|
-
interface MetricBase {
|
|
274
|
-
name: string;
|
|
275
|
-
unit: string;
|
|
276
|
-
method: string;
|
|
277
|
-
shape: MetricShape;
|
|
278
|
-
}
|
|
279
|
-
/** A measurement that ran and carries its complete population premise. */
|
|
280
|
-
export interface MeasuredMetric extends MetricBase {
|
|
281
|
-
state: "measured";
|
|
282
|
-
value: number;
|
|
283
|
-
population: number;
|
|
284
|
-
examined: number;
|
|
285
|
-
matched: number;
|
|
286
|
-
}
|
|
287
|
-
/** A measurement the engine could not compute, with the deciding reason. */
|
|
288
|
-
export interface NotComputedMetric extends MetricBase {
|
|
289
|
-
state: "not_computed";
|
|
290
|
-
because: string;
|
|
291
|
-
}
|
|
292
|
-
export type Metric = MeasuredMetric | NotComputedMetric;
|
|
293
|
-
/** Advisory evidence that a test may be vacuous or self-confirming. */
|
|
294
|
-
export interface Suspicion {
|
|
295
|
-
kind: "vacuous-under-guard" | "oracle-resembles-implementation";
|
|
296
|
-
path: string;
|
|
297
|
-
symbol: string;
|
|
298
|
-
line: number;
|
|
299
|
-
message: string;
|
|
300
|
-
evidence: string;
|
|
301
|
-
subject?: string;
|
|
302
|
-
change_target?: string;
|
|
303
|
-
remedy?: string;
|
|
304
|
-
next_diagnostic_step?: string;
|
|
305
|
-
}
|
|
306
|
-
/** The `quire coverage --json` payload (v1). */
|
|
307
|
-
export interface CoverageReport {
|
|
308
|
-
unbacked_rows: UnbackedRow[];
|
|
309
|
-
status_lies: StatusLie[];
|
|
310
|
-
/** Absent — not empty — when the module declares no exemption vocabulary. */
|
|
311
|
-
no_symbol_rows?: NoSymbolRow[];
|
|
312
|
-
/** Absent — not empty — when every status value in the corpus is declared. */
|
|
313
|
-
undeclared_statuses?: UndeclaredStatus[];
|
|
314
|
-
untracked_symbols: UntrackedSymbol[];
|
|
315
|
-
/** Absent when the traceability model minted no source-evidence rows. */
|
|
316
|
-
minted_targets?: MintedTargetRecord[];
|
|
317
|
-
/** Absent when every authored annotation token matched a declared form. */
|
|
318
|
-
unmatched_tags?: UnmatchedTag[];
|
|
319
|
-
/**
|
|
320
|
-
* Trace ids bound by more than one distinct symbol (quire-rs FR-050-AC-23,
|
|
321
|
-
* CR-087). ABSENT — not empty — for a corpus whose every id is uniquely
|
|
322
|
-
* bound.
|
|
323
|
-
*/
|
|
324
|
-
shared_trace_ids?: SharedTraceId[];
|
|
325
|
-
groups: GroupCounts[];
|
|
326
|
-
criteria?: CriteriaCounts[];
|
|
327
|
-
diagnostics?: CoverageDiagnostic[];
|
|
328
|
-
/** Stable reason tokens the producing engine can emit. */
|
|
329
|
-
diagnostic_reason_registry?: string[];
|
|
330
|
-
obligations?: Obligation[];
|
|
331
|
-
/**
|
|
332
|
-
* Absent when the module declares no `implements` marker forms. Present in
|
|
333
|
-
* the published schema since CR-080 and missing from this interface until
|
|
334
|
-
* CR-083 — the vendored contract and its types had drifted in the one
|
|
335
|
-
* direction the contract test does not check.
|
|
336
|
-
*/
|
|
337
|
-
implements?: ImplementsRecord[];
|
|
338
|
-
/**
|
|
339
|
-
* One record per declared coverage-vocabulary value, classified
|
|
340
|
-
* owned / excused / unowned (quire-rs FR-059-AC-9, CR-091). ABSENT — not
|
|
341
|
-
* empty — for a module declaring no `vocabulary_coverage`, and absent on any
|
|
342
|
-
* payload from an engine predating the classification.
|
|
343
|
-
*/
|
|
344
|
-
vocabulary_coverage?: VocabularyValueRecord[];
|
|
345
|
-
/**
|
|
346
|
-
* Source files a declared `source_exclude` glob removed from the symbol walk
|
|
347
|
-
* (quire-rs FR-050-AC-24, #215). ABSENT — never 0 — for a model declaring no
|
|
348
|
-
* `source_exclude` or one whose globs match nothing. Without it an
|
|
349
|
-
* over-broad glob silently drops legitimate backing and the report reads as
|
|
350
|
-
* a coverage regression.
|
|
351
|
-
*/
|
|
352
|
-
excluded_source_files?: number;
|
|
353
|
-
binding_census?: BindingCensus[];
|
|
354
|
-
/** Headline measurements with explicit populations and methods. */
|
|
355
|
-
metrics?: Metric[];
|
|
356
|
-
/** Advisory test-quality findings; never folded into coverage totals. */
|
|
357
|
-
suspicions?: Suspicion[];
|
|
358
|
-
/** Instrument provenance added by quire-cli. */
|
|
359
|
-
engine?: EngineProvenance;
|
|
360
|
-
totals: CoverageTotals;
|
|
361
|
-
}
|
|
362
|
-
/** A byte-offset span carrying its own text (FR-052). */
|
|
363
|
-
export interface PropertySpan {
|
|
364
|
-
start: number;
|
|
365
|
-
end: number;
|
|
366
|
-
text: string;
|
|
367
|
-
}
|
|
368
|
-
/** The FR-047 shape axis. Closed in the engine, so closed here. */
|
|
369
|
-
export type AcShape = "assertion" | "obligation" | "given-when-then" | "unstructured";
|
|
370
|
-
/** The FR-052 property-shape axis. Closed by FR-052-CON-3. */
|
|
371
|
-
export type PropertyShape = "round-trip" | "idempotence" | "ordering" | "invariant" | "error-case" | "lifecycle" | "concurrency" | "universal" | "example" | "unclassified";
|
|
372
|
-
/** What a generator may do with a criterion (CR-033). */
|
|
373
|
-
export type Extraction = "extractable" | "candidate" | "not-extractable";
|
|
374
|
-
/**
|
|
375
|
-
* The obligation as nested on a criterion record.
|
|
376
|
-
*
|
|
377
|
-
* Carries no `id`, `statement` or `document`: the criterion and its enclosing
|
|
378
|
-
* document object already have all three.
|
|
379
|
-
*/
|
|
380
|
-
export interface CriterionObligation {
|
|
381
|
-
source: string;
|
|
382
|
-
statement_hash: string;
|
|
383
|
-
method?: string | null;
|
|
384
|
-
parameters?: Record<string, string>;
|
|
385
|
-
criticality?: string | null;
|
|
386
|
-
}
|
|
387
|
-
/** One classified acceptance criterion. */
|
|
388
|
-
export interface Criterion {
|
|
389
|
-
row_id: string | null;
|
|
390
|
-
statement: string;
|
|
391
|
-
line: number | null;
|
|
392
|
-
shape: AcShape;
|
|
393
|
-
property: PropertyShape;
|
|
394
|
-
extractable: boolean;
|
|
395
|
-
extraction: Extraction;
|
|
396
|
-
domain: PropertySpan | null;
|
|
397
|
-
precondition: PropertySpan | null;
|
|
398
|
-
oracle: PropertySpan | null;
|
|
399
|
-
signals: string[];
|
|
400
|
-
obligation: CriterionObligation | null;
|
|
401
|
-
}
|
|
402
|
-
/** One document's classified criteria. */
|
|
403
|
-
export interface PropertiesDocument {
|
|
404
|
-
document: string;
|
|
405
|
-
archetype: string;
|
|
406
|
-
criteria: Criterion[];
|
|
407
|
-
}
|
|
408
|
-
/** The `quire properties --json` payload (v1). */
|
|
409
|
-
export interface PropertiesReport {
|
|
410
|
-
documents: PropertiesDocument[];
|
|
411
|
-
/** Instrument provenance added by quire-cli. */
|
|
412
|
-
engine?: EngineProvenance;
|
|
413
|
-
}
|
|
414
|
-
export {};
|
|
415
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/quire/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,8EAA8E;AAC9E,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,qEAAqE;AACrE,MAAM,WAAW,SAAS;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,wEAAwE;IACxE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,iFAAiF;AACjF,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,wEAAwE;IACxE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;GAMG;AACH,MAAM,WAA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C;IACxB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,UAAU,CAAC;IACvB,MAAM,EAAE,YAAY,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,YAAY,GAAG,IAAI,CAAC;IAClC,MAAM,EAAE,YAAY,GAAG,IAAI,CAAC;IAC5B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,mBAAmB,GAAG,IAAI,CAAC;CACxC;AAED,0CAA0C;AAC1C,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,SAAS,EAAE,CAAC;CACvB;AAED,kDAAkD;AAClD,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,kBAAkB,EAAE,CAAC;IAChC,gDAAgD;IAChD,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC3B"}
|
package/dist/quire/validate.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { SchemaName } from './contract.js';
|
|
2
|
-
import { CoverageReport, PropertiesReport } from './types.js';
|
|
3
|
-
/** A payload that did not satisfy the published contract. */
|
|
4
|
-
export interface ContractViolation {
|
|
5
|
-
readonly kind: "contract-violation";
|
|
6
|
-
readonly schema: SchemaName;
|
|
7
|
-
/** One line per failing path, in the order ajv reported them. */
|
|
8
|
-
readonly errors: string[];
|
|
9
|
-
readonly message: string;
|
|
10
|
-
}
|
|
11
|
-
export type ValidationResult<T> = {
|
|
12
|
-
ok: true;
|
|
13
|
-
value: T;
|
|
14
|
-
} | {
|
|
15
|
-
ok: false;
|
|
16
|
-
error: ContractViolation;
|
|
17
|
-
};
|
|
18
|
-
/** Validate a `quire coverage --json` payload. */
|
|
19
|
-
export declare function validateCoverage(payload: unknown): ValidationResult<CoverageReport>;
|
|
20
|
-
/** Validate a `quire properties --json` payload. */
|
|
21
|
-
export declare function validateProperties(payload: unknown): ValidationResult<PropertiesReport>;
|
|
22
|
-
/**
|
|
23
|
-
* Parse and validate in one step, so a caller never holds an unvalidated
|
|
24
|
-
* payload it could accidentally use.
|
|
25
|
-
*
|
|
26
|
-
* A JSON parse failure is reported as a contract violation rather than thrown:
|
|
27
|
-
* from the caller's position "quire emitted something unreadable" and "quire
|
|
28
|
-
* emitted the wrong shape" are the same actionable fact — the tool's output
|
|
29
|
-
* cannot be consumed — and both want the same named diagnostic.
|
|
30
|
-
*/
|
|
31
|
-
export declare function parseCoverage(text: string): ValidationResult<CoverageReport>;
|
|
32
|
-
/** As {@link parseCoverage}, for the properties payload. */
|
|
33
|
-
export declare function parseProperties(text: string): ValidationResult<PropertiesReport>;
|
|
34
|
-
//# sourceMappingURL=validate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../src/quire/validate.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAKH,OAAO,EAAc,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnE,6DAA6D;AAC7D,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC;IACpC,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,iEAAiE;IACjE,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAC5B;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,KAAK,EAAE,CAAC,CAAA;CAAE,GAAG;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,iBAAiB,CAAA;CAAE,CAAC;AAoDnE,kDAAkD;AAClD,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,OAAO,GACf,gBAAgB,CAAC,cAAc,CAAC,CAElC;AAED,oDAAoD;AACpD,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,OAAO,GACf,gBAAgB,CAAC,gBAAgB,CAAC,CAEpC;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB,CAAC,cAAc,CAAC,CAE5E;AAED,4DAA4D;AAC5D,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,GACX,gBAAgB,CAAC,gBAAgB,CAAC,CAEpC"}
|