This release adds 3 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+14 more
Affected surfaces
Summary
AI summaryAdds three MCP leader‑agent coordination tools (evidence gate, swarm coordinator, observability report) and fixes mailer fallback handling.
Full changelog
[email protected]
Release Links
- npm: https://www.npmjs.com/package/thumbgate/v/1.8.0
- GitHub Release: https://github.com/IgorGanapolsky/ThumbGate/releases/tag/v1.8.0
- Compare: https://github.com/IgorGanapolsky/ThumbGate/compare/v1.7.0...v1.8.0
- Publish workflow: https://github.com/IgorGanapolsky/ThumbGate/actions/runs/24643992529
- npm published at: 2026-04-20T01:18:26.894Z
- npm shasum:
84d565fb5fb27831df7e098e79d1d9e7dd0906ee - npm tarball: https://registry.npmjs.org/thumbgate/-/thumbgate-1.8.0.tgz
- Release ref: 4c383a8e7d2e9b19e0798995d8fe9d52f3b11ecc
npm Email Companion
npm controls the native "Successfully published" email template, so the email itself stays short. Treat this generated artifact as the full release-note companion for that email: it carries the Changeset summaries, CHANGELOG entry, publish workflow, npm tarball, and shasum when available.
Full Changeset Release Notes
Minor Changes
.changeset/agentic-engineering-leader-endpoints.md
Agentic-engineering Leader Agent endpoints: completion gate, swarm coordinator, and unified observability.
Adds three MCP tools that lift ThumbGate from a bag of primitives into a Leader-Agent coordination layer (per the LangChain agentic-engineering framing — worker agents consume, leader endpoints coordinate and verify):
require_evidence_for_claim— completion gate. WrapsverifyClaimEvidencewith a first-classblockingboolean and mode (blockingdefault,advisory). Records the decision to the audit trail undergateId: completion_claim. Agents call this before declaring done/fixed/shipped; hooks honor the blocking flag to stop evidence-free completion claims.distribute_context_to_agents— swarm coordinator. Constructs one context pack viaconstructContextPackand records acontext_pack_distributedprovenance event per named agent (dedup'd, capped atMAX_AGENTS=32, TTL defaults to 15 minutes). Replaces N independent context derivations by auto-agents (perplexity-bug-resolver, codex-reviewer, grok-x-intelligence, etc.) with one shared pack.session_report— unified observability rollup. Aggregates feedback stats, gate stats, and windowed provenance into a single LangSmith-style report.windowHoursclamps to[1, 720]; invalid/missing input falls back to the 24h default. Errors in any section are isolated via a per-sectionerrorsmap so one broken source doesn't sink the report.
Exposed in default, essential, readonly, and dispatch MCP profiles. No OpenAPI surface changes (MCP-only). Ships with 24 new tests across tests/swarm-coordinator.test.js, tests/session-report.test.js, and tests/require-evidence-gate.test.js; regression runs clean across test:api (834), test:gates (198), test:tool-registry (11), test:proof (96), test:deployment (55), test:e2e (29), test:workflow (98), test:schema (8), and test:mcp-config (9).
Patch Changes
.changeset/dependabot-protobufjs-7.5.5.md
Bump transitive dependency protobufjs from 7.5.4 to 7.5.5 (security/bugfix release). Lockfile-only change via Dependabot.
.changeset/mailer-env-harmonize.md
Mailer module now accepts THUMBGATE_RESEND_API_KEY as a fallback for the bare RESEND_API_KEY, matching the dual-read behavior already implemented in scripts/billing.js. Prevents a silent "skipped: no_api_key" regression if an operator sets only the prefixed variable name. Adds a positive unit test that sends with only the prefixed variant set.
CHANGELOG.md Entry
1.8.0
Minor Changes
-
#954
d48608eThanks @IgorGanapolsky! - Enforcement teeth: move ThumbGate's PreToolUse path from advisory to preventive.capture_feedbacknow surfacescorrectiveActionsas a top-level<system-reminder>block in the MCP response (content[1]) alongside the JSON body (content[0]), so prior lessons reach the calling agent as first-class context instead of buried JSON.- Replaces the no-op
scripts/hook-verify-before-done.shwithscripts/hook-pre-tool-use.js(matcher expanded toBash|Edit|Write). The new hook: (1) preserves the existing curl-to-prod timestamp tracking; (2) callsretrieveWithRerankingSyncagainst the about-to-run tool and injects matched lessons viahookSpecificOutput.additionalContext; (3) opt-in viaTHUMBGATE_HOOKS_ENFORCE=1, blocks tool calls withdecision:"block"when a matched lesson carries a high-risk tag at/above threshold (default 5, configurable viaTHUMBGATE_HOOKS_ENFORCE_THRESHOLD); (4) opt-in viaTHUMBGATE_AUTOGATE_PR_COMMITS=1, auto-registers athread-resolution-verifiedclaim gate whengit commitruns on a non-main branch. bin/cli.js session-startnow emits top ThumbGate hard-block rules and top high-risk tags as a structuredhookSpecificOutput.additionalContextreminder (with stderr fallback for older Claude Code versions), so session start forces the agent to see current enforcement state rather than relying on opt-inrecall.- Every enforcement path fails open: malformed hook stdin, missing risk model, or any uncaught exception in the hook exits 0 with no block, ensuring a bug never deadlocks the agent. Flags default to OFF so the first misfiring regex can be corrected in the same session that shipped it.
-
Add a canonical autonomous control-plane workflow to ThumbGate itself.
- Add
scripts/autonomous-workflow.js, a durableintent -> plan -> execute -> verify -> reportrunner built on top of the existing async job runtime, workflow checkpoints, and proof-backed workflow logs. - Extend
scripts/workflow-gate-checkpoint.jsso checkpoints can persist workflow phase, status, plan, intent, evidence, report metadata, and merged workflow-level metadata across restarts. - Persist evidence-backed workflow artifacts under
.thumbgate/autonomous-workflows/<workflowId>/and record proof-backed workflow runs only when verification accepts the output and artifacts exist. - Wire package scripts and package contents so the autonomous runner ships in the npm tarball and stays covered by high-ROI and workflow checkpoint tests.
- Add
Patch Changes
- #951
3270c2aThanks @IgorGanapolsky! - Hard-enforce pre-tool prevention signals: matching high-risk boosted tags now block risky actions, PR-branch git commits register a required thread-resolution verification gate before the next unsafe tool call, and corrective actions surface as top-level reminders instead of being buried in JSON.
Verification Standard
- Publish only runs from
mainafter version sync, tests, and runtime proof pass. - The npm package is smoke-tested after publish by installing
thumbgate@VERSIONin a clean runtime. - GitHub Release notes are generated from Changesets, not only GitHub auto-generated PR titles.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About IgorGanapolsky/mcp-memory-gateway
Pre-action gates that prevent AI coding agents from repeating known mistakes. Captures explicit feedback, auto-promotes failures into prevention rules, and enforces them via hooks.
Related context
Beta — feedback welcome: [email protected]