betterwithage commited on
Commit
2f56dce
·
verified ·
1 Parent(s): 1f62e79

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 +14 -0
serve.py CHANGED
@@ -1154,6 +1154,20 @@ try:
1154
  # codename. Replaces the prior 200 SPA shell that read nothing real.
1155
  app.add_api_route("/immune", _ptg_serve("immune.html"), methods=["GET"], include_in_schema=False)
1156
  app.add_api_route("/a11oy/immune", _ptg_serve("immune.html"), methods=["GET"], include_in_schema=False)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1157
  # SZL-NEMO CORE tab (Lane I1, 2026-06-14): the sovereign governed agent model
1158
  # skeleton. Standalone sovereign page (0 runtime JS CDN; loads /static/shared
1159
  # label + receipt modules), binds to live /api/a11oy/v1/nemo/* — governed-MoE
 
1154
  # codename. Replaces the prior 200 SPA shell that read nothing real.
1155
  app.add_api_route("/immune", _ptg_serve("immune.html"), methods=["GET"], include_in_schema=False)
1156
  app.add_api_route("/a11oy/immune", _ptg_serve("immune.html"), methods=["GET"], include_in_schema=False)
1157
+ # MATERIALS (Q'allariy) tab (2026-06-16): the honest, user-visible Verifiable
1158
+ # Alloy & Crystal Discovery surface. Standalone sovereign page (0 runtime CDN),
1159
+ # binds to live /api/a11oy/v1/materials/* — a crystal-novelty form that POSTs to
1160
+ # /materials/novelty (signed Khipu novelty cert + isometry-invariant PDD
1161
+ # fingerprint digest), a PAC-Bayes /certify panel, and an Immune /screen panel
1162
+ # (falls back to /api/a11oy/v1/immune/verdict if /screen not yet live). Honest
1163
+ # footer claim sheet (PROVEN/CONJECTURE/ROADMAP per Lean ref). Title "Materials
1164
+ # — Verifiable Alloy & Crystal Discovery". NEVER a codename. /certify + /screen
1165
+ # are built in parallel; the page shows a graceful 'endpoint deploying' state
1166
+ # (no fake result) on 404. web/materials.html is per-file COPY'd below and
1167
+ # declared an accepted divergence in .github/hf-module-drift-allow.json (same
1168
+ # baked-only image_only pattern as web/immune.html + web/energy.html).
1169
+ app.add_api_route("/materials", _ptg_serve("materials.html"), methods=["GET"], include_in_schema=False)
1170
+ app.add_api_route("/a11oy/materials", _ptg_serve("materials.html"), methods=["GET"], include_in_schema=False)
1171
  # SZL-NEMO CORE tab (Lane I1, 2026-06-14): the sovereign governed agent model
1172
  # skeleton. Standalone sovereign page (0 runtime JS CDN; loads /static/shared
1173
  # label + receipt modules), binds to live /api/a11oy/v1/nemo/* — governed-MoE