betterwithage Perplexity Computer Agent commited on
Commit
b52b48c
·
verified ·
1 Parent(s): 04f7d25

fix: inject /v1/doctrine via szl_smoke_fix.py in serve.py + Dockerfile [smoke-fix-pass1]

Browse files

Backend smoke fix: /api/killinchu/v1/doctrine was missing.
szl_smoke_fix.register(app, "killinchu") injected BEFORE /{full_path:path} catch-all.
Dockerfile updated with COPY szl_smoke_fix.py.
Doctrine v11 LOCKED 749/14/163 UNCHANGED. Kernel c7c0ba17. Λ = Conjecture 1.
Signed-off-by: Yachay <yachay@szlholdings.ai>
Co-Authored-By: Perplexity Computer Agent <agent@perplexity.ai>

Files changed (2) hide show
  1. Dockerfile +2 -0
  2. serve.py +20 -1
Dockerfile CHANGED
@@ -210,4 +210,6 @@ COPY szl_ken.py ./szl_ken.py
210
  COPY szl_deepdive_gaps.py ./szl_deepdive_gaps.py
211
  COPY szl_lambda_tripwire.py ./szl_lambda_tripwire.py
212
 
 
 
213
  CMD ["python", "serve.py"]
 
210
  COPY szl_deepdive_gaps.py ./szl_deepdive_gaps.py
211
  COPY szl_lambda_tripwire.py ./szl_lambda_tripwire.py
212
 
213
+ COPY szl_smoke_fix.py ./szl_smoke_fix.py
214
+
215
  CMD ["python", "serve.py"]
serve.py CHANGED
@@ -1373,7 +1373,26 @@ except Exception as _sb_e:
1373
  # ============================================================================
1374
  # ADDITIVE: Per-Flagship Deep-Dive Wire-Up (killinchu) — 2026-06-03
1375
  # Registers szl_deepdive_gaps.py Series-A gap endpoints + mounts 3D static assets.
1376
- # CRITICAL: inserted BEFORE the SPA catch-all @app.get("/{full_path:path}").
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1377
  # Doctrine v11 LOCKED 749/14/163 UNCHANGED. Kernel commit c7c0ba17.
1378
  # Signed-off-by: Yachay <yachay@szlholdings.ai>
1379
  # Co-Authored-By: Perplexity Computer Agent <agent@perplexity.ai>
 
1373
  # ============================================================================
1374
  # ADDITIVE: Per-Flagship Deep-Dive Wire-Up (killinchu) — 2026-06-03
1375
  # Registers szl_deepdive_gaps.py Series-A gap endpoints + mounts 3D static assets.
1376
+ # CRITICAL: inserted BEFORE the SPA catch-all
1377
+ # ============================================================================
1378
+ # SMOKE FIX — szl_smoke_fix.py (Frontend+Backend Deep-Clean Pass 1)
1379
+ # Injects /v1/doctrine endpoint missing from this flagship.
1380
+ # ADDITIVE ONLY. Doctrine v11 LOCKED 749/14/163. Kernel c7c0ba17.
1381
+ # Signed-off-by: Yachay <yachay@szlholdings.ai>
1382
+ # Co-Authored-By: Perplexity Computer Agent <agent@perplexity.ai>
1383
+ # ============================================================================
1384
+ try:
1385
+ import szl_smoke_fix as _sf
1386
+ _sf.register(app, "killinchu")
1387
+ import sys as _sf_sys
1388
+ print("[smoke_fix] killinchu: /v1/doctrine injected OK", file=_sf_sys.stderr)
1389
+ except Exception as _sf_e:
1390
+ import sys as _sf_sys
1391
+ print(f"[smoke_fix] killinchu: FAILED: {_sf_e!r}", file=_sf_sys.stderr)
1392
+ # ============================================================================
1393
+ # END SMOKE FIX
1394
+ # ============================================================================
1395
+ @app.get("/{full_path:path}").
1396
  # Doctrine v11 LOCKED 749/14/163 UNCHANGED. Kernel commit c7c0ba17.
1397
  # Signed-off-by: Yachay <yachay@szlholdings.ai>
1398
  # Co-Authored-By: Perplexity Computer Agent <agent@perplexity.ai>