Skip to content

Releases

v0.5.1 — consume script no longer destroys captures

Choose a tag to compare

@AlexHagemeister AlexHagemeister released this 04 Aug 17:55

[0.5.1] — 2026-08-04

Fixed

  • consume-inbox-drops.sh destroyed captures whose filenames contain non-ASCII characters. git diff --name-only C-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 "sources at the vault root, wrote a 0-byte file into it, then died mid-loop when git show could 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-reset inbox-drops to main, 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 after git show succeeds, 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 diff from set -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-lease against 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_DIR is validated before any git operation, because cd "" is a silent no-op.

v0.4.0 — public-consumption pass

Choose a tag to compare

@AlexHagemeister AlexHagemeister released this 24 Jul 05:21

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_URL repository 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.example examples generalized to placeholders.

v0.3.0 — token-frugal responses

Choose a tag to compare

@AlexHagemeister AlexHagemeister released this 24 Jul 05:21
5708445

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

Choose a tag to compare

@AlexHagemeister AlexHagemeister released this 24 Jul 05:21

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

Choose a tag to compare

@AlexHagemeister AlexHagemeister released this 24 Jul 05:21

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

Choose a tag to compare

@AlexHagemeister AlexHagemeister released this 24 Jul 05:21

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.