@agent-ix/quoin 0.15.1 → 0.17.0
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/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/default-modules.yaml +4 -4
- package/dist/advisor/advise.d.ts.map +1 -1
- package/dist/advisor/methods.d.ts +11 -1
- package/dist/advisor/methods.d.ts.map +1 -1
- package/dist/{advisor-D35K3_iI.js → advisor-Dhy9S7PS.js} +21 -8
- package/dist/audit-CudnEJmh.js +127 -0
- package/dist/auditor/audit.d.ts +15 -4
- package/dist/auditor/audit.d.ts.map +1 -1
- package/dist/auditor/index.d.ts +1 -1
- package/dist/auditor/index.d.ts.map +1 -1
- package/dist/{base-CtpwIg4M.js → base-D_-Jy4cE.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/commands/advise.d.ts +16 -0
- package/dist/commands/advise.d.ts.map +1 -0
- package/dist/commands/advise.js +161 -0
- package/dist/commands/catalog/list.js +2 -2
- package/dist/commands/catalog/methods.js +3 -3
- package/dist/commands/catalog/show.js +2 -2
- package/dist/commands/catalog/validate.js +2 -2
- package/dist/commands/config/doctor.js +1 -1
- package/dist/commands/config/edit.js +1 -1
- package/dist/commands/config/get.js +1 -1
- package/dist/commands/config/set.js +1 -1
- package/dist/commands/evidence/affirm.d.ts.map +1 -1
- package/dist/commands/evidence/affirm.js +36 -50
- package/dist/commands/evidence/audit.d.ts +1 -0
- package/dist/commands/evidence/audit.d.ts.map +1 -1
- package/dist/commands/evidence/audit.js +46 -158
- package/dist/commands/evidence/baseline.d.ts +14 -0
- package/dist/commands/evidence/baseline.d.ts.map +1 -0
- package/dist/commands/evidence/baseline.js +79 -0
- package/dist/commands/evidence/gc.js +2 -2
- package/dist/commands/evidence/index.d.ts.map +1 -1
- package/dist/commands/evidence/index.js +4 -2
- package/dist/commands/evidence/record.d.ts +1 -0
- package/dist/commands/evidence/record.d.ts.map +1 -1
- package/dist/commands/evidence/record.js +34 -47
- package/dist/commands/matrix.js +1 -1
- package/dist/commands/module/ensure-defaults.js +3 -3
- package/dist/commands/module/install.js +2 -2
- package/dist/commands/module/list.js +2 -2
- package/dist/commands/module/remove.js +2 -2
- package/dist/commands/review.js +1 -1
- package/dist/commands/to-plan.js +1 -1
- package/dist/commands/update.js +2 -2
- package/dist/commands/write.js +3 -3
- package/dist/evidence/index.d.ts +1 -1
- package/dist/evidence/index.d.ts.map +1 -1
- package/dist/evidence/record.d.ts +6 -0
- package/dist/evidence/record.d.ts.map +1 -1
- package/dist/evidence/store.d.ts +76 -6
- package/dist/evidence/store.d.ts.map +1 -1
- package/dist/evidence/types.d.ts +26 -5
- package/dist/evidence/types.d.ts.map +1 -1
- package/dist/{evidence-BvUyw-Yv.js → evidence-QUw0KyMH.js} +76 -38
- package/dist/{flow-command-BSMqxass.js → flow-command-B-ZBn9Sd.js} +1 -1
- package/dist/index.js +6 -6
- package/dist/{modules-Ckfaq5p4.js → modules-DSkUXhHn.js} +2 -2
- package/dist/{plugins-CLuXx2Jr.js → plugins-DiS0OXoo.js} +1 -1
- package/dist/quire/exec.d.ts +44 -0
- package/dist/quire/exec.d.ts.map +1 -0
- package/dist/quire/index.d.ts +1 -0
- package/dist/quire/index.d.ts.map +1 -1
- package/dist/{quire-MbMdffPh.js → quire-D7ra5rUF.js} +315 -261
- package/dist/{version-By2YFRZQ.js → version-DmZHxX4n.js} +1 -1
- package/dist/{write-8JJ8Dumo.js → write-CPdSNIkF.js} +1 -1
- package/package.json +1 -1
- package/skills/spec-evidence-analysis/SKILL.md +27 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e } from "./base-
|
|
1
|
+
import { i as e } from "./base-D_-Jy4cE.js";
|
|
2
2
|
import { n as t, r as n, t as r } from "./config-schema-Dp-vlxuR.js";
|
|
3
3
|
import { ConfigService as i } from "@agent-ix/ix-cli-core";
|
|
4
4
|
import { existsSync as a, readFileSync as o, statSync as s } from "node:fs";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-ix/quoin",
|
|
3
3
|
"description": "Spec-driven development for Claude Code — author validated, ISO/IEC/IEEE 29148-aligned specs, then plan and build against them.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.17.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
@@ -23,7 +23,22 @@ declared catalog**, and flags where the authored choice disagrees.
|
|
|
23
23
|
- At **Matrix** time, to plan which suites the chosen methods imply.
|
|
24
24
|
- Whenever a new NFR is added — NFRs are the ones most prone to a defaulted method.
|
|
25
25
|
|
|
26
|
-
##
|
|
26
|
+
## Run the advisor, do not recall the table
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
quoin advise # every obligation, with its recommendations
|
|
30
|
+
quoin advise --mismatch-only # only where the authored method disagrees
|
|
31
|
+
quoin advise --inconclusive-only # only where no rule matched — your work list
|
|
32
|
+
quoin advise --json # for scripting
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
`quoin advise` derives the obligations from `quire coverage --json`, reads each
|
|
36
|
+
criterion's FR-052 property shape from `quire properties --json`, and matches
|
|
37
|
+
both against the catalog's `applicability` rules. **This is the deterministic
|
|
38
|
+
half of the analysis and it is not optional** — a method you recalled is a
|
|
39
|
+
method nobody can check.
|
|
40
|
+
|
|
41
|
+
The catalog behind it:
|
|
27
42
|
|
|
28
43
|
```bash
|
|
29
44
|
quoin catalog methods # human-readable, grouped by class
|
|
@@ -31,28 +46,29 @@ quoin catalog methods --json # the merged catalog, for scripting
|
|
|
31
46
|
quoin catalog methods --class Analysis
|
|
32
47
|
```
|
|
33
48
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
49
|
+
Merged first-wins across active modules, exactly as quire-rs merges it — so the
|
|
50
|
+
method you are advised is the method the auditor will later check conformance
|
|
51
|
+
against.
|
|
37
52
|
|
|
38
53
|
## Process
|
|
39
54
|
|
|
40
|
-
1. **
|
|
41
|
-
|
|
42
|
-
|
|
55
|
+
1. **Run `quoin advise`.** It carries the obligations (quire-rs FR-053: id,
|
|
56
|
+
statement, hash, authored method, criticality) *and* the recommendations.
|
|
57
|
+
Do not restate either by hand.
|
|
43
58
|
|
|
44
59
|
2. **Take the deterministic recommendations first.** They come from the
|
|
45
60
|
catalog's `applicability` rules matched against facts about the obligation:
|
|
46
|
-
its statement's characteristics, its FR-052 property shape,
|
|
47
|
-
|
|
61
|
+
its statement's characteristics, its FR-052 property shape, its archetype.
|
|
62
|
+
Rules match or they do not. Each recommendation names the rule and the value
|
|
63
|
+
that matched, so you can check the reasoning rather than trust it.
|
|
48
64
|
|
|
49
65
|
3. **Judge only the residue, and label it.** Where the rules are inconclusive
|
|
50
66
|
the advisor says so and stops rather than guessing. That is where your
|
|
51
67
|
judgement belongs — and it must be recorded *as* judgement. Never present an
|
|
52
68
|
LLM conclusion as a verdict (the ADR-0010 discipline).
|
|
53
69
|
|
|
54
|
-
4. **Confirm or correct the authored method.** A
|
|
55
|
-
the human decides. The confirmed method lands in the spec, becomes the
|
|
70
|
+
4. **Confirm or correct the authored method.** A mismatch (`⚠` in the human
|
|
71
|
+
output, `mismatch: true` in JSON) is advisory: the human decides. The confirmed method lands in the spec, becomes the
|
|
56
72
|
obligation's method, and is what `quoin evidence` records discharge against.
|
|
57
73
|
|
|
58
74
|
5. **Plan the suite.** A method implies an evidence kind; a suite in
|