- Repo root: /home/graham/workspace/experiments/codex
- Date: 2025-09-28
Readiness: ✅ Generic pre‑hooks are correctly wired and tested.
. .venv/bin/activate && READINESS_LIVE=1 STRICT_READY=1 READINESS_EXPECT=all_smokes_core python scripts/mvp_check.py (red).all_smokes_core smoke suite.ND_REAL=1, so deploy readiness currently lacks variance checks.tests/smoke_optional/test_agent_proxy_validation_errors.py::test_agent_proxy_headers_precedence expects merged headers {'x-env': 'B', 'x-req': 'C'} but records {}.tests/smoke_optional/test_agent_proxy_headers_and_errors.py runs earlier in the suite and replaces HttpToolsInvoker; it appears the override persists into the failing test..venv passes, supporting the shared-state hypothesis.| # Source: litellm/experimental_mcp_client/mini_agent/agent_proxy.py (lines 160-239) | |
| if bool(inv.get("ok")): | |
| return inv | |
| return None | |
| except Exception: | |
| return None | |
| # Compute escalation metadata eagerly | |
| escalated = bool(req.escalate_on_budget_exceeded and req.escalate_model) | |
| used_model = req.escalate_model if escalated else req.model |
. .venv/bin/activate && READINESS_LIVE=1 STRICT_READY=1 READINESS_EXPECT=all_smokes_core python scripts/mvp_check.pytests/smoke_optional/test_agent_proxy_validation_errors.py::test_agent_proxy_headers_precedence{} instead of request overrides ("X-Env": "B", "X-Req": "C").tests/smoke_optional/test_agent_proxy_headers_and_errors.py replaces litellm/experimental_mcp_client/mini_agent/agent_proxy.HttpToolsInvoker with _FakeInvoker and never restores it. Because pytest runs smoke_optional tests in a single process, the override survives into the next test and prevents the header precedence contract from being exercised with the real invoker.Goal: Deliver a blunt, evidence‑backed production‑readiness assessment and a minimal patch set (unified diffs) with tests and doc updates. No broad refactors. Ship safety first.
Reviewer persona & tone
Project context (declare at top of your report)
Goal
Reviewer profile & tone
Project anchors
| # Project Bundle | |
| - Generated: 2025-09-27T17:43:50Z | |
| - Root: /home/graham/workspace/experiments/codex | |
| - Git: 5c67dc3+dirty | |
| - Files: 205 | |
| - Bundle Part: 1 | |
| - Context Tokens Limit: 400000 | |
| --- |
All‑Smokes Gate Still Timing Out/Fails in Split — Targeted Debug + Patch Requests Created: 2025-09-27 TTL: Private, delete within 15 minutes after review
Summary