Hmbown/CodeWhale · error
overlay could not be rendered
Error message
overlay could not be rendered
What it means
Error "overlay could not be rendered" thrown in Hmbown/CodeWhale.
Source
Thrown at crates/tui/src/integrations/dsh/mod.rs:331
pub(crate) env_exports: Vec<(String, String)>,
pub(crate) shadowing_namespaces: Vec<String>,
pub(crate) disclosures: Vec<String>,
}
pub(crate) fn plan(
paths: &DshPaths,
detection: &DshDetection,
identity: &CodewhaleRouteIdentity,
profile: &str,
allow_full_access: bool,
skin: bool,
) -> Result<DshPlan> {
let mapped = map_identity(identity, allow_full_access);
let overlay_text = render_overlay(&mapped).ok_or_else(|| match &mapped.adapter {
DshAdapter::Unsupported { reason } => {
anyhow::anyhow!("current Codewhale route cannot be carried by DSH: {reason}")
}
_ => anyhow::anyhow!("overlay could not be rendered"),
})?;
let overlay_sha256 = sha256_hex(overlay_text.as_bytes());
let mut disclosures = mapped.disclosures.clone();
let shadowing = shadowing_namespaces(detection);
if !shadowing.is_empty() {
disclosures.push(format!(
"$DSH_HOME/settings.yaml has [{}] sections; DSH layers those over the overlay per field, so the saved DSH selection can shadow the pinned identity until you clear it in DSH.",
shadowing.join(", ")
));
}
if !detection.profiles.iter().any(|p| p == profile) {
disclosures.push(format!(
"DSH profile `{profile}` is not initialized yet; dsh will create $DSH_HOME/profiles/{profile} on first launch (its own documented behavior)."
));
}
if skin {
disclosures.push(
"Skin: DSH has no custom-theme API; the exported stylesheet is an unsupported overlay you must apply yourself. Nothing is injected."View on GitHub (pinned to 8880682c63)
When it happens
Trigger: Thrown at crates/tui/src/integrations/dsh/mod.rs:331 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Hmbown/CodeWhale@8880682c63 (2026-08-16).
Data as JSON: /api/errors/ba4f87ff356a7745.
Report an issue: GitHub.