Skip to content

Agents - Codex Guardian blocks an approved unattended bot deployment #308

Open

Description

@rapcmia

Area

Agents & chat

What happened

An unattended loop started with approved risk limits should be able to deploy a controller bot when Condor's risk callback accepts the request. I ran PMM Mister twice with a $5 drawdown cap under a $200 position limit, and both configs saved but Codex Guardian rejected manage_bots(action="deploy") before any bot started. The provider review is overriding the permission outcome Condor prepared for the unattended loop.

manage_bots(action="deploy", bot_name="sol-mm", max_global_drawdown_quote=5): failed
Guardian Review: failed
deployment_status: blocked by live-activity authorization gate
Bot status: no bot deployed; 0 executors; $0 exposure

Steps to reproduce

  1. Start Condor 0.1.0 from main with uv run python main.py, an isolated or unfunded Hummingbot API test account, server local, and active_agent_key: codex.
  2. From the dashboard, start pmm_mister_operator in loop mode with total_amount_quote: 100, max_position_size_quote: 200, and trading context binance sol-fdusd; allow it to prepare a controller and request manage_bots(action="deploy") with max_global_drawdown_quote: 5.
  3. Observe that the config is saved but Guardian marks the deploy failed, no bot appears in manage_bots(action="status"), and the loop records HOLD with zero executors and exposure.

Environment

Condor 0.1.0 (main @ 6008bcfd), source checkout, Python 3.12 via uv, active model provider codex, Hummingbot API server local

Logs

Observed with Condor 0.1.0 on 2026-10-29; the relevant permission and risk paths are identical on main @ 6008bcfd:

PMM Mister session 5, BTC-FDUSD:
  manage_bots deploy btc-mm with max_global_drawdown_quote=5 -> Guardian Review failed

PMM Mister session 6, SOL-FDUSD:
  manage_bots deploy sol-mm with max_global_drawdown_quote=5 -> Guardian Review failed

Both sessions:
  state=running
  server_name=local
  bots=0, executors=0, exposure=$0

Activity

  1. rapcmia commented on Oct 29, 2026

    @rapcmia
    ContributorAuthor

    Note: retested with a different LLM

    • Testing started with Claude as the agent's model, and the bot deployed normally with no Guardian review.
    • After switching the model to Codex, Codex's Guardian reviewer started blocking the deployment.
    • On Codex the block is intermittent: 3 of 4 runs were blocked, and the 4th run's identical deploy btc-mm request (max_global_drawdown_quote: 5) was approved and the bot deployed.
    • Guardian gave no reason in any review ("rationale": null), whether it approved or blocked.
    • Switching back to Claude, the bot deployed on tick 1 again with no Guardian review.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions