oe-release-readiness
Fast gates (run in this order)
-
Compile/import + refactor invariants:
python3 scripts/tests/verify_refactor.py
-
Fast backend smoke suite (Step 1–7 core invariants):
./scripts/tests/test-smoke.sh
-
Agent-facing API regressions (manager approve path + tool parity):
pytest backend/tests/agents/ -q
-
Deterministic site-visit trace contract (no UI required):
python3 scripts/manual_ux/manual_ux_scenario_I.py > /tmp/ux_site_visit_I.jsonpython3 scripts/manual_ux/validate_manual_ux_run.py /tmp/ux_site_visit_I.json --require_site_visit
Full gates (only if the change touches workflow logic)
- Full test suite:
./scripts/tests/test-all.sh
Hygiene gates (quick checks that prevent “LLM-ish” regressions)
- No new debug prints in runtime code (allow scripts/tests only):
rg -n "print\\(" backend -g"*.py" | rg -v "/tests/|/scripts/|__init__\\.py"
Claude Code shortcut
- Keep
.claude/commands/validate.mdup to date and run/validatefor a full-stack lane.
微信扫一扫