Skip to content

An agent-managed museum exhibit, built in Rust with Gajae-Code / LazyCodex — developed and maintained with no human intervention.

Rust

fix(#701): doctor JSON details[] now {key,value} objects; prose preserved as details_prose[]; acceptance check passes

YeonGyu-Kimcc86f54d65b0
diff --git a/rust/crates/rusty-claude-cli/src/main.rs b/rust/crates/rusty-claude-cli/src/main.rs
index 454e8988..9aa8bfb2 100644
--- a/rust/crates/rusty-claude-cli/src/main.rs
+++ b/rust/crates/rusty-claude-cli/src/main.rs
@@ -2124,7 +2124,11 @@ impl DiagnosticCheck {
),
("summary".to_string(), Value::String(self.summary.clone())),
(
- "details".to_string(),
+ // #701 (complete): `details[]` is now the canonical structured form —
+ // `{key, value}` objects instead of padded prose strings. The legacy
+ // prose representation is preserved as `details_prose[]` for callers
+ // that still scrape the formatted strings.
+ "details_prose".to_string(),
Value::Array(
self.details
.iter()
@@ -2134,10 +2138,8 @@ impl DiagnosticCheck {
),
),
(
- // #701: structured key/value pairs parsed from prose detail strings.
- // Each detail string is `"Key Label value"` separated by 2+ spaces.
- // Booleans (`true`/`false`) and integers are emitted as JSON scalars.
- "detail_entries".to_string(),
+ // details[] is now structured {key,value} objects (was prose strings).
+ "details".to_string(),
Value::Array(
self.details
.iter()