{"record":{"id":"aa3522dd21dfde22","repo":"Hmbown/CodeWhale","slug":"not-confirmed-nothing-was-written","errorCode":null,"errorMessage":"not confirmed; nothing was written","messagePattern":"not confirmed; nothing was written","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/tui/src/integrations/cli.rs","lineNumber":59,"sourceCode":"    Ok((paths, report))\n}\n\nfn confirm(yes: bool, question: &str) -> Result<()> {\n    if yes {\n        return Ok(());\n    }\n    if !std::io::stdin().is_terminal() {\n        anyhow::bail!(\"stdin is not a terminal; pass --yes to confirm the disclosed plan\");\n    }\n    print!(\"{question} [y/N] \");\n    use std::io::Write;\n    std::io::stdout().flush().ok();\n    let mut answer = String::new();\n    std::io::stdin()\n        .read_line(&mut answer)\n        .context(\"read confirmation\")?;\n    if !matches!(answer.trim().to_ascii_lowercase().as_str(), \"y\" | \"yes\") {\n        anyhow::bail!(\"not confirmed; nothing was written\");\n    }\n    Ok(())\n}\n\nfn print_status(report: &DshStatusReport) {\n    println!(\"DeepSeek Harness (dsh) — {}\", RELATIONSHIP_LABEL);\n    println!(\"  state: {}\", report.state.label());\n    println!(\"  summary: {}\", dsh::status_line(report));\n    match report.detection.binary.as_ref() {\n        Some(bin) => println!(\"  dsh binary: {}\", bin.display()),\n        None => println!(\"  dsh binary: not on PATH\"),\n    }\n    println!(\n        \"  dsh version: {} ({})\",\n        report.detection.version.as_deref().unwrap_or(\"unknown\"),\n        report.detection.compatibility.label()\n    );\n    println!(","sourceCodeStart":41,"sourceCodeEnd":77,"githubUrl":"https://github.com/Hmbown/CodeWhale/blob/8880682c63083a91624de936797efa3ce9e498fd/crates/tui/src/integrations/cli.rs#L41-L77","documentation":"Error \"not confirmed; nothing was written\" thrown in Hmbown/CodeWhale.","triggerScenarios":"Thrown at crates/tui/src/integrations/cli.rs:59 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8880682c63083a91624de936797efa3ce9e498fd","analyzedAt":"2026-08-16T11:31:27.956Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}