Repository navigation
Releases
Releases · AlexHagemeister/exocortex-mcp
v0.5.1 — consume script no longer destroys captures
[0.5.1] — 2026-08-04
Fixed
consume-inbox-drops.shdestroyed captures whose filenames contain non-ASCII characters.git diff --name-onlyC-quotes such paths by default, so a capture titled with an umlaut was read as a quoted string carrying literal backslash escapes: the script created a directory named"sourcesat the vault root, wrote a 0-byte file into it, then died mid-loop whengit showcould not find the quoted path in the tree — before reaching any remaining captures, and without printing a halt line that monitoring would recognize. On the next run the 0-byte file satisfied the already-exists guard, so the failure reported itself as an idempotent success; once every capture had "consumed" this way, the loop completed and force-resetinbox-dropstomain, destroying the only remote copy. Three changes, each closing one link in that chain: the work list is NUL-delimited (diff -z); each capture is staged to a temp file beside its destination and renamed into place only aftergit showsucceeds, so a failure leaves nothing behind to poison the guard; and the branch reset is skipped whenever any capture failed.- Hardening in the same pass, from a review of the above: the work list is written to a file instead of being read through process substitution, which hid a failing
git difffromset -e— an unreadable diff produced an empty work list, and the reset then destroyed every pending capture while reporting success. The reset is now--force-with-leaseagainst the branch sha the run actually consumed, so a capture pushed between the fetch and the reset is no longer overwritten while it is the only copy. An already-present destination is compared byte-for-byte before being skipped, since a truncated or differing file there would otherwise let the reset destroy the good copy.VAULT_DIRis validated before any git operation, becausecd ""is a silent no-op.
v0.4.0 — public-consumption pass
Added
- MIT license, this changelog, retroactive version tags, and a CI build check — the repo is dressed for public consumption.
- Ko-fi support link in the README, matching the program repo.
Changed
- README rewritten as the program's companion-component doc: deploy-your-own instructions with placeholder repo/host values throughout; the reference deployment's endpoint appears nowhere in the tree.
- The healthcheck workflow reads its probe target from a
HEALTHCHECK_URLrepository secret instead of a hardcoded URL — masked in publicly readable run logs, and the probe skips quietly when unset so forks don't get failure spam. .env.exampleexamples generalized to placeholders.
v0.3.0 — token-frugal responses
Tighter query_wiki and get_page payloads — every byte returned rides in a model's context window (#3).
v0.2.1 — vault-as-repo migration
consume-inbox-drops.sh defaults git operations to the vault's own clone; docs updated for the repo rename and the capture-branch rationale.
v0.2.0 — deep health + monitoring
GET /healthz/deep exercises mirror sync and inspects the capture backlog (503 on sync failure or >36h undrained). GitHub Actions probes it every 15 minutes; failures email.
v0.1.0 — initial release
Remote MCP server over a vault's git remote. Three tools: query_wiki (status-weighted search), get_page, capture_to_inbox (the sole write, via the inbox-drops branch). Shallow mirror clone with interval sync; shared-secret auth (bearer or URL path segment, timing-safe); Railway deploy.