quantum-reasoning-skill 1.2.0 → 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 +102 -35
  2. package/SKILL.md +1 -1
  3. package/VERSION +1 -1
  4. package/package.json +6 -2
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 — currently 1.1.5; npm 1.2.0 was never published
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,30 +51,32 @@ drifts.
51
51
 
52
52
  ## Distribution and the surface it exposes
53
53
 
54
- Three channels ship `SKILL.md`, but they are not all on one version today: a
55
- `git clone` of `main` and the PyPI wheel are at **1.2.0**, while the npm tarball
56
- is at **1.1.5**.
54
+ Three channels ship `SKILL.md`, and all three are on **1.2.2**: a `git clone` of
55
+ `main`, the PyPI wheel and the npm tarball.
57
56
 
58
57
  ### Channel versions
59
58
 
60
59
  | channel | current version |
61
60
  | --- | --- |
62
- | `git clone` of `main` | `1.2.0` |
63
- | PyPI | `1.2.0` |
64
- | npm | `1.1.5` |
61
+ | `git clone` of `main` | `1.2.3` |
62
+ | PyPI | `1.2.2` |
63
+ | npm | `1.2.2` |
65
64
 
66
- The npm 1.2.0 publish failed at the registry with an `E404` response to the
65
+ An earlier attempt to publish npm `1.2.0` failed with an `E404` response to the
67
66
  `PUT` request (publish workflow run `39672649928`), a publisher/credential
68
- configuration issue rather than a packaging failure. No retry date is set and
69
- the npm `latest` tag therefore still resolves to 1.1.5. The npm tarball carries
70
- the 1.1.5 content; use PyPI 1.2.0 or a clone of `main` for the 1.2.0 packaging.
67
+ configuration issue rather than a packaging failure. That is resolved: npm
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`.
71
72
 
72
- The PyPI wheel (1.2.0 packaging: `SKILL.md`, `VERSION`, `reference/`,
73
+ The PyPI wheel (1.2.2 packaging: `SKILL.md`, `VERSION`, `reference/`,
73
74
  `benchmark/`, `docs/` and `examples/` ship under the
74
75
  `quantum_reasoning_skill/` package namespace, plus a `quantum-reasoning` console
75
- script backed by `quantum_reasoning_skill.cli`); and the npm tarball (1.1.5:
76
- `SKILL.md`, `VERSION`, `index.js`, `LICENSE`, `README.md`, and a
77
- `quantum-reasoning` bin). Both packaged artifacts are verified against the
76
+ script backed by `quantum_reasoning_skill.cli`); and the npm tarball (1.2.2:
77
+ `SKILL.md`, `VERSION`, `index.js`, `package.json`, `LICENSE` and `README.md`;
78
+ the `quantum-reasoning` bin is declared in `package.json` and points at
79
+ `index.js`). Both packaged artifacts are verified against the
78
80
  **built** artifact, not a checkout. Checkouts and installed distributions use
79
81
  the same canonical paths: the reference controller and benchmark harness live
80
82
  under `quantum_reasoning_skill/`, so the wheel and the source tree expose one
@@ -86,23 +88,34 @@ Only some published versions carry a build attestation, so check before relying
86
88
 
87
89
  | release | npm attestation | PyPI PEP 740 attestation |
88
90
  | --- | --- | --- |
89
- | `1.1.0` (npm) | yes — SLSA provenance and npm publish attestation, Sigstore | n/a |
90
- | `1.1.1` (npm and PyPI) | **no** | **no** |
91
-
92
- `1.1.1` was published through the long-lived-token path, which cannot produce a Sigstore
93
- attestation. Attestations are bound to a publish event and cannot be added afterwards, so
94
- this is permanent for that version. The package itself is unchanged and passes the same
95
- release contract as every other version; only the provenance *record* is missing. The npm
96
- releases `1.1.2`, `1.1.3`, `1.1.4` and `1.1.5` have no attestation either.
97
-
98
- If you need to verify how a build was produced, use `1.1.0` on npm. To check an attestation
91
+ | `1.1.0` (npm and PyPI) | yes — SLSA provenance and npm publish attestation, Sigstore | yes — PEP 740 per-file provenance |
92
+ | `1.1.1` (npm and PyPI) | **no** — token publish path | yes — PEP 740 per-file provenance |
93
+ | `1.1.2`–`1.1.5` (npm and PyPI) | **no** — token publish path | yes — PEP 740 per-file provenance |
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 |
96
+
97
+ Version `1.1.1` was published through the long-lived-token path on npm and has no attestation.
98
+ That path cannot produce a Sigstore record. npm attestations are bound to a publish
99
+ event and cannot be added afterwards, so
100
+ this is permanent for that version. The npm package itself is unchanged and passes the same
101
+ release contract as every other version; only the npm provenance *record* is missing. The npm
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.
105
+
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
99
108
  yourself:
100
109
 
101
110
  ```bash
102
111
  curl -sS -o /dev/null -w '%{http_code}\n' \
103
- https://registry.npmjs.org/-/npm/v1/attestations/quantum-reasoning-skill@1.1.0 # 200
112
+ https://registry.npmjs.org/-/npm/v1/attestations/quantum-reasoning-skill@1.2.2 # 200
113
+ curl -sS -o /dev/null -w '%{http_code}\n' \
114
+ https://registry.npmjs.org/-/npm/v1/attestations/quantum-reasoning-skill@1.2.0 # 200
104
115
  curl -sS -o /dev/null -w '%{http_code}\n' \
105
116
  https://registry.npmjs.org/-/npm/v1/attestations/quantum-reasoning-skill@1.1.1 # 404
117
+ curl -sS -o /dev/null -w '%{http_code}\n' \
118
+ https://pypi.org/integrity/quantum-reasoning-skill/1.1.1/quantum_reasoning_skill-1.1.1-py3-none-any.whl/provenance # 200
106
119
  ```
107
120
 
108
121
  A missing attestation is not evidence of tampering. Versions are locked
@@ -188,10 +201,25 @@ stay inside it, and reads are bounded by `--max-bytes`. Both
188
201
  `python quantum_reasoning_skill/benchmark/evaluate.py` and
189
202
  `python -m quantum_reasoning_skill.benchmark.evaluate` work.
190
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
+
191
219
  ## Tests, tooling and governance
192
220
 
193
- About **53% of the Python here is tests** — 5,775 of 10,913 lines across **25 test modules**,
194
- 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).
195
223
  They cover the controller, the benchmark harness, import hardening, path boundaries,
196
224
  dependency-lock drift and release-gate polling; the documented benchmark command run as a
197
225
  subprocess against a clean copy of the tree; the `paths` filters that decide when a release
@@ -229,9 +257,9 @@ scenarios, the multi-hypothesis branch controller achieved **100% final accuracy
229
257
  for a single-hypothesis policy that commits to its first leader (0/4 on falsification
230
258
  scenarios, 0/3 on revival scenarios; both policies scored 2/2 on the control scenarios). It
231
259
  abandoned the falsified hypothesis at the same evidence step the falsification arrived, and
232
- revived a rejected-then-supported alternative in 3/3 revival scenarios. Confidence calibration
233
- showed **no difference** (Brier score 0.033 vs 0.033), and the accuracy gain cost **109.6%
234
- more tokens** per scenario. Methodology and reproduction:
260
+ revived a dormant alternative (or an explicitly reopened rejected one) in 3/3 revival
261
+ scenarios. Confidence calibration showed **no difference** (Brier score 0.033 vs 0.033), and
262
+ the accuracy gain cost **108.5% more tokens** per scenario. Methodology and reproduction:
235
263
  [`quantum_reasoning_skill/benchmark/falsification/METHODOLOGY.md`](quantum_reasoning_skill/benchmark/falsification/METHODOLOGY.md).
236
264
 
237
265
  These results measure the reference decision controller on **synthetic evidence streams**, not
@@ -244,6 +272,30 @@ number must carry provenance (script, skill commit, provider and exact model ver
244
272
  sampling parameters, repetitions, platform), and one positive run establishes no general claim.
245
273
  Rules: [CONTRIBUTING.md](CONTRIBUTING.md#benchmark-provenance-requirements).
246
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
+
247
299
  ## How it compares
248
300
 
249
301
  This table describes *mechanisms*, not measured performance. Nothing here has been
@@ -261,3 +313,18 @@ benchmarked against the rows above it.
261
313
  Everything lives in [`docs/index.md`](docs/index.md) — getting started, quickstart and its
262
314
  verified output, measurement methodology, host compatibility, report forms. Release history:
263
315
  [CHANGELOG.md](CHANGELOG.md). License: [MIT](LICENSE).
316
+
317
+ ## Related projects
318
+
319
+ Part of the Furox scientific-computing portfolio: independently versioned projects that pair agent-facing interfaces (MCP servers and Agent Skills) with deterministic, fail-closed verification.
320
+
321
+ - [scientific-computing-system](https://github.com/Furox-Art/scientific-computing-system) — zero-dependency Python numerics with run manifests.
322
+ - [scientific-computing-system-2.0](https://github.com/Furox-Art/scientific-computing-system-2.0) — NumPy/SciPy/pandas build with replayable fit records.
323
+ - [scientific-toolkit](https://github.com/Furox-Art/scientific-toolkit) — MCP gateway over nine research tools.
324
+ - [axiomize](https://github.com/Furox-Art/axiomize) — unit-checked modeling engine with SBML, CellML and Modelica export.
325
+ - [axiomize-quantum-skills-2.0](https://github.com/Furox-Art/axiomize-quantum-skills-2.0) — modeling engine plus quantum-inspired reasoning bundle.
326
+ - [plan-auditor](https://github.com/Furox-Art/plan-auditor) — evidence-based completion gate for coding agents.
327
+ - [nomosguard](https://github.com/Furox-Art/evidence-ledger-policy-gate) — deterministic security decision layer with a hash-chained ledger.
328
+ - [eq-layer](https://github.com/Furox-Art/eq-layer) — interaction-policy layer that decides how an agent speaks.
329
+ - [literature-evidence-mcp](https://github.com/Furox-Art/literature-evidence-mcp) — literature MCP server with a hash-chained evidence ledger.
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.0"
5
+ version: "1.2.3"
6
6
  ---
7
7
 
8
8
  # Quantum Reasoning Skill
package/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.2.3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quantum-reasoning-skill",
3
- "version": "1.2.0",
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": {
@@ -26,7 +26,11 @@
26
26
  "multi-branch",
27
27
  "agent-skills",
28
28
  "mcp",
29
- "claude-skill"
29
+ "claude-skill",
30
+ "llm",
31
+ "planning",
32
+ "tree-of-thought",
33
+ "benchmark"
30
34
  ],
31
35
  "author": "Furox-Art",
32
36
  "license": "MIT",