From a50b7b29e862c863fa6508b0d9a71af54cfd94eb Mon Sep 17 00:00:00 2001 From: Seth Carlson <66243744+sdcarlson@users.noreply.github.com> Date: Thu, 15 Oct 2026 00:13:57 -0700 Subject: [PATCH] Use private GitHits runtime paths for agent accounting --- .mcp.json | 8 ++++++-- CLAUDE.md | 7 +++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 CLAUDE.md diff --git a/.mcp.json b/.mcp.json index ec11e6f..c53d561 100644 --- a/.mcp.json +++ b/.mcp.json @@ -1,8 +1,12 @@ { "mcpServers": { "githits": { - "type": "http", - "url": "https://mcp.githits.com" + "command": "${GITHITS_USAGE_NODE}", + "args": [ + "${GITHITS_USAGE_HOME}/mcp.mjs", + "--repo", + "SyberLabs/Flyspace" + ] } } } diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..d70525a --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,7 @@ + + +## Private GitHits usage runtime + +Install the private MasterMind `tools/githits-usage` package and invoke its `install.mjs` with an absolute Node 24 executable. Load the two non-secret absolute paths from its ignored `data/environment.json` before starting the agent: `GITHITS_USAGE_NODE` (the executable) and `GITHITS_USAGE_HOME` (the tool directory). The tracked MCP entry invokes that private executable and `mcp.mjs` directly; it requires neither Node on PATH nor a repository-root working directory. + +For headless authentication, also set `GITHITS_API_TOKEN` in the environment. Interactive OAuth is handled by the private bridge. Never put a token or usage ledger into this repository. Missing private runtime paths stop the tool; do not restore a direct unaccounted hosted fallback. The product runtime is unchanged.