Skip to content

v0.9.3

Choose a tag to compare

@github-actions github-actions released this 11 Jun 08:46
85f386b
  • /api/specs/ingest now reliably auto-schedules the Planner (TFactory #347). Ingested specs were landing at status=pending with planner_scheduled: false and the warning "planner module not importable" — but only in the long-lived server process. The request-time lazy import from agents.planner import schedule_planner (inside create_spec_ingest_workspace) intermittently raised ImportError mid-request, while the very same import resolved cleanly in every fresh process and at app startup. Fix: routes/specs.py now imports agents.planner once at module load (app boot), pinning it into sys.modules so the downstream lazy import is a fast cache hit instead of a fragile fresh import. This unblocks the AIFactory→TFactory verify leg of the PARR loop (the contract already arrives; now the test pipeline actually runs).
  • Planner scheduling failures are no longer swallowed. Both schedule_planner call sites in task_control.py now catch Exception (not just ImportError), log the traceback, and surface a planner scheduling failed: … warning — so a future regression shows up in logs and the ingest response instead of a silent pending.