betterwithage Perplexity Computer Agent commited on
Commit
426688a
·
verified ·
1 Parent(s): 8c0eaa6

chore: serve.py vendor allowlist + Dockerfile per-file COPY + NOTICE attributions

Browse files

Part of the batch-1 console uniqueness + sovereign-fonts rebuild. Every batch tab gets a distinct real-data viz; 7 libs vendored locally (zero CDN); Google Fonts removed in favor of self-hosted @font-face. Honesty: locked-5 {F1,F11,F12,F18,F19} kernel-verified; experimental waves CI-green @958c09f9; Lambda=Conjecture 1; conformal=W5-3 (NOT Hoeffding).

Signed-off-by: Stephen P. Lutar Jr. <stephenlutar2@gmail.com>
Co-Authored-By: Perplexity Computer Agent <agent@perplexity.ai>

Files changed (3) hide show
  1. Dockerfile +9 -0
  2. NOTICE +20 -0
  3. serve.py +9 -0
Dockerfile CHANGED
@@ -179,6 +179,15 @@ COPY static-vendor/cytoscape.min.js ./static-vendor/cytoscape.min.js
179
  COPY static-vendor/d3.min.js ./static-vendor/d3.min.js
180
  COPY static-vendor/katex.min.js ./static-vendor/katex.min.js
181
  COPY static-vendor/katex.min.css ./static-vendor/katex.min.css
 
 
 
 
 
 
 
 
 
182
  COPY _vendor_blobs.py ./_vendor_blobs.py
183
 
184
  # ADDITIVE (V4 Fleet Panel + /api/health fix, 2026-06-02, Dev2 Inti):
 
179
  COPY static-vendor/d3.min.js ./static-vendor/d3.min.js
180
  COPY static-vendor/katex.min.js ./static-vendor/katex.min.js
181
  COPY static-vendor/katex.min.css ./static-vendor/katex.min.css
182
+ # Batch-1 uniqueness rebuild (2026-06-06): additional vendored graph-viz libs
183
+ # (MIT/ISC/BSD; NOTICE updated). Per-file COPY (this Dockerfile uses no COPY . .).
184
+ COPY static-vendor/dagre.min.js ./static-vendor/dagre.min.js
185
+ COPY static-vendor/cytoscape-dagre.js ./static-vendor/cytoscape-dagre.js
186
+ COPY static-vendor/d3-sankey.min.js ./static-vendor/d3-sankey.min.js
187
+ COPY static-vendor/ngraph.graph.min.js ./static-vendor/ngraph.graph.min.js
188
+ COPY static-vendor/ngraph.path.min.js ./static-vendor/ngraph.path.min.js
189
+ COPY static-vendor/ngraph.forcelayout.min.js ./static-vendor/ngraph.forcelayout.min.js
190
+ COPY static-vendor/panzoom.min.js ./static-vendor/panzoom.min.js
191
  COPY _vendor_blobs.py ./_vendor_blobs.py
192
 
193
  # ADDITIVE (V4 Fleet Panel + /api/health fix, 2026-06-02, Dev2 Inti):
NOTICE CHANGED
@@ -37,6 +37,26 @@ code; the libraries themselves are used unmodified under their own licenses.
37
  Cytoscape.js — (c) The Cytoscape Consortium — MIT
38
  https://github.com/cytoscape/cytoscape.js
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  Vendored fonts (self-hosted locally for zero-runtime-CDN sovereignty; served
41
  from /vendor/fonts/*.woff2, shipped as base64 in _vendor_blobs.py — NO Google
42
  Fonts CDN at runtime):
 
37
  Cytoscape.js — (c) The Cytoscape Consortium — MIT
38
  https://github.com/cytoscape/cytoscape.js
39
 
40
+ Batch-1 uniqueness rebuild (2026-06-06) — additional vendored graph-viz libs
41
+ (self-hosted at /vendor/, ZERO runtime CDN):
42
+ dagre — (c) Chris Pettitt — MIT
43
+ https://github.com/dagrejs/dagre
44
+ cytoscape-dagre — (c) Cytoscape Consortium — MIT
45
+ https://github.com/cytoscape/cytoscape.js-dagre
46
+ d3-sankey — (c) Mike Bostock — ISC
47
+ https://github.com/d3/d3-sankey
48
+ ngraph.graph — (c) Andrei Kashcha (anvaka) — BSD-3-Clause
49
+ https://github.com/anvaka/ngraph.graph
50
+ ngraph.path — (c) Andrei Kashcha (anvaka) — MIT
51
+ https://github.com/anvaka/ngraph.path
52
+ ngraph.forcelayout — (c) Andrei Kashcha (anvaka) — MIT
53
+ https://github.com/anvaka/ngraph.forcelayout
54
+ panzoom — (c) Andrei Kashcha (anvaka) — MIT
55
+ https://github.com/anvaka/panzoom
56
+ (knowledge tab GPU point-graph + trustspace GLSL trust-gradient field are
57
+ our own WebGL code rendered via the already-vendored THREE in 3d-force-graph,
58
+ following the anvaka ngraph.pixel / fieldplay PATTERNS — no third-party code copied.)
59
+
60
  Vendored fonts (self-hosted locally for zero-runtime-CDN sovereignty; served
61
  from /vendor/fonts/*.woff2, shipped as base64 in _vendor_blobs.py — NO Google
62
  Fonts CDN at runtime):
serve.py CHANGED
@@ -3656,6 +3656,15 @@ try:
3656
  "d3.min.js": _VENDOR_JS_CT,
3657
  "katex.min.js": _VENDOR_JS_CT,
3658
  "katex.min.css": _VENDOR_CSS_CT,
 
 
 
 
 
 
 
 
 
3659
  }
3660
 
3661
  # NOTE on route ORDER: literal paths (/vendor/earth-night.jpg, /vendor/fonts/*)
 
3656
  "d3.min.js": _VENDOR_JS_CT,
3657
  "katex.min.js": _VENDOR_JS_CT,
3658
  "katex.min.css": _VENDOR_CSS_CT,
3659
+ # Batch-1 uniqueness rebuild (2026-06-06): additional vendored graph-viz
3660
+ # libs, all MIT/ISC/BSD (NOTICE updated). Self-hosted, ZERO CDN.
3661
+ "dagre.min.js": _VENDOR_JS_CT, # dagre 0.8.5 (MIT)
3662
+ "cytoscape-dagre.js": _VENDOR_JS_CT, # cytoscape-dagre 2.5.0 (MIT)
3663
+ "d3-sankey.min.js": _VENDOR_JS_CT, # d3-sankey 0.12.3 (ISC)
3664
+ "ngraph.graph.min.js": _VENDOR_JS_CT, # ngraph.graph 20.0.1 (BSD-3, anvaka)
3665
+ "ngraph.path.min.js": _VENDOR_JS_CT, # ngraph.path 1.5.0 (MIT, anvaka)
3666
+ "ngraph.forcelayout.min.js": _VENDOR_JS_CT, # ngraph.forcelayout 3.3.1 (MIT, anvaka)
3667
+ "panzoom.min.js": _VENDOR_JS_CT, # panzoom 9.4.3 (MIT, anvaka)
3668
  }
3669
 
3670
  # NOTE on route ORDER: literal paths (/vendor/earth-night.jpg, /vendor/fonts/*)