@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
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { i as e, n as t, o as n, t as r } from "../../quire-D8tCpgyA.js";
|
|
2
|
-
import { t as i } from "../../base-CqKNs2Kd.js";
|
|
3
|
-
import { _ as a, b as o, f as s, r as c } from "../../store--2sAv12X.js";
|
|
4
|
-
import { a as l, i as u, o as d, r as f, s as p } from "../../evidence-DD0CHzJ0.js";
|
|
5
|
-
import { readFileSync as m } from "node:fs";
|
|
6
|
-
import { Flags as h } from "@oclif/core";
|
|
7
|
-
//#region src/commands/evidence/record.ts
|
|
8
|
-
var g = class u extends i {
|
|
9
|
-
static summary = "Transcribe one suite run into the evidence store.";
|
|
10
|
-
static description = "Records ONE run of ONE suite at ONE commit, then binds every obligation that\nrun discharged, stamping the statement hash as it stands now.\n\nquoin transcribes; the consumer's CI executes (ADR-0011 invariant 1). This\ncommand runs no test and judges no result — recording a FAILING run is as\nlegitimate as recording a passing one, and more useful, because a suite that\nstopped passing is exactly what a freshness check needs to see.\n\n--results takes normalized entries:\n\n {\"entries\": [{\"symbol\": \"tests::tc001\", \"outcome\": \"pass\", \"traceIds\": [\"FR-001-AC-1\"]}]}\n\n--adapter selects a format reader. Without it the suite's --tool picks one, and\nfailing that the normalized shape above is assumed. An adapter transcribes; it\nruns nothing and judges nothing.";
|
|
11
|
-
static examples = ["quoin evidence record --suite SUITE-001 --commit $(git rev-parse HEAD) --tool 'cargo test 1.94.1' --results run.json"];
|
|
12
|
-
static flags = {
|
|
13
|
-
suite: h.string({
|
|
14
|
-
description: "Suite id from spec/evidence/suites.md (e.g. SUITE-001).",
|
|
15
|
-
required: !0
|
|
16
|
-
}),
|
|
17
|
-
commit: h.string({
|
|
18
|
-
description: "Full commit sha the run was performed at.",
|
|
19
|
-
required: !0
|
|
20
|
-
}),
|
|
21
|
-
tool: h.string({
|
|
22
|
-
description: "Tool and version, as it identifies itself.",
|
|
23
|
-
required: !0
|
|
24
|
-
}),
|
|
25
|
-
kind: h.string({ description: "Evidence kind this run produced (Unit, Property, Static, Manual, …) — the vocabulary the catalog's `evidence_kind` and the suite registry's `Evidence Kind` column use. Method conformance compares kind to kind; without it the check stays silent rather than guessing." }),
|
|
26
|
-
discharges: h.string({
|
|
27
|
-
description: "Obligation ids this scan discharges, comma-separated. Finding-shaped only. A CLEAN scan is the strongest evidence a scanner produces and carries no finding to bind from, so the obligations it was run to check are stated rather than inferred. A scan that evaluated no rules binds nothing regardless.",
|
|
28
|
-
multiple: !1
|
|
29
|
-
}),
|
|
30
|
-
adapter: h.string({
|
|
31
|
-
description: `Format reader for --results (${f.join(", ")}). Defaults to the adapter claiming --tool, else the normalized shape. An unknown name is an error rather than a silent fall back, so a typo reports itself instead of failing later as a JSON-shape complaint.`,
|
|
32
|
-
options: [...f]
|
|
33
|
-
}),
|
|
34
|
-
results: h.string({
|
|
35
|
-
description: "Normalized run entries as JSON. `-` reads stdin.",
|
|
36
|
-
required: !0
|
|
37
|
-
}),
|
|
38
|
-
repo: h.string({
|
|
39
|
-
description: "Repository root. Defaults to the working directory.",
|
|
40
|
-
default: "."
|
|
41
|
-
}),
|
|
42
|
-
module: h.string({ description: "Module directory supplying the traceability model." }),
|
|
43
|
-
timestamp: h.string({ description: "ISO-8601 run time. Defaults to now." }),
|
|
44
|
-
json: h.boolean({ description: "Emit the outcome as JSON." })
|
|
45
|
-
};
|
|
46
|
-
async run() {
|
|
47
|
-
let { flags: i } = await this.parse(u);
|
|
48
|
-
_(i.tool) || this.error("--tool must include an immutable version (for example `vitest 3.2.4` or `scanner git:<full-sha>`)", { exit: 2 });
|
|
49
|
-
let f = n(r());
|
|
50
|
-
f && this.error(f.message, { exit: 2 });
|
|
51
|
-
let h = [
|
|
52
|
-
"coverage",
|
|
53
|
-
"--scope",
|
|
54
|
-
i.repo,
|
|
55
|
-
"--json"
|
|
56
|
-
];
|
|
57
|
-
i.module && h.push("--module", i.module);
|
|
58
|
-
let g = t(h), b = e(g);
|
|
59
|
-
b.ok || this.error(`${b.error.message}\n${b.error.errors.slice(0, 10).join("\n")}`, { exit: 2 });
|
|
60
|
-
let x = l({
|
|
61
|
-
adapter: i.adapter,
|
|
62
|
-
tool: i.tool
|
|
63
|
-
});
|
|
64
|
-
if (x) {
|
|
65
|
-
let e = i.results === "-" ? m(0, "utf8") : m(i.results, "utf8"), t = x.parse(e), n = t.tool;
|
|
66
|
-
n !== void 0 && n !== i.tool && n !== v(i.tool) && this.error(`result tool identity ${JSON.stringify(n)} does not match --tool ${JSON.stringify(i.tool)}`, { exit: 2 });
|
|
67
|
-
let r = o(i.repo, {
|
|
68
|
-
schemaVersion: 1,
|
|
69
|
-
suite: i.suite,
|
|
70
|
-
commit: i.commit,
|
|
71
|
-
tool: i.tool,
|
|
72
|
-
...i.kind === void 0 ? {} : { evidenceKind: i.kind },
|
|
73
|
-
timestamp: i.timestamp ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
74
|
-
...t.ruleset === void 0 ? {} : { ruleset: t.ruleset },
|
|
75
|
-
...t.rulesEvaluated === void 0 ? {} : { rulesEvaluated: t.rulesEvaluated },
|
|
76
|
-
findings: t.findings
|
|
77
|
-
}), l = t.rulesEvaluated === 0, u = (i.discharges ?? "").split(",").map((e) => e.trim()).filter((e) => e !== ""), f = [], p = [];
|
|
78
|
-
if (u.length > 0 && !l) {
|
|
79
|
-
let e = new Map(d(b.value).map((e) => [e.id, e])), t = s(i.repo).bindings;
|
|
80
|
-
for (let n of [...u].sort()) {
|
|
81
|
-
let r = e.get(n);
|
|
82
|
-
if (!r) {
|
|
83
|
-
p.push(n);
|
|
84
|
-
continue;
|
|
85
|
-
}
|
|
86
|
-
let a = c(t, {
|
|
87
|
-
obligation: n,
|
|
88
|
-
statementHashAtBinding: r.statement_hash,
|
|
89
|
-
suite: i.suite,
|
|
90
|
-
commit: i.commit,
|
|
91
|
-
symbols: []
|
|
92
|
-
});
|
|
93
|
-
t = a.bindings, a.created && f.push(n);
|
|
94
|
-
}
|
|
95
|
-
a(i.repo, { bindings: t });
|
|
96
|
-
}
|
|
97
|
-
if (i.json) {
|
|
98
|
-
this.log(JSON.stringify({
|
|
99
|
-
scanPath: r,
|
|
100
|
-
findings: t.findings,
|
|
101
|
-
bound: f,
|
|
102
|
-
unknown: p
|
|
103
|
-
}, null, 2));
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
this.log(`recorded scan ${i.suite} @ ${i.commit.slice(0, 12)} → ${r}`), this.log(` bound: ${f.length}`), p.length > 0 && this.log(` discharges no such obligation: ${p.sort().join(", ")}`), l && u.length > 0 && this.log(" bound nothing: the scan evaluated no rules, so it found nothing because it looked for nothing"), this.log(` findings: ${t.findings.length}` + (t.rulesEvaluated === void 0 ? " (the tool reported no rule count, so this cannot be told from a scan with no rules enabled)" : ` over ${t.rulesEvaluated} rules evaluated`));
|
|
107
|
-
return;
|
|
108
|
-
}
|
|
109
|
-
let S = y(i.results, {
|
|
110
|
-
adapter: i.adapter,
|
|
111
|
-
tool: i.tool
|
|
112
|
-
}), C = p({
|
|
113
|
-
repo: i.repo,
|
|
114
|
-
suite: i.suite,
|
|
115
|
-
commit: i.commit,
|
|
116
|
-
tool: i.tool,
|
|
117
|
-
evidenceKind: i.kind,
|
|
118
|
-
timestamp: i.timestamp ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
119
|
-
entries: S,
|
|
120
|
-
obligations: d(b.value)
|
|
121
|
-
});
|
|
122
|
-
if (i.json) {
|
|
123
|
-
this.log(JSON.stringify(C, null, 2));
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
this.log(`recorded ${i.suite} @ ${i.commit.slice(0, 12)} → ${C.runPath}`), this.log(` bound: ${C.bound.length}`), C.suspect.length > 0 && this.log(` suspect (statement changed since binding, re-affirm to clear): ${C.suspect.join(", ")}`), C.unmatched.length > 0 && this.log(` unmatched trace ids (tagged in the suite, stated by no obligation): ${C.unmatched.join(", ")}`);
|
|
127
|
-
}
|
|
128
|
-
};
|
|
129
|
-
function _(e) {
|
|
130
|
-
return /(?:^|[\s/@])(?:v?\d+(?:\.\d+)+(?:[-+][0-9A-Za-z.-]+)?|git:[0-9a-f]{40}|sha256:[0-9a-f]{64})(?:$|[\s,)])/i.test(e);
|
|
131
|
-
}
|
|
132
|
-
function v(e) {
|
|
133
|
-
return e.trim().split(/\s+/, 1)[0];
|
|
134
|
-
}
|
|
135
|
-
function y(e, t) {
|
|
136
|
-
let n = m(e === "-" ? 0 : e, "utf8");
|
|
137
|
-
return u(t).parse(n).entries;
|
|
138
|
-
}
|
|
139
|
-
//#endregion
|
|
140
|
-
export { g as default, _ as isVersionedToolIdentity };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FlowCommand } from '../flow-command.js';
|
|
2
|
-
export default class Matrix extends FlowCommand {
|
|
3
|
-
static summary: string;
|
|
4
|
-
static description: string;
|
|
5
|
-
static examples: string[];
|
|
6
|
-
static flags: {
|
|
7
|
-
target: import('@oclif/core/interfaces').OptionFlag<string[] | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
8
|
-
json: import('@oclif/core/interfaces').BooleanFlag<boolean>;
|
|
9
|
-
id: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
10
|
-
};
|
|
11
|
-
protected readonly flowName = "matrix";
|
|
12
|
-
run(): Promise<void>;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=matrix.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"matrix.d.ts","sourceRoot":"","sources":["../../src/commands/matrix.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,WAAW;IAC7C,MAAM,CAAC,OAAO,SAAiD;IAC/D,MAAM,CAAC,WAAW,SACkC;IAEpD,MAAM,CAAC,QAAQ,WAA8D;IAE7E,MAAM,CAAC,KAAK;;;;MAAyB;IAErC,SAAS,CAAC,QAAQ,CAAC,QAAQ,YAAY;IAEjC,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAI3B"}
|
package/dist/commands/matrix.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../flow-command-BfFNY0Rv.js";
|
|
2
|
-
//#region src/commands/matrix.ts
|
|
3
|
-
var t = class t extends e {
|
|
4
|
-
static summary = "Build or update a requirements test matrix.";
|
|
5
|
-
static description = "Starts the bundled matrix workflow run in ~/.ix/flows. Use ix-flow to inspect,\nresume, advance phases, and acknowledge human gates.";
|
|
6
|
-
static examples = ["quoin matrix --target spec/", "ix-flow status <run-id>"];
|
|
7
|
-
static flags = e.flowFlags;
|
|
8
|
-
flowName = "matrix";
|
|
9
|
-
async run() {
|
|
10
|
-
let { flags: e } = await this.parse(t);
|
|
11
|
-
await this.launch(e);
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
//#endregion
|
|
15
|
-
export { t as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/measurement/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,YAAY;IACxD,MAAM,CAAC,OAAO,SAAmD;IACjE,MAAM,CAAC,WAAW,SAE0D;IAEtE,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAM3B"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../../base-CqKNs2Kd.js";
|
|
2
|
-
//#region src/commands/measurement/index.ts
|
|
3
|
-
var t = class t extends e {
|
|
4
|
-
static summary = "Record and inspect versioned QA measurements.";
|
|
5
|
-
static description = "Measurement collections connect raw producer output to active\nMeasurementPlans. Use `quoin measurement record` to persist one complete producer\ninvocation; use `quoin report` for current state, comparisons, and series.";
|
|
6
|
-
async run() {
|
|
7
|
-
await this.parse(t), this.log(t.description);
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
//#endregion
|
|
11
|
-
export { t as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { QuoinCommand } from '../../base.js';
|
|
2
|
-
export default class MeasurementRecord extends QuoinCommand {
|
|
3
|
-
static summary: string;
|
|
4
|
-
static flags: {
|
|
5
|
-
repo: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
6
|
-
input: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
7
|
-
};
|
|
8
|
-
run(): Promise<void>;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=record.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"record.d.ts","sourceRoot":"","sources":["../../../src/commands/measurement/record.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,YAAY;IACzD,MAAM,CAAC,OAAO,SAA+D;IAC7E,MAAM,CAAC,KAAK;;;MAMV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAoB3B"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../../base-CqKNs2Kd.js";
|
|
2
|
-
import { h as t } from "../../measurement-CzB74Q07.js";
|
|
3
|
-
import { readFileSync as n } from "node:fs";
|
|
4
|
-
import { Flags as r } from "@oclif/core";
|
|
5
|
-
//#region src/commands/measurement/record.ts
|
|
6
|
-
var i = class i extends e {
|
|
7
|
-
static summary = "Atomically record one plan-validated producer invocation.";
|
|
8
|
-
static flags = {
|
|
9
|
-
repo: r.string({
|
|
10
|
-
description: "Repository root.",
|
|
11
|
-
default: "."
|
|
12
|
-
}),
|
|
13
|
-
input: r.string({
|
|
14
|
-
description: "Collection JSON path, or - for stdin.",
|
|
15
|
-
required: !0
|
|
16
|
-
})
|
|
17
|
-
};
|
|
18
|
-
async run() {
|
|
19
|
-
let { flags: e } = await this.parse(i), r = e.input === "-" ? n(0, "utf8") : n(e.input, "utf8"), a;
|
|
20
|
-
try {
|
|
21
|
-
a = JSON.parse(r);
|
|
22
|
-
} catch (e) {
|
|
23
|
-
let t = e instanceof Error ? e.message : String(e);
|
|
24
|
-
this.error(`measurement input is not JSON: ${t}`, { exit: 2 });
|
|
25
|
-
}
|
|
26
|
-
try {
|
|
27
|
-
this.log(t(e.repo, a));
|
|
28
|
-
} catch (e) {
|
|
29
|
-
let t = e instanceof Error ? e.message : String(e);
|
|
30
|
-
this.error(t, { exit: 2 });
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
//#endregion
|
|
35
|
-
export { i as default };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { QuoinCommand } from '../../base.js';
|
|
2
|
-
export default class ModuleEnsureDefaults extends QuoinCommand {
|
|
3
|
-
static summary: string;
|
|
4
|
-
static description: string;
|
|
5
|
-
static examples: string[];
|
|
6
|
-
run(): Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=ensure-defaults.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ensure-defaults.d.ts","sourceRoot":"","sources":["../../../src/commands/module/ensure-defaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAI7C,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,YAAY;IAC5D,MAAM,CAAC,OAAO,SAAuD;IACrE,MAAM,CAAC,WAAW,SAGG;IAErB,MAAM,CAAC,QAAQ,WAAoC;IAE7C,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAW3B"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../../base-CqKNs2Kd.js";
|
|
2
|
-
import { r as t } from "../../plugins-C-ta0llj.js";
|
|
3
|
-
import { n } from "../../modules-ez9httBA.js";
|
|
4
|
-
//#region src/commands/module/ensure-defaults.ts
|
|
5
|
-
var r = class r extends e {
|
|
6
|
-
static summary = "Idempotently install the default spec module set.";
|
|
7
|
-
static description = "Materializes the default module set into ~/.ix/filament/modules. Exposed as an\nexplicit command so other tools (notably \"quire validate\") can lazy-install the\ndefaults by shelling out here, rather than relying on the side effect of\n\"quoin catalog list\".";
|
|
8
|
-
static examples = ["quoin module ensure-defaults"];
|
|
9
|
-
async run() {
|
|
10
|
-
await this.parse(r), n(), this.log(JSON.stringify({
|
|
11
|
-
ensured: !0,
|
|
12
|
-
plugins: t().map((e) => e.name)
|
|
13
|
-
}, null, 2));
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
//#endregion
|
|
17
|
-
export { r as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/module/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { QuoinCommand } from '../../base.js';
|
|
2
|
-
export default class ModuleInstall extends QuoinCommand {
|
|
3
|
-
static summary: string;
|
|
4
|
-
static description: string;
|
|
5
|
-
static examples: string[];
|
|
6
|
-
static args: {
|
|
7
|
-
source: import('@oclif/core/interfaces').Arg<string | undefined, Record<string, unknown>>;
|
|
8
|
-
};
|
|
9
|
-
run(): Promise<void>;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=install.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../src/commands/module/install.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,YAAY;IACrD,MAAM,CAAC,OAAO,SAAqD;IACnE,MAAM,CAAC,WAAW,SAMuC;IAEzD,MAAM,CAAC,QAAQ,WAKb;IAEF,MAAM,CAAC,IAAI;;MAIT;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAM3B"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../../base-CqKNs2Kd.js";
|
|
2
|
-
import { n as t } from "../../plugins-C-ta0llj.js";
|
|
3
|
-
import { Args as n } from "@oclif/core";
|
|
4
|
-
//#region src/commands/module/install.ts
|
|
5
|
-
var r = class r extends e {
|
|
6
|
-
static summary = "Install or update a user/community spec module.";
|
|
7
|
-
static description = "Supported install sources:\n path:<dir> Use a local directory containing manifest.yaml\n github:<owner>/<repo> Clone a GitHub repository (manifest at root)\n github:<owner>/<repo>@<ref> Pin to a tag, branch, or sha\n github:<owner>/<repo>//<subdir> Manifest in a monorepo subdirectory (@<ref> ok)\n package:<name> Install a module from an npm package (manifest at root)\n package:<name>@<version> Pin to an npm version";
|
|
8
|
-
static examples = [
|
|
9
|
-
"quoin module install path:../spec-objects-custom",
|
|
10
|
-
"quoin module install github:agent-ix/spec-objects-custom",
|
|
11
|
-
"quoin module install github:agent-ix/spec-objects-security//spec_objects_security@v0.1.1",
|
|
12
|
-
"quoin module install package:@agent-ix/spec-objects-security@0.4.0"
|
|
13
|
-
];
|
|
14
|
-
static args = { source: n.string({ description: "Install source (path:..., github:..., or package:...)." }) };
|
|
15
|
-
async run() {
|
|
16
|
-
let { args: e } = await this.parse(r), n = e.source;
|
|
17
|
-
if (!n) throw Error("module install requires <source>");
|
|
18
|
-
this.log(JSON.stringify(t(n), null, 2));
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
//#endregion
|
|
22
|
-
export { r as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/commands/module/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,YAAY;IAClD,MAAM,CAAC,OAAO,SAAkC;IAChD,MAAM,CAAC,WAAW,SAEgB;IAElC,MAAM,CAAC,QAAQ,WAAyB;IAElC,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAI3B"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../../base-CqKNs2Kd.js";
|
|
2
|
-
import { r as t } from "../../plugins-C-ta0llj.js";
|
|
3
|
-
//#region src/commands/module/list.ts
|
|
4
|
-
var n = class n extends e {
|
|
5
|
-
static summary = "List installed spec modules.";
|
|
6
|
-
static description = "Spec modules add or override artifact/object types under ~/.ix/filament/modules.\nUse \"quoin catalog list\" to see the full active catalog, including default\nmodules and any installed modules.";
|
|
7
|
-
static examples = ["quoin module list"];
|
|
8
|
-
async run() {
|
|
9
|
-
await this.parse(n), this.log(JSON.stringify({ plugins: t() }, null, 2));
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
//#endregion
|
|
13
|
-
export { n as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { QuoinCommand } from '../../base.js';
|
|
2
|
-
export default class ModuleRemove extends QuoinCommand {
|
|
3
|
-
static summary: string;
|
|
4
|
-
static examples: string[];
|
|
5
|
-
static args: {
|
|
6
|
-
name: import('@oclif/core/interfaces').Arg<string | undefined, Record<string, unknown>>;
|
|
7
|
-
};
|
|
8
|
-
run(): Promise<void>;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=remove.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remove.d.ts","sourceRoot":"","sources":["../../../src/commands/module/remove.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,YAAY;IACpD,MAAM,CAAC,OAAO,SAAsC;IACpD,MAAM,CAAC,QAAQ,WAA+C;IAE9D,MAAM,CAAC,IAAI;;MAET;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAO3B"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../../base-CqKNs2Kd.js";
|
|
2
|
-
import { a as t } from "../../plugins-C-ta0llj.js";
|
|
3
|
-
import { Args as n } from "@oclif/core";
|
|
4
|
-
//#region src/commands/module/remove.ts
|
|
5
|
-
var r = class r extends e {
|
|
6
|
-
static summary = "Remove an installed spec module.";
|
|
7
|
-
static examples = ["quoin module remove spec-objects-custom"];
|
|
8
|
-
static args = { name: n.string({ description: "Installed module name." }) };
|
|
9
|
-
async run() {
|
|
10
|
-
let { args: e } = await this.parse(r), n = e.name;
|
|
11
|
-
if (!n) throw Error("module remove requires <name>");
|
|
12
|
-
t(n), this.log(`removed ${n}`);
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
//#endregion
|
|
16
|
-
export { r as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared deprecation notice for the legacy `quoin plugin` topic.
|
|
3
|
-
*
|
|
4
|
-
* `plugin` was renamed to `module` (FR-017) to free the `plugin` namespace for
|
|
5
|
-
* the oclif sense of installable command packages. The alias is retained for at
|
|
6
|
-
* least one minor cycle; every alias subcommand emits this warning to stderr
|
|
7
|
-
* before forwarding to its `module` counterpart.
|
|
8
|
-
*/
|
|
9
|
-
export declare const PLUGIN_DEPRECATION_NOTICE = "warning: `quoin plugin` is deprecated and will be removed; use `quoin module` instead.";
|
|
10
|
-
//# sourceMappingURL=deprecation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deprecation.d.ts","sourceRoot":"","sources":["../../../src/commands/plugin/deprecation.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB,2FACoD,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as ModuleEnsureDefaults } from '../module/ensure-defaults.js';
|
|
2
|
-
/** Deprecated alias for `quoin module ensure-defaults`. */
|
|
3
|
-
export default class PluginEnsureDefaults extends ModuleEnsureDefaults {
|
|
4
|
-
static summary: string;
|
|
5
|
-
static hidden: boolean;
|
|
6
|
-
run(): Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=ensure-defaults.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ensure-defaults.d.ts","sourceRoot":"","sources":["../../../src/commands/plugin/ensure-defaults.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,MAAM,8BAA8B,CAAC;AAGhE,2DAA2D;AAC3D,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,oBAAoB;IACpE,OAAgB,OAAO,SACoC;IAC3D,OAAgB,MAAM,UAAQ;IAEf,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAIpC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import e from "../module/ensure-defaults.js";
|
|
2
|
-
import { t } from "../../deprecation-fRxUHoxv.js";
|
|
3
|
-
//#region src/commands/plugin/ensure-defaults.ts
|
|
4
|
-
var n = class extends e {
|
|
5
|
-
static summary = "[DEPRECATED] Alias for `quoin module ensure-defaults`.";
|
|
6
|
-
static hidden = !0;
|
|
7
|
-
async run() {
|
|
8
|
-
this.logToStderr(t), await super.run();
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
12
|
-
export { n as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/plugin/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as ModuleInstall } from '../module/install.js';
|
|
2
|
-
/** Deprecated alias for `quoin module install`. */
|
|
3
|
-
export default class PluginInstall extends ModuleInstall {
|
|
4
|
-
static summary: string;
|
|
5
|
-
static hidden: boolean;
|
|
6
|
-
run(): Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=install.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../src/commands/plugin/install.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,sBAAsB,CAAC;AAGjD,mDAAmD;AACnD,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,aAAa;IACtD,OAAgB,OAAO,SAAoD;IAC3E,OAAgB,MAAM,UAAQ;IAEf,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAIpC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import e from "../module/install.js";
|
|
2
|
-
import { t } from "../../deprecation-fRxUHoxv.js";
|
|
3
|
-
//#region src/commands/plugin/install.ts
|
|
4
|
-
var n = class extends e {
|
|
5
|
-
static summary = "[DEPRECATED] Alias for `quoin module install`.";
|
|
6
|
-
static hidden = !0;
|
|
7
|
-
async run() {
|
|
8
|
-
this.logToStderr(t), await super.run();
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
12
|
-
export { n as default };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as ModuleList } from '../module/list.js';
|
|
2
|
-
/** Deprecated alias for `quoin module list`. */
|
|
3
|
-
export default class PluginList extends ModuleList {
|
|
4
|
-
static summary: string;
|
|
5
|
-
static hidden: boolean;
|
|
6
|
-
run(): Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/commands/plugin/list.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAG3C,gDAAgD;AAChD,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,UAAU;IAChD,OAAgB,OAAO,SAAiD;IACxE,OAAgB,MAAM,UAAQ;IAEf,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAIpC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import e from "../module/list.js";
|
|
2
|
-
import { t } from "../../deprecation-fRxUHoxv.js";
|
|
3
|
-
//#region src/commands/plugin/list.ts
|
|
4
|
-
var n = class extends e {
|
|
5
|
-
static summary = "[DEPRECATED] Alias for `quoin module list`.";
|
|
6
|
-
static hidden = !0;
|
|
7
|
-
async run() {
|
|
8
|
-
this.logToStderr(t), await super.run();
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
12
|
-
export { n as default };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as ModuleRemove } from '../module/remove.js';
|
|
2
|
-
/** Deprecated alias for `quoin module remove`. */
|
|
3
|
-
export default class PluginRemove extends ModuleRemove {
|
|
4
|
-
static summary: string;
|
|
5
|
-
static hidden: boolean;
|
|
6
|
-
run(): Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=remove.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remove.d.ts","sourceRoot":"","sources":["../../../src/commands/plugin/remove.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAG/C,kDAAkD;AAClD,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,YAAY;IACpD,OAAgB,OAAO,SAAmD;IAC1E,OAAgB,MAAM,UAAQ;IAEf,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAIpC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import e from "../module/remove.js";
|
|
2
|
-
import { t } from "../../deprecation-fRxUHoxv.js";
|
|
3
|
-
//#region src/commands/plugin/remove.ts
|
|
4
|
-
var n = class extends e {
|
|
5
|
-
static summary = "[DEPRECATED] Alias for `quoin module remove`.";
|
|
6
|
-
static hidden = !0;
|
|
7
|
-
async run() {
|
|
8
|
-
this.logToStderr(t), await super.run();
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
12
|
-
export { n as default };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { QuoinCommand } from '../base.js';
|
|
2
|
-
export default class Report extends QuoinCommand {
|
|
3
|
-
static summary: string;
|
|
4
|
-
static description: string;
|
|
5
|
-
static examples: string[];
|
|
6
|
-
static flags: {
|
|
7
|
-
repo: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
8
|
-
portfolio: import('@oclif/core/interfaces').OptionFlag<string[] | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
9
|
-
since: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
10
|
-
series: import('@oclif/core/interfaces').OptionFlag<string | undefined, import('@oclif/core/interfaces').CustomOptions>;
|
|
11
|
-
format: import('@oclif/core/interfaces').OptionFlag<string, import('@oclif/core/interfaces').CustomOptions>;
|
|
12
|
-
};
|
|
13
|
-
run(): Promise<void>;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=report.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../../src/commands/report.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAc1C,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,YAAY;IAC9C,MAAM,CAAC,OAAO,SAA+D;IAC7E,MAAM,CAAC,WAAW,SACyD;IAC3E,MAAM,CAAC,QAAQ,WAKb;IACF,MAAM,CAAC,KAAK;;;;;;MAeV;IAEI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAqD3B"}
|
package/dist/commands/report.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { t as e } from "../base-CqKNs2Kd.js";
|
|
2
|
-
import { a as t, c as n, d as r, i, l as a, n as o, r as s, s as c, u as l } from "../measurement-CzB74Q07.js";
|
|
3
|
-
import { i as u } from "../store--2sAv12X.js";
|
|
4
|
-
import { Flags as d } from "@oclif/core";
|
|
5
|
-
//#region src/commands/report.ts
|
|
6
|
-
var f = class f extends e {
|
|
7
|
-
static summary = "Render QA plans and measurements from the evidence store.";
|
|
8
|
-
static description = "A deterministic store view. It accepts no typed values and runs no\nmeasurement producer. Plans with no records remain visible as not_computed.";
|
|
9
|
-
static examples = [
|
|
10
|
-
"quoin report",
|
|
11
|
-
"quoin report --since abc123 --format json",
|
|
12
|
-
"quoin report --series finding_recall --format json",
|
|
13
|
-
"quoin report --portfolio ../quoin --portfolio ../quire-rs"
|
|
14
|
-
];
|
|
15
|
-
static flags = {
|
|
16
|
-
repo: d.string({
|
|
17
|
-
description: "Repository root.",
|
|
18
|
-
default: "."
|
|
19
|
-
}),
|
|
20
|
-
portfolio: d.string({
|
|
21
|
-
description: "Repository root to include; repeat for a portfolio view.",
|
|
22
|
-
multiple: !0
|
|
23
|
-
}),
|
|
24
|
-
since: d.string({ description: "Compare the named source revision to latest." }),
|
|
25
|
-
series: d.string({ description: "Render the history of one metric." }),
|
|
26
|
-
format: d.string({
|
|
27
|
-
description: "Output format.",
|
|
28
|
-
options: ["human", "json"],
|
|
29
|
-
default: "human"
|
|
30
|
-
})
|
|
31
|
-
};
|
|
32
|
-
async run() {
|
|
33
|
-
let { flags: e } = await this.parse(f);
|
|
34
|
-
e.since && e.series && this.error("--since and --series are mutually exclusive", { exit: 2 });
|
|
35
|
-
try {
|
|
36
|
-
if (e.portfolio?.length) {
|
|
37
|
-
(e.since || e.series) && this.error("--portfolio cannot be combined with --since or --series", { exit: 2 });
|
|
38
|
-
let t = o(e.portfolio);
|
|
39
|
-
this.log(e.format === "json" ? i(t).trimEnd() : s(t));
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
|
-
if (e.series) {
|
|
43
|
-
let t = r(e.repo, e.series);
|
|
44
|
-
this.log(e.format === "json" ? u(t).trimEnd() : p(e.series, t));
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
if (e.since) {
|
|
48
|
-
let t = c(e.repo, e.since);
|
|
49
|
-
this.log(e.format === "json" ? u(t).trimEnd() : n(t));
|
|
50
|
-
return;
|
|
51
|
-
}
|
|
52
|
-
let d = t(e.repo);
|
|
53
|
-
this.log(e.format === "json" ? l(d).trimEnd() : a(d));
|
|
54
|
-
} catch (e) {
|
|
55
|
-
let t = e instanceof Error ? e.message : String(e);
|
|
56
|
-
this.error(t, { exit: 2 });
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
function p(e, t) {
|
|
61
|
-
let n = [`# ${e} series`, ""];
|
|
62
|
-
if (t.length === 0) return `${n.join("\n")}not_computed: no records\n`;
|
|
63
|
-
for (let e of t) {
|
|
64
|
-
let t = e.observation;
|
|
65
|
-
n.push(`- ${String(e.timestamp)} ${String(t.state)} ${String(t.value)} ${String(t.unit)} (source ${String(e.sourceRevision)}, tool ${String(e.toolIdentity)} ${String(e.toolVersion)}, corpus ${String(e.corpusRevision)}, gaps ${String(e.corpusGaps)}, config ${String(e.configDigest)})`);
|
|
66
|
-
}
|
|
67
|
-
return n.push(""), n.join("\n");
|
|
68
|
-
}
|
|
69
|
-
//#endregion
|
|
70
|
-
export { f as default };
|