Dojo

Update a running Dojo sim session's live config (mode / security posture / judge).

Lets the operator change three run controls WHILE a sim is actively running (previously fixed at Begin-Sim): mode (auto/manual), security_posture_in_prompt (the A/B prompt toggle), and reviewer_kind (builtin_opus/human — the Judge). A partial update — every field is optional; only changed fields need be present. security_posture_in_prompt takes effect on the NEXT turn. Switching reviewer_kind re-homes the sim agent's team-scope review policy (remove from the old team, assign to the new); a real change is only available for the db-shepherd scenario and 502s if the reassignment fails (the session's reviewer_kind is left unchanged). Switching mode from manual to auto resumes the auto-tick loop immediately; auto to manual halts it after the in-flight turn. 404 if the session doesn't exist; 409 if it has already reached a terminal state. MNE-531 (dojo live-config).

post/sim/{session_id}/config

Request

  • Base URL: https://api.mnemom.ai/v1
  • URL: https://api.mnemom.ai/v1/sim/{session_id}/config
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Mnemom-Api-Key

Path parameters

session_idstring uuid required

Request body

mode'auto' | 'manual'

Switch between Auto (server-paced) and Manual (human-attack) mode.

security_posture_in_promptboolean

A/B toggle for whether the agent's system prompt is security-aware. Takes effect on the next turn.

reviewer_kind'builtin_opus' | 'human'

The Judge for this run's review holds. Only available for the db-shepherd scenario.

Response

Config updated; returns the resulting effective config.

mode'auto' | 'manual'
security_posture_in_promptboolean
reviewer_kind'builtin_opus' | 'human'

Changes

No recorded changes to this operation across all 1 revision of this API.