betterwithage commited on
Commit
e830cd0
·
verified ·
1 Parent(s): 401058f

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): Dockerfile
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. Dockerfile +15 -0
Dockerfile CHANGED
@@ -1313,6 +1313,21 @@ COPY static/3d/surfaces/governedagent.js ./static/3d/surfaces/governedagent.js
1313
  # (Microsoft) · Anthropic contextual retrieval · ALCE arXiv:2305.14627 · RAGAS arXiv:2309.15217.
1314
  COPY szl_governed_rag.py ./szl_governed_rag.py
1315
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1316
  # git_sha wireup (FORGE-INSTRUCTION-gitsha-quiet-window): surface the deployed commit
1317
  # at the /honest endpoint so a stale box or Space is self-detecting. Provided at build
1318
  # time (box rebuild passes --build-arg SZL_GIT_SHA=$(git rev-parse HEAD); HF Space sets
 
1313
  # (Microsoft) · Anthropic contextual retrieval · ALCE arXiv:2305.14627 · RAGAS arXiv:2309.15217.
1314
  COPY szl_governed_rag.py ./szl_governed_rag.py
1315
 
1316
+ # SOVEREIGN FLYWHEEL BRIDGE (Wave M · Dev 2, 2026-07-07): szl_sovereign_flywheel.py is
1317
+ # the ONE shared adapter that lets all four flywheel flows — harness /harness/apply,
1318
+ # eval-arena /eval/run, agent-loop /agentloop/run, and RAG /rag/query — run on SZL's OWN
1319
+ # governed model by routing model_id="szl-sovereign-local" (alias of Dev-1's registry
1320
+ # backend id "sovereign_local") through szl_llm_registry.sovereign_probe/sovereign_generate.
1321
+ # The four modules above now import this bridge, so the Wave-L TRANSITIVE Dockerfile
1322
+ # COPY-guard (tools/check_copy_sync_lockstep.py CHECK 2, which recurses serve.py's local
1323
+ # imports through THEIR local imports) requires this per-file COPY (this Dockerfile uses
1324
+ # no `COPY . .`) — omit it and CI fails / the sovereign option falls back to off. When the
1325
+ # local Tower endpoint (SZL_LOCAL_LLM_URL) is unset/unreachable, each flow degrades to an
1326
+ # honest MODELED/UNAVAILABLE receipt that still records the intended sovereign backend and
1327
+ # NEVER fabricates a model response. Additive; Λ = Conjecture 1 (advisory). Nothing to
1328
+ # locked-8; no gate weakened.
1329
+ COPY szl_sovereign_flywheel.py ./szl_sovereign_flywheel.py
1330
+
1331
  # git_sha wireup (FORGE-INSTRUCTION-gitsha-quiet-window): surface the deployed commit
1332
  # at the /honest endpoint so a stale box or Space is self-detecting. Provided at build
1333
  # time (box rebuild passes --build-arg SZL_GIT_SHA=$(git rev-parse HEAD); HF Space sets