thumbgate 1.3.0 → 1.4.0

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.
Files changed (146) hide show
  1. package/.claude-plugin/marketplace.json +32 -13
  2. package/.claude-plugin/plugin.json +15 -2
  3. package/.well-known/llms.txt +60 -0
  4. package/.well-known/mcp/server-card.json +1 -1
  5. package/README.md +109 -20
  6. package/adapters/README.md +1 -1
  7. package/adapters/chatgpt/openapi.yaml +168 -0
  8. package/adapters/claude/.mcp.json +2 -2
  9. package/adapters/codex/config.toml +2 -2
  10. package/adapters/mcp/server-stdio.js +84 -1
  11. package/adapters/opencode/opencode.json +1 -1
  12. package/bin/cli.js +200 -13
  13. package/bin/postinstall.js +8 -2
  14. package/config/budget.json +18 -0
  15. package/config/gates/code-edit.json +61 -0
  16. package/config/gates/db-write.json +61 -0
  17. package/config/gates/default.json +154 -3
  18. package/config/gates/deploy.json +61 -0
  19. package/config/github-about.json +2 -1
  20. package/config/merge-quality-checks.json +23 -0
  21. package/openapi/openapi.yaml +168 -0
  22. package/package.json +42 -10
  23. package/plugins/claude-codex-bridge/.claude-plugin/plugin.json +1 -1
  24. package/plugins/claude-codex-bridge/.mcp.json +1 -1
  25. package/plugins/claude-codex-bridge/scripts/codex-bridge.js +1 -3
  26. package/plugins/codex-profile/.codex-plugin/plugin.json +1 -1
  27. package/plugins/codex-profile/.mcp.json +1 -1
  28. package/plugins/codex-profile/INSTALL.md +27 -4
  29. package/plugins/codex-profile/README.md +33 -9
  30. package/plugins/cursor-marketplace/.cursor-plugin/plugin.json +1 -1
  31. package/plugins/opencode-profile/INSTALL.md +1 -1
  32. package/public/blog.html +73 -0
  33. package/public/compare/mem0.html +189 -0
  34. package/public/compare/speclock.html +180 -0
  35. package/public/compare.html +10 -2
  36. package/public/guide.html +2 -2
  37. package/public/guides/claude-code-prevent-repeated-mistakes.html +161 -0
  38. package/public/guides/codex-cli-guardrails.html +158 -0
  39. package/public/guides/cursor-prevent-repeated-mistakes.html +161 -0
  40. package/public/guides/pre-action-gates.html +162 -0
  41. package/public/guides/stop-repeated-ai-agent-mistakes.html +159 -0
  42. package/public/index.html +136 -50
  43. package/public/lessons.html +33 -24
  44. package/public/llm-context.md +140 -0
  45. package/public/pro.html +24 -22
  46. package/scripts/__pycache__/train_from_feedback.cpython-312.pyc +0 -0
  47. package/scripts/access-anomaly-detector.js +1 -1
  48. package/scripts/adk-consolidator.js +1 -5
  49. package/scripts/agent-security-hardening.js +4 -6
  50. package/scripts/agentic-data-pipeline.js +1 -3
  51. package/scripts/async-job-runner.js +1 -5
  52. package/scripts/audit-trail.js +1 -5
  53. package/scripts/background-agent-governance.js +2 -10
  54. package/scripts/billing.js +2 -16
  55. package/scripts/budget-enforcer.js +173 -0
  56. package/scripts/build-codex-plugin.js +152 -0
  57. package/scripts/check-congruence.js +132 -14
  58. package/scripts/commercial-offer.js +5 -7
  59. package/scripts/content-engine/linkedin-content-generator.js +154 -0
  60. package/scripts/content-engine/output/linkedin-memento-validation.md +17 -0
  61. package/scripts/content-engine/output/linkedin-posts-2026-04-09.md +175 -0
  62. package/scripts/content-engine/reddit-thread-finder.js +154 -0
  63. package/scripts/context-engine.js +21 -6
  64. package/scripts/contextfs.js +1 -21
  65. package/scripts/dashboard.js +20 -0
  66. package/scripts/decision-journal.js +341 -0
  67. package/scripts/delegation-runtime.js +1 -5
  68. package/scripts/distribution-surfaces.js +26 -0
  69. package/scripts/document-intake.js +927 -0
  70. package/scripts/ephemeral-agent-store.js +1 -8
  71. package/scripts/evolution-state.js +1 -5
  72. package/scripts/experiment-tracker.js +1 -5
  73. package/scripts/export-databricks-bundle.js +1 -5
  74. package/scripts/export-hf-dataset.js +1 -5
  75. package/scripts/export-training.js +1 -5
  76. package/scripts/feedback-attribution.js +1 -16
  77. package/scripts/feedback-history-distiller.js +1 -16
  78. package/scripts/feedback-loop.js +1 -5
  79. package/scripts/feedback-root-consolidator.js +2 -21
  80. package/scripts/feedback-session.js +49 -0
  81. package/scripts/feedback-to-rules.js +188 -28
  82. package/scripts/filesystem-search.js +1 -9
  83. package/scripts/fs-utils.js +104 -0
  84. package/scripts/gates-engine.js +149 -4
  85. package/scripts/github-about.js +32 -8
  86. package/scripts/gtm-revenue-loop.js +1 -5
  87. package/scripts/harness-selector.js +148 -0
  88. package/scripts/hosted-job-launcher.js +1 -5
  89. package/scripts/hybrid-feedback-context.js +7 -33
  90. package/scripts/intervention-policy.js +58 -1
  91. package/scripts/lesson-db.js +3 -18
  92. package/scripts/lesson-inference.js +194 -16
  93. package/scripts/lesson-retrieval.js +60 -24
  94. package/scripts/llm-client.js +59 -0
  95. package/scripts/managed-lesson-agent.js +183 -0
  96. package/scripts/marketing-experiment.js +8 -22
  97. package/scripts/meta-agent-loop.js +624 -0
  98. package/scripts/metered-billing.js +1 -1
  99. package/scripts/money-watcher.js +1 -4
  100. package/scripts/obsidian-export.js +1 -5
  101. package/scripts/operational-integrity.js +15 -3
  102. package/scripts/org-dashboard.js +6 -1
  103. package/scripts/per-step-scoring.js +2 -4
  104. package/scripts/pr-manager.js +201 -19
  105. package/scripts/pro-features.js +3 -2
  106. package/scripts/prompt-dlp.js +3 -3
  107. package/scripts/prove-adapters.js +1 -5
  108. package/scripts/prove-attribution.js +1 -5
  109. package/scripts/prove-automation.js +1 -3
  110. package/scripts/prove-cloudflare-sandbox.js +1 -3
  111. package/scripts/prove-data-pipeline.js +1 -3
  112. package/scripts/prove-intelligence.js +1 -3
  113. package/scripts/prove-lancedb.js +1 -5
  114. package/scripts/prove-local-intelligence.js +1 -3
  115. package/scripts/prove-packaged-runtime.js +75 -9
  116. package/scripts/prove-predictive-insights.js +1 -3
  117. package/scripts/prove-training-export.js +1 -3
  118. package/scripts/prove-workflow-contract.js +1 -5
  119. package/scripts/rate-limiter.js +3 -1
  120. package/scripts/reddit-dm-outreach.js +14 -4
  121. package/scripts/schedule-manager.js +3 -5
  122. package/scripts/security-scanner.js +448 -0
  123. package/scripts/self-distill-agent.js +579 -0
  124. package/scripts/semantic-dedup.js +115 -0
  125. package/scripts/skill-exporter.js +1 -3
  126. package/scripts/skill-generator.js +1 -5
  127. package/scripts/social-analytics/engagement-audit.js +1 -18
  128. package/scripts/social-analytics/pollers/linkedin.js +26 -16
  129. package/scripts/social-analytics/publishers/linkedin.js +1 -1
  130. package/scripts/social-analytics/publishers/zernio.js +51 -0
  131. package/scripts/social-pipeline.js +1 -3
  132. package/scripts/social-post-hourly.js +47 -4
  133. package/scripts/statusline-links.js +6 -5
  134. package/scripts/statusline.sh +29 -153
  135. package/scripts/sync-branch-protection.js +340 -0
  136. package/scripts/tessl-export.js +1 -3
  137. package/scripts/thumbgate-search.js +32 -1
  138. package/scripts/tool-kpi-tracker.js +1 -1
  139. package/scripts/tool-registry.js +106 -2
  140. package/scripts/vector-store.js +1 -5
  141. package/scripts/weekly-auto-post.js +1 -1
  142. package/scripts/workflow-sentinel.js +91 -0
  143. package/skills/thumbgate/SKILL.md +1 -1
  144. package/src/api/server.js +273 -4
  145. package/scripts/social-analytics/db/social-analytics.db-shm +0 -0
  146. /package/scripts/social-analytics/db/{social-analytics.db-wal → analytics.sqlite} +0 -0
@@ -0,0 +1,162 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Pre-Action Gates for AI Coding Agents | ThumbGate Guide</title>
7
+ <script defer data-domain="thumbgate-production.up.railway.app" src="https://plausible.io/js/script.js"></script>
8
+ <meta name="description" content="Pre-action gates stop the risky move before the agent executes it. ThumbGate uses thumbs-up/down feedback to decide what should be reinforced, warned, or blocked.">
9
+ <meta name="keywords" content="pre-action gates, AI coding agent guardrails, ThumbGate, prevent agent mistakes, PreToolUse hook, feedback enforcement">
10
+ <meta property="og:title" content="What Are Pre-Action Gates?">
11
+ <meta property="og:description" content="Pre-action gates stop the risky move before the agent executes it. ThumbGate uses thumbs-up/down feedback to decide what should be reinforced, warned, or blocked.">
12
+ <meta property="og:type" content="article">
13
+ <meta property="og:url" content="https://thumbgate-production.up.railway.app/guides/pre-action-gates">
14
+ <link rel="canonical" href="https://thumbgate-production.up.railway.app/guides/pre-action-gates">
15
+ <link rel="llm-context" href="/public/llm-context.md" type="text/markdown">
16
+
17
+ <script type="application/ld+json">
18
+ {
19
+ "@context": "https://schema.org",
20
+ "@type": "TechArticle",
21
+ "headline": "Pre-Action Gates for AI Coding Agents",
22
+ "description": "Pre-action gates stop the risky move before the agent executes it. ThumbGate uses thumbs-up/down feedback to decide what should be reinforced, warned, or blocked.",
23
+ "author": {
24
+ "@type": "Person",
25
+ "name": "Igor Ganapolsky",
26
+ "url": "https://github.com/IgorGanapolsky"
27
+ },
28
+ "publisher": {
29
+ "@type": "Organization",
30
+ "name": "ThumbGate",
31
+ "url": "https://thumbgate-production.up.railway.app"
32
+ },
33
+ "datePublished": "2026-04-09",
34
+ "dateModified": "2026-04-09",
35
+ "mainEntityOfPage": "https://thumbgate-production.up.railway.app/guides/pre-action-gates",
36
+ "about": [
37
+ {"@type": "Thing", "name": "pre-action gates"},
38
+ {"@type": "Thing", "name": "AI coding agent safety"},
39
+ {"@type": "Thing", "name": "feedback enforcement"}
40
+ ]
41
+ }
42
+ </script>
43
+
44
+ <script type="application/ld+json">
45
+ {
46
+ "@context": "https://schema.org",
47
+ "@type": "FAQPage",
48
+ "mainEntity": [
49
+ {
50
+ "@type": "Question",
51
+ "name": "How are pre-action gates different from prompt rules?",
52
+ "acceptedAnswer": {
53
+ "@type": "Answer",
54
+ "text": "Prompt rules ask the model nicely. Pre-action gates intercept the tool call and block it before execution when the known-bad pattern matches."
55
+ }
56
+ },
57
+ {
58
+ "@type": "Question",
59
+ "name": "Can a thumbs up matter too?",
60
+ "acceptedAnswer": {
61
+ "@type": "Answer",
62
+ "text": "Yes. ThumbGate explicitly uses thumbs up to reinforce successful behavior so the system is not only punitive."
63
+ }
64
+ },
65
+ {
66
+ "@type": "Question",
67
+ "name": "Which AI coding agents support pre-action gates?",
68
+ "acceptedAnswer": {
69
+ "@type": "Answer",
70
+ "text": "ThumbGate pre-action gates work across Claude Code, Cursor, Codex, Gemini, Amp, and OpenCode via MCP PreToolUse hooks."
71
+ }
72
+ },
73
+ {
74
+ "@type": "Question",
75
+ "name": "How does Thompson Sampling improve gate accuracy?",
76
+ "acceptedAnswer": {
77
+ "@type": "Answer",
78
+ "text": "Thompson Sampling scores gate rules based on accumulated thumbs-up and thumbs-down feedback, so high-risk patterns get strict enforcement while low-risk ones stay relaxed."
79
+ }
80
+ }
81
+ ]
82
+ }
83
+ </script>
84
+
85
+ <link rel="stylesheet" href="/learn/learn.css">
86
+ </head>
87
+ <body>
88
+
89
+ <nav>
90
+ <a href="/" class="brand">ThumbGate</a>
91
+ <a href="/guide">Setup Guide</a>
92
+ <a href="/learn">Learn</a>
93
+ <a href="/dashboard">Dashboard</a>
94
+ <a href="https://github.com/IgorGanapolsky/ThumbGate" target="_blank" rel="noopener">GitHub</a>
95
+ </nav>
96
+
97
+ <div class="container">
98
+ <div class="breadcrumb"><a href="/learn">Learn</a> / <a href="/guides/pre-action-gates">Guides</a> / Pre-Action Gates</div>
99
+ <h1>What Are Pre-Action Gates?</h1>
100
+ <p style="color:var(--muted);">3 min read &middot; Works with Claude Code, Cursor, Codex, Gemini, Amp, and OpenCode</p>
101
+
102
+ <div class="tldr"><strong>TL;DR:</strong> Pre-action gates stop the risky move before the agent executes it. ThumbGate uses thumbs-up/down feedback to decide what should be reinforced, warned, or blocked.</div>
103
+
104
+ <h2>Why this matters</h2>
105
+ <p>Most AI coding failures are not mysterious. They are repeated mistakes: force-pushes, destructive scripts, missed verification steps, or breaking architectural constraints.</p>
106
+ <p>A pre-action gate turns that failure pattern into a runtime checkpoint. The agent sees the stop before the bad action lands.</p>
107
+
108
+ <div class="callout callout-red">
109
+ <strong>Key insight:</strong> Prompt rules are advisory. Pre-action gates are enforcement. The gate runs at the hook layer, outside the agent's reasoning chain, so it cannot be overridden by context or chain-of-thought.
110
+ </div>
111
+
112
+ <h2>How ThumbGate makes the loop useful</h2>
113
+ <ul>
114
+ <li>Capture structured thumbs-up/down feedback.</li>
115
+ <li>Promote repeated failures into prevention rules.</li>
116
+ <li>Score and enforce the rules with Thompson Sampling and pre-action hooks.</li>
117
+ <li>Publish verification evidence so the system is auditable.</li>
118
+ </ul>
119
+
120
+ <h2>Install in 60 seconds</h2>
121
+ <pre><code>npx thumbgate init --agent claude-code</code></pre>
122
+ <p>This auto-detects your agent and configures the PreToolUse hook. Works with Claude Code, Cursor, Codex, Gemini, Amp, and OpenCode.</p>
123
+
124
+ <h2>Best next step</h2>
125
+ <p>If you are exploring the category, start with a comparison page to see how ThumbGate differs from memory-only tooling, or dive into the product proof pack.</p>
126
+
127
+ <h2>Frequently Asked Questions</h2>
128
+ <h3>How are pre-action gates different from prompt rules?</h3>
129
+ <p>Prompt rules ask the model nicely. Pre-action gates intercept the tool call and block it before execution when the known-bad pattern matches.</p>
130
+
131
+ <h3>Can a thumbs up matter too?</h3>
132
+ <p>Yes. ThumbGate explicitly uses thumbs up to reinforce successful behavior so the system is not only punitive.</p>
133
+
134
+ <h3>Which AI coding agents support pre-action gates?</h3>
135
+ <p>ThumbGate pre-action gates work across Claude Code, Cursor, Codex, Gemini, Amp, and OpenCode via MCP PreToolUse hooks.</p>
136
+
137
+ <h3>How does Thompson Sampling improve gate accuracy?</h3>
138
+ <p>Thompson Sampling scores gate rules based on accumulated thumbs-up and thumbs-down feedback, so high-risk patterns get strict enforcement while low-risk ones stay relaxed.</p>
139
+
140
+ <div class="cta-box">
141
+ <h2 style="color:var(--text);font-size:1.3rem;margin:0 0 8px;">Pro for operators, Team for governance</h2>
142
+ <p>Start free with local gates. Pro is $19/mo or $149/yr for the personal dashboard and exports. Team rollout anchors at $99/seat/mo when shared lessons and org visibility matter.</p>
143
+ <div class="cta-install">$ npx thumbgate init</div>
144
+ <p style="margin-top:8px;"><a href="/pro">See Pro and Team pricing &rarr;</a></p>
145
+ </div>
146
+
147
+ <div class="related">
148
+ <h3>Related</h3>
149
+ <a href="/compare/speclock">ThumbGate vs SpecLock &rarr;</a>
150
+ <a href="/guides/claude-code-prevent-repeated-mistakes">Claude Code Feedback Memory &rarr;</a>
151
+ <a href="/guides/stop-repeated-ai-agent-mistakes">Stop Repeated AI Agent Mistakes &rarr;</a>
152
+ <a href="https://github.com/IgorGanapolsky/ThumbGate" target="_blank" rel="noopener">GitHub &rarr;</a>
153
+ </div>
154
+ </div>
155
+
156
+ <div class="sticky-cta">
157
+ <span style="color:var(--muted)">Try it now:</span>
158
+ <code>npx thumbgate init</code>
159
+ <a href="https://github.com/IgorGanapolsky/ThumbGate" target="_blank" rel="noopener">GitHub &rarr;</a>
160
+ </div>
161
+ </body>
162
+ </html>
@@ -0,0 +1,159 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>How to Stop AI Coding Agents From Repeating Mistakes | ThumbGate</title>
7
+ <script defer data-domain="thumbgate-production.up.railway.app" src="https://plausible.io/js/script.js"></script>
8
+ <meta name="description" content="If your agent keeps repeating the same bad move, the fix is not more memory alone. The fix is a feedback loop that turns repeated failures into pre-action gates.">
9
+ <meta name="keywords" content="stop AI agent mistakes, repeated AI coding errors, AI agent guardrails, ThumbGate, pre-action gates, feedback enforcement">
10
+ <meta property="og:title" content="How to Stop AI Coding Agents From Repeating Mistakes">
11
+ <meta property="og:description" content="Turn repeated agent failures into pre-action gates that block the same mistake before the next tool call executes.">
12
+ <meta property="og:type" content="article">
13
+ <meta property="og:url" content="https://thumbgate-production.up.railway.app/guides/stop-repeated-ai-agent-mistakes">
14
+ <link rel="canonical" href="https://thumbgate-production.up.railway.app/guides/stop-repeated-ai-agent-mistakes">
15
+ <link rel="llm-context" href="/public/llm-context.md" type="text/markdown">
16
+
17
+ <script type="application/ld+json">
18
+ {
19
+ "@context": "https://schema.org",
20
+ "@type": "TechArticle",
21
+ "headline": "How to Stop AI Coding Agents From Repeating Mistakes",
22
+ "description": "If your agent keeps repeating the same bad move, the fix is a feedback loop that turns repeated failures into pre-action gates.",
23
+ "author": {
24
+ "@type": "Person",
25
+ "name": "Igor Ganapolsky",
26
+ "url": "https://github.com/IgorGanapolsky"
27
+ },
28
+ "publisher": {
29
+ "@type": "Organization",
30
+ "name": "ThumbGate",
31
+ "url": "https://thumbgate-production.up.railway.app"
32
+ },
33
+ "datePublished": "2026-04-09",
34
+ "dateModified": "2026-04-09",
35
+ "mainEntityOfPage": "https://thumbgate-production.up.railway.app/guides/stop-repeated-ai-agent-mistakes",
36
+ "about": [
37
+ {"@type": "Thing", "name": "AI agent mistake prevention"},
38
+ {"@type": "Thing", "name": "pre-action gates"},
39
+ {"@type": "Thing", "name": "feedback enforcement"}
40
+ ]
41
+ }
42
+ </script>
43
+
44
+ <script type="application/ld+json">
45
+ {
46
+ "@context": "https://schema.org",
47
+ "@type": "FAQPage",
48
+ "mainEntity": [
49
+ {
50
+ "@type": "Question",
51
+ "name": "Is memory alone enough to stop repeated mistakes?",
52
+ "acceptedAnswer": {
53
+ "@type": "Answer",
54
+ "text": "Usually no. Memory helps retrieval, but ThumbGate adds pre-action gates so the same risky move can be blocked before the next command executes."
55
+ }
56
+ },
57
+ {
58
+ "@type": "Question",
59
+ "name": "Does ThumbGate only punish bad behavior?",
60
+ "acceptedAnswer": {
61
+ "@type": "Answer",
62
+ "text": "No. Thumbs up reinforces good behavior, so the loop captures safe patterns as well as failures."
63
+ }
64
+ },
65
+ {
66
+ "@type": "Question",
67
+ "name": "How quickly can ThumbGate start blocking repeated mistakes?",
68
+ "acceptedAnswer": {
69
+ "@type": "Answer",
70
+ "text": "After a single thumbs-down with context, ThumbGate generates a prevention rule. After repeated failures on the same pattern, it promotes to a hard gate that blocks before execution."
71
+ }
72
+ },
73
+ {
74
+ "@type": "Question",
75
+ "name": "Which AI coding agents does this work with?",
76
+ "acceptedAnswer": {
77
+ "@type": "Answer",
78
+ "text": "ThumbGate works across Claude Code, Cursor, Codex, Gemini, Amp, and OpenCode via MCP PreToolUse hooks."
79
+ }
80
+ }
81
+ ]
82
+ }
83
+ </script>
84
+
85
+ <link rel="stylesheet" href="/learn/learn.css">
86
+ </head>
87
+ <body>
88
+
89
+ <nav>
90
+ <a href="/" class="brand">ThumbGate</a>
91
+ <a href="/guide">Setup Guide</a>
92
+ <a href="/learn">Learn</a>
93
+ <a href="/dashboard">Dashboard</a>
94
+ <a href="https://github.com/IgorGanapolsky/ThumbGate" target="_blank" rel="noopener">GitHub</a>
95
+ </nav>
96
+
97
+ <div class="container">
98
+ <div class="breadcrumb"><a href="/learn">Learn</a> / <a href="/guides/stop-repeated-ai-agent-mistakes">Guides</a> / Stop Repeated Mistakes</div>
99
+ <h1>How to Stop AI Coding Agents From Repeating Mistakes</h1>
100
+ <p style="color:var(--muted);">3 min read &middot; Works with Claude Code, Cursor, Codex, Gemini, Amp, and OpenCode</p>
101
+
102
+ <div class="tldr"><strong>TL;DR:</strong> If your agent keeps repeating the same bad move, the fix is not more memory alone. The fix is a feedback loop that turns repeated failures into pre-action gates before the next tool call executes.</div>
103
+
104
+ <h2>Why repeated mistakes keep happening</h2>
105
+ <p>AI coding agents are fast, but they forget operational pain surprisingly easily. One bad deployment, force-push, or skipped verification step often turns into another because the system remembered the transcript but never enforced the lesson.</p>
106
+ <p>That is why teams feel stuck in a correction loop. They keep teaching the same rule, but the next session still allows the same risky action.</p>
107
+
108
+ <h2>What changes when feedback becomes enforcement</h2>
109
+ <ul>
110
+ <li>Thumbs down captures the exact failure you do not want repeated.</li>
111
+ <li>Repeated failures promote into linked prevention rules.</li>
112
+ <li>Pre-action gates intercept the risky tool call before execution.</li>
113
+ <li>Thumbs up reinforces the safe path so the agent learns what good looks like too.</li>
114
+ </ul>
115
+
116
+ <div class="callout">
117
+ <strong>The difference:</strong> Memory tells the agent what went wrong. Pre-action gates physically stop the agent from doing it again. ThumbGate does both.
118
+ </div>
119
+
120
+ <h2>Get started in 60 seconds</h2>
121
+ <pre><code>npx thumbgate init --agent claude-code</code></pre>
122
+ <p>Works with Claude Code, Cursor, Codex, Gemini, Amp, and OpenCode. Auto-detects your agent and configures the PreToolUse hook.</p>
123
+
124
+ <h2>What a buyer should do next</h2>
125
+ <p>If the pain is already real, do not start with a long architecture project. Start by wiring ThumbGate into the workflow where the agent has already burned time or trust, then watch the next repeat attempt get blocked before damage lands.</p>
126
+
127
+ <h2>Frequently Asked Questions</h2>
128
+ <h3>Is memory alone enough to stop repeated mistakes?</h3>
129
+ <p>Usually no. Memory helps retrieval, but ThumbGate adds pre-action gates so the same risky move can be blocked before the next command executes.</p>
130
+
131
+ <h3>Does ThumbGate only punish bad behavior?</h3>
132
+ <p>No. Thumbs up reinforces good behavior, so the loop captures safe patterns as well as failures.</p>
133
+
134
+ <h3>How quickly can ThumbGate start blocking repeated mistakes?</h3>
135
+ <p>After a single thumbs-down with context, ThumbGate generates a prevention rule. After repeated failures on the same pattern, it promotes to a hard gate that blocks before execution.</p>
136
+
137
+ <div class="cta-box">
138
+ <h2 style="color:var(--text);font-size:1.3rem;margin:0 0 8px;">Pro for operators, Team for governance</h2>
139
+ <p>Start free with local gates. Pro is $19/mo or $149/yr for the personal dashboard and exports. Team rollout anchors at $99/seat/mo when shared lessons and org visibility matter.</p>
140
+ <div class="cta-install">$ npx thumbgate init</div>
141
+ <p style="margin-top:8px;"><a href="/pro">See Pro and Team pricing &rarr;</a></p>
142
+ </div>
143
+
144
+ <div class="related">
145
+ <h3>Related</h3>
146
+ <a href="/guides/pre-action-gates">What Are Pre-Action Gates? &rarr;</a>
147
+ <a href="/guides/claude-code-prevent-repeated-mistakes">Claude Code Feedback Memory &rarr;</a>
148
+ <a href="/compare/mem0">ThumbGate vs Mem0 &rarr;</a>
149
+ <a href="https://github.com/IgorGanapolsky/ThumbGate" target="_blank" rel="noopener">GitHub &rarr;</a>
150
+ </div>
151
+ </div>
152
+
153
+ <div class="sticky-cta">
154
+ <span style="color:var(--muted)">Try it now:</span>
155
+ <code>npx thumbgate init</code>
156
+ <a href="https://github.com/IgorGanapolsky/ThumbGate" target="_blank" rel="noopener">GitHub &rarr;</a>
157
+ </div>
158
+ </body>
159
+ </html>