Phase2 dry-run: pending A, probe, build-config client, gated task/add

Still default dry-run; ALLOW_LIVE_SUBMIT=0. Live gates closed.
This commit is contained in:
Victor Cao
2026-10-16 19:00:15 +08:00
parent 0d0f3b611a
commit bed3bc11ca
25 changed files with 952 additions and 110 deletions

View File

@@ -2,18 +2,21 @@
# Allowed: test / build / smoke-health / dry-run
# FORBIDDEN: register / submit / deploy / push targets
.PHONY: test build smoke-health dry-run help
.PHONY: build-config-dry probe-readonly test build smoke-health dry-run dry-run-pending help
PYTHON ?= python3
IMAGE ?= modelhub-agent-contrib:local
PORT ?= 8080
help:
@echo "build-config-dry generate YAML via API (requires token; never creates task)"
@echo "probe-readonly authenticated read-only task/page GET"
@echo "dry-run-pending read-only adapt pending A→B report"
@echo "test stdlib unit tests + local SIGTERM integration (needs sockets)"
@echo "build Docker build using platform base (needs Docker + TCR access)"
@echo "smoke-health local HTTP smoke (needs sockets; default test STRATEGY_ID)"
@echo "dry-run local example report; pending-submit integration outstanding"
@echo "No register/submit/deploy/push — Phase1 hard boundary."
@echo "dry-run read-only pending report (example fallback)"
@echo "No register/submit/deploy/push — default live off."
test:
$(PYTHON) -m unittest discover -s tests -v
@@ -30,3 +33,12 @@ smoke-health:
dry-run:
$(PYTHON) scripts/dry_run.py
dry-run-pending:
PENDING_SUBMIT_MD=/workspace/modelhub-adapt/pending-submit.md PENDING_SUBMIT_TXT=/workspace/modelhub-adapt/pending-submit.txt $(PYTHON) scripts/dry_run.py
probe-readonly:
$(PYTHON) scripts/probe_readonly.py
build-config-dry:
$(PYTHON) scripts/build_config_dry.py