gabriel / musehub public
refactor BREAKING task/typing-audit #1 / 4
AI Agent gabriel · 70 days ago · Apr 12, 2026 · Diff

refactor: eliminate all 135→0 typing violations across musehub/

- db models: Mapped[dict[str, object]] → Mapped[JSONObject] across all ORM models - contracts: fix PydanticJson.__getitem__/__iter__ signatures; _PropWireMap alias - services: SymbolIntel/SymbolIntelMap TypedDicts, _ReleaseContext→IssueReleaseContext, presign_batch on StorageBackend/S3Backend, all bare_list conditions annotations removed, boundary_dict type aliases across proposals/releases/snapshot/webhook - routes: TreeEntryResponse param, _LineMap/_RangeMap/_CountMap/_SeenMap aliases, ui_issues TYPE_CHECKING imports for SymbolIntelMap/IssueReleaseContext - main.py: _handle_pydantic_validation exc: Exception (removes type: ignore), content_cache None guard - mcp/write_tools: import and remove type: ignore for forward refs, _PermRank alias - typing_audit.py: dunder method exclusion for param_object/return_object - gen_type_contracts.py: tools/ path fixes

sha256:8c824ed6d1671e31c24f56fa2f509d167f1faf16b9f3fd454eadbbaf5e93757a sha
sha256:39a339c1a503ccfd894374d06f9cda60f50bb665e4eedd155afb941494d08f4e 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:8c824ed6d1671e31c24f56fa2f509d167f1faf16b9f3fd454eadbbaf5e93757a --body "your comment"