Most show commands declare an inline type out struct; small writes return map[string]any (issue.go:191, mr.go:322, repo.go:402). The web type-asserts data["number"].(float64) (mractions.go:217). Nothing ties what a command emits to what the iOS client decodes.
Remedy: name output types at package level so httpd and a client SDK can import them.
referenced in commit 4bfcb3893d by cmc: control: named payloads for what other surfaces decode
2026-09-04 01:34 UTC