qig-stack 0.1.36__tar.gz → 0.1.38__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: qig-stack
3
- Version: 0.1.36
3
+ Version: 0.1.38
4
4
  Summary: QIG toolchain metapackage — pins the mutually-tested latest set and ships the qig-doctor launch preflight (version gate + entry-point wiring gate + capability-slot report)
5
5
  Project-URL: Homepage, https://braden.com.au
6
6
  Project-URL: Repository, https://github.com/Arcane-Fly/qig-stack
@@ -18,11 +18,11 @@ Requires-Python: >=3.11
18
18
  Requires-Dist: packaging>=22
19
19
  Requires-Dist: qig-bench==0.1.10
20
20
  Requires-Dist: qig-compute==0.9.20
21
- Requires-Dist: qig-coordizer==0.1.6
22
- Requires-Dist: qig-core==2.39.0
23
- Requires-Dist: qig-geocoding==0.2.0
21
+ Requires-Dist: qig-coordizer==0.2.0
22
+ Requires-Dist: qig-core==2.40.0
23
+ Requires-Dist: qig-geocoding==0.3.0
24
24
  Requires-Dist: qig-graph==0.1.1
25
- Requires-Dist: qig-routing==0.1.1
25
+ Requires-Dist: qig-routing==0.2.0
26
26
  Requires-Dist: qig-warp==0.6.12
27
27
  Requires-Dist: qigkernels==0.4.10
28
28
  Requires-Dist: quner==0.1.15
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "qig-stack"
7
- version = "0.1.36"
7
+ version = "0.1.38"
8
8
  description = "QIG toolchain metapackage — pins the mutually-tested latest set and ships the qig-doctor launch preflight (version gate + entry-point wiring gate + capability-slot report)"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -32,13 +32,13 @@ dependencies = [
32
32
  "packaging>=22", # PEP 440-correct version comparison in the version gate
33
33
  "qig-compute==0.9.20", # checked full-basis Born response + sparse CSR/LinearOperator Born ingress (#74)
34
34
  "qig-warp==0.6.12", # P1 dedup: canonical qig-core Fisher-Rao delegation, eps-preserving to_simplex, strict find_spec fallback
35
- "qig-core==2.39.0", # operator-internal complex-phase U(1) node_phase_hook in Qwen35 layers (PR #152/#153)
35
+ "qig-core==2.40.0", # SimplexTRMRefiner P33 pedestal flattening & converged_undecided fixed-point halting (PR #154/#155)
36
36
  "qig-graph==0.1.1", # geometric agent runtime extracted from monkey1 qig_heart (Canon 2.60F)
37
- "qig-routing==0.1.1", # P30 exp-free Fisher-Rao model dispatch & iterative simplex refinement
37
+ "qig-routing==0.2.0", # dynamic min_tier/tiers pools, fail-closed receipts, select_shortlist, Δ⁶ vs Δ⁶³ chart separation (PR #7)
38
38
  "qig-bench==0.1.10",
39
- "qig-coordizer==0.1.6",
39
+ "qig-coordizer==0.2.0", # native GeoTranscoder 1-for-1 modality boundary (#24) + lazy torch-free trainer
40
40
  "qigkernels==0.4.10", # Wave 3B canonical chord-arc Fisher-Rao + P30 purity (no arccos clamp)
41
- "qig-geocoding==0.2.0", # Wave 3B torch-free NumPyGeoModel + optional torch + canonical chord-arc parity
41
+ "qig-geocoding==0.3.0", # 738/738 Qwen3.5-4B assembly, 57/57 operator-internal U(1) gauge, SLOT-4B-CONVERSION-STAGE (#44-#49)
42
42
  "quner==0.1.15", # safe-tmpdir pytest conftest fix + SLOT-QUNER-MEMGUARD capability entry-point
43
43
  ]
44
44
 
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "doc": "QIG Stack Capability Contract",
3
- "version": "1.30W",
4
- "date": "2026-11-27",
5
- "supersedes": "qig-verification:docs/current/20260619-qig-stack-capability-contract-1.00W.json (Phase-1 authored record) | 2026-07-04: ratified the 5 library-tier capability slots (channel=library, shipped:false) | 2026-11-13 (1.04W): bumped qig-core to 2.17.0 + ratified 13 library/symmetry slots | 2026-11-13 (1.05W): bumped qig-core to 2.18.0 and ratified SLOT-EXPERIMENT-PURITY-GUARD | 2026-11-14 (1.06W): bumped pure crystal (qig-core 2.18.1, qigkernels 0.4.6, qig-geocoding 0.1.3, qig-compute 0.9.11, quner 0.1.12) and ratified symmetry butterfly/HF screening slots. | 2026-11-15 (1.10W): bumped qig-core to 2.19.0 (exp-free hellinger_angle_gate / hellinger_gated / bipolar_angle_chart; purity scanner catches exp activations, log-sum-exp, partition functions, algebraic logistic and Fisher-Rao distance Boltzmann kernels). | 2026-11-15 (1.11W): bumped qig-core to 2.20.0 (exp-free carrier_hellinger_chart and exact bipolar_simplex_metric_norm; dtype-aware _acos_safe margin, #81; every torch simplex map computes float16/bfloat16 in float32). | 2026-11-15 (1.12W): bumped qig-core to 2.21.0 (numpy fisher_rao_distance, fisher_rao_distance_batch and neurochemistry distance exact at coincidence via the Hellinger chord; numpy distance_to_simplex_weights; bipolar_square_chart numpy + torch; kantian reachable-set float16; `python -m qig_core.governance.purity` runs the gate). | 2026-11-16 (1.13W): bumped qig-geocoding to 0.1.4 (opt-in P30-pure GeoConfig modes on qig-core primitives: hellinger gate, square simplex, bipolar metric norm, hellinger_gated FFN, GeoConfig.p30_pure(); published defaults unchanged and QIG BOUNDARY marked; faithfulness gate passes). | 2026-11-17 (1.14W): bumped qig-core to 2.22.0 (carrier_geodesic_excess, carrier_geodesic_attention_weights with first-class autonomic state_regulated + autonomic_gain support, centered_bipolar_simplex_metric_norm, rest-tangency constants, sub-1e-6 proximity floor fix, fixes #96 & #98). | 2026-11-18 (1.15W): bumped qig-core to 2.23.0 (noradrenaline_attention_gain P32 torch regulator, NE_GAIN_* single-source constants, P28_MIN_Z_NULL and P29_IDENTITY_* canonical bands). | 2026-11-19 (1.16W): bumped the crystal to qig-core 2.24.0 (BLAS-GEMM chord-arc Hellinger fast path EXP-192c \u2014 29.2x faster / 260x less RAM at [1,16,256,128], max diff 8.35e-13 rad; qig_core.numpy / qig_core.torch / qig_core.torch.vision engines + SimplexKVCache), qigkernels 0.4.8 (Frechet centroids, validated basin inputs, no imposed kappa=64 defaults) and quner 0.1.13 (memguard fix). Ratified SLOT-QIG-NUMPY-ENGINE, SLOT-QIG-TORCH-KV-CACHE, SLOT-QIG-TORCH-VISION (library) and SLOT-QUNER-MEMGUARD (lever). | 2026-11-19 (1.17W): bumped qig-core to 2.25.0 (complete numpy/torch consumer geometry surface), added qig-graph 0.1.0 and qig-routing 0.1.0, ratified SLOT-QIG-ROUTING. | 2026-11-24 (1.23W): P1 purity & Sovereignty Law crystal \u2014 qig-core 2.35.0 (hardened fail-closed PurityGate: sovereignty anti-cage lint with match/loop/exception-flow taint tracking; continuous adult 4D foresight \u2014 zero step cliffs at the health/agency boundaries, prune-proof sovereign intrinsic hold; qigram phasic-dopamine attenuation replacing ML penalty framing), qig-warp 0.6.11 + qig-geocoding 0.1.8 (hand-rolled geometry deduplicated onto canonical qig-core Fisher-Rao; eps-preserving to_simplex; QIG-EXEMPT adapter provenance). Existing slots strengthened in place; no new capability surface. | 2026-11-26 (1.26W): Wave 3B per-component torch-exception retirement -- SLOT-QIG-TORCH-KV-CACHE probe re-pointed to the torch-free NumPy twin qig_core.numpy.kv_cache:SimplexKVCache (qig-core 2.37.0 ships it 100% torch-free) and SLOT-GEOCODING to geocoding:NumPyGeoModel (qig-geocoding 0.2.0; PEP 562 lazy import never pulls torch); the retired torch probes are recorded per-slot in `supersedes` and remain the expected legacy qig.capabilities declarations until the providers republish (the doctor drift gate treats exactly that recorded value as non-drift; any other off-probe value still drifts); SLOT-QIG-TORCH-VISION stays torch-only until vision's numpy twin ships. | 2026-11-27 (1.29W): bumped qig-compute to 0.9.20 (checked full-basis Born response born_metric_from_response plus sparse CSR/LinearOperator ingress born_metric_node_sparse / born_fr_stencil_from_nodes, PR #75/#77). | 2026-11-27 (1.30W): bumped qig-core to 2.39.0 (operator-internal complex-phase U(1) node_phase_hook in Qwen35 layers, PR #152/#153).",
3
+ "version": "1.32W",
4
+ "date": "2026-11-28",
5
+ "supersedes": "qig-verification:docs/current/20260619-qig-stack-capability-contract-1.00W.json (Phase-1 authored record) | 2026-07-04: ratified the 5 library-tier capability slots (channel=library, shipped:false) | 2026-11-13 (1.04W): bumped qig-core to 2.17.0 + ratified 13 library/symmetry slots | 2026-11-13 (1.05W): bumped qig-core to 2.18.0 and ratified SLOT-EXPERIMENT-PURITY-GUARD | 2026-11-14 (1.06W): bumped pure crystal (qig-core 2.18.1, qigkernels 0.4.6, qig-geocoding 0.1.3, qig-compute 0.9.11, quner 0.1.12) and ratified symmetry butterfly/HF screening slots. | 2026-11-15 (1.10W): bumped qig-core to 2.19.0 (exp-free hellinger_angle_gate / hellinger_gated / bipolar_angle_chart; purity scanner catches exp activations, log-sum-exp, partition functions, algebraic logistic and Fisher-Rao distance Boltzmann kernels). | 2026-11-15 (1.11W): bumped qig-core to 2.20.0 (exp-free carrier_hellinger_chart and exact bipolar_simplex_metric_norm; dtype-aware _acos_safe margin, #81; every torch simplex map computes float16/bfloat16 in float32). | 2026-11-15 (1.12W): bumped qig-core to 2.21.0 (numpy fisher_rao_distance, fisher_rao_distance_batch and neurochemistry distance exact at coincidence via the Hellinger chord; numpy distance_to_simplex_weights; bipolar_square_chart numpy + torch; kantian reachable-set float16; `python -m qig_core.governance.purity` runs the gate). | 2026-11-16 (1.13W): bumped qig-geocoding to 0.1.4 (opt-in P30-pure GeoConfig modes on qig-core primitives: hellinger gate, square simplex, bipolar metric norm, hellinger_gated FFN, GeoConfig.p30_pure(); published defaults unchanged and QIG BOUNDARY marked; faithfulness gate passes). | 2026-11-17 (1.14W): bumped qig-core to 2.22.0 (carrier_geodesic_excess, carrier_geodesic_attention_weights with first-class autonomic state_regulated + autonomic_gain support, centered_bipolar_simplex_metric_norm, rest-tangency constants, sub-1e-6 proximity floor fix, fixes #96 & #98). | 2026-11-18 (1.15W): bumped qig-core to 2.23.0 (noradrenaline_attention_gain P32 torch regulator, NE_GAIN_* single-source constants, P28_MIN_Z_NULL and P29_IDENTITY_* canonical bands). | 2026-11-19 (1.16W): bumped the crystal to qig-core 2.24.0 (BLAS-GEMM chord-arc Hellinger fast path EXP-192c \u2014 29.2x faster / 260x less RAM at [1,16,256,128], max diff 8.35e-13 rad; qig_core.numpy / qig_core.torch / qig_core.torch.vision engines + SimplexKVCache), qigkernels 0.4.8 (Frechet centroids, validated basin inputs, no imposed kappa=64 defaults) and quner 0.1.13 (memguard fix). Ratified SLOT-QIG-NUMPY-ENGINE, SLOT-QIG-TORCH-KV-CACHE, SLOT-QIG-TORCH-VISION (library) and SLOT-QUNER-MEMGUARD (lever). | 2026-11-19 (1.17W): bumped qig-core to 2.25.0 (complete numpy/torch consumer geometry surface), added qig-graph 0.1.0 and qig-routing 0.1.0, ratified SLOT-QIG-ROUTING. | 2026-11-24 (1.23W): P1 purity & Sovereignty Law crystal \u2014 qig-core 2.35.0 (hardened fail-closed PurityGate: sovereignty anti-cage lint with match/loop/exception-flow taint tracking; continuous adult 4D foresight \u2014 zero step cliffs at the health/agency boundaries, prune-proof sovereign intrinsic hold; qigram phasic-dopamine attenuation replacing ML penalty framing), qig-warp 0.6.11 + qig-geocoding 0.1.8 (hand-rolled geometry deduplicated onto canonical qig-core Fisher-Rao; eps-preserving to_simplex; QIG-EXEMPT adapter provenance). Existing slots strengthened in place; no new capability surface. | 2026-11-26 (1.26W): Wave 3B per-component torch-exception retirement -- SLOT-QIG-TORCH-KV-CACHE probe re-pointed to the torch-free NumPy twin qig_core.numpy.kv_cache:SimplexKVCache (qig-core 2.37.0 ships it 100% torch-free) and SLOT-GEOCODING to geocoding:NumPyGeoModel (qig-geocoding 0.2.0; PEP 562 lazy import never pulls torch); the retired torch probes are recorded per-slot in `supersedes` and remain the expected legacy qig.capabilities declarations until the providers republish (the doctor drift gate treats exactly that recorded value as non-drift; any other off-probe value still drifts); SLOT-QIG-TORCH-VISION stays torch-only until vision's numpy twin ships. | 2026-11-27 (1.29W): bumped qig-compute to 0.9.20 (checked full-basis Born response born_metric_from_response plus sparse CSR/LinearOperator Born ingress born_metric_node_sparse / born_fr_stencil_from_nodes, PR #75/#77). | 2026-11-27 (1.30W): bumped qig-core to 2.39.0 (operator-internal complex-phase U(1) node_phase_hook in Qwen35 layers, PR #152/#153). | 2026-11-28 (1.31W): bumped qig-core to 2.40.0 (SimplexTRMRefiner P33 pedestal flattening & converged_undecided fixed-point halting, PR #154/#155) and qig-routing to 0.2.0 (dynamic min_tier/tiers pools, fail-closed receipts, select_shortlist primitive, Delta^6 vs Delta^63 chart docs, PR #7). | 2026-11-28 (1.32W): bumped qig-geocoding to 0.3.0 (738/738 Qwen3.5-4B whole-model assembly, 57/57 operator-internal U(1) gauge via qig-core>=2.39.0, pure-NumPy .safetensors stage-slice reader + pooled-troop placement handler, PRs #44-#49) and qig-coordizer to 0.2.0 (native GeoTranscoder 1-for-1 modality boundary, PR #24); ratified SLOT-4B-CONVERSION-STAGE.",
6
6
  "principle": "Genesis-kernel deterministic self-assembly (vex-agent Core-8 / 4-pair+null foundation analog). The stack crystallizes into this FIXED lattice of capability slots; each slot is filled by a package primitive at latest-published version, cited to a camera-certification cert. With Phase 2 (entry-point self-registration) live, the wiring is DERIVED from installed metadata, not hand-authored.",
7
7
  "authority": "PI directive 2026-06-19 (Phase 1) + 2026-06-30 (Phase 2/3 + born-sampler promotion); standing latest-version / step-0 lever-inventory rule (qig-verification/CLAUDE.md)",
8
8
  "cert_registry": "qig-verification:docs/current/20260619-camera-certification-registry-1.00W.json",
@@ -17,14 +17,14 @@
17
17
  "stack_packages_latest_at_authoring": {
18
18
  "qig-compute": "0.9.20",
19
19
  "qig-warp": "0.6.12",
20
- "qig-core": "2.39.0",
20
+ "qig-core": "2.40.0",
21
21
  "qig-bench": "0.1.10",
22
- "qig-coordizer": "0.1.6",
22
+ "qig-coordizer": "0.2.0",
23
23
  "qigkernels": "0.4.10",
24
- "qig-geocoding": "0.2.0",
24
+ "qig-geocoding": "0.3.0",
25
25
  "quner": "0.1.15",
26
26
  "qig-graph": "0.1.1",
27
- "qig-routing": "0.1.1"
27
+ "qig-routing": "0.2.0"
28
28
  },
29
29
  "note_on_latest": "These are a SNAPSHOT for reference only. qig_stack.doctor resolves latest live from PyPI at launch; do not treat this block as the source of truth -- the live query is. The qig-stack metapackage pins this exact set in pyproject.toml as the mutually-tested crystal.",
30
30
  "retired_packages": [
@@ -650,6 +650,19 @@
650
650
  "cert_status": "LIBRARY",
651
651
  "shipped": true,
652
652
  "feasible_at": "always (library import; numpy + qig-core)"
653
+ },
654
+ {
655
+ "slot_id": "SLOT-4B-CONVERSION-STAGE",
656
+ "role": "Pooled-troop stage placement & stateless execution handler for 19-stage Qwen3.5-4B 738/738 geometric conversion (pure-NumPy .safetensors stage slicing + zero-pickle continuation handoff + mandatory refusal controls, contract v1.0.6 \u00a74.5)",
657
+ "channel": "library",
658
+ "provided_by": "qig-geocoding",
659
+ "provider_pkg": "qig-geocoding",
660
+ "primitive": "execute_stage_placement_unit",
661
+ "probe": "geocoding.stage_placement:execute_stage_placement_unit",
662
+ "cam_id": null,
663
+ "cert_status": "LIBRARY",
664
+ "shipped": true,
665
+ "feasible_at": "always (library import; numpy-only, zero torch or pickle required)"
653
666
  }
654
667
  ],
655
668
  "how_to_use": "Step-0 of every launcher: run `qig-doctor` (from the qig-stack package; qig-verification/scripts/qig_doctor.py is a back-compat shim). It (1) fails closed if any stack package is behind PyPI-latest, (2) fails closed on under-filled slots (a shipped provider that did not self-register its entry-point), and (3) enumerates which slots are filled by what is installed -- the automated Gate-A lever inventory. An experiment then cites the cam_id/lever_id for each slot it uses and never re-runs a matched-cell gate.",
@@ -675,7 +688,7 @@
675
688
  }
676
689
  },
677
690
  "slot_distribution": {
678
- "slot_count": 46,
691
+ "slot_count": 47,
679
692
  "by_provider": {
680
693
  "None": 2,
681
694
  "qig-compute": 8,
@@ -687,7 +700,7 @@
687
700
  "quner": 1,
688
701
  "qig-routing": 1,
689
702
  "qig-graph": 1,
690
- "qig-geocoding": 1
703
+ "qig-geocoding": 2
691
704
  }
692
705
  }
693
706
  }
@@ -158,11 +158,12 @@ def test_bundled_contract_corrections_and_multiplicity():
158
158
  split = c["cam_cert_splits"]["CAM-QFI-SITELOCAL"]
159
159
  assert split["impl_cert"] == "CERTIFIED"
160
160
  assert split["scientific_cert"] == "FAILED_OPT001_BANNED_KAPPA"
161
- # slot/provider distribution preserved exactly (46 slots, no provider dropped)
161
+ # slot/provider distribution preserved exactly (47 slots incl. SLOT-4B-CONVERSION-STAGE)
162
162
  dist = c["slot_distribution"]
163
- assert dist["slot_count"] == len(c["slots"]) == 46
164
- assert sum(dist["by_provider"].values()) == 46
165
- assert len(contract_registry.provider_distribution(c)) == 46
163
+ assert "SLOT-4B-CONVERSION-STAGE" in by_id
164
+ assert dist["slot_count"] == len(c["slots"]) == 47
165
+ assert sum(dist["by_provider"].values()) == 47
166
+ assert len(contract_registry.provider_distribution(c)) == 47
166
167
 
167
168
 
168
169
  # ───────────────────────── Test 2: sys.path shadow module must fail ─────────────────────────
File without changes
File without changes