Skip to content

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

Rust

fix(#713): add missing action fields to acp and config json responses; acp->status, config bare->list, config section->show

YeonGyu-Kim7d6b2044d54e
diff --git a/ROADMAP.md b/ROADMAP.md
index c826dd29..c11c8334 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -7591,3 +7591,5 @@ Original filing (2026-04-18): the session emitted `SessionStart hook (completed)
711. **`version`, `system-prompt`, `export`, and `init` `--output-format json` responses all lacked an `action` field — returned `null` or omitted entirely** — dogfooded 2026-05-26 on `42c17bc4`. All four commands emitted `kind` + `status` but no `action`, making them inconsistent with all other JSON surfaces that include the verb. Fix: added `action:"show"` to `version` and `system-prompt`, `action:"export"` to all three `export` paths, `action:"init"` to `init`; added contract-test assertions for each. Source: Jobdori dogfood on `42c17bc4`, 2026-05-26.
712. **`doctor`, `status`, `bootstrap-plan`, and `dump-manifests` `--output-format json` responses missing `action` field — consistent with batch of missing-action fixes in #710/#711** — dogfooded 2026-05-26 on `bae0099c`. `doctor` returned no `action`; `status` and `bootstrap-plan` same. `dump-manifests` had empty string. Fix: added `action:"doctor"` to doctor JSON, `action:"show"` to status and bootstrap-plan, `action:"dump"` to dump-manifests happy path. Source: Jobdori dogfood on `bae0099c`, 2026-05-26.
+
+713. **`acp` and `config` (bare and section-show) `--output-format json` responses missing `action` field — continues sweep from #710–#712** — dogfooded 2026-05-26 on `fdde5e45`. `acp` had no action; `config` bare had no action; `config <section>` and the unknown-section error path both had no action. Fix: added `action:"status"` to acp, `action:"list"` to config bare, `action:"show"` to config section-show and unknown-section error path. Source: Jobdori dogfood on `fdde5e45`, 2026-05-26.
diff --git a/rust/crates/rusty-claude-cli/src/main.rs b/rust/crates/rusty-claude-cli/src/main.rs
index 028d0165..b4483c1e 100644
--- a/rust/crates/rusty-claude-cli/src/main.rs
+++ b/rust/crates/rusty-claude-cli/src/main.rs
@@ -7308,6 +7308,7 @@ fn acp_status_json() -> serde_json::Value {
json!({
"schema_version": "1.0",
"kind": "acp",
+ "action": "status",
"status": "unsupported",
"phase": "discoverability_only",
"supported": false,
@@ -7472,6 +7473,7 @@ fn render_config_json(
let base = serde_json::json!({
"kind": "config",
+ "action": if section.is_some() { "show" } else { "list" },
"status": "ok",
"cwd": cwd.display().to_string(),
"loaded_files": loaded_paths.len(),
@@ -7491,6 +7493,7 @@ fn render_config_json(
other => {
return Ok(serde_json::json!({
"kind": "config",
+ "action": "show",
"status": "error",
"error_kind": "unsupported_config_section",
"section": other,