Files
VibemakerSandbox/app/src
tfrere cb0312619f feat: load community policies from the hub
Resolve an org/repo Hub id (or a direct .onnx URL) into a validated
onnxruntime session and swap it into the walk slot only, keeping
recovery/sitstand/kicks/roulade on the official set:

- custom-policy.js: manifest schema-2 checks (reject only
  present-and-wrong claims, walk-slot compatible kinds only), publish
  smoke run mirror (1 input / 1 output, zeros + 2 noisy inferences,
  [1,14] finite non-constant output), honors manifest action_scale
- game.js: name-agnostic inference (session inputNames/outputNames
  instead of hardcoded obs/actions), per-session action scale,
  Number.isFinite guard before writing ctrl, watchdog that auto-reverts
  to the official walker on 3 abnormal endings (recovery entries +
  solver explosions) in a rolling 20 s window or any non-finite action
- ?policy=<ref> URL param (parsed in App.jsx, loaded after boot, never
  blocking it; failures surface in the HUD on the official walker)
- HUD: active-policy chip with unload X, LOADING POLICY OSD line,
  toast-style OSD message on load errors and watchdog reverts

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 13:48:34 +02:00
..