Tighten agent validation gates

This commit is contained in:
2026-06-30 23:24:31 +08:00
parent 53b81dd04d
commit 5055084788
9 changed files with 87 additions and 20 deletions

View File

@@ -197,8 +197,11 @@ scripts/check_no_weight_git.sh
```
For a fast non-training validation pass, run agents with
`SEG_VALIDATE_DEEP=0`. The browser dashboard exposes the same readiness,
coverage, GPU, weight, result, and agent checks through the UI.
`PYTHONPATH=backend conda run -n seg_smp python scripts/run_agents.py --no-deep`.
Add `--live`, `--acceptance`, or `--real` only after the backend and frontend
are running and you want HTTP endpoint, smoke, or real-workspace checks. The
browser dashboard exposes the same readiness, coverage, GPU, weight, result,
and agent checks through the UI.
The web UI includes a dataset bench for creating upload workspaces, uploading
images/labels/masks, and jumping into the existing rename, PNG conversion,
@@ -369,6 +372,8 @@ non-training validation pass is needed.
The web dashboard calls validation in light mode by default:
`/api/agents/validate?run_build=false&run_acceptance=false&run_deep=false`.
Pass `run_acceptance=true`, `run_real=true`, or `run_deep=true` only when you
explicitly want the agent to launch the heavier runtime acceptance checks from
the browser/API.
Pass `run_live=true`, `run_acceptance=true`, `run_real=true`, or
`run_deep=true` only when you explicitly want the agent to launch live endpoint
or heavier runtime acceptance checks from the browser/API. Smoke and real data
acceptance automatically enable the live backend checks because they submit
jobs through the API.