Summary
Bring safe read-only navigation/audit commands into batch dispatch and embed child JSON as JSON rather than escaped strings.
Current v1.38.0 evidence / reproduction
- Batch rejects read-only
goto and audit commands despite describing support for query and read-only discovery commands.
batch --json-summary wrapping status --json emits the child object as an escaped stdout string, requiring a second parse and expanding payload size.
Impact
Editor and agent clients cannot batch common navigation/audit operations and lose the benefits of a typed batch response.
Suggested direction / acceptance criteria
- Maintain a schema-driven allowlist of side-effect-free commands including
goto and audit.
- Parse successful JSON/NDJSON child output into typed result fields while retaining raw text for non-JSON output.
- Preserve per-item exit/error metadata and bound total batch output.
Dogfooding candidate IDs: Q046, Q047, R013. Verified against cdidx v1.38.0 at commit 2919bfc9b1b83cfa7ae1d964845d0f9ffca002d1.
Summary
Bring safe read-only navigation/audit commands into batch dispatch and embed child JSON as JSON rather than escaped strings.
Current v1.38.0 evidence / reproduction
gotoandauditcommands despite describing support for query and read-only discovery commands.batch --json-summarywrappingstatus --jsonemits the child object as an escapedstdoutstring, requiring a second parse and expanding payload size.Impact
Editor and agent clients cannot batch common navigation/audit operations and lose the benefits of a typed batch response.
Suggested direction / acceptance criteria
gotoandaudit.Dogfooding candidate IDs: Q046, Q047, R013. Verified against cdidx v1.38.0 at commit
2919bfc9b1b83cfa7ae1d964845d0f9ffca002d1.