6 Commits

Author SHA1 Message Date
Codex
c9b941183d ⚡ Compress vendor assets and add bounded static runtime fallback 2026-11-01 19:54:09 -08:00
d-robotics
3221ac65e4 🐛 Preserve annotation drafts and recover source video playback 2026-10-21 16:30:38 +08:00
d-robotics
58e0e50570 🧪 Retro 2026-10-12: CI gate, known-failure baselines, devboot regression test, workbench smoke, review standards
Six follow-ups from the round8-12 hotfix retrospective:

- web-ci.yml: lint + Go/frontend tests on every push and PR (nothing ran
  app checks before; the round10 dev-mode regression shipped green)
- tests/known-failures.json + check-test-baseline.mjs: gate by exact
  failing-test id instead of hand-counted failure totals (14 frontend,
  70 Go upstream debts recorded from the dev tip)
- devboot.test.mjs: boots the real Vite dev server and pins the movi
  loader contract that broke round10 (query-less DEV url, /vendor stays
  off the module pipeline)
- scripts/local/smoke-workbench.mjs: pre-release smoke covering the
  seven recurring acceptance points (login/pool/claim/play-while-loading/
  captions/4x/playhead), 3x green against the local replica
- docs/CODING_STANDARDS.md + AGENTS pointer: eligibility flags are
  server-shipped, the UI renders them (rounds 9+12 lesson)
- vendor README host-element quirks section, HANDOFF gate pointers and
  movi-path verification rule, perf-audit report pinned with the
  post-round12 production 500 observation
- husky pre-commit: lint-staged (repo prettier scope) + tsc + gofmt
- gofmt: restore lint:go green on the dev tip (drift shipped silently
  in the perf merge and round12 because nothing gated it)
2026-10-12 18:07:02 +05:30
d-robotics
b64fbe6aab ⚡ Raise video playback speed cap to 4x for all roles and ship review caption improvements
- movi-player 0.4.1 vendored dist: getMaxAllowedRate() 2 -> 4 (documented in
  vendor README with refreshed SHA-256); the host setter silently clamped the
  workbench speed selector to 2x in the movi branch.
- CAPTURE_PLAYBACK_RATES trimmed to [0.5, 1, 1.5, 2, 4]: 6x/8x options were
  dead (clamped) and are removed instead of shipping fake speeds.
- ReviewCaptions invalid-kind highlight + caption list flex scroll (from dev,
  PR #37) so review/acceptance users get the subtitle readability fixes.
- Test updated to the 5-rate contract; suite back at the 631/645 baseline.
2026-10-12 13:31:43 +05:30
d-robotics
54e47906c1 🎬 movi-player D-layer: vendor 0.4.1 slim dist, MoviVideo wrapper on E′ direct pipeline, telemetry endpoint, spikes pass
- vendor public/vendor/movi-player-0.4.1/ (element.slim.js 4.9MB + movi.wasm 5.4MB,
  Apache-2.0, SHA-256 pinned, upgrade = new versioned dir + MOVI_VERSION bump)
- src/lib/movi-player.ts: lazy loader (@vite-ignore dynamic import), runtime
  force flag (movi default / native fleet kill-switch / wasm canary), throttled
  best-effort telemetry reporter
- src/components/MoviVideo.tsx: engine="native wasm" + nohotkeys, HTMLMediaElement
  event bridge, #t= fragment split (startat + wrapper-managed end bound),
  in-place custom-element upgrade preserving node identity, wasmurl before connect
- mount points: LazyVideoPreview (evidence/artifact/object-storage previews),
  MaterializedSliceWorkbench dual-camera, CaptureAnnotationWorkbench main videos
  (moviElementReady gate: transport seek queue needs the element on first render;
  falls back to native E′ path until defined), page-level preload on
  AnnotationOperations
- POST /api/client/movi-stats: session-attributed, field-truncated, store errors
  swallowed (202); Mongo clientMoviStats collection w/ 14d TTL + org/kind indexes
- spikes (CDP, headless Edge 155, production hev1 480p30 sample): key conflicts
  PASS (17 keys all reach container dispatcher, zero playback-state interference,
  nohotkeys effective); frame-seek parity PASS (movi deltas identical to native
  <video>, ±1/30s steps both directions); deep probe: engine=native-wasm hands
  playback to shadow <video> with zero WASM fetches on HW-decode clients
- verification: tsc clean, gofmt/build/vet pass, frontend 644 tests net-zero new
  failures vs E′ baseline (6 new pass), Go API suite net-zero new failures
  (75 pre-existing; the one delta traced to a colleague's uncommitted part-index
  working-tree change), replica E2E: vendor assets served, module registers,
  telemetry lands in Mongo with TTL
2026-10-11 20:06:22 +05:30
d-robotics
2379bd586c 🔧 Simplify diagnostics into anonymous connectivity checks 2026-09-26 06:58:44 -07:00