@agent-ix/quoin 0.23.1 → 0.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -258
- package/bin/launcher.js +138 -0
- package/package.json +22 -123
- package/.agents/plugins/marketplace.json +0 -14
- package/.claude-plugin/marketplace.json +0 -16
- package/.claude-plugin/plugin.json +0 -8
- package/.codex-plugin/plugin.json +0 -27
- package/.github/plugin/marketplace.json +0 -16
- package/bin/quoin.js +0 -21
- package/default-modules.yaml +0 -107
- package/dist/advisor/advise.d.ts +0 -199
- package/dist/advisor/advise.d.ts.map +0 -1
- package/dist/advisor/index.d.ts +0 -10
- package/dist/advisor/index.d.ts.map +0 -1
- package/dist/advisor/methods.d.ts +0 -60
- package/dist/advisor/methods.d.ts.map +0 -1
- package/dist/advisor-B0rESCx1.js +0 -63
- package/dist/assurance/graph.d.ts +0 -87
- package/dist/assurance/graph.d.ts.map +0 -1
- package/dist/assurance/index.d.ts +0 -9
- package/dist/assurance/index.d.ts.map +0 -1
- package/dist/assurance/render.d.ts +0 -3
- package/dist/assurance/render.d.ts.map +0 -1
- package/dist/auditor/audit.d.ts +0 -146
- package/dist/auditor/audit.d.ts.map +0 -1
- package/dist/auditor/combinatorial.d.ts +0 -53
- package/dist/auditor/combinatorial.d.ts.map +0 -1
- package/dist/auditor/index.d.ts +0 -9
- package/dist/auditor/index.d.ts.map +0 -1
- package/dist/auditor-Dd3i9Aqx.js +0 -340
- package/dist/base-gAClyCNd.js +0 -137
- package/dist/base.d.ts +0 -23
- package/dist/base.d.ts.map +0 -1
- package/dist/catalog.d.ts +0 -33
- package/dist/catalog.d.ts.map +0 -1
- package/dist/change-assurance/attestations.d.ts +0 -7
- package/dist/change-assurance/attestations.d.ts.map +0 -1
- package/dist/change-assurance/index.d.ts +0 -14
- package/dist/change-assurance/index.d.ts.map +0 -1
- package/dist/change-assurance/integrity.d.ts +0 -11
- package/dist/change-assurance/integrity.d.ts.map +0 -1
- package/dist/change-assurance/records.d.ts +0 -22
- package/dist/change-assurance/records.d.ts.map +0 -1
- package/dist/change-assurance/schema-assets.d.ts +0 -8
- package/dist/change-assurance/schema-assets.d.ts.map +0 -1
- package/dist/change-assurance/store.d.ts +0 -18
- package/dist/change-assurance/store.d.ts.map +0 -1
- package/dist/change-assurance/types.d.ts +0 -180
- package/dist/change-assurance/types.d.ts.map +0 -1
- package/dist/change-assurance/verify.d.ts +0 -4
- package/dist/change-assurance/verify.d.ts.map +0 -1
- package/dist/change-assurance-CyKLPeKa.js +0 -1236
- package/dist/cli.d.ts +0 -61
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js +0 -34
- package/dist/commands/advise.d.ts +0 -16
- package/dist/commands/advise.d.ts.map +0 -1
- package/dist/commands/advise.js +0 -234
- package/dist/commands/assurance.d.ts +0 -14
- package/dist/commands/assurance.d.ts.map +0 -1
- package/dist/commands/assurance.js +0 -204
- package/dist/commands/catalog/index.d.ts +0 -2
- package/dist/commands/catalog/index.d.ts.map +0 -1
- package/dist/commands/catalog/index.js +0 -2
- package/dist/commands/catalog/list.d.ts +0 -11
- package/dist/commands/catalog/list.d.ts.map +0 -1
- package/dist/commands/catalog/list.js +0 -22
- package/dist/commands/catalog/methods.d.ts +0 -12
- package/dist/commands/catalog/methods.d.ts.map +0 -1
- package/dist/commands/catalog/methods.js +0 -43
- package/dist/commands/catalog/show.d.ts +0 -13
- package/dist/commands/catalog/show.d.ts.map +0 -1
- package/dist/commands/catalog/show.js +0 -25
- package/dist/commands/catalog/validate.d.ts +0 -10
- package/dist/commands/catalog/validate.d.ts.map +0 -1
- package/dist/commands/catalog/validate.js +0 -27
- package/dist/commands/change-assurance/common.d.ts +0 -37
- package/dist/commands/change-assurance/common.d.ts.map +0 -1
- package/dist/commands/change-assurance/index.d.ts +0 -8
- package/dist/commands/change-assurance/index.d.ts.map +0 -1
- package/dist/commands/change-assurance/index.js +0 -12
- package/dist/commands/change-assurance/intake.d.ts +0 -15
- package/dist/commands/change-assurance/intake.d.ts.map +0 -1
- package/dist/commands/change-assurance/intake.js +0 -53
- package/dist/commands/change-assurance/receipt.d.ts +0 -21
- package/dist/commands/change-assurance/receipt.d.ts.map +0 -1
- package/dist/commands/change-assurance/receipt.js +0 -99
- package/dist/commands/change-assurance/recover.d.ts +0 -13
- package/dist/commands/change-assurance/recover.d.ts.map +0 -1
- package/dist/commands/change-assurance/recover.js +0 -29
- package/dist/commands/change-assurance/schema.d.ts +0 -13
- package/dist/commands/change-assurance/schema.d.ts.map +0 -1
- package/dist/commands/change-assurance/schema.js +0 -40
- package/dist/commands/change-assurance/seal-attestation.d.ts +0 -15
- package/dist/commands/change-assurance/seal-attestation.d.ts.map +0 -1
- package/dist/commands/change-assurance/seal-attestation.js +0 -58
- package/dist/commands/change-assurance/seal-record.d.ts +0 -14
- package/dist/commands/change-assurance/seal-record.d.ts.map +0 -1
- package/dist/commands/change-assurance/seal-record.js +0 -53
- package/dist/commands/change-assurance/verify-receipt.d.ts +0 -13
- package/dist/commands/change-assurance/verify-receipt.d.ts.map +0 -1
- package/dist/commands/change-assurance/verify-receipt.js +0 -41
- package/dist/commands/completeness.d.ts +0 -16
- package/dist/commands/completeness.d.ts.map +0 -1
- package/dist/commands/completeness.js +0 -49
- package/dist/commands/config/doctor.d.ts +0 -7
- package/dist/commands/config/doctor.d.ts.map +0 -1
- package/dist/commands/config/doctor.js +0 -15
- package/dist/commands/config/edit.d.ts +0 -7
- package/dist/commands/config/edit.d.ts.map +0 -1
- package/dist/commands/config/edit.js +0 -13
- package/dist/commands/config/get.d.ts +0 -11
- package/dist/commands/config/get.d.ts.map +0 -1
- package/dist/commands/config/get.js +0 -20
- package/dist/commands/config/index.d.ts +0 -2
- package/dist/commands/config/index.d.ts.map +0 -1
- package/dist/commands/config/index.js +0 -2
- package/dist/commands/config/set.d.ts +0 -12
- package/dist/commands/config/set.d.ts.map +0 -1
- package/dist/commands/config/set.js +0 -26
- package/dist/commands/evidence/affirm.d.ts +0 -17
- package/dist/commands/evidence/affirm.d.ts.map +0 -1
- package/dist/commands/evidence/affirm.js +0 -65
- package/dist/commands/evidence/audit.d.ts +0 -34
- package/dist/commands/evidence/audit.d.ts.map +0 -1
- package/dist/commands/evidence/audit.js +0 -107
- package/dist/commands/evidence/baseline.d.ts +0 -14
- package/dist/commands/evidence/baseline.d.ts.map +0 -1
- package/dist/commands/evidence/baseline.js +0 -89
- package/dist/commands/evidence/gc.d.ts +0 -13
- package/dist/commands/evidence/gc.d.ts.map +0 -1
- package/dist/commands/evidence/gc.js +0 -35
- package/dist/commands/evidence/index.d.ts +0 -8
- package/dist/commands/evidence/index.d.ts.map +0 -1
- package/dist/commands/evidence/index.js +0 -18
- package/dist/commands/evidence/inspect-mocks.d.ts +0 -16
- package/dist/commands/evidence/inspect-mocks.d.ts.map +0 -1
- package/dist/commands/evidence/inspect-mocks.js +0 -49
- package/dist/commands/evidence/record.d.ts +0 -22
- package/dist/commands/evidence/record.d.ts.map +0 -1
- package/dist/commands/evidence/record.js +0 -144
- package/dist/commands/graph/change-impact.d.ts +0 -16
- package/dist/commands/graph/change-impact.d.ts.map +0 -1
- package/dist/commands/graph/change-impact.js +0 -29
- package/dist/commands/graph/churn.d.ts +0 -14
- package/dist/commands/graph/churn.d.ts.map +0 -1
- package/dist/commands/graph/churn.js +0 -15
- package/dist/commands/graph/common.d.ts +0 -16
- package/dist/commands/graph/common.d.ts.map +0 -1
- package/dist/commands/graph/fan-out.d.ts +0 -14
- package/dist/commands/graph/fan-out.d.ts.map +0 -1
- package/dist/commands/graph/fan-out.js +0 -15
- package/dist/commands/graph/index.d.ts +0 -8
- package/dist/commands/graph/index.d.ts.map +0 -1
- package/dist/commands/graph/index.js +0 -12
- package/dist/commands/matrix.d.ts +0 -14
- package/dist/commands/matrix.d.ts.map +0 -1
- package/dist/commands/matrix.js +0 -15
- package/dist/commands/measurement/index.d.ts +0 -7
- package/dist/commands/measurement/index.d.ts.map +0 -1
- package/dist/commands/measurement/index.js +0 -11
- package/dist/commands/measurement/intervention.d.ts +0 -11
- package/dist/commands/measurement/intervention.d.ts.map +0 -1
- package/dist/commands/measurement/intervention.js +0 -31
- package/dist/commands/measurement/operational-release.d.ts +0 -11
- package/dist/commands/measurement/operational-release.d.ts.map +0 -1
- package/dist/commands/measurement/operational-release.js +0 -31
- package/dist/commands/measurement/record.d.ts +0 -10
- package/dist/commands/measurement/record.d.ts.map +0 -1
- package/dist/commands/measurement/record.js +0 -36
- package/dist/commands/module/ensure-defaults.d.ts +0 -8
- package/dist/commands/module/ensure-defaults.d.ts.map +0 -1
- package/dist/commands/module/ensure-defaults.js +0 -17
- package/dist/commands/module/index.d.ts +0 -2
- package/dist/commands/module/index.d.ts.map +0 -1
- package/dist/commands/module/index.js +0 -2
- package/dist/commands/module/install.d.ts +0 -11
- package/dist/commands/module/install.d.ts.map +0 -1
- package/dist/commands/module/install.js +0 -22
- package/dist/commands/module/list.d.ts +0 -8
- package/dist/commands/module/list.d.ts.map +0 -1
- package/dist/commands/module/list.js +0 -13
- package/dist/commands/module/remove.d.ts +0 -10
- package/dist/commands/module/remove.d.ts.map +0 -1
- package/dist/commands/module/remove.js +0 -16
- package/dist/commands/plugin/deprecation.d.ts +0 -10
- package/dist/commands/plugin/deprecation.d.ts.map +0 -1
- package/dist/commands/plugin/ensure-defaults.d.ts +0 -8
- package/dist/commands/plugin/ensure-defaults.d.ts.map +0 -1
- package/dist/commands/plugin/ensure-defaults.js +0 -12
- package/dist/commands/plugin/index.d.ts +0 -2
- package/dist/commands/plugin/index.d.ts.map +0 -1
- package/dist/commands/plugin/index.js +0 -2
- package/dist/commands/plugin/install.d.ts +0 -8
- package/dist/commands/plugin/install.d.ts.map +0 -1
- package/dist/commands/plugin/install.js +0 -12
- package/dist/commands/plugin/list.d.ts +0 -8
- package/dist/commands/plugin/list.d.ts.map +0 -1
- package/dist/commands/plugin/list.js +0 -12
- package/dist/commands/plugin/remove.d.ts +0 -8
- package/dist/commands/plugin/remove.d.ts.map +0 -1
- package/dist/commands/plugin/remove.js +0 -12
- package/dist/commands/report.d.ts +0 -19
- package/dist/commands/report.d.ts.map +0 -1
- package/dist/commands/report.js +0 -96
- package/dist/commands/review.d.ts +0 -14
- package/dist/commands/review.d.ts.map +0 -1
- package/dist/commands/review.js +0 -15
- package/dist/commands/to-plan.d.ts +0 -14
- package/dist/commands/to-plan.d.ts.map +0 -1
- package/dist/commands/to-plan.js +0 -15
- package/dist/commands/update.d.ts +0 -13
- package/dist/commands/update.d.ts.map +0 -1
- package/dist/commands/update.js +0 -34
- package/dist/commands/validate.d.ts +0 -13
- package/dist/commands/validate.d.ts.map +0 -1
- package/dist/commands/validate.js +0 -123
- package/dist/commands/write.d.ts +0 -16
- package/dist/commands/write.d.ts.map +0 -1
- package/dist/commands/write.js +0 -33
- package/dist/common-B1ZJ8CSO.js +0 -36
- package/dist/common-DTrmnvL-.js +0 -35
- package/dist/completeness/assess.d.ts +0 -82
- package/dist/completeness/assess.d.ts.map +0 -1
- package/dist/completeness/bundle.d.ts +0 -52
- package/dist/completeness/bundle.d.ts.map +0 -1
- package/dist/completeness/declarations.d.ts +0 -46
- package/dist/completeness/declarations.d.ts.map +0 -1
- package/dist/completeness/index.d.ts +0 -11
- package/dist/completeness/index.d.ts.map +0 -1
- package/dist/completeness/run.d.ts +0 -35
- package/dist/completeness/run.d.ts.map +0 -1
- package/dist/completeness-BzBuNq6w.js +0 -228
- package/dist/config-schema-Dp-vlxuR.js +0 -13
- package/dist/config-schema.d.ts +0 -52
- package/dist/config-schema.d.ts.map +0 -1
- package/dist/deprecation-fRxUHoxv.js +0 -4
- package/dist/evidence/adapters/agent-eval.d.ts +0 -26
- package/dist/evidence/adapters/agent-eval.d.ts.map +0 -1
- package/dist/evidence/adapters/audit-script.d.ts +0 -25
- package/dist/evidence/adapters/audit-script.d.ts.map +0 -1
- package/dist/evidence/adapters/cargo-mutants.d.ts +0 -3
- package/dist/evidence/adapters/cargo-mutants.d.ts.map +0 -1
- package/dist/evidence/adapters/contract-conformance.d.ts +0 -16
- package/dist/evidence/adapters/contract-conformance.d.ts.map +0 -1
- package/dist/evidence/adapters/differential-report.d.ts +0 -18
- package/dist/evidence/adapters/differential-report.d.ts.map +0 -1
- package/dist/evidence/adapters/junit.d.ts +0 -17
- package/dist/evidence/adapters/junit.d.ts.map +0 -1
- package/dist/evidence/adapters/registry.d.ts +0 -63
- package/dist/evidence/adapters/registry.d.ts.map +0 -1
- package/dist/evidence/adapters/sarif.d.ts +0 -35
- package/dist/evidence/adapters/sarif.d.ts.map +0 -1
- package/dist/evidence/adapters/sbom.d.ts +0 -35
- package/dist/evidence/adapters/sbom.d.ts.map +0 -1
- package/dist/evidence/adapters/types.d.ts +0 -86
- package/dist/evidence/adapters/types.d.ts.map +0 -1
- package/dist/evidence/index.d.ts +0 -27
- package/dist/evidence/index.d.ts.map +0 -1
- package/dist/evidence/mock-inspection.d.ts +0 -16
- package/dist/evidence/mock-inspection.d.ts.map +0 -1
- package/dist/evidence/record.d.ts +0 -58
- package/dist/evidence/record.d.ts.map +0 -1
- package/dist/evidence/store.d.ts +0 -215
- package/dist/evidence/store.d.ts.map +0 -1
- package/dist/evidence/types.d.ts +0 -281
- package/dist/evidence/types.d.ts.map +0 -1
- package/dist/evidence-OyqpqHLS.js +0 -614
- package/dist/flow-command-CCRTE5Oe.js +0 -88
- package/dist/flow-command.d.ts +0 -25
- package/dist/flow-command.d.ts.map +0 -1
- package/dist/flows.d.ts +0 -7
- package/dist/flows.d.ts.map +0 -1
- package/dist/graph-analysis/analysis.d.ts +0 -106
- package/dist/graph-analysis/analysis.d.ts.map +0 -1
- package/dist/graph-analysis/index.d.ts +0 -6
- package/dist/graph-analysis/index.d.ts.map +0 -1
- package/dist/graph-analysis/input.d.ts +0 -33
- package/dist/graph-analysis/input.d.ts.map +0 -1
- package/dist/graph-analysis/load.d.ts +0 -21
- package/dist/graph-analysis/load.d.ts.map +0 -1
- package/dist/graph-analysis/render.d.ts +0 -4
- package/dist/graph-analysis/render.d.ts.map +0 -1
- package/dist/graph-analysis-IWaoJJSN.js +0 -657
- package/dist/hooks/command-not-found.d.ts +0 -23
- package/dist/hooks/command-not-found.d.ts.map +0 -1
- package/dist/hooks/command-not-found.js +0 -8
- package/dist/index.d.ts +0 -13
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -12
- package/dist/measurement/agent-eval-intervention.d.ts +0 -6
- package/dist/measurement/agent-eval-intervention.d.ts.map +0 -1
- package/dist/measurement/atomic-file.d.ts +0 -5
- package/dist/measurement/atomic-file.d.ts.map +0 -1
- package/dist/measurement/compare.d.ts +0 -4
- package/dist/measurement/compare.d.ts.map +0 -1
- package/dist/measurement/date-time.d.ts +0 -3
- package/dist/measurement/date-time.d.ts.map +0 -1
- package/dist/measurement/github-release-operational.d.ts +0 -7
- package/dist/measurement/github-release-operational.d.ts.map +0 -1
- package/dist/measurement/graph-adapters.d.ts +0 -304
- package/dist/measurement/graph-adapters.d.ts.map +0 -1
- package/dist/measurement/graph-portfolio-load.d.ts +0 -3
- package/dist/measurement/graph-portfolio-load.d.ts.map +0 -1
- package/dist/measurement/graph-portfolio.d.ts +0 -158
- package/dist/measurement/graph-portfolio.d.ts.map +0 -1
- package/dist/measurement/index.d.ts +0 -22
- package/dist/measurement/index.d.ts.map +0 -1
- package/dist/measurement/intervention-report.d.ts +0 -24
- package/dist/measurement/intervention-report.d.ts.map +0 -1
- package/dist/measurement/intervention-schema.d.ts +0 -144
- package/dist/measurement/intervention-schema.d.ts.map +0 -1
- package/dist/measurement/intervention-types.d.ts +0 -105
- package/dist/measurement/intervention-types.d.ts.map +0 -1
- package/dist/measurement/intervention.d.ts +0 -16
- package/dist/measurement/intervention.d.ts.map +0 -1
- package/dist/measurement/operational-report.d.ts +0 -17
- package/dist/measurement/operational-report.d.ts.map +0 -1
- package/dist/measurement/operational-schema.d.ts +0 -461
- package/dist/measurement/operational-schema.d.ts.map +0 -1
- package/dist/measurement/operational-types.d.ts +0 -121
- package/dist/measurement/operational-types.d.ts.map +0 -1
- package/dist/measurement/operational.d.ts +0 -13
- package/dist/measurement/operational.d.ts.map +0 -1
- package/dist/measurement/plans.d.ts +0 -6
- package/dist/measurement/plans.d.ts.map +0 -1
- package/dist/measurement/portfolio.d.ts +0 -54
- package/dist/measurement/portfolio.d.ts.map +0 -1
- package/dist/measurement/profiles.d.ts +0 -9
- package/dist/measurement/profiles.d.ts.map +0 -1
- package/dist/measurement/report.d.ts +0 -48
- package/dist/measurement/report.d.ts.map +0 -1
- package/dist/measurement/schemas/operational-evidence-v1.schema.json.d.ts +0 -384
- package/dist/measurement/store.d.ts +0 -14
- package/dist/measurement/store.d.ts.map +0 -1
- package/dist/measurement/types.d.ts +0 -85
- package/dist/measurement/types.d.ts.map +0 -1
- package/dist/measurement/validate.d.ts +0 -9
- package/dist/measurement/validate.d.ts.map +0 -1
- package/dist/measurement-j8sDSqx5.js +0 -2980
- package/dist/modules-DDQkKC4l.js +0 -23
- package/dist/modules.d.ts +0 -10
- package/dist/modules.d.ts.map +0 -1
- package/dist/org.d.ts +0 -61
- package/dist/org.d.ts.map +0 -1
- package/dist/plugins-CHpYhpEI.js +0 -77
- package/dist/plugins.d.ts +0 -13
- package/dist/plugins.d.ts.map +0 -1
- package/dist/quire/assurance.d.ts +0 -109
- package/dist/quire/assurance.d.ts.map +0 -1
- package/dist/quire/contract.d.ts +0 -88
- package/dist/quire/contract.d.ts.map +0 -1
- package/dist/quire/exec.d.ts +0 -66
- package/dist/quire/exec.d.ts.map +0 -1
- package/dist/quire/index.d.ts +0 -13
- package/dist/quire/index.d.ts.map +0 -1
- package/dist/quire/types.d.ts +0 -415
- package/dist/quire/types.d.ts.map +0 -1
- package/dist/quire/validate.d.ts +0 -39
- package/dist/quire/validate.d.ts.map +0 -1
- package/dist/quire-BsVj1xIR.js +0 -4968
- package/dist/schema-assets-HZWo_iFN.js +0 -233
- package/dist/schemas/assurance-v1.schema.json +0 -225
- package/dist/schemas/change-assurance-record-v1.schema.json +0 -234
- package/dist/schemas/coverage-v1.schema.json +0 -1111
- package/dist/schemas/operational-evidence-v1.schema.json +0 -381
- package/dist/schemas/proof-attestation-v1.schema.json +0 -96
- package/dist/schemas/properties-v1.schema.json +0 -159
- package/dist/schemas/verification-receipt-v1.schema.json +0 -208
- package/dist/validators/gates.d.ts +0 -18
- package/dist/validators/gates.d.ts.map +0 -1
- package/dist/validators/index.d.ts +0 -2
- package/dist/validators/index.d.ts.map +0 -1
- package/dist/version-CMxMIh5g.js +0 -17
- package/dist/version.d.ts +0 -3
- package/dist/version.d.ts.map +0 -1
- package/dist/write-CGTI0dRO.js +0 -157
- package/dist/write.d.ts +0 -28
- package/dist/write.d.ts.map +0 -1
- package/skills/assurance-status-report/SKILL.md +0 -135
- package/skills/assurance-status-report/references/report-contract.md +0 -110
- package/skills/gap-analysis/SKILL.md +0 -111
- package/skills/gap-analysis/references/step-1-target-selection.md +0 -53
- package/skills/gap-analysis/references/step-2-plan-completion.md +0 -49
- package/skills/gap-analysis/references/step-3-matrix-verification.md +0 -147
- package/skills/gap-analysis/references/step-4-underspecified-code.md +0 -92
- package/skills/gap-analysis/references/step-5-semantic-review.md +0 -51
- package/skills/gap-analysis/references/step-6-specreview-artifact.md +0 -108
- package/skills/spec-app-review/SKILL.md +0 -51
- package/skills/spec-app-review/references/checklist.md +0 -197
- package/skills/spec-architecture-evaluation/SKILL.md +0 -30
- package/skills/spec-correctness/SKILL.md +0 -96
- package/skills/spec-correctness/assets/strategy-table.md +0 -101
- package/skills/spec-correctness/assets/templates/fast-check.ts.md +0 -169
- package/skills/spec-correctness/assets/templates/hypothesis.py.md +0 -156
- package/skills/spec-correctness/assets/templates/proptest.rs.md +0 -147
- package/skills/spec-correctness/references/step-0-scope-and-harness.md +0 -94
- package/skills/spec-correctness/references/step-1-census.md +0 -53
- package/skills/spec-correctness/references/step-2-clause-grounding.md +0 -159
- package/skills/spec-correctness/references/step-3-strategy-selection.md +0 -85
- package/skills/spec-correctness/references/step-4-generate-tests.md +0 -117
- package/skills/spec-correctness/references/step-5-second-pass.md +0 -81
- package/skills/spec-correctness/references/step-6-review-artifact.md +0 -134
- package/skills/spec-correctness/references/step-7-report-and-handoff.md +0 -102
- package/skills/spec-dependency-analysis/SKILL.md +0 -90
- package/skills/spec-ears-analysis/SKILL.md +0 -102
- package/skills/spec-evidence-analysis/SKILL.md +0 -156
- package/skills/spec-failure-domain-analysis/SKILL.md +0 -59
- package/skills/spec-fuzz/SKILL.md +0 -133
- package/skills/spec-fuzz/assets/templates/atheris.py.md +0 -74
- package/skills/spec-fuzz/assets/templates/cargo-fuzz.rs.md +0 -83
- package/skills/spec-fuzz/assets/templates/fast-check.ts.md +0 -76
- package/skills/spec-fuzz/references/step-0-scope-and-harness.md +0 -51
- package/skills/spec-fuzz/references/step-1-select-obligations.md +0 -47
- package/skills/spec-fuzz/references/step-2-ground-entry-point.md +0 -55
- package/skills/spec-fuzz/references/step-3-emit-targets.md +0 -65
- package/skills/spec-fuzz/references/step-4-report.md +0 -56
- package/skills/spec-ideation/SKILL.md +0 -46
- package/skills/spec-integrity-analysis/SKILL.md +0 -62
- package/skills/spec-matrix/SKILL.md +0 -186
- package/skills/spec-matrix/assets/test-cases/TC-001.md +0 -35
- package/skills/spec-matrix/assets/test-cases/TC-002.md +0 -37
- package/skills/spec-matrix/assets/test-cases/TC-006.md +0 -50
- package/skills/spec-matrix/assets/test-matrix-example.md +0 -104
- package/skills/spec-matrix/assets/test-matrix-template.md +0 -123
- package/skills/spec-matrix/workflow-assets/dist/index.d.ts +0 -146
- package/skills/spec-matrix/workflow-assets/dist/index.d.ts.map +0 -1
- package/skills/spec-matrix/workflow-assets/dist/index.js +0 -7525
- package/skills/spec-matrix/workflow-assets/dist/invariants.d.ts +0 -6
- package/skills/spec-matrix/workflow-assets/dist/invariants.d.ts.map +0 -1
- package/skills/spec-matrix/workflow-assets/skills/matrix/SKILL.md +0 -35
- package/skills/spec-matrix/workflow-assets/skills/matrix/scripts/invariants.js +0 -1
- package/skills/spec-matrix/workflow-assets/skills/matrix/templates/report/default.md +0 -30
- package/skills/spec-matrix/workflow-assets/skills/matrix/workflows/matrix/def.yaml +0 -82
- package/skills/spec-object-review/SKILL.md +0 -125
- package/skills/spec-object-review/references/object-type-guide.md +0 -118
- package/skills/spec-review/SKILL.md +0 -92
- package/skills/spec-review/references/checklist.md +0 -50
- package/skills/spec-review/workflow-assets/dist/index.d.ts +0 -146
- package/skills/spec-review/workflow-assets/dist/index.d.ts.map +0 -1
- package/skills/spec-review/workflow-assets/dist/index.js +0 -7525
- package/skills/spec-review/workflow-assets/dist/invariants.d.ts +0 -6
- package/skills/spec-review/workflow-assets/dist/invariants.d.ts.map +0 -1
- package/skills/spec-review/workflow-assets/skills/review/SKILL.md +0 -96
- package/skills/spec-review/workflow-assets/skills/review/scripts/invariants.js +0 -61
- package/skills/spec-review/workflow-assets/skills/review/workflows/review/def.yaml +0 -68
- package/skills/spec-risk-complexity-analysis/SKILL.md +0 -92
- package/skills/spec-scope-boundary-analysis/SKILL.md +0 -101
- package/skills/spec-security-analysis/SKILL.md +0 -84
- package/skills/spec-security-analysis/assets/security-analysis-example.md +0 -89
- package/skills/spec-security-analysis/assets/security-analysis-template.md +0 -73
- package/skills/spec-security-analysis/references/component-type-mapping.md +0 -161
- package/skills/spec-security-analysis/references/gdpr/ChII-Principles.md +0 -58
- package/skills/spec-security-analysis/references/gdpr/ChIII-DataSubjectRights.md +0 -84
- package/skills/spec-security-analysis/references/gdpr/ChIV-ControllerProcessor.md +0 -83
- package/skills/spec-security-analysis/references/gdpr/ChV-DataTransfers.md +0 -62
- package/skills/spec-security-analysis/references/gdpr/index.md +0 -54
- package/skills/spec-security-analysis/references/iso27001/A5-OrganizationalControls.md +0 -64
- package/skills/spec-security-analysis/references/iso27001/A6-PeopleControls.md +0 -30
- package/skills/spec-security-analysis/references/iso27001/A7-PhysicalControls.md +0 -35
- package/skills/spec-security-analysis/references/iso27001/A8-TechnologicalControls.md +0 -66
- package/skills/spec-security-analysis/references/iso27001/index.md +0 -43
- package/skills/spec-security-analysis/references/nist-800-53/AC-AccessControl.md +0 -57
- package/skills/spec-security-analysis/references/nist-800-53/AU-AuditAccountability.md +0 -49
- package/skills/spec-security-analysis/references/nist-800-53/CM-ConfigurationManagement.md +0 -36
- package/skills/spec-security-analysis/references/nist-800-53/IA-IdentificationAuthentication.md +0 -44
- package/skills/spec-security-analysis/references/nist-800-53/SA-SystemServicesAcquisition.md +0 -50
- package/skills/spec-security-analysis/references/nist-800-53/SC-SystemCommunications.md +0 -53
- package/skills/spec-security-analysis/references/nist-800-53/SI-SystemInformationIntegrity.md +0 -52
- package/skills/spec-security-analysis/references/nist-800-53/index.md +0 -58
- package/skills/spec-security-analysis/references/owasp-asvs/V1-Architecture.md +0 -33
- package/skills/spec-security-analysis/references/owasp-asvs/V10-MaliciousCode.md +0 -33
- package/skills/spec-security-analysis/references/owasp-asvs/V11-BusinessLogic.md +0 -32
- package/skills/spec-security-analysis/references/owasp-asvs/V12-Files.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V13-API.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V14-Configuration.md +0 -35
- package/skills/spec-security-analysis/references/owasp-asvs/V2-Authentication.md +0 -36
- package/skills/spec-security-analysis/references/owasp-asvs/V3-SessionManagement.md +0 -35
- package/skills/spec-security-analysis/references/owasp-asvs/V4-AccessControl.md +0 -39
- package/skills/spec-security-analysis/references/owasp-asvs/V5-Validation.md +0 -37
- package/skills/spec-security-analysis/references/owasp-asvs/V6-Cryptography.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V7-ErrorLogging.md +0 -37
- package/skills/spec-security-analysis/references/owasp-asvs/V8-DataProtection.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V9-Communication.md +0 -32
- package/skills/spec-security-analysis/references/owasp-asvs/index.md +0 -59
- package/skills/spec-security-analysis/references/soc2/CC1-ControlEnvironment.md +0 -31
- package/skills/spec-security-analysis/references/soc2/CC2-CommunicationInformation.md +0 -27
- package/skills/spec-security-analysis/references/soc2/CC3-RiskAssessment.md +0 -29
- package/skills/spec-security-analysis/references/soc2/CC4-MonitoringActivities.md +0 -27
- package/skills/spec-security-analysis/references/soc2/CC5-ControlActivities.md +0 -28
- package/skills/spec-security-analysis/references/soc2/CC6-LogicalPhysicalAccess.md +0 -45
- package/skills/spec-security-analysis/references/soc2/CC7-SystemOperations.md +0 -42
- package/skills/spec-security-analysis/references/soc2/CC8-ChangeManagement.md +0 -32
- package/skills/spec-security-analysis/references/soc2/CC9-RiskMitigation.md +0 -34
- package/skills/spec-security-analysis/references/soc2/index.md +0 -46
- package/skills/spec-security-analysis/references/standards-index.md +0 -46
- package/skills/spec-to-plan/SKILL.md +0 -88
- package/skills/spec-to-plan/references/step-0-plan-selection.md +0 -121
- package/skills/spec-to-plan/references/step-1-analysis.md +0 -88
- package/skills/spec-to-plan/references/step-2-test-plan.md +0 -43
- package/skills/spec-to-plan/references/step-3-execution-plan.md +0 -218
- package/skills/spec-to-plan/workflow-assets/dist/index.d.ts +0 -146
- package/skills/spec-to-plan/workflow-assets/dist/index.d.ts.map +0 -1
- package/skills/spec-to-plan/workflow-assets/dist/index.js +0 -7525
- package/skills/spec-to-plan/workflow-assets/dist/invariants.d.ts +0 -6
- package/skills/spec-to-plan/workflow-assets/dist/invariants.d.ts.map +0 -1
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/SKILL.md +0 -35
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/scripts/invariants.js +0 -1
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/templates/implementation-plan/default.md +0 -44
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/workflows/to-plan/def.yaml +0 -85
- package/skills/specify/SKILL.md +0 -154
- package/skills/specify/assets/app-spec-template.md +0 -143
- package/skills/specify/assets/spec-template.md +0 -299
- package/skills/specify/references/integration-tests.md +0 -72
- package/skills/specify/references/us-to-fr.md +0 -40
- package/skills/specify/references/writing-good-requirements.md +0 -61
package/README.md
CHANGED
|
@@ -1,266 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
<img src="logo.png" alt="Quoin" width="100%" />
|
|
3
|
-
</p>
|
|
1
|
+
# @agent-ix/quoin
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
[](https://discord.gg/6qsdhSPE)
|
|
8
|
-
[](https://www.iso.org/standard/72089.html)
|
|
9
|
-
[](https://github.com/GoogleCloudPlatform/knowledge-catalog/tree/main/okf)
|
|
10
|
-
|
|
11
|
-
`quoin` is a bundle of **Quire modules**, **agent skills**, and **workflows** for
|
|
12
|
-
authoring [ISO/IEC/IEEE 29148](https://www.iso.org/standard/72089.html)-aligned software specifications and other technical
|
|
13
|
-
documents. It includes prepackaged modules for the spec vocabulary and ideation/authoring/review/planning
|
|
14
|
-
workflows agents need to write and validate specs directly as Markdown.
|
|
15
|
-
|
|
16
|
-
`quoin` is built on the [Quire](https://github.com/agent-ix/quire-rs) document standard and validation engine by Agent-IX.
|
|
17
|
-
|
|
18
|
-
> **Why:** AI agents write code fast but drift from vague intent. Quoin makes the spec the source of truth — your agent authors a validated, traceable spec first, then plans and builds against it.
|
|
19
|
-
|
|
20
|
-
## How
|
|
21
|
-
|
|
22
|
-
In Claude Code, Codex, or the coding agent of your choice:
|
|
23
|
-
|
|
24
|
-
#### 1. Ideate & Specify
|
|
25
|
-
|
|
26
|
-
Ideate, then pass your idea to `/specify`. A `specification` containing `user stories`, `functional requirements`,
|
|
27
|
-
`stakeholder requirements`, `non-functional requirements`, and other artifacts will be created.
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
> /specify an electron app for tracking spice production
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
#### 2. Spec Review
|
|
34
|
-
|
|
35
|
-
Use `/spec-review` for agent-assisted review. Multiple analysis tasks will run in parallel and output `Reviews`
|
|
36
|
-
with `Findings` and suggested fixes.
|
|
37
|
-
|
|
38
|
-
```
|
|
39
|
-
> /spec-review review the specs for the spice production tracker.
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
#### 3. Convert to plans
|
|
43
|
-
|
|
44
|
-
Build the test `traceability matrix` and `plan`. These skills will break the work down into a `plan`
|
|
45
|
-
with multiple `tasks`.
|
|
46
|
-
|
|
47
|
-
```
|
|
48
|
-
> /spec-matrix /spec-to-plan prep the spice tracking app for coding
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
#### 4. Implement!
|
|
52
|
-
|
|
53
|
-
Call `/implement-plan` to trigger your coding agent to begin work on the plan.
|
|
54
|
-
|
|
55
|
-
```
|
|
56
|
-
> /implement-plan build the spice tracking app
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
#### 5. Gap review
|
|
60
|
-
|
|
61
|
-
`/gap-analysis` validates that the `UserStory` and `Functional Requirements` are implemented and tested using the `traceability matrix`
|
|
62
|
-
as the guide. `/gap-analysis` will optionally perform a _semantic_ comparison of `spec`, `code`, and `tests` to ensure the
|
|
63
|
-
`plan` is faithfully implemented.
|
|
64
|
-
|
|
65
|
-
```
|
|
66
|
-
> /gap-analysis
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
## What's included
|
|
70
|
-
|
|
71
|
-
The default module set defines the spec archetypes and domain-object vocabulary.
|
|
72
|
-
|
|
73
|
-
**Artifact archetypes** — the document types you author:
|
|
74
|
-
|
|
75
|
-
| Module | Archetypes |
|
|
76
|
-
| ---------------------------------------------------------------------------- | -------------------------------------------------------------------- |
|
|
77
|
-
| [spec-artifacts-iso](https://github.com/agent-ix/spec-artifacts-iso) | `StR`, `FR`, `NFR`, `US`, `IT`, `TC`, `Spec`, `master-requirements` |
|
|
78
|
-
| [spec-artifacts-app](https://github.com/agent-ix/spec-artifacts-app) | `ApplicationSpec`, `MasterRequirements` |
|
|
79
|
-
| [spec-artifacts-process](https://github.com/agent-ix/spec-artifacts-process) | `ADR`, `Plan`, `Task`, `Review`, `Finding`, `TestMatrix`, `Standard` |
|
|
80
|
-
|
|
81
|
-
**Domain objects** — prefab templates for common objects
|
|
82
|
-
|
|
83
|
-
| Module | Objects |
|
|
84
|
-
| ---------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
85
|
-
| [spec-objects-business](https://github.com/agent-ix/spec-objects-business) | `domain`, `entity`, `value_object`, `aggregate_root`, `nested_entity`, `repository`, `event`, `state_machine`, `process`, `enumeration` |
|
|
86
|
-
| [spec-objects-architecture](https://github.com/agent-ix/spec-objects-architecture) | `api_endpoint`, `data_schema`, `queue`, `action`, `ui_component`, `interface`, `external_contract`, `extension_point`, `binary_format`, `rate_limit` |
|
|
87
|
-
| [spec-objects-enterprise](https://github.com/agent-ix/spec-objects-enterprise) | `capability`, `business_function`, `value_stream`, `decision`, `objective`, `principle`, `kpi` |
|
|
88
|
-
| [spec-objects-operational](https://github.com/agent-ix/spec-objects-operational) | `configuration`, `migration`, `sli`, `slo`, `alert`, `runbook`, `incident`, `deployment` |
|
|
89
|
-
| [spec-objects-security](https://github.com/agent-ix/spec-objects-security) | `auth_flow`, `permission`, `scope`, `role`, `secret`, `encryption_key`, `session_config`, `data_classification`, `trust_boundary`, `audit_event`, `threat`, `control`, `risk`, `vulnerability`, `asset`, `attack_surface`, `policy`, … |
|
|
90
|
-
|
|
91
|
-
### Agent Skills
|
|
92
|
-
|
|
93
|
-
- **`specify`** — create or edit spec files using catalog authoring packs + Quire validation
|
|
94
|
-
- **`spec-review`** — review specification for quality, consistency, and completeness
|
|
95
|
-
- **`spec-matrix`** — build/maintain the requirements Test Matrix at 100% coverage
|
|
96
|
-
- **`spec-to-plan`** — convert StR/FR/NFR into a TDD project plan
|
|
97
|
-
- **`spec-ideation`** — loose, exploratory drafting before formal authoring
|
|
98
|
-
- **`spec-app-review`** / **`spec-object-review`** — application-spec and domain-object audits
|
|
99
|
-
- Analysis lenses — focused review passes over a spec:
|
|
100
|
-
- **`spec-integrity-analysis`** — completeness, consistency, and atomicity quality gates
|
|
101
|
-
- **`spec-scope-boundary-analysis`** — system boundaries and responsibility allocation
|
|
102
|
-
- **`spec-dependency-analysis`** — separates enablement work from feature work
|
|
103
|
-
- **`spec-evidence-analysis`** — verification methods and evidence artifacts per requirement
|
|
104
|
-
- **`spec-failure-domain-analysis`** — unstated failure modes, identity confusion, edge cases
|
|
105
|
-
- **`spec-risk-complexity-analysis`** — technical risk and volatility before tasking
|
|
106
|
-
- **`spec-security-analysis`** — applicable security standards and compliance traceability
|
|
3
|
+
Quoin: author validated, traceable ISO/IEC/IEEE 29148-aligned specs, then plan and build against them (native binary).
|
|
107
4
|
|
|
108
5
|
## Install
|
|
109
6
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
into **Claude Code, OpenAI Codex, opencode, and GitHub Copilot** — pick your agent below. No
|
|
113
|
-
Anthropic API key is required — your existing agent subscription is used.
|
|
114
|
-
|
|
115
|
-
**1. Install the CLIs** (`quoin` plus `ix-flow`, which runs the workflow lifecycle commands):
|
|
116
|
-
|
|
117
|
-
```bash
|
|
118
|
-
npm install -g @agent-ix/quoin@latest @agent-ix/ix-flow@latest
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
**2. Add the plugin to your coding agent:**
|
|
122
|
-
|
|
123
|
-
<details>
|
|
124
|
-
<summary><b>Claude Code</b></summary>
|
|
125
|
-
|
|
126
|
-
Run these inside Claude Code:
|
|
127
|
-
|
|
128
|
-
```text
|
|
129
|
-
/plugin marketplace add agent-ix/quoin
|
|
130
|
-
/plugin install quoin@quoin
|
|
7
|
+
```sh
|
|
8
|
+
npm install -g @agent-ix/quoin
|
|
131
9
|
```
|
|
132
10
|
|
|
133
|
-
|
|
11
|
+
This installs a small launcher plus the prebuilt `quoin` binary for your
|
|
12
|
+
platform as an optional dependency. Run it with:
|
|
134
13
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
```bash
|
|
139
|
-
codex plugin marketplace add agent-ix/quoin
|
|
140
|
-
codex plugin add quoin
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
Or browse and install quoin from the `/plugins` menu inside the Codex TUI.
|
|
144
|
-
|
|
145
|
-
</details>
|
|
146
|
-
|
|
147
|
-
<details>
|
|
148
|
-
<summary><b>opencode</b></summary>
|
|
149
|
-
|
|
150
|
-
Install the skills with the GitHub CLI (requires `gh` ≥ 2.90.0). `--all` installs
|
|
151
|
-
the whole bundle; `--scope user` makes it available in every repo:
|
|
152
|
-
|
|
153
|
-
```bash
|
|
154
|
-
gh skill install agent-ix/quoin --all --scope user --agent opencode
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
</details>
|
|
158
|
-
|
|
159
|
-
<details>
|
|
160
|
-
<summary><b>GitHub Copilot</b></summary>
|
|
161
|
-
|
|
162
|
-
With the Copilot CLI:
|
|
163
|
-
|
|
164
|
-
```bash
|
|
165
|
-
copilot plugin marketplace add agent-ix/quoin
|
|
166
|
-
copilot plugin install quoin@quoin
|
|
167
|
-
```
|
|
168
|
-
|
|
169
|
-
Or install the skills with the GitHub CLI (requires `gh` ≥ 2.90.0):
|
|
170
|
-
|
|
171
|
-
```bash
|
|
172
|
-
gh skill install agent-ix/quoin --all --scope user --agent github-copilot
|
|
173
|
-
```
|
|
174
|
-
|
|
175
|
-
</details>
|
|
176
|
-
|
|
177
|
-
Either way, that registers quoin's spec-authoring skills and workflows so you can drive them
|
|
178
|
-
by asking the agent.
|
|
179
|
-
|
|
180
|
-
## Usage
|
|
181
|
-
|
|
182
|
-
### skills & workflows
|
|
183
|
-
|
|
184
|
-
The primary way users author specs is by asking an agent, which invokes the bundled
|
|
185
|
-
[skills](#agent-skills) and [workflows](#agent-workflows).
|
|
186
|
-
|
|
187
|
-
### CLI commands
|
|
188
|
-
|
|
189
|
-
Inspect the spec vocabulary and manage installed modules:
|
|
190
|
-
|
|
191
|
-
```bash
|
|
192
|
-
quoin catalog list
|
|
193
|
-
quoin catalog show FR
|
|
194
|
-
quoin catalog validate
|
|
195
|
-
quoin plugin install path:../spec-objects-business
|
|
196
|
-
quoin plugin list
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
## Development
|
|
200
|
-
|
|
201
|
-
```bash
|
|
202
|
-
pnpm install
|
|
203
|
-
pnpm run build
|
|
204
|
-
pnpm test
|
|
205
|
-
pnpm run lint
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
### Specification
|
|
209
|
-
|
|
210
|
-
The technical specification for this library was itself authored with the `spec-artifacts-iso` module — see
|
|
211
|
-
[spec/spec.md](spec/spec.md).
|
|
212
|
-
|
|
213
|
-
### Evals
|
|
214
|
-
|
|
215
|
-
Eval scenarios live in [spec/evals.md](spec/evals.md) and run through the shared
|
|
216
|
-
[`@agent-ix/cli-agent-evals`](../cli-agent-evals) toolkit. The suite definition is
|
|
217
|
-
[`cli-agent-evals.config.mjs`](cli-agent-evals.config.mjs); quoin-specific fixtures,
|
|
218
|
-
module seeding, prompts, and assertions remain under [`evals/`](evals/).
|
|
219
|
-
|
|
220
|
-
Live runs profile a **real** agent running the skills/workflows and record token,
|
|
221
|
-
tool, and latency metrics from the available transcript. Unit tests cover the
|
|
222
|
-
mechanical CLI behavior.
|
|
223
|
-
|
|
224
|
-
```bash
|
|
225
|
-
make evals
|
|
226
|
-
make evals-all
|
|
227
|
-
node ../cli-agent-evals/bin/cli-evals.js run \
|
|
228
|
-
--suite ./cli-agent-evals.config.mjs \
|
|
229
|
-
--canary \
|
|
230
|
-
--agent claude \
|
|
231
|
-
--model sonnet
|
|
14
|
+
```sh
|
|
15
|
+
quoin --help
|
|
232
16
|
```
|
|
233
|
-
|
|
234
|
-
Agent plugin setup for authoring/running evals from an agent:
|
|
235
|
-
|
|
236
|
-
```bash
|
|
237
|
-
claude plugin marketplace add agent-ix/cli-agent-evals
|
|
238
|
-
claude plugin install cli-agent-evals
|
|
239
|
-
|
|
240
|
-
codex plugin marketplace add agent-ix/cli-agent-evals
|
|
241
|
-
codex plugin add cli-agent-evals
|
|
242
|
-
|
|
243
|
-
gh skill install agent-ix/cli-agent-evals --all --scope user --agent opencode
|
|
244
|
-
gh skill install agent-ix/cli-agent-evals --all --scope user --agent github-copilot
|
|
245
|
-
```
|
|
246
|
-
|
|
247
|
-
Minimal integration pattern:
|
|
248
|
-
|
|
249
|
-
```js
|
|
250
|
-
import { defineSuite } from "../cli-agent-evals/dist/index.js";
|
|
251
|
-
import { SCENARIOS } from "./evals/scenarios/index.mjs";
|
|
252
|
-
|
|
253
|
-
export default defineSuite({
|
|
254
|
-
name: "quoin",
|
|
255
|
-
rootDir: import.meta.dirname,
|
|
256
|
-
scenarios: SCENARIOS,
|
|
257
|
-
});
|
|
258
|
-
```
|
|
259
|
-
|
|
260
|
-
## About
|
|
261
|
-
|
|
262
|
-
quoin is part of the Agent-IX ecosystem built on these core libraries:
|
|
263
|
-
|
|
264
|
-
- [quire-cli](https://github.com/agent-ix/quire-cli), the static-binary CLI wrapping the Quire engine
|
|
265
|
-
- [ix-cli-core](https://github.com/agent-ix/ix-cli-core), the generic CLI framework
|
|
266
|
-
for Agent IX.
|
package/bin/launcher.js
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
// Generic thin launcher, copied verbatim into every generated launcher
|
|
5
|
+
// package by pack.mjs. It carries no per-project knowledge: everything it
|
|
6
|
+
// needs (the binary name, the package name prefix, the optional self-update
|
|
7
|
+
// intercept command, and the closed set of supported platforms) comes from
|
|
8
|
+
// its own package.json at runtime.
|
|
9
|
+
//
|
|
10
|
+
// Behavior:
|
|
11
|
+
// - Resolve `<name>-<platform>-<arch>/bin/<binary>[.exe]` via
|
|
12
|
+
// require.resolve, restricted to declared optionalDependencies.
|
|
13
|
+
// - chmod 0755 best-effort on POSIX, then spawn with inherited stdio.
|
|
14
|
+
// - Forward SIGINT/SIGTERM/SIGHUP received by the launcher to the child.
|
|
15
|
+
// - Mirror the child's exit status, or re-raise its terminating signal.
|
|
16
|
+
// - If nativeLauncher.selfUpdateCommand is set and matches argv[2], print
|
|
17
|
+
// an update hint and exit 1 without spawning anything.
|
|
18
|
+
|
|
19
|
+
const { spawn } = require("node:child_process");
|
|
20
|
+
const fs = require("node:fs");
|
|
21
|
+
const os = require("node:os");
|
|
22
|
+
const packageJson = require("../package.json");
|
|
23
|
+
|
|
24
|
+
const PLATFORM = process.platform; // 'linux' | 'darwin' | 'win32' | ...
|
|
25
|
+
const ARCH = process.arch; // 'x64' | 'arm64' | ...
|
|
26
|
+
const NAME = packageJson.name;
|
|
27
|
+
const NATIVE_LAUNCHER = packageJson.nativeLauncher || {};
|
|
28
|
+
const BINARY = NATIVE_LAUNCHER.binary;
|
|
29
|
+
const SELF_UPDATE_COMMAND = NATIVE_LAUNCHER.selfUpdateCommand || "";
|
|
30
|
+
const PACKAGE_PREFIX = `${NAME}-`;
|
|
31
|
+
const OPTIONAL_DEPENDENCIES = packageJson.optionalDependencies || {};
|
|
32
|
+
|
|
33
|
+
if (!BINARY) {
|
|
34
|
+
process.stderr.write(`${NAME}: package.json is missing nativeLauncher.binary\n`);
|
|
35
|
+
process.exit(1);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
if (SELF_UPDATE_COMMAND && process.argv[2] === SELF_UPDATE_COMMAND) {
|
|
39
|
+
process.stderr.write(
|
|
40
|
+
`${BINARY} was installed with npm; update it with: npm install -g ${NAME}@latest\n`
|
|
41
|
+
);
|
|
42
|
+
process.exit(1);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
function resolveBinary() {
|
|
46
|
+
const key = `${PLATFORM}-${ARCH}`;
|
|
47
|
+
const pkg = `${PACKAGE_PREFIX}${key}`;
|
|
48
|
+
if (!Object.prototype.hasOwnProperty.call(OPTIONAL_DEPENDENCIES, pkg)) {
|
|
49
|
+
const supported = Object.keys(OPTIONAL_DEPENDENCIES)
|
|
50
|
+
.filter((name) => name.startsWith(PACKAGE_PREFIX))
|
|
51
|
+
.map((name) => name.slice(PACKAGE_PREFIX.length))
|
|
52
|
+
.sort();
|
|
53
|
+
throw new Error(
|
|
54
|
+
`${NAME}: unsupported platform "${key}".\n` +
|
|
55
|
+
`Prebuilt binaries exist for: ${supported.join(", ")}.\n` +
|
|
56
|
+
`Build ${BINARY} from source for this platform instead.`
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
const binName = PLATFORM === "win32" ? `${BINARY}.exe` : BINARY;
|
|
60
|
+
try {
|
|
61
|
+
return require.resolve(`${pkg}/bin/${binName}`);
|
|
62
|
+
} catch (_) {
|
|
63
|
+
throw new Error(
|
|
64
|
+
`${NAME}: the prebuilt binary package "${pkg}" is not installed.\n` +
|
|
65
|
+
`It is an optional dependency — reinstall without --no-optional, or\n` +
|
|
66
|
+
`add "${pkg}" explicitly. (--ignore-optional / CPU-VM mismatches skip\n` +
|
|
67
|
+
`it, and so does a prebuilt package that does not match this\n` +
|
|
68
|
+
`system's libc, e.g. a glibc build installed on a musl system.)`
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
let bin;
|
|
74
|
+
try {
|
|
75
|
+
bin = resolveBinary();
|
|
76
|
+
} catch (err) {
|
|
77
|
+
process.stderr.write(String(err.message) + "\n");
|
|
78
|
+
process.exit(1);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// npm does not always preserve the executable bit through publish/install;
|
|
82
|
+
// best-effort restore it on POSIX before exec.
|
|
83
|
+
if (PLATFORM !== "win32") {
|
|
84
|
+
try {
|
|
85
|
+
fs.chmodSync(bin, 0o755);
|
|
86
|
+
} catch (_) {
|
|
87
|
+
/* non-fatal: the file may already be executable or read-only */
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
const FORWARD_SIGNALS = ["SIGINT", "SIGTERM", "SIGHUP"];
|
|
92
|
+
|
|
93
|
+
const child = spawn(bin, process.argv.slice(2), { stdio: "inherit" });
|
|
94
|
+
|
|
95
|
+
function forwardSignal(signal) {
|
|
96
|
+
try {
|
|
97
|
+
child.kill(signal);
|
|
98
|
+
} catch (_) {
|
|
99
|
+
/* the child may already have exited */
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
for (const signal of FORWARD_SIGNALS) {
|
|
104
|
+
process.on(signal, forwardSignal);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
function stopForwardingSignals() {
|
|
108
|
+
for (const signal of FORWARD_SIGNALS) {
|
|
109
|
+
process.removeListener(signal, forwardSignal);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
child.on("error", (err) => {
|
|
114
|
+
stopForwardingSignals();
|
|
115
|
+
process.stderr.write(`${NAME}: failed to launch binary: ${err.message}\n`);
|
|
116
|
+
process.exit(1);
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
child.on("exit", (code, signal) => {
|
|
120
|
+
stopForwardingSignals();
|
|
121
|
+
|
|
122
|
+
if (signal) {
|
|
123
|
+
// Re-raise the child's terminating signal so callers observe the same
|
|
124
|
+
// signal-driven exit. For a signal whose default disposition is to
|
|
125
|
+
// terminate (SIGTERM, SIGINT, SIGHUP, ...) this ends the process right
|
|
126
|
+
// here. For one Node ignores by default (e.g. SIGPIPE), execution
|
|
127
|
+
// continues past the kill call, so fall back to the shell-convention
|
|
128
|
+
// exit code (128 + signal number).
|
|
129
|
+
process.kill(process.pid, signal);
|
|
130
|
+
setImmediate(() => {
|
|
131
|
+
const signalNumber = os.constants.signals[signal];
|
|
132
|
+
process.exit(128 + (typeof signalNumber === "number" ? signalNumber : 0));
|
|
133
|
+
});
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
process.exit(code === null ? 1 : code);
|
|
138
|
+
});
|
package/package.json
CHANGED
|
@@ -1,137 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-ix/quoin",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
3
|
+
"version": "0.24.1",
|
|
4
|
+
"description": "Quoin: author validated, traceable ISO/IEC/IEEE 29148-aligned specs, then plan and build against them (native binary).",
|
|
5
|
+
"homepage": "https://github.com/agent-ix/quoin#readme",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/agent-ix/quoin.git"
|
|
9
|
+
},
|
|
5
10
|
"license": "AGPL-3.0-or-later",
|
|
6
|
-
"type": "
|
|
11
|
+
"type": "commonjs",
|
|
12
|
+
"bin": {
|
|
13
|
+
"quoin": "bin/launcher.js"
|
|
14
|
+
},
|
|
7
15
|
"files": [
|
|
8
|
-
"dist/",
|
|
9
|
-
"default-modules.yaml",
|
|
10
|
-
"skills/",
|
|
11
16
|
"bin/",
|
|
12
|
-
"
|
|
13
|
-
".codex-plugin/",
|
|
14
|
-
".agents/",
|
|
15
|
-
".github/plugin/",
|
|
16
|
-
"LICENSE",
|
|
17
|
-
"README.md"
|
|
17
|
+
"LICENSE"
|
|
18
18
|
],
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
"bin": {
|
|
22
|
-
"quoin": "bin/quoin.js"
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">=16"
|
|
23
21
|
},
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"topics": {
|
|
30
|
-
"catalog": {
|
|
31
|
-
"description": "Inspect the active artifact/object catalog (list, show, validate)."
|
|
32
|
-
},
|
|
33
|
-
"config": {
|
|
34
|
-
"description": "Read and store quoin configuration (get, set, edit, doctor)."
|
|
35
|
-
},
|
|
36
|
-
"evidence": {
|
|
37
|
-
"description": "The evidence store — what actually ran, and against which statement (record, affirm, gc)."
|
|
38
|
-
},
|
|
39
|
-
"graph": {
|
|
40
|
-
"description": "Read-only evidence-graph analysis views."
|
|
41
|
-
},
|
|
42
|
-
"measurement": {
|
|
43
|
-
"description": "Record plan-validated QA measurements as atomic producer collections."
|
|
44
|
-
},
|
|
45
|
-
"module": {
|
|
46
|
-
"description": "Install and manage user/community spec modules (list, install, remove, ensure-defaults)."
|
|
47
|
-
},
|
|
48
|
-
"plugin": {
|
|
49
|
-
"description": "[DEPRECATED] Renamed to `module`; retained as a forwarding alias."
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"plugins": [
|
|
53
|
-
"@agent-ix/filament-plan-sync"
|
|
54
|
-
],
|
|
55
|
-
"hooks": {
|
|
56
|
-
"command_not_found": "./dist/hooks/command-not-found"
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"packageManager": "pnpm@11.20.0",
|
|
60
|
-
"scripts": {
|
|
61
|
-
"help": "node scripts/help.js",
|
|
62
|
-
"test": "vitest run",
|
|
63
|
-
"test:coverage": "vitest run --coverage",
|
|
64
|
-
"test:json": "vitest run --reporter=json --outputFile=report.json || true",
|
|
65
|
-
"test:evals": "node evals/run.mjs",
|
|
66
|
-
"lint": "pnpm run typecheck && eslint \"src/**/*.{ts,tsx,js,jsx}\" \"tests/**/*.{ts,tsx,js,jsx}\" && pnpm run format:check",
|
|
67
|
-
"validate": "quire validate \"spec/**/*.md\" \"plan/**/*.md\" \"reviews/*.md\"",
|
|
68
|
-
"format": "prettier --write .",
|
|
69
|
-
"format:check": "prettier --check .",
|
|
70
|
-
"build": "vite build && node scripts/copy-quire-schemas.mjs",
|
|
71
|
-
"clean": "rm -rf node_modules dist coverage .pnpm-store",
|
|
72
|
-
"install:frozen": "pnpm install --frozen-lockfile",
|
|
73
|
-
"update-lock": "pnpm install --lockfile-only",
|
|
74
|
-
"drift": "node scripts/release-drift.js check",
|
|
75
|
-
"drift:pins": "node scripts/release-drift.js pins",
|
|
76
|
-
"version": "node scripts/build-tools.js version",
|
|
77
|
-
"info": "node scripts/build-tools.js info",
|
|
78
|
-
"docker:build": "docker build -t ghcr.io/agent-ix/quoin .",
|
|
79
|
-
"publish:dry-run": "pnpm publish --dry-run",
|
|
80
|
-
"prepublishOnly": "pnpm run build",
|
|
81
|
-
"tags": "npm dist-tag ls @agent-ix/quoin --registry https://npm.pkg.github.com || echo '(package not found or registry unavailable)'",
|
|
82
|
-
"pkg:add": "pnpm add",
|
|
83
|
-
"pkg:add-dev": "pnpm add -D",
|
|
84
|
-
"pkg:update": "pnpm update",
|
|
85
|
-
"experimental:pkg:update-latest": "pnpm update --latest",
|
|
86
|
-
"pkg:use-local": "pnpm dlx @agent-ix/js-deps@0.2.4 use-local",
|
|
87
|
-
"pkg:use-upstream": "pnpm dlx @agent-ix/js-deps@0.2.4 use-upstream",
|
|
88
|
-
"pkg:refresh-local": "pnpm dlx @agent-ix/js-deps@0.2.4 refresh-local",
|
|
89
|
-
"audit:tool-drift": "node scripts/check-tool-drift.mjs",
|
|
90
|
-
"test:tool-drift": "node scripts/check-tool-drift-selftest.mjs",
|
|
91
|
-
"test:verification-stack": "node scripts/verification-stack-selftest.mjs",
|
|
92
|
-
"test-results:summary": "./node_modules/.bin/jest-results summary",
|
|
93
|
-
"test-results:groups": "./node_modules/.bin/jest-results groups",
|
|
94
|
-
"test-results:detail": "./node_modules/.bin/jest-results detail",
|
|
95
|
-
"test-results:find": "./node_modules/.bin/jest-results find",
|
|
96
|
-
"test-results:failed": "./node_modules/.bin/jest-results failed",
|
|
97
|
-
"test-results:errors": "./node_modules/.bin/jest-results errors",
|
|
98
|
-
"test-results:warnings": "./node_modules/.bin/jest-results warnings",
|
|
99
|
-
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
100
|
-
},
|
|
101
|
-
"dependencies": {
|
|
102
|
-
"@agent-ix/filament-plan-sync": "0.1.0",
|
|
103
|
-
"@agent-ix/ix-cli-core": "0.12.0",
|
|
104
|
-
"@agent-ix/ts-plugin-kit": "0.2.0",
|
|
105
|
-
"@noble/hashes": "2.2.0",
|
|
106
|
-
"@oclif/core": "4.13.3",
|
|
107
|
-
"ajv": "8.20.0",
|
|
108
|
-
"yaml": "2.9.0",
|
|
109
|
-
"zod": "4.4.3"
|
|
110
|
-
},
|
|
111
|
-
"devDependencies": {
|
|
112
|
-
"@agent-ix/quire-cli": "0.30.2",
|
|
113
|
-
"@types/node": "26.1.2",
|
|
114
|
-
"@typescript-eslint/eslint-plugin": "8.66.0",
|
|
115
|
-
"@typescript-eslint/parser": "8.66.0",
|
|
116
|
-
"@vitest/coverage-v8": "4.1.10",
|
|
117
|
-
"add": "2.0.9",
|
|
118
|
-
"eslint": "10.8.0",
|
|
119
|
-
"eslint-plugin-prettier": "5.5.6",
|
|
120
|
-
"fast-check": "4.9.0",
|
|
121
|
-
"pnpm": "11.20.0",
|
|
122
|
-
"prettier": "3.9.6",
|
|
123
|
-
"ts-node": "10.9.2",
|
|
124
|
-
"typescript": "6.0.3",
|
|
125
|
-
"vite": "8.2.0",
|
|
126
|
-
"vite-plugin-dts": "5.0.3",
|
|
127
|
-
"vitest": "4.1.10"
|
|
22
|
+
"optionalDependencies": {
|
|
23
|
+
"@agent-ix/quoin-darwin-arm64": "0.24.1",
|
|
24
|
+
"@agent-ix/quoin-linux-arm64": "0.24.1",
|
|
25
|
+
"@agent-ix/quoin-linux-x64": "0.24.1",
|
|
26
|
+
"@agent-ix/quoin-win32-x64": "0.24.1"
|
|
128
27
|
},
|
|
129
28
|
"publishConfig": {
|
|
130
29
|
"registry": "https://registry.npmjs.org/",
|
|
131
30
|
"access": "public"
|
|
132
31
|
},
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
32
|
+
"nativeLauncher": {
|
|
33
|
+
"binary": "quoin",
|
|
34
|
+
"selfUpdateCommand": "update"
|
|
136
35
|
}
|
|
137
36
|
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "quoin",
|
|
3
|
-
"interface": {
|
|
4
|
-
"displayName": "Quoin"
|
|
5
|
-
},
|
|
6
|
-
"plugins": [
|
|
7
|
-
{
|
|
8
|
-
"name": "quoin",
|
|
9
|
-
"source": { "source": "local", "path": "./" },
|
|
10
|
-
"policy": { "installation": "AVAILABLE", "authentication": "ON_INSTALL" },
|
|
11
|
-
"category": "Productivity"
|
|
12
|
-
}
|
|
13
|
-
]
|
|
14
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "quoin",
|
|
3
|
-
"owner": {
|
|
4
|
-
"name": "Agent IX"
|
|
5
|
-
},
|
|
6
|
-
"metadata": {
|
|
7
|
-
"description": "Spec authoring, review, matrix, and planning skills + workflows for Agent IX."
|
|
8
|
-
},
|
|
9
|
-
"plugins": [
|
|
10
|
-
{
|
|
11
|
-
"name": "quoin",
|
|
12
|
-
"source": "./",
|
|
13
|
-
"description": "Spec authoring, review, matrix, and planning skills for Agent IX."
|
|
14
|
-
}
|
|
15
|
-
]
|
|
16
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "quoin",
|
|
3
|
-
"version": "0.22.5",
|
|
4
|
-
"description": "Spec authoring, review, matrix, and planning skills for Agent IX.",
|
|
5
|
-
"author": {
|
|
6
|
-
"name": "Agent IX",
|
|
7
|
-
"url": "https://github.com/agent-ix"
|
|
8
|
-
},
|
|
9
|
-
"homepage": "https://github.com/agent-ix/quoin",
|
|
10
|
-
"repository": "https://github.com/agent-ix/quoin",
|
|
11
|
-
"license": "AGPL-3.0-or-later",
|
|
12
|
-
"keywords": ["specifications", "requirements", "planning", "agent-skills"],
|
|
13
|
-
"skills": "./skills/",
|
|
14
|
-
"interface": {
|
|
15
|
-
"displayName": "Quoin",
|
|
16
|
-
"shortDescription": "Spec-driven development skills for Codex.",
|
|
17
|
-
"longDescription": "Quoin adds skills for authoring, reviewing, tracing, and planning software specifications.",
|
|
18
|
-
"developerName": "Agent IX",
|
|
19
|
-
"category": "Productivity",
|
|
20
|
-
"capabilities": ["Skills", "Planning", "Review", "Write"],
|
|
21
|
-
"defaultPrompt": [
|
|
22
|
-
"Specify a feature with Quoin.",
|
|
23
|
-
"Review my spec for gaps.",
|
|
24
|
-
"Turn requirements into a plan."
|
|
25
|
-
]
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "quoin",
|
|
3
|
-
"owner": {
|
|
4
|
-
"name": "Agent IX"
|
|
5
|
-
},
|
|
6
|
-
"metadata": {
|
|
7
|
-
"description": "Spec authoring, review, matrix, and planning skills + workflows for Agent IX."
|
|
8
|
-
},
|
|
9
|
-
"plugins": [
|
|
10
|
-
{
|
|
11
|
-
"name": "quoin",
|
|
12
|
-
"source": "./",
|
|
13
|
-
"description": "Spec authoring, review, matrix, and planning skills for Agent IX."
|
|
14
|
-
}
|
|
15
|
-
]
|
|
16
|
-
}
|