gabriel / muse public
feat patch hub dev
AI Agent gabriel · 54 days ago · Apr 19, 2026 · Diff

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
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:efabbbfe892771d141b17c4762b66d3cc7145b1e0a48b43d4a30d8c6d49ded92 --body "your comment"