BigPizzaV3/CodexPlusPlus · warning

Dream Skin is paused

Error message

Dream Skin is paused

What it means

apply_dream_skin_live refuses to run when settings.codex_app_dream_skin_paused is true, bailing with "Dream Skin is paused". Pausing is a user-facing state that temporarily suspends skin application without disabling the feature, so the runtime treats a paused flag as a hard stop for live application.

Solutions

  1. Resume Dream Skin in the manager UI (clear codex_app_dream_skin_paused).
  2. Or edit the settings store to set codex_app_dream_skin_paused = false.
  3. Re-run apply_dream_skin_live after resuming.
  4. If pausing is intentional, schedule/skip live-apply calls while paused.
  5. Check that resume actions actually persist the flag change.

Example fix

// before
apply_dream_skin_live(9222, 9223).await?;
// after
if !settings.codex_app_dream_skin_paused {
    apply_dream_skin_live(9222, 9223).await?;
} else {
    // resume first or skip
}
Defensive patterns

Strategy: try-catch

Validate before calling

let settings = SettingsStore::default().load()?;
if settings.codex_app_dream_skin_paused {
    return Ok(()); // paused: skip
}

Type guard

fn dream_skin_active(s: &Settings) -> bool {
    s.enhancements_enabled && s.codex_app_dream_skin_enabled && !s.codex_app_dream_skin_paused
}

Try / catch

match apply_dream_skin_live(port, helper).await {
    Err(e) if e.to_string() == "Dream Skin is paused" => log::info!("dream skin paused, skipping"),
    other => other?,
}

Prevention

When it happens

Trigger: Calling apply_dream_skin_live(debug_port, helper_port) while both enabled flags are true but settings.codex_app_dream_skin_paused is true in the loaded settings.

Common situations: User clicked pause/resume skin in the manager and forgot to resume; a script set the paused flag for debugging and left it; automation triggers live apply during a paused window.

Related errors


AI-assisted analysis of BigPizzaV3/CodexPlusPlus@b1ed92e5e4 (2026-09-19). Data as JSON: /api/errors/4388dd853515615a. Report an issue: GitHub.

Appendix: source

Thrown at crates/codex-plus-core/src/dream_skin_runtime.rs:289

    DreamSkinRuntimeStatus {
        state,
        enabled: true,
        paused: false,
        live_applied,
        checks,
    }
}

pub async fn apply_dream_skin_live(
    debug_port: u16,
    helper_port: u16,
) -> anyhow::Result<DreamSkinRuntimeStatus> {
    let settings = SettingsStore::default().load()?;
    if !settings.enhancements_enabled || !settings.codex_app_dream_skin_enabled {
        bail!("Dream Skin is not enabled");
    }
    if settings.codex_app_dream_skin_paused {
        bail!("Dream Skin is paused");
    }
    let identity = platform_identity_check(&settings.codex_app_path);
    if identity.level == DreamSkinCheckLevel::Fail {
        bail!("{}", identity.message);
    }
    let target = primary_target(debug_port).await?;
    let websocket = target
        .web_socket_debugger_url
        .as_deref()
        .context("Codex renderer has no WebSocket URL")?;
    let probe = crate::assets::dream_skin_live_update_probe_script();
    let live_probe = crate::bridge::evaluate_script(websocket, &probe)
        .await
        .ok()
        .and_then(|response| {
            response
                .pointer("/result/result/value")
                .and_then(Value::as_str)

View on GitHub (pinned to b1ed92e5e4)