betterwithage commited on
Commit
d4a8e9b
·
verified ·
1 Parent(s): 19694e6

chore(sync): mirror backend .py + Dockerfile to Space (hf-sync-backend)

Browse files

Automated backend sync from szl-holdings/a11oy main via hf-sync-backend.
Updated (differed from the Space): serve.py
Deleted (gone from the repo + Dockerfile COPY set): (none)

Keeps the Space-built backend (serve.py + the Dockerfile-COPY'd .py
modules) identical to GitHub main so the Space never rebuilds from a
stale backend, new endpoints don't 404 there, and orphaned modules
removed from the repo don't linger in the Space tree.

Files changed (1) hide show
  1. serve.py +27 -0
serve.py CHANGED
@@ -237,6 +237,33 @@ try:
237
  except Exception as _szl_qb_e: # pragma: no cover
238
  print(f"[a11oy] Quantum-Bio Λ-v5 NOT registered: {_szl_qb_e!r}", file=__import__("sys").stderr)
239
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
240
  # ── PNT / quantum-sensing fundamental-limits mesh (sensing limits, GNSS spoof-
241
  # resilience, GPS-denied coasting, unified fundamental limits). PURE STDLIB closed-
242
  # form web path (never blocks); the heavy numpy/UKF/PINN solves are the Forge/GPU
 
237
  except Exception as _szl_qb_e: # pragma: no cover
238
  print(f"[a11oy] Quantum-Bio Λ-v5 NOT registered: {_szl_qb_e!r}", file=__import__("sys").stderr)
239
 
240
+ # -- SWEEP DEV 3: honest /status for quant, qbio, holographic (sweep-d3-status).
241
+ # Three surfaces served a 200 PAGE but had NO backing /<surface>/status API (404).
242
+ # szl_quant_qbio_holo wires the missing HONEST /status for each, summarizing REAL
243
+ # substance already in the estate -- never fabricated quantum/bio data:
244
+ # qbio/status -> the REAL Quantum-Bio Lambda-v5 models (szl_quantum_bio:
245
+ # Mitchell pmf, Lindblad coherence, radical-pair compass,
246
+ # Lambda-v5 gate). WHY it 404'd: szl_quantum_bio.register
247
+ # mounts /qbio/{pmf,coherence,compass,lambda,summary} but no
248
+ # /qbio/status -- this adds the missing summary.
249
+ # quant/status -> quantum-axis canonical formulas (szl_formulas.PROOF_STATUS,
250
+ # PROVEN vs AXIOM/SORRY) + link to the LIVE PNT/quantum-sensing
251
+ # mesh (/api/a11oy/v1/pnt/limits).
252
+ # holographic/status -> the 3D estate hologram is a VISUALIZATION over real mesh
253
+ # state: live compute-pool reachability (szl_backend_hardening)
254
+ # + BFT-quorum mesh graph (/mesh/3d) + szl3d toolkit. Honest
255
+ # MODELED geometry over LIVE node data.
256
+ # Lambda=Conjecture 1; Khipu=Conjecture 2; locked-8 @ c7c0ba17 unchanged; trust never
257
+ # 100%; 0 CDN; no codenames. Khipu receipt per status. Additive, try/except-guarded,
258
+ # registered BEFORE the SPA catch-all (mirrors szl_immune/szl_kverify pattern).
259
+ try:
260
+ import szl_quant_qbio_holo as _szl_qqh
261
+ _szl_qqh.register(app, ns="a11oy")
262
+ print("[a11oy] quant/qbio/holographic status registered: /api/a11oy/v1/{quant,qbio,holographic}/status", file=__import__("sys").stderr)
263
+ except Exception as _szl_qqh_e: # pragma: no cover
264
+ print(f"[a11oy] quant/qbio/holographic status NOT registered: {_szl_qqh_e!r}; SPA + API unaffected", file=__import__("sys").stderr)
265
+
266
+
267
  # ── PNT / quantum-sensing fundamental-limits mesh (sensing limits, GNSS spoof-
268
  # resilience, GPS-denied coasting, unified fundamental limits). PURE STDLIB closed-
269
  # form web path (never blocks); the heavy numpy/UKF/PINN solves are the Forge/GPU