thumbgate 1.5.2 → 1.5.4
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.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/.well-known/mcp/server-card.json +1 -1
- package/README.md +10 -6
- package/adapters/README.md +1 -1
- package/adapters/claude/.mcp.json +2 -2
- package/adapters/codex/config.toml +2 -2
- package/adapters/mcp/server-stdio.js +1 -1
- package/adapters/opencode/opencode.json +1 -1
- package/package.json +12 -3
- package/public/blog.html +474 -0
- package/public/dashboard.html +39 -2
- package/public/index.html +8 -9
- package/public/learn.html +274 -0
- package/public/lessons.html +16 -0
- package/public/pro.html +1087 -0
package/public/blog.html
ADDED
|
@@ -0,0 +1,474 @@
|
|
|
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>ThumbGate Blog — Agent Governance Engineering</title>
|
|
7
|
+
<script defer data-domain="thumbgate-production.up.railway.app" src="https://plausible.io/js/script.js"></script>
|
|
8
|
+
<meta
|
|
9
|
+
name="description"
|
|
10
|
+
content="Technical breakdowns, release notes, and agent governance insights from the ThumbGate team."
|
|
11
|
+
/>
|
|
12
|
+
<link
|
|
13
|
+
rel="canonical"
|
|
14
|
+
href="https://thumbgate-production.up.railway.app/blog"
|
|
15
|
+
/>
|
|
16
|
+
<meta
|
|
17
|
+
property="og:title"
|
|
18
|
+
content="ThumbGate Blog — Agent Governance Engineering"
|
|
19
|
+
/>
|
|
20
|
+
<meta
|
|
21
|
+
property="og:description"
|
|
22
|
+
content="Technical breakdowns, release notes, and agent governance insights from the ThumbGate team."
|
|
23
|
+
/>
|
|
24
|
+
<meta property="og:type" content="website" />
|
|
25
|
+
<meta
|
|
26
|
+
property="og:url"
|
|
27
|
+
content="https://thumbgate-production.up.railway.app/blog"
|
|
28
|
+
/>
|
|
29
|
+
<script type="application/ld+json">
|
|
30
|
+
{
|
|
31
|
+
"@context": "https://schema.org",
|
|
32
|
+
"@type": "Blog",
|
|
33
|
+
"name": "ThumbGate Blog",
|
|
34
|
+
"url": "https://thumbgate-production.up.railway.app/blog",
|
|
35
|
+
"publisher": { "@type": "Organization", "name": "Max Smith KDP LLC" },
|
|
36
|
+
"blogPost": [
|
|
37
|
+
{
|
|
38
|
+
"@type": "BlogPosting",
|
|
39
|
+
"headline": "Your AI agent is a supply chain attack surface. Here's how to gate it.",
|
|
40
|
+
"datePublished": "2026-04-10",
|
|
41
|
+
"keywords": "AI agent security, supply chain attack, pre-action gates, agent governance, ThumbGate"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"@type": "BlogPosting",
|
|
45
|
+
"headline": "The Claude Code Leak Proves Why Pre-Action Gates Matter",
|
|
46
|
+
"datePublished": "2026-04-01",
|
|
47
|
+
"keywords": "Claude Code security, Claude Code guardrails, AI agent safety, pre-action gates"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"@type": "BlogPosting",
|
|
51
|
+
"headline": "v0.8.5: Gate Reasoning Chains, Org Dashboard, and the Checkout Funnel That Didn't Exist",
|
|
52
|
+
"datePublished": "2026-03-31"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
</script>
|
|
57
|
+
<style>
|
|
58
|
+
:root {
|
|
59
|
+
--bg: #0a0a0a;
|
|
60
|
+
--surface: #141414;
|
|
61
|
+
--border: #2a2a2a;
|
|
62
|
+
--text: #e0e0e0;
|
|
63
|
+
--text-dim: #888;
|
|
64
|
+
--cyan: #00d4aa;
|
|
65
|
+
}
|
|
66
|
+
* {
|
|
67
|
+
margin: 0;
|
|
68
|
+
padding: 0;
|
|
69
|
+
box-sizing: border-box;
|
|
70
|
+
}
|
|
71
|
+
body {
|
|
72
|
+
font-family:
|
|
73
|
+
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
74
|
+
background: var(--bg);
|
|
75
|
+
color: var(--text);
|
|
76
|
+
line-height: 1.7;
|
|
77
|
+
}
|
|
78
|
+
.container {
|
|
79
|
+
max-width: 720px;
|
|
80
|
+
margin: 0 auto;
|
|
81
|
+
padding: 0 24px;
|
|
82
|
+
}
|
|
83
|
+
header {
|
|
84
|
+
padding: 24px 0;
|
|
85
|
+
border-bottom: 1px solid var(--border);
|
|
86
|
+
}
|
|
87
|
+
header a {
|
|
88
|
+
color: var(--cyan);
|
|
89
|
+
text-decoration: none;
|
|
90
|
+
font-weight: 600;
|
|
91
|
+
}
|
|
92
|
+
h1 {
|
|
93
|
+
font-size: 18px;
|
|
94
|
+
font-weight: 700;
|
|
95
|
+
}
|
|
96
|
+
.post {
|
|
97
|
+
padding: 48px 0;
|
|
98
|
+
border-bottom: 1px solid var(--border);
|
|
99
|
+
}
|
|
100
|
+
.post-date {
|
|
101
|
+
font-size: 13px;
|
|
102
|
+
color: var(--text-dim);
|
|
103
|
+
margin-bottom: 8px;
|
|
104
|
+
}
|
|
105
|
+
.post h2 {
|
|
106
|
+
font-size: 24px;
|
|
107
|
+
font-weight: 700;
|
|
108
|
+
margin-bottom: 16px;
|
|
109
|
+
letter-spacing: -0.02em;
|
|
110
|
+
}
|
|
111
|
+
.post h3 {
|
|
112
|
+
font-size: 18px;
|
|
113
|
+
font-weight: 600;
|
|
114
|
+
margin: 24px 0 8px;
|
|
115
|
+
}
|
|
116
|
+
.post p {
|
|
117
|
+
margin-bottom: 16px;
|
|
118
|
+
color: var(--text-dim);
|
|
119
|
+
}
|
|
120
|
+
.post ul {
|
|
121
|
+
margin: 0 0 16px 24px;
|
|
122
|
+
color: var(--text-dim);
|
|
123
|
+
}
|
|
124
|
+
.post li {
|
|
125
|
+
margin-bottom: 6px;
|
|
126
|
+
}
|
|
127
|
+
.post code {
|
|
128
|
+
background: var(--surface);
|
|
129
|
+
padding: 2px 6px;
|
|
130
|
+
border-radius: 4px;
|
|
131
|
+
font-size: 14px;
|
|
132
|
+
}
|
|
133
|
+
.post strong {
|
|
134
|
+
color: var(--text);
|
|
135
|
+
}
|
|
136
|
+
.cta {
|
|
137
|
+
display: inline-block;
|
|
138
|
+
margin-top: 16px;
|
|
139
|
+
padding: 10px 20px;
|
|
140
|
+
background: var(--cyan);
|
|
141
|
+
color: #000;
|
|
142
|
+
border-radius: 6px;
|
|
143
|
+
text-decoration: none;
|
|
144
|
+
font-weight: 600;
|
|
145
|
+
font-size: 14px;
|
|
146
|
+
}
|
|
147
|
+
footer {
|
|
148
|
+
padding: 48px 0 24px;
|
|
149
|
+
text-align: center;
|
|
150
|
+
color: var(--text-dim);
|
|
151
|
+
font-size: 13px;
|
|
152
|
+
}
|
|
153
|
+
footer a {
|
|
154
|
+
color: var(--cyan);
|
|
155
|
+
text-decoration: none;
|
|
156
|
+
}
|
|
157
|
+
</style>
|
|
158
|
+
</head>
|
|
159
|
+
<body>
|
|
160
|
+
<header>
|
|
161
|
+
<div
|
|
162
|
+
class="container"
|
|
163
|
+
style="
|
|
164
|
+
display: flex;
|
|
165
|
+
justify-content: space-between;
|
|
166
|
+
align-items: center;
|
|
167
|
+
"
|
|
168
|
+
>
|
|
169
|
+
<h1><a href="/">ThumbGate</a> / Blog</h1>
|
|
170
|
+
<a href="/">Back to home</a>
|
|
171
|
+
</div>
|
|
172
|
+
</header>
|
|
173
|
+
|
|
174
|
+
<div class="container">
|
|
175
|
+
<article class="post">
|
|
176
|
+
<div class="post-date">April 10, 2026</div>
|
|
177
|
+
<h2>Your AI agent is a supply chain attack surface. Here's how to gate it.</h2>
|
|
178
|
+
|
|
179
|
+
<p>
|
|
180
|
+
Your AI coding agent runs shell commands. It installs packages. It
|
|
181
|
+
modifies files, pushes commits, and calls external APIs — all
|
|
182
|
+
without requiring you to type a single character. That's the pitch.
|
|
183
|
+
That's also the attack surface.
|
|
184
|
+
</p>
|
|
185
|
+
|
|
186
|
+
<h3>The gap is pre-action enforcement</h3>
|
|
187
|
+
<p>
|
|
188
|
+
Static analysis catches known-bad patterns in code you've already
|
|
189
|
+
written. Dependency scanners audit lock files <em>after</em> packages
|
|
190
|
+
are installed. By the time your scanner flags a problem, the agent
|
|
191
|
+
already ran the command.
|
|
192
|
+
</p>
|
|
193
|
+
<p>
|
|
194
|
+
These tools operate on the <em>output</em> of agent actions. You need
|
|
195
|
+
something that operates on the <em>input</em> — before execution.
|
|
196
|
+
</p>
|
|
197
|
+
|
|
198
|
+
<h3>Pre-Action Gates via PreToolUse hooks</h3>
|
|
199
|
+
<p>
|
|
200
|
+
ThumbGate implements pre-action gates via <code>PreToolUse</code> hooks
|
|
201
|
+
— interception points that run before every tool invocation. No
|
|
202
|
+
action reaches execution without passing through the gate. Not Bash
|
|
203
|
+
commands, not file edits, not web fetches.
|
|
204
|
+
</p>
|
|
205
|
+
<p>
|
|
206
|
+
What makes this more than a static blocklist is the
|
|
207
|
+
<strong>feedback-to-enforcement pipeline</strong>. When something goes
|
|
208
|
+
wrong, you record a thumbs-down with context. That failure feeds a
|
|
209
|
+
promotion engine. One failure becomes a warning. Three confirmed
|
|
210
|
+
failures of the same pattern become a hard block.
|
|
211
|
+
</p>
|
|
212
|
+
|
|
213
|
+
<h3>Real examples</h3>
|
|
214
|
+
<ul>
|
|
215
|
+
<li>
|
|
216
|
+
<strong>Force-push to main</strong> — Gate fires, push never
|
|
217
|
+
happens. Agent is redirected to create a branch and open a PR.
|
|
218
|
+
</li>
|
|
219
|
+
<li>
|
|
220
|
+
<strong>Unknown dependency install</strong> — Flagged for human
|
|
221
|
+
review. Agent pauses until you approve.
|
|
222
|
+
</li>
|
|
223
|
+
<li>
|
|
224
|
+
<strong>Destructive shell command</strong> — Blocked by a
|
|
225
|
+
prevention rule learned from a prior incident.
|
|
226
|
+
</li>
|
|
227
|
+
</ul>
|
|
228
|
+
|
|
229
|
+
<h3>Five-minute setup</h3>
|
|
230
|
+
<p>
|
|
231
|
+
<code>npx thumbgate init</code> installs the PreToolUse hook and
|
|
232
|
+
generates a starter gate config. Gates are just JSON — commit
|
|
233
|
+
them, review them, share them across your team.
|
|
234
|
+
</p>
|
|
235
|
+
<p>
|
|
236
|
+
<strong>Human judgment leads. AI supports. ThumbGate enforces it.</strong>
|
|
237
|
+
</p>
|
|
238
|
+
|
|
239
|
+
<a class="cta" href="/guide">Full setup guide →</a>
|
|
240
|
+
</article>
|
|
241
|
+
|
|
242
|
+
<article class="post">
|
|
243
|
+
<div class="post-date">April 1, 2026</div>
|
|
244
|
+
<h2>Dual-Signal Feedback: Why "What Failed" Isn't Enough</h2>
|
|
245
|
+
|
|
246
|
+
<p>
|
|
247
|
+
Standard thumbs-down tells you <em>something</em> went wrong. But was
|
|
248
|
+
it a bad decision (wrong tool) or bad execution (right tool, wrong
|
|
249
|
+
parameters)?
|
|
250
|
+
</p>
|
|
251
|
+
|
|
252
|
+
<p>
|
|
253
|
+
Inspired by
|
|
254
|
+
<a
|
|
255
|
+
href="https://huggingface.co/papers/2603.28767"
|
|
256
|
+
style="color: var(--cyan)"
|
|
257
|
+
>Gen-Searcher's dual reward system</a
|
|
258
|
+
>, ThumbGate now supports an optional <code>failureType</code> field
|
|
259
|
+
on <code>capture_feedback</code>:
|
|
260
|
+
</p>
|
|
261
|
+
|
|
262
|
+
<ul>
|
|
263
|
+
<li>
|
|
264
|
+
<strong><code>"decision"</code></strong> — the agent chose the wrong
|
|
265
|
+
action entirely
|
|
266
|
+
</li>
|
|
267
|
+
<li>
|
|
268
|
+
<strong><code>"execution"</code></strong> — right action, bad
|
|
269
|
+
parameters or output
|
|
270
|
+
</li>
|
|
271
|
+
</ul>
|
|
272
|
+
|
|
273
|
+
<p>
|
|
274
|
+
Thompson Sampling creates separate sub-arms (e.g.,
|
|
275
|
+
<code>git:decision</code> and <code>git:execution</code>) so
|
|
276
|
+
reliability scores diverge per dimension. An agent might be great at
|
|
277
|
+
choosing git commands but bad at parameterizing them — now you can see
|
|
278
|
+
that distinction.
|
|
279
|
+
</p>
|
|
280
|
+
|
|
281
|
+
<p>
|
|
282
|
+
Backward compatible. Existing feedback without
|
|
283
|
+
<code>failureType</code> works unchanged.
|
|
284
|
+
</p>
|
|
285
|
+
|
|
286
|
+
<a class="cta" href="https://www.npmjs.com/package/thumbgate"
|
|
287
|
+
>Try it now</a
|
|
288
|
+
>
|
|
289
|
+
</article>
|
|
290
|
+
|
|
291
|
+
<article class="post">
|
|
292
|
+
<div class="post-date">April 1, 2026</div>
|
|
293
|
+
<h2>The Claude Code Leak Proves Why Pre-Action Gates Matter</h2>
|
|
294
|
+
|
|
295
|
+
<p>
|
|
296
|
+
Anthropic accidentally shipped 512,000 lines of Claude Code source
|
|
297
|
+
inside an npm package. A missing <code>.npmignore</code> exposed the
|
|
298
|
+
full agent architecture: tool-call loops, permission models, retry
|
|
299
|
+
logic, 44 unreleased feature flags.
|
|
300
|
+
</p>
|
|
301
|
+
|
|
302
|
+
<p>
|
|
303
|
+
Within 24 hours, a clean rewrite called Claw-code hit 100K GitHub
|
|
304
|
+
stars — the fastest-growing repo in GitHub history.
|
|
305
|
+
</p>
|
|
306
|
+
|
|
307
|
+
<h3>What the leak revealed about agent security</h3>
|
|
308
|
+
<p>
|
|
309
|
+
Claude Code has a sophisticated permission model and tool-calling
|
|
310
|
+
pipeline. What it does <strong>not</strong> have is feedback-driven
|
|
311
|
+
enforcement — the ability to learn from past mistakes and physically
|
|
312
|
+
block the agent from repeating them.
|
|
313
|
+
</p>
|
|
314
|
+
|
|
315
|
+
<p>
|
|
316
|
+
That's exactly what ThumbGate does. Every Claude Code user — and every
|
|
317
|
+
Claw-code user — can add pre-action gates today:
|
|
318
|
+
</p>
|
|
319
|
+
|
|
320
|
+
<ul>
|
|
321
|
+
<li>
|
|
322
|
+
<strong>Thumbs-down a mistake</strong> — it auto-generates a
|
|
323
|
+
prevention rule
|
|
324
|
+
</li>
|
|
325
|
+
<li>
|
|
326
|
+
<strong>Gates enforce</strong> — PreToolUse hooks block the action
|
|
327
|
+
before execution
|
|
328
|
+
</li>
|
|
329
|
+
<li>
|
|
330
|
+
<strong>Reasoning chains explain</strong> — every block tells you
|
|
331
|
+
WHY
|
|
332
|
+
</li>
|
|
333
|
+
<li>
|
|
334
|
+
<strong>Thompson Sampling adapts</strong> — confidence tiers prevent
|
|
335
|
+
false blocks
|
|
336
|
+
</li>
|
|
337
|
+
</ul>
|
|
338
|
+
|
|
339
|
+
<h3>Install in 30 seconds</h3>
|
|
340
|
+
<p>
|
|
341
|
+
<code>npx thumbgate init</code> works with Claude Code,
|
|
342
|
+
Claw-code, Cursor, Codex, Gemini, Amp, and any MCP-compatible agent.
|
|
343
|
+
</p>
|
|
344
|
+
|
|
345
|
+
<p>
|
|
346
|
+
The leak proves agents are powerful but fallible software. Memory
|
|
347
|
+
without enforcement is a suggestion.
|
|
348
|
+
<strong>ThumbGate is a guarantee.</strong>
|
|
349
|
+
</p>
|
|
350
|
+
|
|
351
|
+
<a class="cta" href="https://www.npmjs.com/package/thumbgate"
|
|
352
|
+
>Install ThumbGate</a
|
|
353
|
+
>
|
|
354
|
+
</article>
|
|
355
|
+
|
|
356
|
+
<article class="post">
|
|
357
|
+
<div class="post-date">March 31, 2026</div>
|
|
358
|
+
<h2>
|
|
359
|
+
v0.8.5: Gate Reasoning Chains, Org Dashboard, and the Checkout Funnel
|
|
360
|
+
That Didn't Exist
|
|
361
|
+
</h2>
|
|
362
|
+
|
|
363
|
+
<p>
|
|
364
|
+
ThumbGate v0.8.5 is our biggest release yet. Here's what shipped and
|
|
365
|
+
why.
|
|
366
|
+
</p>
|
|
367
|
+
|
|
368
|
+
<h3>The problem we didn't see</h3>
|
|
369
|
+
<p>
|
|
370
|
+
~1,700 developers install ThumbGate via npm every month.
|
|
371
|
+
<strong>Zero of them ever saw a checkout button.</strong> They find
|
|
372
|
+
the GitHub README, run <code>npx thumbgate init</code>, use
|
|
373
|
+
it for free, and never visit the landing page. The checkout flow
|
|
374
|
+
nobody reaches is irrelevant. We were optimizing a storefront in a
|
|
375
|
+
building with no door.
|
|
376
|
+
</p>
|
|
377
|
+
|
|
378
|
+
<h3>Gate reasoning chains</h3>
|
|
379
|
+
<p>
|
|
380
|
+
Every gate block and warning now explains <strong>WHY</strong> it
|
|
381
|
+
fired. When ThumbGate blocks a <code>git push --force</code>, the
|
|
382
|
+
response includes:
|
|
383
|
+
</p>
|
|
384
|
+
<ul>
|
|
385
|
+
<li>Which pattern matched and what it matched against</li>
|
|
386
|
+
<li>Gate identity: ID, action, layer, severity</li>
|
|
387
|
+
<li>Source: manual policy rule vs auto-promoted from feedback</li>
|
|
388
|
+
<li>
|
|
389
|
+
How to bypass: <code>satisfy_gate("pr_threads_checked")</code>
|
|
390
|
+
</li>
|
|
391
|
+
<li>Historical fire count: "blocked 23x, warned 15x"</li>
|
|
392
|
+
</ul>
|
|
393
|
+
<p>
|
|
394
|
+
This was inspired by the neuro-symbolic explainability trend in
|
|
395
|
+
production AI systems. Gates are the symbolic rules; Thompson Sampling
|
|
396
|
+
provides the statistical confidence. The reasoning chain bridges both.
|
|
397
|
+
</p>
|
|
398
|
+
|
|
399
|
+
<h3>Multi-agent org dashboard</h3>
|
|
400
|
+
<p>
|
|
401
|
+
"I'm not going to have 10,000 agents running in the environment that I
|
|
402
|
+
don't know what they're doing." — CIO.com, March 2026
|
|
403
|
+
</p>
|
|
404
|
+
<p>
|
|
405
|
+
The new <code>org_dashboard</code> MCP tool aggregates gate decisions
|
|
406
|
+
across all registered agent sessions. CIOs and team leads see: total
|
|
407
|
+
active agents, org-wide adherence rate, top blocked gates, and risk
|
|
408
|
+
agents (those with the lowest adherence). Free tier shows 3 agents;
|
|
409
|
+
Pro shows the full org.
|
|
410
|
+
</p>
|
|
411
|
+
|
|
412
|
+
<h3>Multi-hop agentic retrieval</h3>
|
|
413
|
+
<p>
|
|
414
|
+
Inspired by Chroma's Context-1,
|
|
415
|
+
<code>constructMultiHopPack</code> iteratively retrieves context,
|
|
416
|
+
prunes weak chunks, refines the query with expansion terms, and checks
|
|
417
|
+
coverage — stopping when the coverage threshold (60%) is met or max
|
|
418
|
+
hops are reached. Each hop is logged.
|
|
419
|
+
</p>
|
|
420
|
+
|
|
421
|
+
<h3>Thompson Sampling calibration</h3>
|
|
422
|
+
<p>
|
|
423
|
+
<code>MIN_SAMPLES_THRESHOLD</code> (5) prevents low-sample
|
|
424
|
+
overconfidence. <code>getCalibration()</code> reports per-category
|
|
425
|
+
confidence tiers: none (0 samples), low (1-4), medium (5-19), high
|
|
426
|
+
(20+). Callers know when to trust the statistical arm vs fall back to
|
|
427
|
+
rules.
|
|
428
|
+
</p>
|
|
429
|
+
|
|
430
|
+
<h3>The funnel fix</h3>
|
|
431
|
+
<p>
|
|
432
|
+
Four touchpoints now put the checkout URL where 100% of npm users
|
|
433
|
+
actually are:
|
|
434
|
+
</p>
|
|
435
|
+
<ul>
|
|
436
|
+
<li>
|
|
437
|
+
<strong>Post-install banner</strong> — prints after
|
|
438
|
+
<code>npm install</code> (stderr, CI-safe)
|
|
439
|
+
</li>
|
|
440
|
+
<li>
|
|
441
|
+
<strong>Free-tier rate limits</strong> — power features capped,
|
|
442
|
+
upgrade URL in error
|
|
443
|
+
</li>
|
|
444
|
+
<li>
|
|
445
|
+
<strong>MCP enforceLimit</strong> — agents surface the checkout URL
|
|
446
|
+
when limits hit
|
|
447
|
+
</li>
|
|
448
|
+
<li>
|
|
449
|
+
<strong>CLI upgrade nudge</strong> — after <code>init</code>,
|
|
450
|
+
<code>capture</code>, <code>stats</code>
|
|
451
|
+
</li>
|
|
452
|
+
</ul>
|
|
453
|
+
<p>
|
|
454
|
+
13 funnel invariant CI tests prevent this blindspot from ever
|
|
455
|
+
regressing.
|
|
456
|
+
</p>
|
|
457
|
+
|
|
458
|
+
<a class="cta" href="https://www.npmjs.com/package/thumbgate"
|
|
459
|
+
>Install v0.8.5 on npm</a
|
|
460
|
+
>
|
|
461
|
+
</article>
|
|
462
|
+
</div>
|
|
463
|
+
|
|
464
|
+
<footer>
|
|
465
|
+
<div class="container">
|
|
466
|
+
<a href="/">Home</a> ·
|
|
467
|
+
<a href="https://github.com/IgorGanapolsky/ThumbGate">GitHub</a> ·
|
|
468
|
+
<a href="https://x.com/IgorGanapolsky">X</a> ·
|
|
469
|
+
<a href="https://www.linkedin.com/in/igorganapolsky">LinkedIn</a>
|
|
470
|
+
<br /><br />© 2026 Max Smith KDP LLC · MIT License
|
|
471
|
+
</div>
|
|
472
|
+
</footer>
|
|
473
|
+
</body>
|
|
474
|
+
</html>
|
package/public/dashboard.html
CHANGED
|
@@ -620,8 +620,45 @@ function setSource(el, source) {
|
|
|
620
620
|
function switchTab(name) {
|
|
621
621
|
document.querySelectorAll('.tab').forEach(function(t) { t.classList.remove('active'); });
|
|
622
622
|
document.querySelectorAll('.tab-content').forEach(function(c) { c.classList.remove('active'); });
|
|
623
|
-
document.querySelector('[onclick*="' + name + '"]')
|
|
624
|
-
document.getElementById('tab-' + name)
|
|
623
|
+
var tabEl = document.querySelector('[onclick*="' + name + '"]');
|
|
624
|
+
var contentEl = document.getElementById('tab-' + name);
|
|
625
|
+
if (tabEl) tabEl.classList.add('active');
|
|
626
|
+
if (contentEl) contentEl.classList.add('active');
|
|
627
|
+
// Sync URL hash so deep-links stay shareable without scroll jump
|
|
628
|
+
try {
|
|
629
|
+
if (('#' + name) !== window.location.hash) {
|
|
630
|
+
history.replaceState(null, '', '#' + name);
|
|
631
|
+
}
|
|
632
|
+
} catch (e) { /* ignore: older browsers or sandboxed frames */ }
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Resolve deep-link tab target from URL hash or query string.
|
|
637
|
+
* Supports: /dashboard#insights, /dashboard?tab=gates, /dashboard#tab-export.
|
|
638
|
+
* Valid targets match tab-content ids (search, gates, team, generated,
|
|
639
|
+
* settings, templates, insights, export).
|
|
640
|
+
*/
|
|
641
|
+
function getDeepLinkTab() {
|
|
642
|
+
var valid = ['search', 'gates', 'team', 'generated', 'settings', 'templates', 'insights', 'export'];
|
|
643
|
+
var raw = (window.location.hash || '').replace(/^#/, '').replace(/^tab-/, '');
|
|
644
|
+
if (!raw) {
|
|
645
|
+
try {
|
|
646
|
+
var q = new URLSearchParams(window.location.search);
|
|
647
|
+
raw = (q.get('tab') || '').trim();
|
|
648
|
+
} catch (e) { raw = ''; }
|
|
649
|
+
}
|
|
650
|
+
return valid.indexOf(raw) >= 0 ? raw : null;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
function applyDeepLinkTab() {
|
|
654
|
+
var target = getDeepLinkTab();
|
|
655
|
+
if (target) switchTab(target);
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
// Apply deep-link on initial load AND on hash change (so back/forward works)
|
|
659
|
+
if (typeof window !== 'undefined') {
|
|
660
|
+
window.addEventListener('DOMContentLoaded', applyDeepLinkTab);
|
|
661
|
+
window.addEventListener('hashchange', applyDeepLinkTab);
|
|
625
662
|
}
|
|
626
663
|
|
|
627
664
|
async function loadGates() {
|
package/public/index.html
CHANGED
|
@@ -872,7 +872,7 @@ __GA_BOOTSTRAP__
|
|
|
872
872
|
<!-- HOW IT WORKS -->
|
|
873
873
|
<section class="how-it-works" id="how-it-works">
|
|
874
874
|
<div class="container">
|
|
875
|
-
<div class="section-label">New in v1.5.
|
|
875
|
+
<div class="section-label">New in v1.5.4</div>
|
|
876
876
|
<h2 class="section-title">Three steps to stop repeated AI failures</h2>
|
|
877
877
|
<div class="steps">
|
|
878
878
|
<div class="step">
|
|
@@ -1024,12 +1024,11 @@ __GA_BOOTSTRAP__
|
|
|
1024
1024
|
<p style="font-size:13px;color:#aaa;margin-bottom:16px;">3 captures, 1 rule, 1 agent. Enough to prove the enforcement loop works. When you need more, you will know.</p>
|
|
1025
1025
|
<ul>
|
|
1026
1026
|
<li><strong>3 feedback captures total</strong> (not per day)</li>
|
|
1027
|
-
<li>1 prevention rule</li>
|
|
1028
|
-
<li>1 agent</li>
|
|
1027
|
+
<li>1 auto-promoted prevention rule</li>
|
|
1029
1028
|
<li>No recall or lesson search</li>
|
|
1030
|
-
<li>No exports</li>
|
|
1031
|
-
<li>All MCP integrations (Claude Code, Cursor, Codex,
|
|
1032
|
-
<li>PreToolUse hook blocking</li>
|
|
1029
|
+
<li>No exports (DPO, Databricks, HuggingFace)</li>
|
|
1030
|
+
<li>All MCP integrations (Claude Code, Cursor, Codex, Gemini, Amp, any MCP agent)</li>
|
|
1031
|
+
<li>PreToolUse hook blocking with built-in safety gates (force-push, destructive SQL, secrets)</li>
|
|
1033
1032
|
<li><a href="/guide" style="color:var(--cyan);text-decoration:underline;">Setup guide for all agents →</a></li>
|
|
1034
1033
|
</ul>
|
|
1035
1034
|
<div class="hero-install" onclick="copyInstall(this)" title="Click to copy" style="margin-bottom:12px;width:100%;justify-content:center;">
|
|
@@ -1060,9 +1059,9 @@ __GA_BOOTSTRAP__
|
|
|
1060
1059
|
</div>
|
|
1061
1060
|
<ul>
|
|
1062
1061
|
<li>Everything in Free, plus:</li>
|
|
1063
|
-
<li><a href="/dashboard" style="color:var(--cyan);text-decoration:underline;">Visual gate debugger →</a> see every blocked action and the gate that fired so you can trust the system in minutes</li>
|
|
1062
|
+
<li><a href="/dashboard#insights" style="color:var(--cyan);text-decoration:underline;">Visual gate debugger →</a> see every blocked action and the gate that fired so you can trust the system in minutes</li>
|
|
1064
1063
|
<li>Auto-connect — activate once with your license key, then your running agents appear automatically on your local dashboard</li>
|
|
1065
|
-
<li><a href="/dashboard" style="color:var(--cyan);text-decoration:underline;">DPO training data export →</a> turn real thumbs-downs into ready-to-use preference pairs for fine-tuning (LoRA / JSONL)</li>
|
|
1064
|
+
<li><a href="/dashboard#export" style="color:var(--cyan);text-decoration:underline;">DPO training data export →</a> turn real thumbs-downs into ready-to-use preference pairs for fine-tuning (LoRA / JSONL)</li>
|
|
1066
1065
|
<li><strong>HuggingFace dataset export</strong> — share PII-redacted agent traces as open training datasets (<code>npm run export:hf</code>)</li>
|
|
1067
1066
|
<li><strong>Model Hardening Advisor</strong> — get recommendations on when and how to fine-tune your model to natively avoid recurring failures</li>
|
|
1068
1067
|
<li>Personal local dashboard — every Pro user gets a localhost dashboard without extra cloud setup</li>
|
|
@@ -1229,7 +1228,7 @@ __GA_BOOTSTRAP__
|
|
|
1229
1228
|
<a href="https://www.linkedin.com/in/igorganapolsky" target="_blank" rel="noopener">LinkedIn</a>
|
|
1230
1229
|
<a href="/blog">Blog</a>
|
|
1231
1230
|
</div>
|
|
1232
|
-
<span class="footer-copy">© 2026 Max Smith KDP LLC · MIT License · v1.5.
|
|
1231
|
+
<span class="footer-copy">© 2026 Max Smith KDP LLC · MIT License · v1.5.4</span>
|
|
1233
1232
|
</div>
|
|
1234
1233
|
</footer>
|
|
1235
1234
|
|