You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(ai): use the git MCP read-only tools for status, diff, log and fetch #1268
The git MCP server (server name git, package Credfeto.Git.Mcp) gives agents read-only status, diff, log and fetch tools that validate refs and paths, so no free-form git arguments reach the shell. Once credfeto/credfeto-orchestrator#2067 registers it in the agent images and install-claude-hooks, the instruction files still tell agents to run raw git -C … status/diff/log/fetch through Bash.
In the ai/global git instructions (and anywhere else that spells out these four commands), tell agents to use mcp__git__status, mcp__git__diff, mcp__git__log and mcp__git__fetch when the server is available, and to fall back to the existing git -C forms only when it isn't (for example on a developer machine without it).
Keep every write operation (add, commit, push, switch, restore, rebase) on the current wording until the git MCP's write slices land.
Use git switch / git restore, never git checkout, in any wording touched.
Acceptance criteria
The instructions name the four MCP tools, with the fallback rule.
Markdown lint passes and the reconcile run in credfeto-ai-skills picks the change up.
Activity