feat: muse domain-info text output articulates every DomainSchema field
Text mode (the default, non-JSON output) previously only showed Domain/Plugin/Merge mode/Capabilities/Registered -- dimensions, the schema description, top_level shape, and schema_version were JSON-only. This meant real terminal transcripts (e.g. the build-with-muse episode 05 script) could not show real dimension output in text mode without fabricating it, since the text output never actually printed dimension names -- only muse domain-info --json did.
Added: Description, Top level (kind + node_type/element_type/key_type/ dtype+rank via new _shape_summary() helper), Schema ver., and a Dimensions section listing every dimension's name, shape, and independent_merge vs blocking status. --capabilities-only mode is unaffected -- still lightweight, no schema fields added.
Verified against the real installed CLI for both the code domain (5 dimensions) and the midi domain (21 dimensions, MUSE_ENABLE_MIDI=1).
New tests: TestTextModeFullSchema in tests/test_cmd_domain_info.py (7 tests) covering description, top_level, schema_version, dimension count, dimension names, shape+merge-style formatting, and that --capabilities-only stays lightweight. Full domain-info regression suite (120 tests across test_cmd_domain_info.py, test_cmd_domain_info_hardening.py, test_cmd_remaining.py, test_domain_info_envelope.py) passes with zero regressions.
Also updated docs/reference/plumbing.md's documented text-output example to match the real new output.
Semantic Changes
15 symbols
Files Changed
~4
1207 in snapshot
0 comments
muse hub commit comment sha256:c606568badb1bd51b0da285b5c395370f5e6148b205cd3948de4113c5714ba70 --body "your comment"
No comments yet. Be the first to start the discussion.