Skip to content

Integrate verified native evaluations and run hardening - #26

Merged
XuehaiWang merged 15 commits into
mainfrom
fix/merge-remote-20261129
Nov 29, 2026
Merged

XuehaiWang merged 15 commits into
mainfrom
fix/merge-remote-20261129

Conversation

@XuehaiWang

Copy link
Copy Markdown
Collaborator

Integrate native embodied evaluation support from #23 and run/adapter hardening from #25, preserving both source histories. Web can create and copy policy evaluations with frozen plans and resource review; native recordings provide episode timelines and stop causes. Execution-node auth networking is validated before persistence, and adapters cannot inject after-phase secret names or verifier after phases.

Resolve #25 against the current Agent registry, GPU role allocator and adapter tools/wrappers, reusing the existing signed log-offset parser. Includes RoboTwin EGL and packaged adapter permission fixes, plus log-tail caller handling.

Validation on 6058b24 (f85b720 changes documentation only):

  • passed: pnpm verify — 49 script, 1,071 core and 210 Web tests; 32 declared core skips; format, types, boundaries and builds.
  • passed: Python SDK discovery (211 tests, 1 optional checkout skip) and embodied adapter discovery (90 tests, 6 weight/image-dependent skips).
  • passed: npm package installation smoke, executable adapter entries, CLI/exports, isolated daemon HTTP, Web/assets/licenses; doctor reported 19 real checks.
  • passed: isolated real HTTP/auth rejection and offline CPU Docker run, negative-offset tail, resource limits, cleanup and lease release.
  • Initial checks failed on missing Python dependencies; reruns passed in an isolated environment populated from the local cache.
  • not_run: fresh GPU/simulator reruns and live Feishu. Source PR real simulator evidence is retained; Feishu regression uses an explicit fake API.

Known limits remain documented in docs/tasks/20261129-remote-branch-integration.md. Native registrations and SDK-pinned policy images need refresh when deploying the updated evaluator.

crepuscular-drizzle and others added 15 commits November 27, 2026 15:04
Install libegl1 in the simulator base and include the NVIDIA EGL vendor descriptor in the final image so SAPIEN can initialize after a fresh dependency build.
Create and copy native policy jobs from frozen sample plans, including the
source calibration settings. Refresh policies on entry to Configurations
and verify the reviewed policy snapshots before creating a job.

Show the effective per-sample timeout for native evaluations and validate
batch size on the review page. Ordinary configuration copies wait for the
Agent registry, keep compatible configurations, and identify skipped ones.
…ck adapter after.passEnv

Fix three high-priority regressions and boundary gaps:

1. Allow signed safe-integer `offset` on `GET /api/v1/runs/:id/logs` via
   `signedNum()` so tail reads work again for Web Overview `LogPeek`,
   CLI `orbit logs --tail`, and Feishu `/show <id>`, while keeping
   `limit`/`after`/`timeout` non-negative. Validate positive safe integer
   `--tail`, tolerate log errors in Feishu `/show`, and display `tail.error`
   in `Overview.tsx`.
2. Stop mutating `spec.hostNetwork` from the submitting node's auth profile
   in `preflight.specError()`. Check `hostNetwork` conflicts with `services`
   and `network: false` in `localBlocker()`, `RunService.schedule()`, and
   `receiveRemote()`, reject `services` on worker arrival, and resolve local
   auth `hostNetwork` only when leasing locally so primary profiles do not
   leak onto worker nodes or persist invalid `Run` records into SQLite.
3. Reject `after.passEnv` in `AdapterRunSpec` and `RunDescription`, validate
   `AdapterRunSpec` inside `toRunSpec()`, and disallow `after` phases on
   `verify` runs so external adapters cannot inject arbitrary daemon
   environment secrets.

Add unit and API regression tests and update `docs/design.md`,
`docs/guides/bench-adapter.md`, and the task record.
Reject submission when the reviewed environment or per-task resource settings have changed. Freeze the resolved overrides with the job. Show simulator defaults, selected task overrides, and model service resources, with readable changes when refreshing or copying an evaluation.
Build timelines from verified control evidence and finalized recordings. Align camera frames and instructions, including instruction changes, and show truncation independently of task success.
Keep the saved recording directly accessible when a new timeline has no camera data. Resolve existing Evidence links to the standalone video tab.
Resolve against current Agent registry, GPU role allocation, adapter tools and existing signed log offsets.
@XuehaiWang
XuehaiWang merged commit 3f9db42 into main Nov 29, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants