@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.
Files changed (70) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/.codex-plugin/plugin.json +1 -1
  3. package/default-modules.yaml +4 -4
  4. package/dist/advisor/advise.d.ts.map +1 -1
  5. package/dist/advisor/methods.d.ts +11 -1
  6. package/dist/advisor/methods.d.ts.map +1 -1
  7. package/dist/{advisor-D35K3_iI.js → advisor-Dhy9S7PS.js} +21 -8
  8. package/dist/audit-CudnEJmh.js +127 -0
  9. package/dist/auditor/audit.d.ts +15 -4
  10. package/dist/auditor/audit.d.ts.map +1 -1
  11. package/dist/auditor/index.d.ts +1 -1
  12. package/dist/auditor/index.d.ts.map +1 -1
  13. package/dist/{base-CtpwIg4M.js → base-D_-Jy4cE.js} +1 -1
  14. package/dist/cli.js +1 -1
  15. package/dist/commands/advise.d.ts +16 -0
  16. package/dist/commands/advise.d.ts.map +1 -0
  17. package/dist/commands/advise.js +161 -0
  18. package/dist/commands/catalog/list.js +2 -2
  19. package/dist/commands/catalog/methods.js +3 -3
  20. package/dist/commands/catalog/show.js +2 -2
  21. package/dist/commands/catalog/validate.js +2 -2
  22. package/dist/commands/config/doctor.js +1 -1
  23. package/dist/commands/config/edit.js +1 -1
  24. package/dist/commands/config/get.js +1 -1
  25. package/dist/commands/config/set.js +1 -1
  26. package/dist/commands/evidence/affirm.d.ts.map +1 -1
  27. package/dist/commands/evidence/affirm.js +36 -50
  28. package/dist/commands/evidence/audit.d.ts +1 -0
  29. package/dist/commands/evidence/audit.d.ts.map +1 -1
  30. package/dist/commands/evidence/audit.js +46 -158
  31. package/dist/commands/evidence/baseline.d.ts +14 -0
  32. package/dist/commands/evidence/baseline.d.ts.map +1 -0
  33. package/dist/commands/evidence/baseline.js +79 -0
  34. package/dist/commands/evidence/gc.js +2 -2
  35. package/dist/commands/evidence/index.d.ts.map +1 -1
  36. package/dist/commands/evidence/index.js +4 -2
  37. package/dist/commands/evidence/record.d.ts +1 -0
  38. package/dist/commands/evidence/record.d.ts.map +1 -1
  39. package/dist/commands/evidence/record.js +34 -47
  40. package/dist/commands/matrix.js +1 -1
  41. package/dist/commands/module/ensure-defaults.js +3 -3
  42. package/dist/commands/module/install.js +2 -2
  43. package/dist/commands/module/list.js +2 -2
  44. package/dist/commands/module/remove.js +2 -2
  45. package/dist/commands/review.js +1 -1
  46. package/dist/commands/to-plan.js +1 -1
  47. package/dist/commands/update.js +2 -2
  48. package/dist/commands/write.js +3 -3
  49. package/dist/evidence/index.d.ts +1 -1
  50. package/dist/evidence/index.d.ts.map +1 -1
  51. package/dist/evidence/record.d.ts +6 -0
  52. package/dist/evidence/record.d.ts.map +1 -1
  53. package/dist/evidence/store.d.ts +76 -6
  54. package/dist/evidence/store.d.ts.map +1 -1
  55. package/dist/evidence/types.d.ts +26 -5
  56. package/dist/evidence/types.d.ts.map +1 -1
  57. package/dist/{evidence-BvUyw-Yv.js → evidence-QUw0KyMH.js} +76 -38
  58. package/dist/{flow-command-BSMqxass.js → flow-command-B-ZBn9Sd.js} +1 -1
  59. package/dist/index.js +6 -6
  60. package/dist/{modules-Ckfaq5p4.js → modules-DSkUXhHn.js} +2 -2
  61. package/dist/{plugins-CLuXx2Jr.js → plugins-DiS0OXoo.js} +1 -1
  62. package/dist/quire/exec.d.ts +44 -0
  63. package/dist/quire/exec.d.ts.map +1 -0
  64. package/dist/quire/index.d.ts +1 -0
  65. package/dist/quire/index.d.ts.map +1 -1
  66. package/dist/{quire-MbMdffPh.js → quire-D7ra5rUF.js} +315 -261
  67. package/dist/{version-By2YFRZQ.js → version-DmZHxX4n.js} +1 -1
  68. package/dist/{write-8JJ8Dumo.js → write-CPdSNIkF.js} +1 -1
  69. package/package.json +1 -1
  70. package/skills/spec-evidence-analysis/SKILL.md +27 -11
@@ -11,7 +11,7 @@ function a(e) {
11
11
  return e || i();
12
12
  }
13
13
  function o() {
14
- return a("0.15.1");
14
+ return a("0.17.0");
15
15
  }
16
16
  //#endregion
17
17
  export { a as n, o as t };
@@ -1,4 +1,4 @@
1
- import { i as e } from "./base-CtpwIg4M.js";
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.15.1",
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
- ## Read the catalog, do not recall it
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
- The catalog is merged first-wins across active modules, exactly as quire-rs
35
- merges it — so the method you are advised is the method the auditor will later
36
- check conformance against.
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. **Derive the obligations.** `quire coverage --json` carries them
41
- (quire-rs FR-053): id, statement, statement hash, authored method,
42
- criticality. Do not restate them by hand.
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, the object types
47
- near it, its archetype. Rules match or they do not.
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 flagged mismatch is advisory:
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