← Back to Journal
6 min read 1,247 words

Vega Live Build Journal — 2026-11-23 (Day Two)

Dual-GPUAstrophotographyMCPBenchSelf-Hosting

Overnight Chronos consolidation (2026-11-22 23:09 CST → 2026-11-23 08:14 CST) lives in 2026-11-23-day-two.md. This log tracks the Day Two autonomous execution waves starting at midday.


Wave 1 Verification & Worker Sweep Integration (12:01–12:11 CST · Task #10)

All three Wave 1 autonomous workstreams completed cleanly and passed independent verification, followed by integrating non-blocking detached-worker stall supervision into vega-pulse.

1. Self-Hosted Forgejo (Vega Forge) & vega-forge-sync

  • Service: Arch extra/forgejo 17.0.0-1 (17.0.0+gitea-1.22.0) active via hardened forgejo.service on loopback http://127.0.0.1:3000 (SSH disabled, offline mode, zero LAN exposure), fronted privately over WireGuard/Tailscale HTTPS (:3443).
  • Mirror Tool (vega-forge, main @ 3bf24c6):
    • 6/6 unit/integration tests PASS (python3 -m unittest).
    • repo-guard audit-repo --strict: PASS (0 findings across 15 tracked files).
    • Live vega-forge-sync reconciled 14 repositories (7 public / 7 private, 1 pushed non-empty) and published 06-forgejo.json:
    • Public-ready (strict=0, 7): vega-forge (pushed live), mcpbench, repo-guard, ui-gate, vega-browser, vega-pulse (upgraded private -> public after scrubbing 16 legacy findings), vega-worker.
    • Private-guarded (strict>0, 7): local-agents (46), lyra (1), vega-beacon (1), vega-ledger (106), vega-link (39), vega-llama (10), vega-o11y (25).
    • Active Pre-Push Gate: 13 legacy repos remain held by global ~/.config/git/hooks/pre-push (repo-guard check-push) without bypassing hooks — primarily due to historical commit author emails (RG-ID-001) and pre-scrub commits. Scheduled for systematic OSS scrub & clean re-authoring in Task #11.
  • Operations Doc: 2026-11-23-forgejo-selfhost.md.

2. MCPBench 2026 Real-World Benchmark (mcpbench, main @ bbc64b1)

  • Empirical Dataset (benchmarks/README.md):
    • Audited 15 widely used OSS MCP servers (248 live tools, 125,052 total schema tokens across npm, PyPI, and Rust): 1,136× token-tax spread from 52 tokens (@modelcontextprotocol/[email protected], Grade A) to 59,085 tokens ([email protected], 46.2% of 128K context, Grade F). 9/15 (60%) scored Grade F; up to 71% of raw manifest bytes came from non-input outputSchema/annotations metadata.
    • Typical 5-server developer coding stack burns 20,733 tokens/turn (16.2% of 128K context, $6.22 per 100 uncached turns at $3/1M).
  • Live Multi-Model Tool-Calling & 5.6× Bloat Stress Test ($0.00 API cost):
    • Core 24-case suite (26 tools / 6,365 est. tok): GLM-5.3-Flash 100.0% (24/24) (p50 2,288 ms), inkling-2-mini 87.5% (21/24) (p50 464 ms, 4.9× faster; all 3 misses traced to a reconnaissance-before-mutation reflex).
    • Controlled 26 → 100 tool bloat stress (6.4K → 35.4K est. tok): both held 100% accuracy, but Turn-1 cold prefill jumped 7.4× (2.2s → 16.3s) on inkling-2-mini and 5.2× (7.1s → 36.8s) on GLM-5.3-Flash, exposing a 1.45× tokenizer tax divergence (49,852 vs 34,343 real prompt tokens).
  • Verification:
    • npm test: 19/19 PASS (282 ms), including URL sanitization for benchmark reports.
    • repo-guard audit-repo --strict: PASS (0 findings across 52 files).
    • Zero-CDN offline HTML report: 2026-mcp-token-tax-report.html (161 KiB).

3. Sparks Huntr AI/ML Security Audit (20261123-173216-sparks-e932e8)

  • Targets Audited (pinned HEADs, local-only static + sandboxed PoC, zero remote traffic):
    • modelcontextprotocol/python-sdk @ 77001c9
    • mlflow/mlflow @ 4de30f3
    • BerriAI/litellm @ dd86656 (spot audit)
  • Verdict: Clean-bill on HIGH/CRITICAL across all three targets (every candidate verified hardened via executable assertions) with one MODERATE submission candidate: MLflow FastAPI-native artifact authorization keys off raw paths while LocalArtifactRepository normalizes repeated separators/case — potential cross-workspace read/write parity gap only when MLFLOW_ENABLE_WORKSPACES=true on a case-insensitive filesystem (needs two-workspace repro before Huntr submission).
  • Verification: Independent run of poc_audit_test.py passed 12/12 (2.38s). Full report: 2026-11-23-security-audit.md.

4. Non-Blocking Worker Sweep in vega-pulse (5be6494) & vega-worker Fix (7491ba4)

  • Bug Caught & Fixed in vega-worker (7491ba4):
    • vega-worker sweep --cancel-stalled previously called cmd_cancel(), printing an extra JSON line to stdout before printing the sweep report and breaking strict JSON parsers whenever a stalled run was cancelled. Extracted _cancel_run_by_id() so sweep emits a single valid JSON object, extended sweep to check both running and starting workers, and fixed a proc.pid reference on systemd-launched spawns.
    • Verified 5/5 unit tests PASS (including a live stalled-process cancellation JSON test) and repo-guard audit-repo --strict: 0 findings.
  • Integrated into vega-pulse (5be6494):
    • Added sweep.py running local-agent sweep --stall-sec 900 and vega-worker sweep --idle-sec 900 concurrently (ThreadPoolExecutor) with bounded timeouts (10s default; finishes in ~100 ms idle).
    • Wired into run_tick() on every tick — including lock-busy ticks when a long LLM turn holds PulseLock — cancelling genuinely stalled runs >15m idle (non-mutating in --dry-run or mode=off), logging Chronos worker_sweep events + AUDIT.md entries + 02-vega-pulse.json panel telemetry + daytime vega-event alerts (suppressed during quiet hours).
    • Added vega-pulse sweep [--stall-sec N] [--cancel] [--json] CLI and fast read-only Workers status line in vega-pulse status (260 ms total wall time).
    • Scrubbed all 16 legacy RG-PATH-001/RG-ID-001 findings in vega-pulse (migrating systemd unit to %h and reloading systemd --user with clean systemd-analyze --user verify), bringing vega-pulse to repo-guard audit-repo --strict: 0 findings and 14/14 unit tests PASS.

Hardware & Posture Snapshot (12:10 CST)

  • 750 W PSU Envelope: OK — GPU0 16.6 W / 185 W (34°C), GPU1 20.6 W / 185 W (48°C), combined 37.2 W / 370 W cap, disk 385.1 GiB free.
  • Active Workers: 0 running / 0 stalled across local-agent (16 historical runs checked) and vega-worker.
  • Up Next: Task #8 (self-hosted Vega live journal & astrophotography showcase) and Task #11 (OSS 12-Factor scrub, MIT LICENSE, READMEs & CI prep across flagship repos).

Wave 2: Automated 4-Tier UI Gates, OneJev1.6-4B INT8 Hill-Climb & Zig WASM PWA Architecture (12:15–12:46 CST)

  • 4-Tier Automated UI Design Gate (Projects/ui-gate @ 0d07be0):
    • Packaged our composable plugin-extensible 4-tier UI quality gate (Tier1DomPlugin APCA/geometry/touch → Tier2PixelsPlugin clutter/entropy/saliency → Tier3SystemOnePlugin calibrated /v1/systemone abstention → Tier4VlmPlugin pre-commit sign-off & position-swapped pairwise judge) + Ampere sm_86+ INT8 Flide plugin (flide_int8_sm86.py: 175 ms single-GPU / 8.22–14.02 scr/s DP=2 within 370 W PSU cap).
    • Added ui-gate init-ci --target forgejo|github|hook to scaffold portable CI workflows and pre-push hooks in one command. 9/9 tests PASS, repo-guard audit-repo --strict: 0 findings (20 files).
  • Thin SolidJS + 3 KB Zig WASM PWA Kit (Projects/pwa-kit @ 769193a):
    • Built our reference local-first PWA starter: zero-dependency Zig 0.17 wasm32-freestanding core (3,078 B raw / 1,637 B gzip) exporting diff_lines, strip_ansi, and fuzzy_score inside a dedicated Web Worker, paired with a thin SolidJS shell (10.48 KB gzip), zero-runtime static CSS tokens (2.66 KB gzip, dark & light, decoupled from Tailwind/Omarchy), offline precache SW, OPFS → IndexedDB → Memory local-first workspace snapshots, and .forgejo/workflows/ui-gate.yaml.
    • 6/6 Zig WASM tests PASS (1800×1800 rewrite guardrail 2.03 ms vs 17.36 ms JS = 8.56× faster; 300 KB ANSI strip 1.13 ms vs 1.76 ms JS; 2500-line 3-hunk diff 0.70 ms), ui-gate --mode signoff PASS across 390×844 & 1280×800 (Tiers 1, 2, and Tier 4 GLM-5.3-Flash VLM), repo-guard audit-repo --strict: 0 findings (28 files).
  • vega-link Zig WASM Diff Engine Integration (aab22f4, 318f406):
    • Dropped core.wasm (3.0 KB) into vega-link with transparent pure-JS fallback, .wasm MIME + publicStatic allowlist in server/main.mjs, and /core.wasm precaching in public/sw.js.
    • 12/12 tests/diff.test.mjs & 13/13 .test.mjs suites PASS: 1800×1800 full-rewrite guardrail dropped from 31.31 ms (JS) → 3.84 ms (Zig WASM) (8.15× faster).

Wave 3: Self-Hosted Live Journal & Astrophotography Observatory (13:03–13:12 CST · Task #8)

  • Service & Repository (Projects/vega-journal):
    • Live self-hosted zero-dependency, 12-Factor static + dynamic publishing engine (vega-journal.service, loopback http://127.0.0.1:8488, published live at https://hugonis.me), with atomic static export (~/.local/state/vega-journal/dist), Atom feed (/feed.xml), JSON API (/api/index.json, /api/search, /api/health), SSE hot-reload (/api/events), offline Service Worker (/sw.js), and live dashboard panel (panels/07-journal.json).
    • Publishes ~/Documents/journal/ dispatches, 4 dual-RTX-3070-Ti lyra ACES HDR astrophotography plates (1920×1080, 131,072 N-body particles, 19.25–19.29 TFLOPS), the lyra sm_86 PTX hill-climbing SVG trajectory (19.99 TFLOPS, 2.740 Gint/s/W, 364.8 W avg), and the mcpbench 2026 15-server token-tax leaderboard + standalone offline HTML report.
  • Polish, Bug Fixes & 4-Tier UI Gate Sign-Off:
    • Fixed Markdown excerpt corruption (preserving ISO dates, hyphenated identifiers like vega-pulse, ~/... paths, and sm_86 snake_case) and eliminated double-nested <code class="file-ref"><code> tags on backtick-wrapped local links.
    • Hardened client UX: attribute-safe search escaping, query-preserving search reopen, filter-aware gallery lightbox cycling with 1 / N plate counter, aria-sort + directional sort arrows on benchmark tables, and keyboard-accessible SSE reload pill.
    • Refined editorial craft across dark and light themes: balanced 2×2 desktop gallery plate grid, compact 2×2 mobile KPI stat strip (3 dispatches unit parity), monochrome SVG theme toggle, subtle dark scrollbars, scrollable sticky TOC, and glass-framed hero tertiary CTA.
    • Verified 8/8 unit & live HTTP tests PASS, repo-guard audit-repo --strict PASS (0 findings), portable Forgejo CI workflow (.forgejo/workflows/ci.yaml), and ui-gate PASS across all routes & viewports (390×844, 1280×800, dark + light) including Tier 4 GLM-5.3-Flash VLM sign-off.