gabriel / musehub public
feat BREAKING dev
AI Agent gabriel · 128 days ago · May 7, 2026 · Diff

feat: mcp docs accuracy pass, domain verify endpoints, sitewide URL constant, icon cleanup

- Fix MCP tool names: musehub_get_domain -> musehub_read_domain in domain_detail + muse CLI domains.py - Fix install command: muse domain install -> muse domains use in domain_detail - Fix MCP sidebar URI: muse://domains/{scoped_id} -> muse://domains/{author}/{slug} - MCP docs: add Mist section (9 muse_mist_* tools), fix 17 read tools misclassified as Write - Add site_base_url() Jinja2 context global (request-aware, falls back to musehub.ai) - Apply site_base_url() across base.html, mist_detail, docs_muse_mcp, docs_muse_api - Fix domains page CTA: Protocol docs -> /muse/domains - Admin verify/unverify endpoints: POST/DELETE /api/domains/@{author}/{slug}/verify - set_domain_verified() service function - MSignContext.is_admin: identity_type == 'admin' (was hardcoded False) - Icon cleanup: dimensions icon grid->layers, repos icon layers->book-open, shard map layers->split - Remove duplicate icon-download and icon-package sprites - SCSS: add badge--mist and docs-sidebar-link--mist to proper source files; clear spectral gradient text - TDD: 63/63 tests passing (Layer 8 admin verify/unverify coverage)

sha256:d81a30a8163950dad8d0ffe591154797b257458ef151db186269dc6ecb850ec5 sha
+25 ~2 symbols
sha256:e241acb441431a7d82b5a16e56132fc51566a0234843115ad52a8ff6f0b13cc1 snapshot
+25
symbols added
~2
symbols modified
0
dead code introduced
Semantic Changes 27 symbols
+ _site_base_url function function _site_base_url L64–73
+ pass_context import import pass_context L24–24
+ _verified_response function function _verified_response L256–257
+ unverify_domain function async_function unverify_domain L287–299
+ verify_domain function async_function verify_domain L266–278
+ set_domain_verified function async_function set_domain_verified L295–308
~ tests/test_domains.py .py 19 symbols added, 1 symbol modified
+ TestAdminVerifyDomain class class TestAdminVerifyDomain L841–912
+ test_unverify_clears_flag method async_method test_unverify_clears_flag L868–879
+ test_verify_domain_not_found method async_method test_verify_domain_not_found L881–889
+ test_verify_idempotent method async_method test_verify_idempotent L855–866
+ test_verify_requires_admin method async_method test_verify_requires_admin L891–901
+ test_verify_requires_auth method async_method test_verify_requires_auth L903–912
+ test_verify_sets_flag method async_method test_verify_sets_flag L842–853
+ _ADMIN_CONTEXT variable variable _ADMIN_CONTEXT L809–814
+ _ADMIN_HANDLE variable variable _ADMIN_HANDLE L807–807
+ _ADMIN_IDENTITY_ID variable variable _ADMIN_IDENTITY_ID L806–806
+ admin_headers function function admin_headers L833–838
+ admin_user function async_function admin_user L818–829
+ Generator import import Generator L22–22
+ MSignContext import import MSignContext L31–31
+ MusehubIdentity import import MusehubIdentity L36–36
+ app import import app L37–37
+ optional_signed_request import import optional_signed_request L31–31
+ pytest_asyncio import import pytest_asyncio L26–26
+ require_signed_request import import require_signed_request L31–31
← 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:d81a30a8163950dad8d0ffe591154797b257458ef151db186269dc6ecb850ec5 --body "your comment"