{"record":{"id":"4388dd853515615a","repo":"BigPizzaV3/CodexPlusPlus","slug":"dream-skin-is-paused","errorCode":null,"errorMessage":"Dream Skin is paused","messagePattern":"Dream Skin is paused","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"crates/codex-plus-core/src/dream_skin_runtime.rs","lineNumber":289,"sourceCode":"    DreamSkinRuntimeStatus {\n        state,\n        enabled: true,\n        paused: false,\n        live_applied,\n        checks,\n    }\n}\n\npub async fn apply_dream_skin_live(\n    debug_port: u16,\n    helper_port: u16,\n) -> anyhow::Result<DreamSkinRuntimeStatus> {\n    let settings = SettingsStore::default().load()?;\n    if !settings.enhancements_enabled || !settings.codex_app_dream_skin_enabled {\n        bail!(\"Dream Skin is not enabled\");\n    }\n    if settings.codex_app_dream_skin_paused {\n        bail!(\"Dream Skin is paused\");\n    }\n    let identity = platform_identity_check(&settings.codex_app_path);\n    if identity.level == DreamSkinCheckLevel::Fail {\n        bail!(\"{}\", identity.message);\n    }\n    let target = primary_target(debug_port).await?;\n    let websocket = target\n        .web_socket_debugger_url\n        .as_deref()\n        .context(\"Codex renderer has no WebSocket URL\")?;\n    let probe = crate::assets::dream_skin_live_update_probe_script();\n    let live_probe = crate::bridge::evaluate_script(websocket, &probe)\n        .await\n        .ok()\n        .and_then(|response| {\n            response\n                .pointer(\"/result/result/value\")\n                .and_then(Value::as_str)","sourceCodeStart":271,"sourceCodeEnd":307,"githubUrl":"https://github.com/BigPizzaV3/CodexPlusPlus/blob/b1ed92e5e4a2d74095d4b8db5af43cef7acba9c6/crates/codex-plus-core/src/dream_skin_runtime.rs#L271-L307","documentation":"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.","triggerScenarios":"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.","commonSituations":"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.","solutions":["Resume Dream Skin in the manager UI (clear codex_app_dream_skin_paused).","Or edit the settings store to set codex_app_dream_skin_paused = false.","Re-run apply_dream_skin_live after resuming.","If pausing is intentional, schedule/skip live-apply calls while paused.","Check that resume actions actually persist the flag change."],"exampleFix":"// before\napply_dream_skin_live(9222, 9223).await?;\n// after\nif !settings.codex_app_dream_skin_paused {\n    apply_dream_skin_live(9222, 9223).await?;\n} else {\n    // resume first or skip\n}","handlingStrategy":"try-catch","validationCode":"let settings = SettingsStore::default().load()?;\nif settings.codex_app_dream_skin_paused {\n    return Ok(()); // paused: skip\n}","typeGuard":"fn dream_skin_active(s: &Settings) -> bool {\n    s.enhancements_enabled && s.codex_app_dream_skin_enabled && !s.codex_app_dream_skin_paused\n}","tryCatchPattern":"match apply_dream_skin_live(port, helper).await {\n    Err(e) if e.to_string() == \"Dream Skin is paused\" => log::info!(\"dream skin paused, skipping\"),\n    other => other?,\n}","preventionTips":["Check the paused flag before invoking live apply in scripts/CI.","Resume Dream Skin after maintenance pauses.","Surface paused state prominently in the manager UI."],"tags":["dream-skin","paused-state","settings"],"backgroundTag":"feature-not-enabled","analyzedSha":"b1ed92e5e4a2d74095d4b8db5af43cef7acba9c6","analyzedAt":"2026-09-19T23:35:21.129Z","contentChangedAt":"2026-09-19T23:35:21.129Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}