feat(hub): envelope sprint — all hub domain files
Adds standard 6-field JSON envelope (muse_version, schema, exit_code, duration_ms, timestamp, warnings) to every --json output route across all 9 hub domain modules:
connection.py — 4 functions (prev session) repos.py — 6 functions (prev session) proposals.py — 10 functions issues.py — 11 functions labels.py — 4 functions collaborators.py — 4 functions webhooks.py — 5 functions releases.py — 7 functions users.py — 6 functions
Every run function now: - calls start_timer() before network I/O - wraps output with {**make_envelope(elapsed), **data} - carries agent-ready docstring with Agent quickstart block, exact JSON key listing, and exit code table
sha256:efabbbfe892771d141b17c4762b66d3cc7145b1e0a48b43d4a30d8c6d49ded92
sha
sha256:4ee9c5aae0da850bf0130867c1c1655630a2a9f7608e40ea458d85c23e50f673
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:efabbbfe892771d141b17c4762b66d3cc7145b1e0a48b43d4a30d8c6d49ded92 --body "your comment"
No comments yet. Be the first to start the discussion.