@agent-ix/quoin 0.23.1 → 0.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -258
- package/bin/launcher.js +138 -0
- package/package.json +22 -123
- package/.agents/plugins/marketplace.json +0 -14
- package/.claude-plugin/marketplace.json +0 -16
- package/.claude-plugin/plugin.json +0 -8
- package/.codex-plugin/plugin.json +0 -27
- package/.github/plugin/marketplace.json +0 -16
- package/bin/quoin.js +0 -21
- package/default-modules.yaml +0 -107
- package/dist/advisor/advise.d.ts +0 -199
- package/dist/advisor/advise.d.ts.map +0 -1
- package/dist/advisor/index.d.ts +0 -10
- package/dist/advisor/index.d.ts.map +0 -1
- package/dist/advisor/methods.d.ts +0 -60
- package/dist/advisor/methods.d.ts.map +0 -1
- package/dist/advisor-B0rESCx1.js +0 -63
- package/dist/assurance/graph.d.ts +0 -87
- package/dist/assurance/graph.d.ts.map +0 -1
- package/dist/assurance/index.d.ts +0 -9
- package/dist/assurance/index.d.ts.map +0 -1
- package/dist/assurance/render.d.ts +0 -3
- package/dist/assurance/render.d.ts.map +0 -1
- package/dist/auditor/audit.d.ts +0 -146
- package/dist/auditor/audit.d.ts.map +0 -1
- package/dist/auditor/combinatorial.d.ts +0 -53
- package/dist/auditor/combinatorial.d.ts.map +0 -1
- package/dist/auditor/index.d.ts +0 -9
- package/dist/auditor/index.d.ts.map +0 -1
- package/dist/auditor-Dd3i9Aqx.js +0 -340
- package/dist/base-gAClyCNd.js +0 -137
- package/dist/base.d.ts +0 -23
- package/dist/base.d.ts.map +0 -1
- package/dist/catalog.d.ts +0 -33
- package/dist/catalog.d.ts.map +0 -1
- package/dist/change-assurance/attestations.d.ts +0 -7
- package/dist/change-assurance/attestations.d.ts.map +0 -1
- package/dist/change-assurance/index.d.ts +0 -14
- package/dist/change-assurance/index.d.ts.map +0 -1
- package/dist/change-assurance/integrity.d.ts +0 -11
- package/dist/change-assurance/integrity.d.ts.map +0 -1
- package/dist/change-assurance/records.d.ts +0 -22
- package/dist/change-assurance/records.d.ts.map +0 -1
- package/dist/change-assurance/schema-assets.d.ts +0 -8
- package/dist/change-assurance/schema-assets.d.ts.map +0 -1
- package/dist/change-assurance/store.d.ts +0 -18
- package/dist/change-assurance/store.d.ts.map +0 -1
- package/dist/change-assurance/types.d.ts +0 -180
- package/dist/change-assurance/types.d.ts.map +0 -1
- package/dist/change-assurance/verify.d.ts +0 -4
- package/dist/change-assurance/verify.d.ts.map +0 -1
- package/dist/change-assurance-CyKLPeKa.js +0 -1236
- package/dist/cli.d.ts +0 -61
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js +0 -34
- package/dist/commands/advise.d.ts +0 -16
- package/dist/commands/advise.d.ts.map +0 -1
- package/dist/commands/advise.js +0 -234
- package/dist/commands/assurance.d.ts +0 -14
- package/dist/commands/assurance.d.ts.map +0 -1
- package/dist/commands/assurance.js +0 -204
- package/dist/commands/catalog/index.d.ts +0 -2
- package/dist/commands/catalog/index.d.ts.map +0 -1
- package/dist/commands/catalog/index.js +0 -2
- package/dist/commands/catalog/list.d.ts +0 -11
- package/dist/commands/catalog/list.d.ts.map +0 -1
- package/dist/commands/catalog/list.js +0 -22
- package/dist/commands/catalog/methods.d.ts +0 -12
- package/dist/commands/catalog/methods.d.ts.map +0 -1
- package/dist/commands/catalog/methods.js +0 -43
- package/dist/commands/catalog/show.d.ts +0 -13
- package/dist/commands/catalog/show.d.ts.map +0 -1
- package/dist/commands/catalog/show.js +0 -25
- package/dist/commands/catalog/validate.d.ts +0 -10
- package/dist/commands/catalog/validate.d.ts.map +0 -1
- package/dist/commands/catalog/validate.js +0 -27
- package/dist/commands/change-assurance/common.d.ts +0 -37
- package/dist/commands/change-assurance/common.d.ts.map +0 -1
- package/dist/commands/change-assurance/index.d.ts +0 -8
- package/dist/commands/change-assurance/index.d.ts.map +0 -1
- package/dist/commands/change-assurance/index.js +0 -12
- package/dist/commands/change-assurance/intake.d.ts +0 -15
- package/dist/commands/change-assurance/intake.d.ts.map +0 -1
- package/dist/commands/change-assurance/intake.js +0 -53
- package/dist/commands/change-assurance/receipt.d.ts +0 -21
- package/dist/commands/change-assurance/receipt.d.ts.map +0 -1
- package/dist/commands/change-assurance/receipt.js +0 -99
- package/dist/commands/change-assurance/recover.d.ts +0 -13
- package/dist/commands/change-assurance/recover.d.ts.map +0 -1
- package/dist/commands/change-assurance/recover.js +0 -29
- package/dist/commands/change-assurance/schema.d.ts +0 -13
- package/dist/commands/change-assurance/schema.d.ts.map +0 -1
- package/dist/commands/change-assurance/schema.js +0 -40
- package/dist/commands/change-assurance/seal-attestation.d.ts +0 -15
- package/dist/commands/change-assurance/seal-attestation.d.ts.map +0 -1
- package/dist/commands/change-assurance/seal-attestation.js +0 -58
- package/dist/commands/change-assurance/seal-record.d.ts +0 -14
- package/dist/commands/change-assurance/seal-record.d.ts.map +0 -1
- package/dist/commands/change-assurance/seal-record.js +0 -53
- package/dist/commands/change-assurance/verify-receipt.d.ts +0 -13
- package/dist/commands/change-assurance/verify-receipt.d.ts.map +0 -1
- package/dist/commands/change-assurance/verify-receipt.js +0 -41
- package/dist/commands/completeness.d.ts +0 -16
- package/dist/commands/completeness.d.ts.map +0 -1
- package/dist/commands/completeness.js +0 -49
- package/dist/commands/config/doctor.d.ts +0 -7
- package/dist/commands/config/doctor.d.ts.map +0 -1
- package/dist/commands/config/doctor.js +0 -15
- package/dist/commands/config/edit.d.ts +0 -7
- package/dist/commands/config/edit.d.ts.map +0 -1
- package/dist/commands/config/edit.js +0 -13
- package/dist/commands/config/get.d.ts +0 -11
- package/dist/commands/config/get.d.ts.map +0 -1
- package/dist/commands/config/get.js +0 -20
- package/dist/commands/config/index.d.ts +0 -2
- package/dist/commands/config/index.d.ts.map +0 -1
- package/dist/commands/config/index.js +0 -2
- package/dist/commands/config/set.d.ts +0 -12
- package/dist/commands/config/set.d.ts.map +0 -1
- package/dist/commands/config/set.js +0 -26
- package/dist/commands/evidence/affirm.d.ts +0 -17
- package/dist/commands/evidence/affirm.d.ts.map +0 -1
- package/dist/commands/evidence/affirm.js +0 -65
- package/dist/commands/evidence/audit.d.ts +0 -34
- package/dist/commands/evidence/audit.d.ts.map +0 -1
- package/dist/commands/evidence/audit.js +0 -107
- package/dist/commands/evidence/baseline.d.ts +0 -14
- package/dist/commands/evidence/baseline.d.ts.map +0 -1
- package/dist/commands/evidence/baseline.js +0 -89
- package/dist/commands/evidence/gc.d.ts +0 -13
- package/dist/commands/evidence/gc.d.ts.map +0 -1
- package/dist/commands/evidence/gc.js +0 -35
- package/dist/commands/evidence/index.d.ts +0 -8
- package/dist/commands/evidence/index.d.ts.map +0 -1
- package/dist/commands/evidence/index.js +0 -18
- package/dist/commands/evidence/inspect-mocks.d.ts +0 -16
- package/dist/commands/evidence/inspect-mocks.d.ts.map +0 -1
- package/dist/commands/evidence/inspect-mocks.js +0 -49
- package/dist/commands/evidence/record.d.ts +0 -22
- package/dist/commands/evidence/record.d.ts.map +0 -1
- package/dist/commands/evidence/record.js +0 -144
- package/dist/commands/graph/change-impact.d.ts +0 -16
- package/dist/commands/graph/change-impact.d.ts.map +0 -1
- package/dist/commands/graph/change-impact.js +0 -29
- package/dist/commands/graph/churn.d.ts +0 -14
- package/dist/commands/graph/churn.d.ts.map +0 -1
- package/dist/commands/graph/churn.js +0 -15
- package/dist/commands/graph/common.d.ts +0 -16
- package/dist/commands/graph/common.d.ts.map +0 -1
- package/dist/commands/graph/fan-out.d.ts +0 -14
- package/dist/commands/graph/fan-out.d.ts.map +0 -1
- package/dist/commands/graph/fan-out.js +0 -15
- package/dist/commands/graph/index.d.ts +0 -8
- package/dist/commands/graph/index.d.ts.map +0 -1
- package/dist/commands/graph/index.js +0 -12
- package/dist/commands/matrix.d.ts +0 -14
- package/dist/commands/matrix.d.ts.map +0 -1
- package/dist/commands/matrix.js +0 -15
- package/dist/commands/measurement/index.d.ts +0 -7
- package/dist/commands/measurement/index.d.ts.map +0 -1
- package/dist/commands/measurement/index.js +0 -11
- package/dist/commands/measurement/intervention.d.ts +0 -11
- package/dist/commands/measurement/intervention.d.ts.map +0 -1
- package/dist/commands/measurement/intervention.js +0 -31
- package/dist/commands/measurement/operational-release.d.ts +0 -11
- package/dist/commands/measurement/operational-release.d.ts.map +0 -1
- package/dist/commands/measurement/operational-release.js +0 -31
- package/dist/commands/measurement/record.d.ts +0 -10
- package/dist/commands/measurement/record.d.ts.map +0 -1
- package/dist/commands/measurement/record.js +0 -36
- package/dist/commands/module/ensure-defaults.d.ts +0 -8
- package/dist/commands/module/ensure-defaults.d.ts.map +0 -1
- package/dist/commands/module/ensure-defaults.js +0 -17
- package/dist/commands/module/index.d.ts +0 -2
- package/dist/commands/module/index.d.ts.map +0 -1
- package/dist/commands/module/index.js +0 -2
- package/dist/commands/module/install.d.ts +0 -11
- package/dist/commands/module/install.d.ts.map +0 -1
- package/dist/commands/module/install.js +0 -22
- package/dist/commands/module/list.d.ts +0 -8
- package/dist/commands/module/list.d.ts.map +0 -1
- package/dist/commands/module/list.js +0 -13
- package/dist/commands/module/remove.d.ts +0 -10
- package/dist/commands/module/remove.d.ts.map +0 -1
- package/dist/commands/module/remove.js +0 -16
- package/dist/commands/plugin/deprecation.d.ts +0 -10
- package/dist/commands/plugin/deprecation.d.ts.map +0 -1
- package/dist/commands/plugin/ensure-defaults.d.ts +0 -8
- package/dist/commands/plugin/ensure-defaults.d.ts.map +0 -1
- package/dist/commands/plugin/ensure-defaults.js +0 -12
- package/dist/commands/plugin/index.d.ts +0 -2
- package/dist/commands/plugin/index.d.ts.map +0 -1
- package/dist/commands/plugin/index.js +0 -2
- package/dist/commands/plugin/install.d.ts +0 -8
- package/dist/commands/plugin/install.d.ts.map +0 -1
- package/dist/commands/plugin/install.js +0 -12
- package/dist/commands/plugin/list.d.ts +0 -8
- package/dist/commands/plugin/list.d.ts.map +0 -1
- package/dist/commands/plugin/list.js +0 -12
- package/dist/commands/plugin/remove.d.ts +0 -8
- package/dist/commands/plugin/remove.d.ts.map +0 -1
- package/dist/commands/plugin/remove.js +0 -12
- package/dist/commands/report.d.ts +0 -19
- package/dist/commands/report.d.ts.map +0 -1
- package/dist/commands/report.js +0 -96
- package/dist/commands/review.d.ts +0 -14
- package/dist/commands/review.d.ts.map +0 -1
- package/dist/commands/review.js +0 -15
- package/dist/commands/to-plan.d.ts +0 -14
- package/dist/commands/to-plan.d.ts.map +0 -1
- package/dist/commands/to-plan.js +0 -15
- package/dist/commands/update.d.ts +0 -13
- package/dist/commands/update.d.ts.map +0 -1
- package/dist/commands/update.js +0 -34
- package/dist/commands/validate.d.ts +0 -13
- package/dist/commands/validate.d.ts.map +0 -1
- package/dist/commands/validate.js +0 -123
- package/dist/commands/write.d.ts +0 -16
- package/dist/commands/write.d.ts.map +0 -1
- package/dist/commands/write.js +0 -33
- package/dist/common-B1ZJ8CSO.js +0 -36
- package/dist/common-DTrmnvL-.js +0 -35
- package/dist/completeness/assess.d.ts +0 -82
- package/dist/completeness/assess.d.ts.map +0 -1
- package/dist/completeness/bundle.d.ts +0 -52
- package/dist/completeness/bundle.d.ts.map +0 -1
- package/dist/completeness/declarations.d.ts +0 -46
- package/dist/completeness/declarations.d.ts.map +0 -1
- package/dist/completeness/index.d.ts +0 -11
- package/dist/completeness/index.d.ts.map +0 -1
- package/dist/completeness/run.d.ts +0 -35
- package/dist/completeness/run.d.ts.map +0 -1
- package/dist/completeness-BzBuNq6w.js +0 -228
- package/dist/config-schema-Dp-vlxuR.js +0 -13
- package/dist/config-schema.d.ts +0 -52
- package/dist/config-schema.d.ts.map +0 -1
- package/dist/deprecation-fRxUHoxv.js +0 -4
- package/dist/evidence/adapters/agent-eval.d.ts +0 -26
- package/dist/evidence/adapters/agent-eval.d.ts.map +0 -1
- package/dist/evidence/adapters/audit-script.d.ts +0 -25
- package/dist/evidence/adapters/audit-script.d.ts.map +0 -1
- package/dist/evidence/adapters/cargo-mutants.d.ts +0 -3
- package/dist/evidence/adapters/cargo-mutants.d.ts.map +0 -1
- package/dist/evidence/adapters/contract-conformance.d.ts +0 -16
- package/dist/evidence/adapters/contract-conformance.d.ts.map +0 -1
- package/dist/evidence/adapters/differential-report.d.ts +0 -18
- package/dist/evidence/adapters/differential-report.d.ts.map +0 -1
- package/dist/evidence/adapters/junit.d.ts +0 -17
- package/dist/evidence/adapters/junit.d.ts.map +0 -1
- package/dist/evidence/adapters/registry.d.ts +0 -63
- package/dist/evidence/adapters/registry.d.ts.map +0 -1
- package/dist/evidence/adapters/sarif.d.ts +0 -35
- package/dist/evidence/adapters/sarif.d.ts.map +0 -1
- package/dist/evidence/adapters/sbom.d.ts +0 -35
- package/dist/evidence/adapters/sbom.d.ts.map +0 -1
- package/dist/evidence/adapters/types.d.ts +0 -86
- package/dist/evidence/adapters/types.d.ts.map +0 -1
- package/dist/evidence/index.d.ts +0 -27
- package/dist/evidence/index.d.ts.map +0 -1
- package/dist/evidence/mock-inspection.d.ts +0 -16
- package/dist/evidence/mock-inspection.d.ts.map +0 -1
- package/dist/evidence/record.d.ts +0 -58
- package/dist/evidence/record.d.ts.map +0 -1
- package/dist/evidence/store.d.ts +0 -215
- package/dist/evidence/store.d.ts.map +0 -1
- package/dist/evidence/types.d.ts +0 -281
- package/dist/evidence/types.d.ts.map +0 -1
- package/dist/evidence-OyqpqHLS.js +0 -614
- package/dist/flow-command-CCRTE5Oe.js +0 -88
- package/dist/flow-command.d.ts +0 -25
- package/dist/flow-command.d.ts.map +0 -1
- package/dist/flows.d.ts +0 -7
- package/dist/flows.d.ts.map +0 -1
- package/dist/graph-analysis/analysis.d.ts +0 -106
- package/dist/graph-analysis/analysis.d.ts.map +0 -1
- package/dist/graph-analysis/index.d.ts +0 -6
- package/dist/graph-analysis/index.d.ts.map +0 -1
- package/dist/graph-analysis/input.d.ts +0 -33
- package/dist/graph-analysis/input.d.ts.map +0 -1
- package/dist/graph-analysis/load.d.ts +0 -21
- package/dist/graph-analysis/load.d.ts.map +0 -1
- package/dist/graph-analysis/render.d.ts +0 -4
- package/dist/graph-analysis/render.d.ts.map +0 -1
- package/dist/graph-analysis-IWaoJJSN.js +0 -657
- package/dist/hooks/command-not-found.d.ts +0 -23
- package/dist/hooks/command-not-found.d.ts.map +0 -1
- package/dist/hooks/command-not-found.js +0 -8
- package/dist/index.d.ts +0 -13
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -12
- package/dist/measurement/agent-eval-intervention.d.ts +0 -6
- package/dist/measurement/agent-eval-intervention.d.ts.map +0 -1
- package/dist/measurement/atomic-file.d.ts +0 -5
- package/dist/measurement/atomic-file.d.ts.map +0 -1
- package/dist/measurement/compare.d.ts +0 -4
- package/dist/measurement/compare.d.ts.map +0 -1
- package/dist/measurement/date-time.d.ts +0 -3
- package/dist/measurement/date-time.d.ts.map +0 -1
- package/dist/measurement/github-release-operational.d.ts +0 -7
- package/dist/measurement/github-release-operational.d.ts.map +0 -1
- package/dist/measurement/graph-adapters.d.ts +0 -304
- package/dist/measurement/graph-adapters.d.ts.map +0 -1
- package/dist/measurement/graph-portfolio-load.d.ts +0 -3
- package/dist/measurement/graph-portfolio-load.d.ts.map +0 -1
- package/dist/measurement/graph-portfolio.d.ts +0 -158
- package/dist/measurement/graph-portfolio.d.ts.map +0 -1
- package/dist/measurement/index.d.ts +0 -22
- package/dist/measurement/index.d.ts.map +0 -1
- package/dist/measurement/intervention-report.d.ts +0 -24
- package/dist/measurement/intervention-report.d.ts.map +0 -1
- package/dist/measurement/intervention-schema.d.ts +0 -144
- package/dist/measurement/intervention-schema.d.ts.map +0 -1
- package/dist/measurement/intervention-types.d.ts +0 -105
- package/dist/measurement/intervention-types.d.ts.map +0 -1
- package/dist/measurement/intervention.d.ts +0 -16
- package/dist/measurement/intervention.d.ts.map +0 -1
- package/dist/measurement/operational-report.d.ts +0 -17
- package/dist/measurement/operational-report.d.ts.map +0 -1
- package/dist/measurement/operational-schema.d.ts +0 -461
- package/dist/measurement/operational-schema.d.ts.map +0 -1
- package/dist/measurement/operational-types.d.ts +0 -121
- package/dist/measurement/operational-types.d.ts.map +0 -1
- package/dist/measurement/operational.d.ts +0 -13
- package/dist/measurement/operational.d.ts.map +0 -1
- package/dist/measurement/plans.d.ts +0 -6
- package/dist/measurement/plans.d.ts.map +0 -1
- package/dist/measurement/portfolio.d.ts +0 -54
- package/dist/measurement/portfolio.d.ts.map +0 -1
- package/dist/measurement/profiles.d.ts +0 -9
- package/dist/measurement/profiles.d.ts.map +0 -1
- package/dist/measurement/report.d.ts +0 -48
- package/dist/measurement/report.d.ts.map +0 -1
- package/dist/measurement/schemas/operational-evidence-v1.schema.json.d.ts +0 -384
- package/dist/measurement/store.d.ts +0 -14
- package/dist/measurement/store.d.ts.map +0 -1
- package/dist/measurement/types.d.ts +0 -85
- package/dist/measurement/types.d.ts.map +0 -1
- package/dist/measurement/validate.d.ts +0 -9
- package/dist/measurement/validate.d.ts.map +0 -1
- package/dist/measurement-j8sDSqx5.js +0 -2980
- package/dist/modules-DDQkKC4l.js +0 -23
- package/dist/modules.d.ts +0 -10
- package/dist/modules.d.ts.map +0 -1
- package/dist/org.d.ts +0 -61
- package/dist/org.d.ts.map +0 -1
- package/dist/plugins-CHpYhpEI.js +0 -77
- package/dist/plugins.d.ts +0 -13
- package/dist/plugins.d.ts.map +0 -1
- package/dist/quire/assurance.d.ts +0 -109
- package/dist/quire/assurance.d.ts.map +0 -1
- package/dist/quire/contract.d.ts +0 -88
- package/dist/quire/contract.d.ts.map +0 -1
- package/dist/quire/exec.d.ts +0 -66
- package/dist/quire/exec.d.ts.map +0 -1
- package/dist/quire/index.d.ts +0 -13
- package/dist/quire/index.d.ts.map +0 -1
- package/dist/quire/types.d.ts +0 -415
- package/dist/quire/types.d.ts.map +0 -1
- package/dist/quire/validate.d.ts +0 -39
- package/dist/quire/validate.d.ts.map +0 -1
- package/dist/quire-BsVj1xIR.js +0 -4968
- package/dist/schema-assets-HZWo_iFN.js +0 -233
- package/dist/schemas/assurance-v1.schema.json +0 -225
- package/dist/schemas/change-assurance-record-v1.schema.json +0 -234
- package/dist/schemas/coverage-v1.schema.json +0 -1111
- package/dist/schemas/operational-evidence-v1.schema.json +0 -381
- package/dist/schemas/proof-attestation-v1.schema.json +0 -96
- package/dist/schemas/properties-v1.schema.json +0 -159
- package/dist/schemas/verification-receipt-v1.schema.json +0 -208
- package/dist/validators/gates.d.ts +0 -18
- package/dist/validators/gates.d.ts.map +0 -1
- package/dist/validators/index.d.ts +0 -2
- package/dist/validators/index.d.ts.map +0 -1
- package/dist/version-CMxMIh5g.js +0 -17
- package/dist/version.d.ts +0 -3
- package/dist/version.d.ts.map +0 -1
- package/dist/write-CGTI0dRO.js +0 -157
- package/dist/write.d.ts +0 -28
- package/dist/write.d.ts.map +0 -1
- package/skills/assurance-status-report/SKILL.md +0 -135
- package/skills/assurance-status-report/references/report-contract.md +0 -110
- package/skills/gap-analysis/SKILL.md +0 -111
- package/skills/gap-analysis/references/step-1-target-selection.md +0 -53
- package/skills/gap-analysis/references/step-2-plan-completion.md +0 -49
- package/skills/gap-analysis/references/step-3-matrix-verification.md +0 -147
- package/skills/gap-analysis/references/step-4-underspecified-code.md +0 -92
- package/skills/gap-analysis/references/step-5-semantic-review.md +0 -51
- package/skills/gap-analysis/references/step-6-specreview-artifact.md +0 -108
- package/skills/spec-app-review/SKILL.md +0 -51
- package/skills/spec-app-review/references/checklist.md +0 -197
- package/skills/spec-architecture-evaluation/SKILL.md +0 -30
- package/skills/spec-correctness/SKILL.md +0 -96
- package/skills/spec-correctness/assets/strategy-table.md +0 -101
- package/skills/spec-correctness/assets/templates/fast-check.ts.md +0 -169
- package/skills/spec-correctness/assets/templates/hypothesis.py.md +0 -156
- package/skills/spec-correctness/assets/templates/proptest.rs.md +0 -147
- package/skills/spec-correctness/references/step-0-scope-and-harness.md +0 -94
- package/skills/spec-correctness/references/step-1-census.md +0 -53
- package/skills/spec-correctness/references/step-2-clause-grounding.md +0 -159
- package/skills/spec-correctness/references/step-3-strategy-selection.md +0 -85
- package/skills/spec-correctness/references/step-4-generate-tests.md +0 -117
- package/skills/spec-correctness/references/step-5-second-pass.md +0 -81
- package/skills/spec-correctness/references/step-6-review-artifact.md +0 -134
- package/skills/spec-correctness/references/step-7-report-and-handoff.md +0 -102
- package/skills/spec-dependency-analysis/SKILL.md +0 -90
- package/skills/spec-ears-analysis/SKILL.md +0 -102
- package/skills/spec-evidence-analysis/SKILL.md +0 -156
- package/skills/spec-failure-domain-analysis/SKILL.md +0 -59
- package/skills/spec-fuzz/SKILL.md +0 -133
- package/skills/spec-fuzz/assets/templates/atheris.py.md +0 -74
- package/skills/spec-fuzz/assets/templates/cargo-fuzz.rs.md +0 -83
- package/skills/spec-fuzz/assets/templates/fast-check.ts.md +0 -76
- package/skills/spec-fuzz/references/step-0-scope-and-harness.md +0 -51
- package/skills/spec-fuzz/references/step-1-select-obligations.md +0 -47
- package/skills/spec-fuzz/references/step-2-ground-entry-point.md +0 -55
- package/skills/spec-fuzz/references/step-3-emit-targets.md +0 -65
- package/skills/spec-fuzz/references/step-4-report.md +0 -56
- package/skills/spec-ideation/SKILL.md +0 -46
- package/skills/spec-integrity-analysis/SKILL.md +0 -62
- package/skills/spec-matrix/SKILL.md +0 -186
- package/skills/spec-matrix/assets/test-cases/TC-001.md +0 -35
- package/skills/spec-matrix/assets/test-cases/TC-002.md +0 -37
- package/skills/spec-matrix/assets/test-cases/TC-006.md +0 -50
- package/skills/spec-matrix/assets/test-matrix-example.md +0 -104
- package/skills/spec-matrix/assets/test-matrix-template.md +0 -123
- package/skills/spec-matrix/workflow-assets/dist/index.d.ts +0 -146
- package/skills/spec-matrix/workflow-assets/dist/index.d.ts.map +0 -1
- package/skills/spec-matrix/workflow-assets/dist/index.js +0 -7525
- package/skills/spec-matrix/workflow-assets/dist/invariants.d.ts +0 -6
- package/skills/spec-matrix/workflow-assets/dist/invariants.d.ts.map +0 -1
- package/skills/spec-matrix/workflow-assets/skills/matrix/SKILL.md +0 -35
- package/skills/spec-matrix/workflow-assets/skills/matrix/scripts/invariants.js +0 -1
- package/skills/spec-matrix/workflow-assets/skills/matrix/templates/report/default.md +0 -30
- package/skills/spec-matrix/workflow-assets/skills/matrix/workflows/matrix/def.yaml +0 -82
- package/skills/spec-object-review/SKILL.md +0 -125
- package/skills/spec-object-review/references/object-type-guide.md +0 -118
- package/skills/spec-review/SKILL.md +0 -92
- package/skills/spec-review/references/checklist.md +0 -50
- package/skills/spec-review/workflow-assets/dist/index.d.ts +0 -146
- package/skills/spec-review/workflow-assets/dist/index.d.ts.map +0 -1
- package/skills/spec-review/workflow-assets/dist/index.js +0 -7525
- package/skills/spec-review/workflow-assets/dist/invariants.d.ts +0 -6
- package/skills/spec-review/workflow-assets/dist/invariants.d.ts.map +0 -1
- package/skills/spec-review/workflow-assets/skills/review/SKILL.md +0 -96
- package/skills/spec-review/workflow-assets/skills/review/scripts/invariants.js +0 -61
- package/skills/spec-review/workflow-assets/skills/review/workflows/review/def.yaml +0 -68
- package/skills/spec-risk-complexity-analysis/SKILL.md +0 -92
- package/skills/spec-scope-boundary-analysis/SKILL.md +0 -101
- package/skills/spec-security-analysis/SKILL.md +0 -84
- package/skills/spec-security-analysis/assets/security-analysis-example.md +0 -89
- package/skills/spec-security-analysis/assets/security-analysis-template.md +0 -73
- package/skills/spec-security-analysis/references/component-type-mapping.md +0 -161
- package/skills/spec-security-analysis/references/gdpr/ChII-Principles.md +0 -58
- package/skills/spec-security-analysis/references/gdpr/ChIII-DataSubjectRights.md +0 -84
- package/skills/spec-security-analysis/references/gdpr/ChIV-ControllerProcessor.md +0 -83
- package/skills/spec-security-analysis/references/gdpr/ChV-DataTransfers.md +0 -62
- package/skills/spec-security-analysis/references/gdpr/index.md +0 -54
- package/skills/spec-security-analysis/references/iso27001/A5-OrganizationalControls.md +0 -64
- package/skills/spec-security-analysis/references/iso27001/A6-PeopleControls.md +0 -30
- package/skills/spec-security-analysis/references/iso27001/A7-PhysicalControls.md +0 -35
- package/skills/spec-security-analysis/references/iso27001/A8-TechnologicalControls.md +0 -66
- package/skills/spec-security-analysis/references/iso27001/index.md +0 -43
- package/skills/spec-security-analysis/references/nist-800-53/AC-AccessControl.md +0 -57
- package/skills/spec-security-analysis/references/nist-800-53/AU-AuditAccountability.md +0 -49
- package/skills/spec-security-analysis/references/nist-800-53/CM-ConfigurationManagement.md +0 -36
- package/skills/spec-security-analysis/references/nist-800-53/IA-IdentificationAuthentication.md +0 -44
- package/skills/spec-security-analysis/references/nist-800-53/SA-SystemServicesAcquisition.md +0 -50
- package/skills/spec-security-analysis/references/nist-800-53/SC-SystemCommunications.md +0 -53
- package/skills/spec-security-analysis/references/nist-800-53/SI-SystemInformationIntegrity.md +0 -52
- package/skills/spec-security-analysis/references/nist-800-53/index.md +0 -58
- package/skills/spec-security-analysis/references/owasp-asvs/V1-Architecture.md +0 -33
- package/skills/spec-security-analysis/references/owasp-asvs/V10-MaliciousCode.md +0 -33
- package/skills/spec-security-analysis/references/owasp-asvs/V11-BusinessLogic.md +0 -32
- package/skills/spec-security-analysis/references/owasp-asvs/V12-Files.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V13-API.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V14-Configuration.md +0 -35
- package/skills/spec-security-analysis/references/owasp-asvs/V2-Authentication.md +0 -36
- package/skills/spec-security-analysis/references/owasp-asvs/V3-SessionManagement.md +0 -35
- package/skills/spec-security-analysis/references/owasp-asvs/V4-AccessControl.md +0 -39
- package/skills/spec-security-analysis/references/owasp-asvs/V5-Validation.md +0 -37
- package/skills/spec-security-analysis/references/owasp-asvs/V6-Cryptography.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V7-ErrorLogging.md +0 -37
- package/skills/spec-security-analysis/references/owasp-asvs/V8-DataProtection.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V9-Communication.md +0 -32
- package/skills/spec-security-analysis/references/owasp-asvs/index.md +0 -59
- package/skills/spec-security-analysis/references/soc2/CC1-ControlEnvironment.md +0 -31
- package/skills/spec-security-analysis/references/soc2/CC2-CommunicationInformation.md +0 -27
- package/skills/spec-security-analysis/references/soc2/CC3-RiskAssessment.md +0 -29
- package/skills/spec-security-analysis/references/soc2/CC4-MonitoringActivities.md +0 -27
- package/skills/spec-security-analysis/references/soc2/CC5-ControlActivities.md +0 -28
- package/skills/spec-security-analysis/references/soc2/CC6-LogicalPhysicalAccess.md +0 -45
- package/skills/spec-security-analysis/references/soc2/CC7-SystemOperations.md +0 -42
- package/skills/spec-security-analysis/references/soc2/CC8-ChangeManagement.md +0 -32
- package/skills/spec-security-analysis/references/soc2/CC9-RiskMitigation.md +0 -34
- package/skills/spec-security-analysis/references/soc2/index.md +0 -46
- package/skills/spec-security-analysis/references/standards-index.md +0 -46
- package/skills/spec-to-plan/SKILL.md +0 -88
- package/skills/spec-to-plan/references/step-0-plan-selection.md +0 -121
- package/skills/spec-to-plan/references/step-1-analysis.md +0 -88
- package/skills/spec-to-plan/references/step-2-test-plan.md +0 -43
- package/skills/spec-to-plan/references/step-3-execution-plan.md +0 -218
- package/skills/spec-to-plan/workflow-assets/dist/index.d.ts +0 -146
- package/skills/spec-to-plan/workflow-assets/dist/index.d.ts.map +0 -1
- package/skills/spec-to-plan/workflow-assets/dist/index.js +0 -7525
- package/skills/spec-to-plan/workflow-assets/dist/invariants.d.ts +0 -6
- package/skills/spec-to-plan/workflow-assets/dist/invariants.d.ts.map +0 -1
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/SKILL.md +0 -35
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/scripts/invariants.js +0 -1
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/templates/implementation-plan/default.md +0 -44
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/workflows/to-plan/def.yaml +0 -85
- package/skills/specify/SKILL.md +0 -154
- package/skills/specify/assets/app-spec-template.md +0 -143
- package/skills/specify/assets/spec-template.md +0 -299
- package/skills/specify/references/integration-tests.md +0 -72
- package/skills/specify/references/us-to-fr.md +0 -40
- package/skills/specify/references/writing-good-requirements.md +0 -61
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://agent-ix.github.io/quoin/schemas/verification-receipt-v1.schema.json",
|
|
4
|
-
"title": "VerificationReceiptV1",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"required": [
|
|
7
|
-
"schema_version",
|
|
8
|
-
"record_type",
|
|
9
|
-
"digest",
|
|
10
|
-
"record_digest",
|
|
11
|
-
"candidate_revision",
|
|
12
|
-
"decision_event",
|
|
13
|
-
"parent_digests",
|
|
14
|
-
"checks",
|
|
15
|
-
"proofs",
|
|
16
|
-
"unknowns",
|
|
17
|
-
"outcome",
|
|
18
|
-
"reasons"
|
|
19
|
-
],
|
|
20
|
-
"properties": {
|
|
21
|
-
"schema_version": { "const": 1 },
|
|
22
|
-
"record_type": { "const": "verification_receipt" },
|
|
23
|
-
"digest": { "$ref": "#/$defs/digest" },
|
|
24
|
-
"record_digest": { "$ref": "#/$defs/digest" },
|
|
25
|
-
"candidate_revision": { "type": "string", "minLength": 1 },
|
|
26
|
-
"decision_event": {
|
|
27
|
-
"anyOf": [{ "$ref": "#/$defs/decision_event" }, { "type": "null" }]
|
|
28
|
-
},
|
|
29
|
-
"parent_digests": {
|
|
30
|
-
"type": "array",
|
|
31
|
-
"items": { "$ref": "#/$defs/digest" }
|
|
32
|
-
},
|
|
33
|
-
"checks": {
|
|
34
|
-
"type": "object",
|
|
35
|
-
"required": ["record", "lineage", "review", "impact"],
|
|
36
|
-
"properties": {
|
|
37
|
-
"record": { "$ref": "#/$defs/check" },
|
|
38
|
-
"lineage": { "$ref": "#/$defs/check" },
|
|
39
|
-
"review": { "$ref": "#/$defs/check" },
|
|
40
|
-
"impact": { "$ref": "#/$defs/check" }
|
|
41
|
-
},
|
|
42
|
-
"additionalProperties": false
|
|
43
|
-
},
|
|
44
|
-
"proofs": {
|
|
45
|
-
"type": "array",
|
|
46
|
-
"items": { "$ref": "#/$defs/proof_receipt" }
|
|
47
|
-
},
|
|
48
|
-
"unknowns": {
|
|
49
|
-
"type": "array",
|
|
50
|
-
"items": {
|
|
51
|
-
"type": "object",
|
|
52
|
-
"required": ["id", "disposition"],
|
|
53
|
-
"properties": {
|
|
54
|
-
"id": { "$ref": "#/$defs/identity" },
|
|
55
|
-
"disposition": {
|
|
56
|
-
"type": "string",
|
|
57
|
-
"enum": ["open", "accepted", "deferred", "resolved"]
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"additionalProperties": false
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"outcome": { "$ref": "#/$defs/outcome" },
|
|
64
|
-
"reasons": {
|
|
65
|
-
"type": "array",
|
|
66
|
-
"items": { "$ref": "#/$defs/reason" }
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"$defs": {
|
|
70
|
-
"identity": {
|
|
71
|
-
"type": "string",
|
|
72
|
-
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,255}$"
|
|
73
|
-
},
|
|
74
|
-
"digest": {
|
|
75
|
-
"type": "string",
|
|
76
|
-
"pattern": "^[a-f0-9]{64}$"
|
|
77
|
-
},
|
|
78
|
-
"outcome": {
|
|
79
|
-
"type": "string",
|
|
80
|
-
"enum": ["valid", "invalid", "incomplete"]
|
|
81
|
-
},
|
|
82
|
-
"reason": {
|
|
83
|
-
"type": "string",
|
|
84
|
-
"enum": [
|
|
85
|
-
"schema_invalid",
|
|
86
|
-
"record_digest_mismatch",
|
|
87
|
-
"parent_missing",
|
|
88
|
-
"parent_invalid",
|
|
89
|
-
"parent_mismatch",
|
|
90
|
-
"revision_gap",
|
|
91
|
-
"impact_incomplete",
|
|
92
|
-
"impact_truncated",
|
|
93
|
-
"unresolved_unknown",
|
|
94
|
-
"decision_missing",
|
|
95
|
-
"event_chain_missing",
|
|
96
|
-
"event_chain_invalid",
|
|
97
|
-
"decision_mismatch",
|
|
98
|
-
"review_rejected",
|
|
99
|
-
"review_revision_requested",
|
|
100
|
-
"attestation_missing",
|
|
101
|
-
"attestation_schema_invalid",
|
|
102
|
-
"attestation_digest_mismatch",
|
|
103
|
-
"output_missing",
|
|
104
|
-
"output_digest_mismatch",
|
|
105
|
-
"record_binding_mismatch",
|
|
106
|
-
"candidate_revision_mismatch",
|
|
107
|
-
"proof_id_mismatch",
|
|
108
|
-
"command_mismatch",
|
|
109
|
-
"tool_identity_mismatch",
|
|
110
|
-
"configuration_mismatch",
|
|
111
|
-
"result_failed",
|
|
112
|
-
"result_unavailable",
|
|
113
|
-
"result_not_computed",
|
|
114
|
-
"evidence_stale",
|
|
115
|
-
"evidence_suspect",
|
|
116
|
-
"evidence_vacuous",
|
|
117
|
-
"evidence_unrelated",
|
|
118
|
-
"audit_finding",
|
|
119
|
-
"audit_not_evaluated"
|
|
120
|
-
]
|
|
121
|
-
},
|
|
122
|
-
"check": {
|
|
123
|
-
"type": "object",
|
|
124
|
-
"required": ["outcome", "reasons"],
|
|
125
|
-
"properties": {
|
|
126
|
-
"outcome": { "$ref": "#/$defs/outcome" },
|
|
127
|
-
"reasons": {
|
|
128
|
-
"type": "array",
|
|
129
|
-
"items": { "$ref": "#/$defs/reason" }
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
"additionalProperties": false
|
|
133
|
-
},
|
|
134
|
-
"decision_event": {
|
|
135
|
-
"type": "object",
|
|
136
|
-
"required": [
|
|
137
|
-
"run_id",
|
|
138
|
-
"event_id",
|
|
139
|
-
"event_hash",
|
|
140
|
-
"chain_tail_hash",
|
|
141
|
-
"recorded_actor",
|
|
142
|
-
"decision"
|
|
143
|
-
],
|
|
144
|
-
"properties": {
|
|
145
|
-
"run_id": { "$ref": "#/$defs/identity" },
|
|
146
|
-
"event_id": { "$ref": "#/$defs/identity" },
|
|
147
|
-
"event_hash": { "$ref": "#/$defs/digest" },
|
|
148
|
-
"chain_tail_hash": { "$ref": "#/$defs/digest" },
|
|
149
|
-
"recorded_actor": { "type": "string", "minLength": 1 },
|
|
150
|
-
"decision": {
|
|
151
|
-
"type": "string",
|
|
152
|
-
"enum": ["approved", "rejected", "revise"]
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
"additionalProperties": false
|
|
156
|
-
},
|
|
157
|
-
"audit_finding": {
|
|
158
|
-
"type": "object",
|
|
159
|
-
"required": ["obligation_id", "kind"],
|
|
160
|
-
"properties": {
|
|
161
|
-
"obligation_id": { "$ref": "#/$defs/identity" },
|
|
162
|
-
"kind": { "type": "string", "minLength": 1 }
|
|
163
|
-
},
|
|
164
|
-
"additionalProperties": false
|
|
165
|
-
},
|
|
166
|
-
"proof_receipt": {
|
|
167
|
-
"type": "object",
|
|
168
|
-
"required": [
|
|
169
|
-
"proof_id",
|
|
170
|
-
"obligation_ids",
|
|
171
|
-
"attestation_digest",
|
|
172
|
-
"retained_output_digest",
|
|
173
|
-
"audit_report_digest",
|
|
174
|
-
"audit_findings",
|
|
175
|
-
"outcome",
|
|
176
|
-
"reasons"
|
|
177
|
-
],
|
|
178
|
-
"properties": {
|
|
179
|
-
"proof_id": { "$ref": "#/$defs/identity" },
|
|
180
|
-
"obligation_ids": {
|
|
181
|
-
"type": "array",
|
|
182
|
-
"minItems": 1,
|
|
183
|
-
"items": { "$ref": "#/$defs/identity" }
|
|
184
|
-
},
|
|
185
|
-
"attestation_digest": {
|
|
186
|
-
"anyOf": [{ "$ref": "#/$defs/digest" }, { "type": "null" }]
|
|
187
|
-
},
|
|
188
|
-
"retained_output_digest": {
|
|
189
|
-
"anyOf": [{ "$ref": "#/$defs/digest" }, { "type": "null" }]
|
|
190
|
-
},
|
|
191
|
-
"audit_report_digest": {
|
|
192
|
-
"anyOf": [{ "$ref": "#/$defs/digest" }, { "type": "null" }]
|
|
193
|
-
},
|
|
194
|
-
"audit_findings": {
|
|
195
|
-
"type": "array",
|
|
196
|
-
"items": { "$ref": "#/$defs/audit_finding" }
|
|
197
|
-
},
|
|
198
|
-
"outcome": { "$ref": "#/$defs/outcome" },
|
|
199
|
-
"reasons": {
|
|
200
|
-
"type": "array",
|
|
201
|
-
"items": { "$ref": "#/$defs/reason" }
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
|
-
"additionalProperties": false
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
"additionalProperties": false
|
|
208
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface EmptyGateFinding {
|
|
2
|
-
kind: "gate-that-gates-nothing";
|
|
3
|
-
obligation: string;
|
|
4
|
-
path: string;
|
|
5
|
-
line: number;
|
|
6
|
-
wiredBy: string;
|
|
7
|
-
summary: string;
|
|
8
|
-
subject: string;
|
|
9
|
-
changeTarget: string;
|
|
10
|
-
remedy: string;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Find a declared, wired shell gate that counts forbidden matches but never
|
|
14
|
-
* asserts the count. The three-way join is deliberate: script text alone
|
|
15
|
-
* cannot distinguish a gate from a report (agent-ix/quoin#224).
|
|
16
|
-
*/
|
|
17
|
-
export declare function inspectEmptyGates(repo: string): EmptyGateFinding[];
|
|
18
|
-
//# sourceMappingURL=gates.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gates.d.ts","sourceRoot":"","sources":["../../src/validators/gates.ts"],"names":[],"mappings":"AAYA,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,yBAAyB,CAAC;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB,EAAE,CA4ClE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/validators/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/version-CMxMIh5g.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { fileURLToPath as e } from "node:url";
|
|
2
|
-
import { readFileSync as t } from "node:fs";
|
|
3
|
-
import { dirname as n, join as r } from "node:path";
|
|
4
|
-
//#region src/version.ts
|
|
5
|
-
function i() {
|
|
6
|
-
let i = n(n(e(import.meta.url))), a = JSON.parse(t(r(i, "package.json"), "utf8"));
|
|
7
|
-
if (typeof a.version != "string") throw Error("package.json version is missing");
|
|
8
|
-
return a.version;
|
|
9
|
-
}
|
|
10
|
-
function a(e) {
|
|
11
|
-
return e || i();
|
|
12
|
-
}
|
|
13
|
-
function o() {
|
|
14
|
-
return a("0.23.1");
|
|
15
|
-
}
|
|
16
|
-
//#endregion
|
|
17
|
-
export { a as n, o as t };
|
package/dist/version.d.ts
DELETED
package/dist/version.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAsBA,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAGpD;AAED,wBAAgB,cAAc,IAAI,MAAM,CAMvC"}
|
package/dist/write-CGTI0dRO.js
DELETED
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import { i as e } from "./base-gAClyCNd.js";
|
|
2
|
-
import { n as t, r as n, t as r } from "./config-schema-Dp-vlxuR.js";
|
|
3
|
-
import { ConfigService as i } from "@agent-ix/ix-cli-core";
|
|
4
|
-
import { existsSync as a, readFileSync as o, statSync as s } from "node:fs";
|
|
5
|
-
import { join as c, resolve as l } from "node:path";
|
|
6
|
-
//#region src/org.ts
|
|
7
|
-
var u = "could not determine the authoring organization: no --org flag, no QUOIN_ORG, no stored config, and no [remote \"origin\"] in .git/config. Pass --org <name>, or store one with `quoin config set org <name>`.";
|
|
8
|
-
function d(e, t = {}) {
|
|
9
|
-
let n = t.flag?.trim();
|
|
10
|
-
if (n) return {
|
|
11
|
-
org: n,
|
|
12
|
-
source: "flag"
|
|
13
|
-
};
|
|
14
|
-
if (t.env) {
|
|
15
|
-
let e = t.env.QUOIN_ORG?.trim();
|
|
16
|
-
if (e) return {
|
|
17
|
-
org: e,
|
|
18
|
-
source: "env"
|
|
19
|
-
};
|
|
20
|
-
} else {
|
|
21
|
-
let e = f(t);
|
|
22
|
-
if (e) return {
|
|
23
|
-
org: e,
|
|
24
|
-
source: process.env.QUOIN_ORG?.trim() === e ? "env" : "config"
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
let r = p(e);
|
|
28
|
-
return r ? {
|
|
29
|
-
org: r,
|
|
30
|
-
source: "git"
|
|
31
|
-
} : { source: "none" };
|
|
32
|
-
}
|
|
33
|
-
function f(e) {
|
|
34
|
-
return i.forPlugin(t, n, {
|
|
35
|
-
envBindings: r,
|
|
36
|
-
...e.projectConfigRoot ? { projectConfigRoot: e.projectConfigRoot } : {},
|
|
37
|
-
...e.projectConfigEnabled === void 0 ? {} : { projectConfigEnabled: e.projectConfigEnabled }
|
|
38
|
-
}).get().org?.trim();
|
|
39
|
-
}
|
|
40
|
-
function p(e) {
|
|
41
|
-
let t = m(e);
|
|
42
|
-
if (t) try {
|
|
43
|
-
return h(o(c(t, "config"), "utf8"));
|
|
44
|
-
} catch {
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
function m(e) {
|
|
49
|
-
let t = c(e, ".git"), n;
|
|
50
|
-
try {
|
|
51
|
-
n = s(t);
|
|
52
|
-
} catch {
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
if (n.isDirectory()) return t;
|
|
56
|
-
try {
|
|
57
|
-
let n = o(t, "utf8").match(/^gitdir:\s*(.+)$/m)?.[1];
|
|
58
|
-
if (!n) return;
|
|
59
|
-
let r = l(e, n.trim());
|
|
60
|
-
try {
|
|
61
|
-
let e = o(c(r, "commondir"), "utf8").trim();
|
|
62
|
-
return l(r, e);
|
|
63
|
-
} catch {
|
|
64
|
-
return r;
|
|
65
|
-
}
|
|
66
|
-
} catch {
|
|
67
|
-
return;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
function h(e) {
|
|
71
|
-
let t = !1;
|
|
72
|
-
for (let n of e.split("\n")) {
|
|
73
|
-
let e = n.trim();
|
|
74
|
-
if (e.startsWith("[")) {
|
|
75
|
-
t = e.replaceAll(/\s/g, "").toLowerCase().startsWith("[remote") && e.replaceAll(/\s/g, "").slice(7) === "\"origin\"]";
|
|
76
|
-
continue;
|
|
77
|
-
}
|
|
78
|
-
if (!t || !e.startsWith("url")) continue;
|
|
79
|
-
let r = e.slice(3).trimStart();
|
|
80
|
-
if (r.startsWith("=")) return g(r.slice(1).trim());
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
function g(e) {
|
|
84
|
-
let t, n = /^[A-Za-z][A-Za-z0-9+.-]*:\/\//.exec(e);
|
|
85
|
-
if (n) {
|
|
86
|
-
if (e.slice(0, n[0].length - 3).toLowerCase() === "file") return;
|
|
87
|
-
let r = e.slice(n[0].length).indexOf("/");
|
|
88
|
-
if (r === -1) return;
|
|
89
|
-
t = e.slice(n[0].length + r + 1);
|
|
90
|
-
} else if (!e.startsWith("/") && !e.startsWith(".") && !e.startsWith("~")) {
|
|
91
|
-
let n = e.indexOf(":");
|
|
92
|
-
if (n === -1) return;
|
|
93
|
-
t = e.slice(n + 1);
|
|
94
|
-
} else return;
|
|
95
|
-
let r = t.replace(/\/+$/, "").split("/").filter(Boolean);
|
|
96
|
-
if (!(r.length < 2)) return r[r.length - 2];
|
|
97
|
-
}
|
|
98
|
-
//#endregion
|
|
99
|
-
//#region src/write.ts
|
|
100
|
-
var _ = {
|
|
101
|
-
flag: "--org",
|
|
102
|
-
env: "QUOIN_ORG",
|
|
103
|
-
config: "stored config",
|
|
104
|
-
git: "git remote",
|
|
105
|
-
none: "nothing"
|
|
106
|
-
};
|
|
107
|
-
function v(e) {
|
|
108
|
-
return (Array.isArray(e) ? e : e ? [e] : []).flatMap((e) => e.split(",")).map((e) => e.trim()).filter(Boolean);
|
|
109
|
-
}
|
|
110
|
-
function y(t, n, r, i = {}) {
|
|
111
|
-
if (r.length === 0) throw Error("write requires --types <type[,type...]>");
|
|
112
|
-
let o = l(n);
|
|
113
|
-
if (!a(o) || !s(o).isDirectory()) throw Error(`write repo_dir is not a directory: ${n}`);
|
|
114
|
-
let c = r.map((n) => {
|
|
115
|
-
let r = e(t, n);
|
|
116
|
-
if (!r) throw Error(`catalog type not found: ${n}\nAvailable types: ${t.entries.map((e) => e.name).sort((e, t) => e.localeCompare(t)).join(", ")}`);
|
|
117
|
-
return x(r);
|
|
118
|
-
}), { org: u, source: f } = d(o, { flag: i.org });
|
|
119
|
-
return {
|
|
120
|
-
repoRoot: o,
|
|
121
|
-
...u ? { org: u } : {},
|
|
122
|
-
orgSource: f,
|
|
123
|
-
types: c,
|
|
124
|
-
validation: {
|
|
125
|
-
command: `quire validate --scope ${S(o)} "spec/**/*.md"`,
|
|
126
|
-
scope: o,
|
|
127
|
-
globs: ["spec/**/*.md"]
|
|
128
|
-
}
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
function b(e) {
|
|
132
|
-
let t = [
|
|
133
|
-
"quoin write",
|
|
134
|
-
"",
|
|
135
|
-
`Repo: ${e.repoRoot}`,
|
|
136
|
-
e.org ? `Org: ${e.org} (from ${_[e.orgSource]})` : `Org: unresolved — ${u}`,
|
|
137
|
-
"",
|
|
138
|
-
"Authoring contracts:"
|
|
139
|
-
];
|
|
140
|
-
for (let n of e.types) t.push(`- ${n.name} (${n.kind})`), t.push(` module: ${n.moduleName}`), t.push(` module_root: ${n.moduleRoot}`), n.skeletonPath && t.push(` skeleton: ${n.skeletonPath}`), n.schemaPath && t.push(` schema: ${n.schemaPath}`), !n.skeletonPath && !n.schemaPath && t.push(" contract: manifest only");
|
|
141
|
-
return t.push(""), t.push("Author files directly in the repo, then validate changed spec files."), t.push(`Validate scope: ${e.validation.scope}`), t.push(`Validate command: ${e.validation.command}`), t.join("\n");
|
|
142
|
-
}
|
|
143
|
-
function x(e) {
|
|
144
|
-
return {
|
|
145
|
-
name: e.name,
|
|
146
|
-
kind: e.kind,
|
|
147
|
-
moduleName: e.moduleName,
|
|
148
|
-
moduleRoot: e.moduleRoot,
|
|
149
|
-
...e.schemaPath ? { schemaPath: e.schemaPath } : {},
|
|
150
|
-
...e.skeletonPath ? { skeletonPath: e.skeletonPath } : {}
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
function S(e) {
|
|
154
|
-
return /^[A-Za-z0-9_./:-]+$/.test(e) ? e : `'${e.replaceAll("'", "'\\''")}'`;
|
|
155
|
-
}
|
|
156
|
-
//#endregion
|
|
157
|
-
export { h as a, u as i, b as n, d as o, v as r, y as t };
|
package/dist/write.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { SpecCatalog } from './catalog.js';
|
|
2
|
-
import { OrgSource } from './org.js';
|
|
3
|
-
export interface AuthoringContract {
|
|
4
|
-
name: string;
|
|
5
|
-
kind: "artifact" | "object";
|
|
6
|
-
moduleName: string;
|
|
7
|
-
moduleRoot: string;
|
|
8
|
-
schemaPath?: string;
|
|
9
|
-
skeletonPath?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface AuthoringPack {
|
|
12
|
-
repoRoot: string;
|
|
13
|
-
/** Authoring organization, absent when no source yielded one (FR-025). */
|
|
14
|
-
org?: string;
|
|
15
|
-
orgSource: OrgSource;
|
|
16
|
-
types: AuthoringContract[];
|
|
17
|
-
validation: {
|
|
18
|
-
command: string;
|
|
19
|
-
scope: string;
|
|
20
|
-
globs: string[];
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export declare function parseTypeList(value: string | string[] | undefined): string[];
|
|
24
|
-
export declare function createAuthoringPack(catalog: SpecCatalog, repoDir: string, typeNames: string[], options?: {
|
|
25
|
-
org?: string;
|
|
26
|
-
}): AuthoringPack;
|
|
27
|
-
export declare function formatAuthoringPack(pack: AuthoringPack): string;
|
|
28
|
-
//# sourceMappingURL=write.d.ts.map
|
package/dist/write.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"write.d.ts","sourceRoot":"","sources":["../src/write.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,cAAc,CAAC;AACtB,OAAO,EAA0B,KAAK,SAAS,EAAc,MAAM,UAAU,CAAC;AAW9E,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,UAAU,GAAG,QAAQ,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,0EAA0E;IAC1E,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,UAAU,EAAE;QACV,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,EAAE,CAAC;KACjB,CAAC;CACH;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,GAAG,MAAM,EAAE,CAM5E;AAED,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,EAAE,EACnB,OAAO,GAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAO,GAC7B,aAAa,CAmCf;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,CA4B/D"}
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: assurance-status-report
|
|
3
|
-
description: Produce an evidence-backed status report for a Quoin/Quire epic, phase, or assurance campaign. Use when asked for progress, percent complete, before/after metrics, completed-ticket inventory, open-work classification, or readiness for the next phase. The workflow is read-only and does not comment on, close, or modify tickets or repositories.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Assurance Status Report
|
|
7
|
-
|
|
8
|
-
Report what the retained evidence proves about a named goal. Use Quoin for
|
|
9
|
-
measurement meaning and history, Quire for producer provenance, git for local
|
|
10
|
-
state, and GitHub for current ticket and promotion state. Do not recreate their
|
|
11
|
-
analysis in the skill.
|
|
12
|
-
|
|
13
|
-
Read [references/report-contract.md](references/report-contract.md) before
|
|
14
|
-
assembling the report.
|
|
15
|
-
|
|
16
|
-
## Boundary
|
|
17
|
-
|
|
18
|
-
This workflow is read-only. It may inspect repositories, retained evidence, and
|
|
19
|
-
remote ticket state. It must not run measurement producers, update baselines,
|
|
20
|
-
modify evidence, push branches, or create/comment/close/reopen issues or pull
|
|
21
|
-
requests unless the user separately authorizes that mutation.
|
|
22
|
-
|
|
23
|
-
A closed ticket is workflow state, not proof of completion. Match each claimed
|
|
24
|
-
result to its acceptance evidence, promoted commit, and relevant current-state
|
|
25
|
-
check.
|
|
26
|
-
|
|
27
|
-
## Inputs
|
|
28
|
-
|
|
29
|
-
Establish these before collecting evidence:
|
|
30
|
-
|
|
31
|
-
- the goal, epic, phase, or campaign being reported;
|
|
32
|
-
- repositories and tickets in scope;
|
|
33
|
-
- work the user explicitly excluded;
|
|
34
|
-
- the baseline and current endpoint; and
|
|
35
|
-
- whether the user also wants an intermediate phase boundary.
|
|
36
|
-
|
|
37
|
-
If no baseline is named, use the earliest retained collection explicitly linked
|
|
38
|
-
by the target epic. Use the latest compatible retained collection as current.
|
|
39
|
-
State that selection instead of silently choosing favorable snapshots.
|
|
40
|
-
|
|
41
|
-
## Collect exact evidence
|
|
42
|
-
|
|
43
|
-
### Repository state
|
|
44
|
-
|
|
45
|
-
For every participating repository, record:
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
git rev-parse HEAD
|
|
49
|
-
git status --porcelain
|
|
50
|
-
git remote get-url origin
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
Resolve revisions to full 40-character SHAs. Use the canonical remote and a
|
|
54
|
-
versioned, read-only GitHub query to confirm current default-branch and commit
|
|
55
|
-
reachability, for example:
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
gh api --header 'X-GitHub-Api-Version: 2022-11-28' \
|
|
59
|
-
repos/OWNER/REPO/commits/FULL_SHA
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
Validate required response fields rather than assuming a successful command
|
|
63
|
-
returned the requested object. Record dirty, unreachable, ambiguous, or
|
|
64
|
-
wrong-origin state as a limitation; never normalize it to clean.
|
|
65
|
-
|
|
66
|
-
### Tool and measurement state
|
|
67
|
-
|
|
68
|
-
Use existing machine-readable interfaces:
|
|
69
|
-
|
|
70
|
-
```bash
|
|
71
|
-
quoin report --format json
|
|
72
|
-
quoin report --series METRIC --format json
|
|
73
|
-
quoin report --since FULL_BASELINE_REVISION --format json
|
|
74
|
-
quire provenance --json
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
Use `quoin report` to discover active MeasurementPlans and retained values. Use
|
|
78
|
-
the series or comparison view for historical values; do not scrape rendered
|
|
79
|
-
human output when JSON exists. Confirm Quire's provenance schema, full CLI and
|
|
80
|
-
engine revisions, clean state, and required capabilities before attributing a
|
|
81
|
-
measurement to it.
|
|
82
|
-
|
|
83
|
-
Record the exact collection id, timestamp, source revision, corpus revision,
|
|
84
|
-
tool identity/version, configuration digest, definition version, and population
|
|
85
|
-
identity supporting each reported value. If the repository has a verification
|
|
86
|
-
stack attestation, report its lock and executable digests.
|
|
87
|
-
|
|
88
|
-
Do not regenerate evidence merely to answer a status question. A new run changes
|
|
89
|
-
the evidence state and requires separate authorization.
|
|
90
|
-
|
|
91
|
-
### Ticket and promotion state
|
|
92
|
-
|
|
93
|
-
Use versioned read-only GitHub REST or GraphQL queries. For each issue capture at
|
|
94
|
-
least number, title, state, URL, and closed time. For each delivery pull request
|
|
95
|
-
capture state, base/head branches, merge time, merge commit, and URL. Confirm the
|
|
96
|
-
current default-branch SHA separately.
|
|
97
|
-
|
|
98
|
-
Follow relationships from the target epic and its retained implementation
|
|
99
|
-
comments. Do not equate “mentioned nearby” with “child.” Classify every remaining
|
|
100
|
-
item as blocking, non-blocking, downstream, excluded, or unknown and state the
|
|
101
|
-
evidence for that disposition.
|
|
102
|
-
|
|
103
|
-
## Interpret without hiding drift
|
|
104
|
-
|
|
105
|
-
Define every project-specific term before its first use in the metrics section.
|
|
106
|
-
Derive definitions from the active MeasurementPlan or other versioned contract.
|
|
107
|
-
At minimum define any use of finding, controlled case, differential pair,
|
|
108
|
-
localization, L1/L2/L3, actionability, span grounding, safe refusal, Tier 1,
|
|
109
|
-
Tier 2, ratchet, drift mutation, comparability, or fail closed.
|
|
110
|
-
|
|
111
|
-
For every percentage, report its numerator and denominator. Express rate changes
|
|
112
|
-
as percentage points. Compare baseline and current numerically only when their
|
|
113
|
-
definition versions and population identities are compatible. If either moved,
|
|
114
|
-
show both values and explain the change, but mark the delta incomparable.
|
|
115
|
-
|
|
116
|
-
Keep historical metrics visible when a stronger successor exists. Explain why
|
|
117
|
-
the successor is more decision-relevant; do not relabel old evidence under the
|
|
118
|
-
new definition.
|
|
119
|
-
|
|
120
|
-
If the user asks for percent complete, use authored task weights when present.
|
|
121
|
-
Otherwise report the unweighted count of proven-complete in-scope tasks and say
|
|
122
|
-
that this is the method. Present verification and promotion gates separately so
|
|
123
|
-
a high task percentage cannot conceal an unverified result.
|
|
124
|
-
|
|
125
|
-
## Report and stop
|
|
126
|
-
|
|
127
|
-
Follow the ordering in the report contract: status, definitions, metrics,
|
|
128
|
-
completed work, open work, drift controls, limitations, and progress judgment.
|
|
129
|
-
Lead with whether the named goal is complete, progressing, at risk, blocked, or
|
|
130
|
-
not started, but put the glossary before the first detailed metric use.
|
|
131
|
-
|
|
132
|
-
Link to the exact retained collections, issues, pull requests, and promoted
|
|
133
|
-
commits. Distinguish evidence observed now from historical evidence retained by
|
|
134
|
-
the campaign. If required evidence is missing or incompatible, say
|
|
135
|
-
`unknown` or `not_computed` and identify what would resolve it.
|