effd3caa4a
Created comprehensive Phase 3a smoke test (scripts/smoke_phase3a.py) with: - sys.path config (auto-detects local vs container) - JWT login + protected route auth (with graceful bcrypt skip) - Orchestrator async (ProcessPoolExecutor confirmed) - WS stage wiring (on_stage callback verified) - Real factor tears pipeline (multiprocessing fix validated) Multiprocessing blocker resolved: - Added if __name__ == "__main__": guard to enable vnpy.alpha spawn - Tested in container - factor pipeline runs end-to-end - max_workers=1 still spawns processes (guard required regardless) Test coverage: - Local: 44/44 tests passed, 82% coverage (sanguo_api + orchestrator) - Container: 30/30 tests passed (factor + backtest) - Smoke: All 6 sections passed in container Co-Authored-By: Claude <noreply@anthropic.com>