gabriel / muse public
refactor BREAKING mist dev #60 / 100
AI Agent gabriel · 14 days ago · May 26, 2026 · Diff

refactor(mist): replace urllib with HttpTransport for mkcert SSL support

mist.py was using bare urllib.request.urlopen with no SSL context, causing CERTIFICATE_VERIFY_FAILED when pushing to localhost:1337 (mkcert self-signed). Replaced _hub_api and run_raw to use HttpTransport.hub_json / hub_bytes, which load the mkcert root CA via _httpx_verify() — the same path as push/fetch.

Also adds hub_json and hub_bytes methods to HttpTransport with full TDD coverage (test_transport_hub_json.py: 23 tests), and applies American spelling to init.py plus associated test files, and fixes whoami to show full fingerprint.

sha256:2331ea415baf042c0c119fc219b503eb852e9973ac759feae4b903103074e0a9 sha
sha256:467f0cbebd15eb0f40a03c7cf045d8eb52a160312cb662642aed1a14a1ae9cdf snapshot

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:2331ea415baf042c0c119fc219b503eb852e9973ac759feae4b903103074e0a9 --body "your comment"