quantum-reasoning-skill 1.2.2 → 1.2.3

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 (4) hide show
  1. package/README.md +66 -21
  2. package/SKILL.md +1 -1
  3. package/VERSION +1 -1
  4. package/package.json +1 -1
package/README.md CHANGED
@@ -18,20 +18,20 @@ computing** — "measurement" means letting evidence collapse a branch.
18
18
 
19
19
  ## Quick start
20
20
 
21
- `SKILL.md` is the deliverable. Three channels reach it, though they are not all on
22
- the same version today (see [Channel versions](#channel-versions)):
21
+ `SKILL.md` is the deliverable. Three channels reach it (current versions:
22
+ [Channel versions](#channel-versions)):
23
23
 
24
24
  ```bash
25
- # 1. from a clone — nothing to install (current packaging: 1.2.0)
25
+ # 1. from a clone — nothing to install (current packaging: 1.2.3)
26
26
  git clone https://github.com/Furox-Art/quantum-reasoning-skill.git
27
27
  cd quantum-reasoning-skill
28
28
  python docs/quickstart.py
29
29
 
30
- # 2. from PyPI — SKILL.md ships inside the 1.2.0 wheel
30
+ # 2. from PyPI — SKILL.md ships inside the 1.2.2 wheel
31
31
  pip install quantum-reasoning-skill
32
32
  quantum-reasoning --validate
33
33
 
34
- # 3. from npm — all three channels are on 1.2.0
34
+ # 3. from npm — all three channels are on 1.2.2
35
35
  npm i quantum-reasoning-skill
36
36
  npx quantum-reasoning --validate
37
37
  ```
@@ -51,27 +51,29 @@ drifts.
51
51
 
52
52
  ## Distribution and the surface it exposes
53
53
 
54
- Three channels ship `SKILL.md`, and all three are on **1.2.0**: a `git clone` of
54
+ Three channels ship `SKILL.md`, and all three are on **1.2.2**: a `git clone` of
55
55
  `main`, the PyPI wheel and the npm tarball.
56
56
 
57
57
  ### Channel versions
58
58
 
59
59
  | channel | current version |
60
60
  | --- | --- |
61
- | `git clone` of `main` | `1.2.0` |
62
- | PyPI | `1.2.0` |
63
- | npm | `1.2.0` |
61
+ | `git clone` of `main` | `1.2.3` |
62
+ | PyPI | `1.2.2` |
63
+ | npm | `1.2.2` |
64
64
 
65
65
  An earlier attempt to publish npm `1.2.0` failed with an `E404` response to the
66
66
  `PUT` request (publish workflow run `39672649928`), a publisher/credential
67
67
  configuration issue rather than a packaging failure. That is resolved: npm
68
- serves `1.2.0`, its `latest` tag points at it, and the tarball carries the
69
- 1.2.0 content.
68
+ serves `1.2.2`, its `latest` tag points at it, and the tarball carries the
69
+ 1.2.2 content. npm skipped `1.2.1`: that release commit left `SKILL.md`'s
70
+ version behind, the publish guard refused, and `1.2.2` shipped the lockstep
71
+ fix (see [CHANGELOG.md](CHANGELOG.md)); PyPI did serve `1.2.1`.
70
72
 
71
- The PyPI wheel (1.2.0 packaging: `SKILL.md`, `VERSION`, `reference/`,
73
+ The PyPI wheel (1.2.2 packaging: `SKILL.md`, `VERSION`, `reference/`,
72
74
  `benchmark/`, `docs/` and `examples/` ship under the
73
75
  `quantum_reasoning_skill/` package namespace, plus a `quantum-reasoning` console
74
- script backed by `quantum_reasoning_skill.cli`); and the npm tarball (1.2.0:
76
+ script backed by `quantum_reasoning_skill.cli`); and the npm tarball (1.2.2:
75
77
  `SKILL.md`, `VERSION`, `index.js`, `package.json`, `LICENSE` and `README.md`;
76
78
  the `quantum-reasoning` bin is declared in `package.json` and points at
77
79
  `index.js`). Both packaged artifacts are verified against the
@@ -90,20 +92,24 @@ Only some published versions carry a build attestation, so check before relying
90
92
  | `1.1.1` (npm and PyPI) | **no** — token publish path | yes — PEP 740 per-file provenance |
91
93
  | `1.1.2`–`1.1.5` (npm and PyPI) | **no** — token publish path | yes — PEP 740 per-file provenance |
92
94
  | `1.2.0` (npm and PyPI) | yes — SLSA provenance and npm publish attestation, Sigstore | yes — PEP 740 per-file provenance |
95
+ | `1.2.2` (npm and PyPI) | yes — SLSA provenance and npm publish attestation, Sigstore | yes — PEP 740 per-file provenance |
93
96
 
94
97
  Version `1.1.1` was published through the long-lived-token path on npm and has no attestation.
95
98
  That path cannot produce a Sigstore record. npm attestations are bound to a publish
96
99
  event and cannot be added afterwards, so
97
100
  this is permanent for that version. The npm package itself is unchanged and passes the same
98
101
  release contract as every other version; only the npm provenance *record* is missing. The npm
99
- releases `1.1.2`, `1.1.3`, `1.1.4` and `1.1.5` have no attestation either. Every PyPI release
100
- from `1.1.0` through `1.2.0` carries PEP 740 per-file provenance.
102
+ releases `1.1.2`, `1.1.3`, `1.1.4` and `1.1.5` have no attestation either. `1.2.1` reached
103
+ PyPI only, with PEP 740 per-file provenance; it was never published to npm. Every PyPI release
104
+ from `1.1.0` through `1.2.2` carries PEP 740 per-file provenance.
101
105
 
102
- If you need to verify how a build was produced, use `1.2.0`: it is attested on
103
- both channels, as is `1.1.0` on npm and PyPI. To check an attestation
106
+ If you need to verify how a build was produced, use `1.2.2`: it is attested on
107
+ both channels, as are `1.2.0` and `1.1.0` on npm and PyPI. To check an attestation
104
108
  yourself:
105
109
 
106
110
  ```bash
111
+ curl -sS -o /dev/null -w '%{http_code}\n' \
112
+ https://registry.npmjs.org/-/npm/v1/attestations/quantum-reasoning-skill@1.2.2 # 200
107
113
  curl -sS -o /dev/null -w '%{http_code}\n' \
108
114
  https://registry.npmjs.org/-/npm/v1/attestations/quantum-reasoning-skill@1.2.0 # 200
109
115
  curl -sS -o /dev/null -w '%{http_code}\n' \
@@ -195,10 +201,25 @@ stay inside it, and reads are bounded by `--max-bytes`. Both
195
201
  `python quantum_reasoning_skill/benchmark/evaluate.py` and
196
202
  `python -m quantum_reasoning_skill.benchmark.evaluate` work.
197
203
 
204
+ The harness also ships a **synthetic** score-outcome reliability diagnostic,
205
+ `quantum_reasoning_skill/benchmark/reliability.py`:
206
+
207
+ ```bash
208
+ python -m quantum_reasoning_skill.benchmark.reliability # calibrated by construction
209
+ python -m quantum_reasoning_skill.benchmark.reliability --miscalibration 0.25 # negative control
210
+ ```
211
+
212
+ It generates seeded pseudo-random scores and outcomes — **no model, no real task** — and
213
+ measures reliability bins, expected calibration error and Brier score, checking that the
214
+ measurement machinery detects a known, injected calibration defect. Every artifact it emits
215
+ is labeled `"synthetic": true` with a disclaimer next to the numbers. It is a sanity check of
216
+ the harness, **not evidence about reasoning performance**; see
217
+ [`quantum_reasoning_skill/benchmark/README.md`](quantum_reasoning_skill/benchmark/README.md).
218
+
198
219
  ## Tests, tooling and governance
199
220
 
200
- About **53% of the Python here is tests** — 6,901 of 12,967 lines across **30 test modules**,
201
- run with the standard library's `unittest` on Python 3.10–3.14 (Linux) and 3.12 (Windows, macOS).
221
+ About **56% of the Python here is tests** — 7,942 of 14,293 lines across **32 test modules**,
222
+ run with the standard library's `unittest` on Python 3.11–3.14 (Linux) and 3.12 (Windows, macOS).
202
223
  They cover the controller, the benchmark harness, import hardening, path boundaries,
203
224
  dependency-lock drift and release-gate polling; the documented benchmark command run as a
204
225
  subprocess against a clean copy of the tree; the `paths` filters that decide when a release
@@ -251,6 +272,30 @@ number must carry provenance (script, skill commit, provider and exact model ver
251
272
  sampling parameters, repetitions, platform), and one positive run establishes no general claim.
252
273
  Rules: [CONTRIBUTING.md](CONTRIBUTING.md#benchmark-provenance-requirements).
253
274
 
275
+ ### Pending: the real-task evaluation protocol
276
+
277
+ The model evaluation above is **pending, not done**. No API access to a language model is
278
+ assumed by this repository; real-task runs are community-run. The synthetic reliability
279
+ diagnostic in the harness checks the measurement machinery only — it is explicitly synthetic
280
+ and **cannot substitute for this protocol**. When a real evaluation is run, it must follow:
281
+
282
+ 1. **Task set** — difficult, held-out tasks with verifiable answers from the target domains,
283
+ kept separate from any prompt used while designing or tuning the skill. The packaged seed
284
+ cases are smoke tests, not an evaluation set.
285
+ 2. **Two conditions, one setup** — the same model and model version, task set, tool access,
286
+ sampling parameters and token budget, run once without `SKILL.md` (baseline) and once with
287
+ it (skill). Record one result row per case in the documented JSONL shape.
288
+ 3. **Repetitions and failures** — multiple repetitions per case for stochastic models, with
289
+ seeds where the provider supports them; refusals, timeouts and errors are retained, never
290
+ silently dropped.
291
+ 4. **Computed comparison** — `quantum_reasoning_skill/benchmark/evaluate.py` produces the
292
+ accuracy/cost comparison from the raw rows; `comparison.json` is never hand-edited.
293
+ 5. **Provenance and validation** — the full metadata and artifact bundle required by
294
+ [CONTRIBUTING.md](CONTRIBUTING.md#benchmark-provenance-requirements), checked with
295
+ `quantum_reasoning_skill/benchmark/validate_submission.py` before submission.
296
+ 6. **Claim gate** — a single positive run establishes no general claim. Until such runs are
297
+ published and replicated, the project's position stays: **no performance claim**.
298
+
254
299
  ## How it compares
255
300
 
256
301
  This table describes *mechanisms*, not measured performance. Nothing here has been
@@ -279,7 +324,7 @@ Part of the Furox scientific-computing portfolio: independently versioned projec
279
324
  - [axiomize](https://github.com/Furox-Art/axiomize) — unit-checked modeling engine with SBML, CellML and Modelica export.
280
325
  - [axiomize-quantum-skills-2.0](https://github.com/Furox-Art/axiomize-quantum-skills-2.0) — modeling engine plus quantum-inspired reasoning bundle.
281
326
  - [plan-auditor](https://github.com/Furox-Art/plan-auditor) — evidence-based completion gate for coding agents.
282
- - [nomosguard](https://github.com/Furox-Art/nomosguard) — deterministic security decision layer with a hash-chained ledger.
327
+ - [nomosguard](https://github.com/Furox-Art/evidence-ledger-policy-gate) — deterministic security decision layer with a hash-chained ledger.
283
328
  - [eq-layer](https://github.com/Furox-Art/eq-layer) — interaction-policy layer that decides how an agent speaks.
284
329
  - [literature-evidence-mcp](https://github.com/Furox-Art/literature-evidence-mcp) — literature MCP server with a hash-chained evidence ledger.
285
- - [repocraft](https://github.com/Furox-Art/repocraft) — byte-deterministic project scaffolding.
330
+ - [repocraft](https://github.com/Furox-Art/deterministic-recipe-scaffolder) — byte-deterministic project scaffolding.
package/SKILL.md CHANGED
@@ -2,7 +2,7 @@
2
2
  name: quantum-reasoning
3
3
  description: Maintain multiple genuinely different candidate hypotheses or solution paths, test them against evidence and tools, suppress weak or contradictory paths, revive useful alternatives when new evidence appears, and collapse to the best-supported answer only at the end.
4
4
  metadata:
5
- version: "1.2.2"
5
+ version: "1.2.3"
6
6
  ---
7
7
 
8
8
  # Quantum Reasoning Skill
package/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.2
1
+ 1.2.3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quantum-reasoning-skill",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "Quantum-inspired reasoning skill for exploring multiple solution paths",
5
5
  "main": "index.js",
6
6
  "bin": {