thumbgate 1.4.4 โ†’ 1.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thumbgate-marketplace",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "owner": {
5
5
  "name": "Igor Ganapolsky",
6
6
  "email": "ig5973700@gmail.com"
@@ -13,7 +13,7 @@
13
13
  "source": "npm",
14
14
  "package": "thumbgate"
15
15
  },
16
- "version": "1.4.4",
16
+ "version": "1.4.5",
17
17
  "author": {
18
18
  "name": "Igor Ganapolsky"
19
19
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "thumbgate",
3
3
  "description": "Type ๐Ÿ‘ or ๐Ÿ‘Ž on any agent action. ThumbGate captures it, distills a lesson, and blocks the pattern from repeating. One thumbs-down = the agent physically cannot make that mistake again. 33 pre-action gates, budget enforcement, self-protection, and NIST/SOC2 compliance tags.",
4
- "version": "1.4.4",
4
+ "version": "1.4.5",
5
5
  "author": {
6
6
  "name": "Igor Ganapolsky"
7
7
  },
@@ -1,15 +1,17 @@
1
- # ThumbGate โ€” Type ๐Ÿ‘ or ๐Ÿ‘Ž on any AI agent action. Blocks the pattern from repeating. One thumbs-down, never again.
1
+ # ThumbGate โ€” Stop AI agents before they make costly mistakes.
2
2
  # https://thumbgate-production.up.railway.app
3
3
  # https://github.com/IgorGanapolsky/ThumbGate
4
4
  # https://www.npmjs.com/package/thumbgate
5
5
 
6
- > ThumbGate makes AI coding agents self-improving. Every mistake becomes
7
- > a prevention rule that physically blocks the agent from repeating it.
8
- > Feedback-driven enforcement via PreToolUse hooks.
6
+ > ThumbGate prevents expensive AI mistakes before they happen. It checks
7
+ > risky commands, file edits, deploys, payments, API calls, and other agent
8
+ > actions before execution. ๐Ÿ‘Ž Thumbs down becomes a history-aware lesson and
9
+ > a Pre-Action Gate; ๐Ÿ‘ thumbs up reinforces safe patterns.
9
10
 
10
11
  ## What ThumbGate solves
11
12
 
12
- - AI coding agents repeat the same mistakes across sessions
13
+ - AI coding agents repeat costly mistakes across sessions
14
+ - Bad commands, destructive SQL, risky deploys, unsafe publishes, and API mistakes are expensive after execution
13
15
  - CLAUDE.md and .cursorrules files are suggestions agents can ignore
14
16
  - No memory between sessions means no learning from corrections
15
17
  - Teams have no shared safety rules across developers
@@ -27,6 +29,7 @@
27
29
  - Developers using Claude Code, Cursor, Codex, Gemini CLI, or any MCP-compatible agent
28
30
  - Engineering teams that need shared agent safety rules
29
31
  - Anyone tired of re-correcting their AI coding assistant
32
+ - Solo operators who want Pro dashboard proof for blocked mistakes and DPO exports
30
33
 
31
34
  ## Install
32
35
 
@@ -36,9 +39,10 @@ npx thumbgate init --agent claude-code
36
39
 
37
40
  ## Pricing
38
41
 
39
- - Free: 3 feedback captures/day, 5 lesson searches/day, 5 built-in gates
40
- - Pro: $19/mo or $149/yr โ€” unlimited everything, auto-gate promotion, multi-repo sync
41
- - Founding Member: $49 one-time, Pro forever
42
+ - Free GPT: advice, checkpointing, and setup help in ChatGPT
43
+ - Free local CLI: 3 feedback captures/day, 5 lesson searches/day, recall, and local Pre-Action Gates after install
44
+ - Pro: $19/mo or $149/yr โ€” personal enforcement proof, local dashboard, gate debugger, DPO export, and review-ready exports
45
+ - Team: $99/seat/mo, 3-seat minimum after intake โ€” shared lessons, org visibility, approval boundaries, and rollout proof
42
46
 
43
47
  ## Links
44
48
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thumbgate",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "ThumbGate โ€” ๐Ÿ‘๐Ÿ‘Ž feedback that teaches your AI agent. Thumbs down a mistake, it never happens again.",
5
5
  "homepage": "https://github.com/IgorGanapolsky/thumbgate",
6
6
  "transport": "stdio",
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # ThumbGate
2
2
 
3
- **Thumbs up or thumbs down โ€” and your AI coding agent never makes the same mistake twice.**
3
+ **Stop AI agents before they make costly mistakes.**
4
+
5
+ ThumbGate checks risky commands, file edits, deploys, API calls, and other agent actions before they run. Thumbs-up/down feedback becomes remembered lessons, repeated failures become Pre-Action Gates, and the next bad action gets blocked instead of becoming another cleanup bill.
4
6
 
5
7
  [![CI](https://github.com/IgorGanapolsky/ThumbGate/actions/workflows/ci.yml/badge.svg)](https://github.com/IgorGanapolsky/ThumbGate/actions/workflows/ci.yml)
6
8
  [![npm](https://img.shields.io/npm/v/thumbgate)](https://www.npmjs.com/package/thumbgate)
@@ -18,7 +20,7 @@
18
20
 
19
21
  ## ThumbGate GPT: start here
20
22
 
21
- **Use ThumbGate in ChatGPT now:** **[Open the live ThumbGate GPT](https://chatgpt.com/g/g-69dcfd1cd5f881918ae31874631d6f08-thumbgate)**, paste the action your AI agent wants to run, and ask whether to allow, block, or checkpoint it.
23
+ **Use ThumbGate in ChatGPT now:** **[Open the live ThumbGate GPT](https://chatgpt.com/g/g-69dcfd1cd5f881918ae31874631d6f08-thumbgate)**, paste the action your AI agent wants to run, and ask whether to allow, block, or checkpoint it before the mistake becomes expensive.
22
24
 
23
25
  Try this first prompt:
24
26
 
@@ -26,7 +28,7 @@ Try this first prompt:
26
28
  Check this agent action before it runs: git push --force --tags
27
29
  ```
28
30
 
29
- **No, users do not have to keep chatting inside the ThumbGate GPT to use ThumbGate.** The GPT is the fast demo, guided setup path, and thumbs-up/down memory surface for ChatGPT users. The hard enforcement layer still runs where the work happens: your local coding agent, CI workflow, or MCP-compatible runtime after `npx thumbgate init`.
31
+ **No, users do not have to keep chatting inside the ThumbGate GPT to use ThumbGate.** The GPT is the fast demo, guided setup path, and thumbs-up/down memory surface for ChatGPT users. Think of the GPT as advice and checkpointing; the hard enforcement layer still runs where the work happens: your local coding agent, CI workflow, or MCP-compatible runtime after `npx thumbgate init`.
30
32
 
31
33
  Developers can import the prepared **[GPT Actions OpenAPI spec](adapters/chatgpt/openapi.yaml)** with the **[ChatGPT Actions setup guide](adapters/chatgpt/INSTALL.md)**. Regular ChatGPT users should just open the GPT and type what happened.
32
34
 
@@ -46,7 +48,13 @@ It scores deterministic GitHub, npm, database, Railway, shell, and filesystem sc
46
48
 
47
49
  ## What problem does this solve?
48
50
 
49
- AI agents repeat mistakes. You fix the same problem in session after session โ€” force-push to main, broken migrations, unauthorized file edits โ€” because the agent has no memory of your feedback.
51
+ AI agents repeat expensive mistakes. You fix the same problem in session after session โ€” force-push to main, broken migrations, unauthorized file edits, risky deploys โ€” because the agent has no durable memory of your feedback and no gate before execution.
52
+
53
+ ThumbGate sells three concrete outcomes:
54
+
55
+ - **Prevent expensive AI mistakes** โ€” catch bad commands, destructive database actions, unsafe publishes, and risky API calls before they run.
56
+ - **Make AI stop repeating mistakes** โ€” fix it once, turn the lesson into a rule, and block the repeat before the next tool call lands.
57
+ - **Turn AI into a reliable operator** โ€” move from a smart assistant that apologizes after damage to a production-ready operator with checkpoints, proof, and enforcement.
50
58
 
51
59
  ```
52
60
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
@@ -64,7 +72,7 @@ AI agents repeat mistakes. You fix the same problem in session after session โ€”
64
72
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
65
73
  ```
66
74
 
67
- ThumbGate is the **control plane** for AI coding agents โ€” turning your feedback into **enforced rules**, not suggestions.
75
+ ThumbGate is the **Reliability Gateway** for AI coding agents โ€” turning your feedback into **enforced rules**, not suggestions.
68
76
 
69
77
  ---
70
78
 
@@ -130,6 +138,8 @@ Session 3: โ”‚ Session 3+:
130
138
 
131
139
  **Paid path for individual operators:** [ThumbGate Pro](https://thumbgate-production.up.railway.app/pro?utm_source=github&utm_medium=readme&utm_campaign=pro_page) is the self-serve side lane for a personal dashboard and export-ready evidence.
132
140
 
141
+ **Plain product line:** GPT preview = advice and checkpointing. Free local CLI (3 daily feedback captures, 5 daily lesson searches) = basic enforcement on one machine. Pro ($19/mo or $149/yr) = personal enforcement proof, dashboard, and exports. Team = shared hosted lesson DB, org dashboard, and shared enforcement so one correction protects every seat.
142
+
133
143
  ---
134
144
 
135
145
  ## Quick Start
@@ -265,9 +275,9 @@ Free and self-hosted users can invoke `search_lessons` directly through MCP, and
265
275
  **[Start Workflow Hardening Sprint](https://thumbgate-production.up.railway.app/?utm_source=github&utm_medium=readme&utm_campaign=top_cta#workflow-sprint-intake)** ยท **[Live Dashboard](https://thumbgate-production.up.railway.app/dashboard?utm_source=github&utm_medium=readme&utm_campaign=top_cta)** ยท **[See Pro](https://thumbgate-production.up.railway.app/pro?utm_source=github&utm_medium=readme&utm_campaign=pro_page)**
266
276
 
267
277
  **Where to start:**
268
- - **Teams:** Begin with the Workflow Hardening Sprint โ€” qualify one real repeated failure before committing to a full rollout
269
- - **Solo operators:** ThumbGate Pro adds a personal dashboard and export-ready evidence
270
- - **Individuals & open source:** Free CLI tier, self-hosted
278
+ - **Teams:** Begin with the Workflow Hardening Sprint โ€” prove one costly repeat failure can be blocked before committing to a full rollout
279
+ - **Solo operators:** ThumbGate Pro adds personal enforcement proof, a gate debugger, and export-ready evidence
280
+ - **Individuals & open source:** Free CLI tier, self-hosted, with local Pre-Action Gates after install
271
281
 
272
282
  ---
273
283
 
@@ -3,7 +3,7 @@
3
3
  - `chatgpt/openapi.yaml`: import into GPT Actions.
4
4
  - `gemini/function-declarations.json`: Gemini function-calling definitions.
5
5
  - `mcp/server-stdio.js`: underlying local MCP stdio server implementation.
6
- - `claude/.mcp.json`: example Claude Code MCP config using `npx --yes --package thumbgate@1.4.4 thumbgate serve`.
6
+ - `claude/.mcp.json`: example Claude Code MCP config using `npx --yes --package thumbgate@1.4.5 thumbgate serve`.
7
7
  - `codex/config.toml`: example Codex MCP profile section using the same version-pinned portable launcher.
8
8
  - `amp/skills/thumbgate-feedback/SKILL.md`: Amp skill template.
9
9
  - `opencode/opencode.json`: portable OpenCode MCP profile using the same version-pinned portable launcher.
@@ -2,13 +2,13 @@
2
2
  "mcpServers": {
3
3
  "thumbgate": {
4
4
  "command": "npx",
5
- "args": ["--yes", "--package", "thumbgate@1.4.4", "thumbgate", "serve"]
5
+ "args": ["--yes", "--package", "thumbgate@1.4.5", "thumbgate", "serve"]
6
6
  }
7
7
  },
8
8
  "hooks": {
9
9
  "preToolUse": {
10
10
  "command": "npx",
11
- "args": ["--yes", "--package", "thumbgate@1.4.4", "thumbgate", "gate-check"]
11
+ "args": ["--yes", "--package", "thumbgate@1.4.5", "thumbgate", "gate-check"]
12
12
  }
13
13
  }
14
14
  }
@@ -1,9 +1,9 @@
1
1
  # Codex MCP profile (copy into ~/.codex/config.toml or merge section)
2
2
  [mcp_servers.thumbgate]
3
3
  command = "npx"
4
- args = ["--yes", "--package", "thumbgate@1.4.4", "thumbgate", "serve"]
4
+ args = ["--yes", "--package", "thumbgate@1.4.5", "thumbgate", "serve"]
5
5
 
6
6
  # Hard PreToolUse hook for Codex
7
7
  [hooks.pre_tool_use]
8
8
  command = "npx"
9
- args = ["--yes", "--package", "thumbgate@1.4.4", "thumbgate", "gate-check"]
9
+ args = ["--yes", "--package", "thumbgate@1.4.5", "thumbgate", "gate-check"]
@@ -124,7 +124,7 @@ const {
124
124
  finalizeSession: finalizeFeedbackSession,
125
125
  } = require('../../scripts/feedback-session');
126
126
 
127
- const SERVER_INFO = { name: 'thumbgate-mcp', version: '1.4.4' };
127
+ const SERVER_INFO = { name: 'thumbgate-mcp', version: '1.4.5' };
128
128
  const COMMERCE_CATEGORIES = [
129
129
  'product_recommendation',
130
130
  'brand_compliance',
@@ -7,7 +7,7 @@
7
7
  "npx",
8
8
  "--yes",
9
9
  "--package",
10
- "thumbgate@1.4.4",
10
+ "thumbgate@1.4.5",
11
11
  "thumbgate",
12
12
  "serve"
13
13
  ],
@@ -2,8 +2,8 @@
2
2
  "repo": "IgorGanapolsky/ThumbGate",
3
3
  "repositoryUrl": "https://github.com/IgorGanapolsky/ThumbGate",
4
4
  "homepageUrl": "https://thumbgate-production.up.railway.app",
5
- "githubDescription": "CLI-first agent governance for AI coding workflows: pre-action gates, shared lessons, and team safeguards that stop repeated agent mistakes.",
6
- "metaDescription": "CLI-first agent governance for teams shipping AI-generated changes. \ud83d\udc4e Thumbs down distills history-aware lessons from up to 8 prior entries and stays linked to a 60-second feedback session. \ud83d\udc4d Thumbs up reinforces safe patterns. Pre-action gates, workflow governance, shared lessons and org visibility, release confidence, and isolated execution guidance turn vibe coding mistakes into shared enforcement and proof-ready rollout.",
5
+ "githubDescription": "Agent governance that stops costly AI mistakes before they run: pre-action gates, shared lessons, and team safeguards for AI coding workflows.",
6
+ "metaDescription": "Stop expensive AI agent mistakes before they happen. \ud83d\udc4e Thumbs down becomes history-aware lessons and Pre-Action Gates; \ud83d\udc4d thumbs up reinforces safe patterns. ThumbGate checks risky commands, deploys, API calls, and file edits across ChatGPT, Claude Code, Cursor, Codex, Gemini, Amp, and OpenCode with workflow governance, shared lessons and org visibility for safer vibe coding.",
7
7
  "topics": [
8
8
  "thumbgate",
9
9
  "pre-action-gates",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thumbgate",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "Self-improving agent governance: type thumbs-up or thumbs-down on any AI agent action. ThumbGate turns every mistake into a prevention rule and blocks the pattern from repeating. One thumbs-down, never again. 33 pre-action gates, budget enforcement, and self-protection for Claude Code, Cursor, Codex, Gemini CLI, and Amp.",
5
5
  "homepage": "https://thumbgate-production.up.railway.app",
6
6
  "repository": {
@@ -281,7 +281,7 @@
281
281
  "test:quality": "node --test tests/validate-feedback.test.js",
282
282
  "test:intelligence": "node --test tests/intelligence.test.js",
283
283
  "test:training-export": "node --test tests/training-export.test.js tests/databricks-export.test.js",
284
- "test:deployment": "node --test tests/deployment.test.js tests/deploy-policy.test.js tests/publish-decision.test.js tests/changeset-check.test.js tests/sonarcloud-workflow.test.js tests/package-boundary.test.js",
284
+ "test:deployment": "node --test tests/deployment.test.js tests/deploy-policy.test.js tests/publish-decision.test.js tests/changeset-check.test.js tests/release-notes.test.js tests/sonarcloud-workflow.test.js tests/package-boundary.test.js",
285
285
  "test:operational-integrity": "node --test tests/operational-integrity.test.js tests/sync-branch-protection.test.js",
286
286
  "test:workflow": "node --test tests/workflow-contract.test.js tests/social-marketing-assets.test.js tests/social-pipeline.test.js tests/positioning-contract.test.js tests/docs-claim-hygiene.test.js tests/workflow-runs.test.js tests/workflow-sprint-intake.test.js tests/gtm-revenue-loop.test.js tests/enterprise-story.test.js tests/ralph-loop.test.js tests/ralph-mode-ci.test.js",
287
287
  "test:billing": "node --test tests/billing.test.js",
@@ -2068,8 +2068,11 @@ function buildCheckoutSessionPayload({ successUrl, cancelUrl, customerEmail, che
2068
2068
  packId: pack ? pack.id : null,
2069
2069
  credits: pack ? pack.credits : null,
2070
2070
  }),
2071
- // 7-day free trial for subscriptions โ€” reduces checkout abandonment
2072
- ...(pack ? {} : { subscription_data: { trial_period_days: 7 } }),
2071
+ // 7-day free trial for subscriptions โ€” don't require card upfront
2072
+ ...(pack ? {} : {
2073
+ subscription_data: { trial_period_days: 7 },
2074
+ payment_method_collection: 'if_required',
2075
+ }),
2073
2076
  };
2074
2077
 
2075
2078
  const normalizedCustomerEmail = normalizeText(customerEmail);