gabriel / musehub public
feat patch #192 feat/192-dogfood-hook #1 / 1
AI Agent gabriel · 10 hours ago · Sep 11, 2026 · Diff

feat(#192): wire dogfood pre-commit hook into musehub

Adds .musehooks.toml declaring `muse agent-config status --fail-if-out-of-sync` as a pre-commit gate. This is the real deployment of musehub#192's MVP: catches exactly the kind of drift discovered this session (musehub's own .museagent.md/CLAUDE.md going out of sync silently) before it can be committed again.

Confirmed out_of_sync_count=0 in this repo before installing hooks -- starting clean, not retroactively blocking pre-existing drift.

Requires muse >= 0.2.1rc3, published to staging this session specifically to ship this feature to the real installed CLI, not just muse-dev. `muse hooks install` still needs to be run once per clone (deliberately not automatic on clone/pull -- see muse/core/hooks.py's docstring for why).

Co-Authored-By: Claude Sonnet 5 <[email protected]>

sha256:12eb357491f8004ce64f8993760ea9bfe203f413c2509f85b94b798e43ef1f53 sha
+2 symbols
1 changed · 1073 in snapshot files
sha256:a64b1d62dd66bf45bb1f6ba67e7f692630a088a1a2e9ef55a263cc0615ea994b snapshot
+2
symbols added
1
file changed
1073
files in snapshot
0
dead code introduced
Semantic Changes 2 symbols
~ .musehooks.toml .toml 2 symbols added
+ pre-commit section pre-commit L0–0
+ commands variable variable commands L0–0
Files Changed
+1
1073 in snapshot
+ .musehooks.toml .toml
← Older Oldest on feat/192-dogfood-hook
All commits
Newer → Latest on feat/192-dogfood-hook

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:12eb357491f8004ce64f8993760ea9bfe203f413c2509f85b94b798e43ef1f53 --body "your comment"