thumbgate 1.27.18 → 1.27.19

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 (96) hide show
  1. package/.claude-plugin/marketplace.json +6 -6
  2. package/.claude-plugin/plugin.json +4 -3
  3. package/.well-known/agentic-verify.txt +1 -0
  4. package/.well-known/llms.txt +33 -12
  5. package/.well-known/mcp/server-card.json +8 -8
  6. package/README.md +249 -30
  7. package/adapters/chatgpt/openapi.yaml +12 -0
  8. package/adapters/claude/.mcp.json +2 -2
  9. package/adapters/codex/config.toml +2 -2
  10. package/adapters/gemini/function-declarations.json +1 -0
  11. package/adapters/mcp/server-stdio.js +263 -11
  12. package/adapters/opencode/opencode.json +1 -1
  13. package/bench/thumbgate-bench.json +2 -2
  14. package/bin/cli.js +1429 -121
  15. package/bin/postinstall.js +1 -8
  16. package/config/gate-classifier-routing.json +98 -0
  17. package/config/gate-templates.json +216 -0
  18. package/config/gates/claim-verification.json +12 -0
  19. package/config/gates/default.json +31 -2
  20. package/config/github-about.json +2 -2
  21. package/config/mcp-allowlists.json +23 -13
  22. package/config/merge-quality-checks.json +0 -1
  23. package/config/model-candidates.json +121 -6
  24. package/config/post-deploy-marketing-pages.json +80 -0
  25. package/config/tessl-tiles.json +1 -3
  26. package/openapi/openapi.yaml +12 -0
  27. package/package.json +1 -1
  28. package/public/blog.html +4 -4
  29. package/public/codex-plugin.html +72 -20
  30. package/public/compare.html +31 -8
  31. package/public/dashboard.html +930 -166
  32. package/public/federal.html +2 -2
  33. package/public/guide.html +33 -13
  34. package/public/index.html +469 -111
  35. package/public/learn.html +183 -18
  36. package/public/lessons.html +168 -10
  37. package/public/numbers.html +7 -7
  38. package/public/pro.html +34 -11
  39. package/scripts/agent-memory-lifecycle.js +211 -0
  40. package/scripts/agent-readiness.js +20 -3
  41. package/scripts/agent-reward-model.js +53 -1
  42. package/scripts/auto-promote-gates.js +82 -10
  43. package/scripts/auto-wire-hooks.js +14 -0
  44. package/scripts/billing.js +93 -1
  45. package/scripts/bot-detection.js +61 -3
  46. package/scripts/build-metadata.js +50 -10
  47. package/scripts/cli-feedback.js +4 -2
  48. package/scripts/cli-schema.js +97 -0
  49. package/scripts/cli-telemetry.js +6 -1
  50. package/scripts/commercial-offer.js +82 -2
  51. package/scripts/context-manager.js +74 -6
  52. package/scripts/dashboard.js +68 -2
  53. package/scripts/export-databricks-bundle.js +5 -1
  54. package/scripts/export-dpo-pairs.js +7 -2
  55. package/scripts/feedback-loop.js +123 -1
  56. package/scripts/feedback-quality.js +87 -0
  57. package/scripts/filesystem-search.js +35 -10
  58. package/scripts/gate-stats.js +89 -0
  59. package/scripts/gates-engine.js +1176 -85
  60. package/scripts/gemini-embedding-policy.js +2 -1
  61. package/scripts/hook-runtime.js +20 -14
  62. package/scripts/hook-thumbgate-cache-updater.js +18 -2
  63. package/scripts/hybrid-feedback-context.js +142 -7
  64. package/scripts/lesson-inference.js +8 -3
  65. package/scripts/lesson-search.js +17 -1
  66. package/scripts/license.js +10 -10
  67. package/scripts/llm-client.js +169 -4
  68. package/scripts/local-model-profile.js +15 -8
  69. package/scripts/mcp-config.js +7 -1
  70. package/scripts/memory-scope-readiness.js +159 -0
  71. package/scripts/meta-agent-loop.js +36 -0
  72. package/scripts/operational-integrity.js +39 -5
  73. package/scripts/oss-pr-opportunity-scout.js +35 -5
  74. package/scripts/plausible-server-events.js +9 -6
  75. package/scripts/pro-local-dashboard.js +4 -4
  76. package/scripts/proxy-pointer-rag-guardrails.js +42 -1
  77. package/scripts/published-cli.js +0 -8
  78. package/scripts/rate-limiter.js +64 -13
  79. package/scripts/secret-scanner.js +44 -5
  80. package/scripts/security-scanner.js +260 -10
  81. package/scripts/self-distill-agent.js +3 -1
  82. package/scripts/seo-gsd.js +916 -7
  83. package/scripts/statusline-cache-path.js +17 -2
  84. package/scripts/statusline-local-stats.js +9 -1
  85. package/scripts/statusline-meta.js +28 -2
  86. package/scripts/statusline.sh +20 -4
  87. package/scripts/telemetry-analytics.js +357 -0
  88. package/scripts/thompson-sampling.js +31 -10
  89. package/scripts/thumbgate-bench.js +16 -1
  90. package/scripts/thumbgate-search.js +85 -19
  91. package/scripts/tool-registry.js +169 -1
  92. package/scripts/vector-store.js +45 -0
  93. package/scripts/workflow-sentinel.js +286 -53
  94. package/scripts/workspace-evolver.js +62 -2
  95. package/src/api/server.js +2683 -319
  96. package/scripts/bot-detector.js +0 -50
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thumbgate-marketplace",
3
- "version": "1.20.0",
3
+ "version": "1.27.15",
4
4
  "owner": {
5
5
  "name": "Igor Ganapolsky",
6
6
  "email": "ig5973700@gmail.com"
@@ -8,19 +8,19 @@
8
8
  "plugins": [
9
9
  {
10
10
  "name": "thumbgate",
11
- "description": "One \ud83d\udc4e becomes a hard rule the agent cannot bypass. Captures thumbs-down feedback, distills it into PreToolUse Pre-Action Checks, enforced across every future Claude Code session.",
12
- "longDescription": "ThumbGate is a tripwire, not a memory layer. When you thumbs-down an agent action \u2014 a force-push that overwrote a teammate's commit, a destructive SQL drop, a refactor you already rejected \u2014 ThumbGate captures the pattern, distills a one-sentence lesson, and installs it as a PreToolUse block. The next time the agent reaches for the same tool call shape, the hook fires before execution and Claude sees your own words back as the reason.\n\nThe enforcement lives in the hook, not in the model's context, so the agent cannot bypass it by forgetting, by being prompted around it, or by switching sessions. Same rule works in Claude Code, Cursor, Codex, Gemini CLI, Amp, Cline, and OpenCode.\n\n33 pre-action checks shipped (force-push, destructive SQL, mass-delete, npm publish from wrong branch, deploy without verification). Budget enforcement (action count + time limits) prevents runaway agent sessions. NIST / SOC2 / OWASP / CWE compliance tags on every rule for enterprise teams. DPO training-pair export for teams running their own fine-tunes.\n\nFree tier: unlimited local rules, fully offline. Pro ($19/mo): cloud sync across team, dashboard, audit export.",
11
+ "description": "One 👎 becomes a hard rule the agent cannot bypass. Captures thumbs-down feedback, distills it into PreToolUse Pre-Action Checks, enforced across every future Claude Code session.",
12
+ "longDescription": "ThumbGate is a tripwire, not a memory layer. When you thumbs-down an agent action a force-push that overwrote a teammate's commit, a destructive SQL drop, a refactor you already rejected ThumbGate captures the pattern, distills a one-sentence lesson, and installs it as a PreToolUse block. The next time the agent reaches for the same tool call shape, the hook fires before execution and Claude sees your own words back as the reason.\n\nThe enforcement lives in the hook, not in the model's context, so the agent cannot bypass it by forgetting, by being prompted around it, or by switching sessions. Same rule works in Claude Code, Cursor, Codex, Gemini CLI, Amp, Cline, and OpenCode.\n\n33 pre-action checks shipped (force-push, destructive SQL, mass-delete, npm publish from wrong branch, deploy without verification). Budget enforcement (action count + time limits) prevents runaway agent sessions. NIST / SOC2 / OWASP / CWE compliance tags on every rule for enterprise teams. DPO training-pair export for teams running their own fine-tunes.\n\nFree tier: 2 feedback captures/day, 10 total captures, 3 active auto-promoted prevention rules, fully offline. Pro ($19/mo): hosted sync across machines and agent runtimes, dashboard, audit export.",
13
13
  "source": {
14
14
  "source": "npm",
15
15
  "package": "thumbgate"
16
16
  },
17
- "version": "1.20.0",
17
+ "version": "1.27.15",
18
18
  "author": {
19
19
  "name": "Igor Ganapolsky",
20
20
  "email": "ig5973700@gmail.com",
21
21
  "url": "https://thumbgate.ai"
22
22
  },
23
- "homepage": "https://thumbgate-production.up.railway.app",
23
+ "homepage": "https://thumbgate.ai",
24
24
  "repository": "https://github.com/IgorGanapolsky/ThumbGate",
25
25
  "license": "MIT",
26
26
  "category": "developer-tools",
@@ -60,7 +60,7 @@
60
60
  "installCommand": "/plugin install thumbgate@claude-plugins-official",
61
61
  "metadata": {
62
62
  "author": "Igor Ganapolsky",
63
- "homepage": "https://thumbgate-production.up.railway.app",
63
+ "homepage": "https://thumbgate.ai",
64
64
  "license": "MIT",
65
65
  "keywords": [
66
66
  "guardrails",
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "thumbgate",
3
- "description": "One \ud83d\udc4e becomes a hard rule the agent cannot bypass. Captures thumbs-down feedback, distills it into PreToolUse Pre-Action Checks, enforced across every future Claude Code session.",
4
- "version": "1.20.0",
3
+ "description": "One 👎 becomes a hard rule the agent cannot bypass. Captures thumbs-down feedback, distills it into PreToolUse Pre-Action Checks, enforced across every future Claude Code session.",
4
+ "version": "1.27.15",
5
5
  "author": {
6
6
  "name": "Igor Ganapolsky",
7
7
  "email": "ig5973700@gmail.com",
8
8
  "url": "https://thumbgate.ai"
9
9
  },
10
- "homepage": "https://thumbgate-production.up.railway.app",
10
+ "homepage": "https://thumbgate.ai",
11
11
  "repository": "https://github.com/IgorGanapolsky/ThumbGate",
12
12
  "license": "MIT",
13
13
  "category": "developer-tools",
@@ -28,6 +28,7 @@
28
28
  "memory"
29
29
  ],
30
30
  "skills": "./skills/",
31
+ "commands": "./.claude/commands/",
31
32
  "mcpServers": {
32
33
  "thumbgate": {
33
34
  "command": "npx",
@@ -0,0 +1 @@
1
+ 3588d0ad8f7b89fd7b9fbf771c1dd7dd09310e88aa6a7ae049b1decfa971650b
@@ -1,5 +1,5 @@
1
1
  # ThumbGate — Stop AI agents before they make costly mistakes.
2
- # https://thumbgate-production.up.railway.app
2
+ # https://thumbgate.ai
3
3
  # https://github.com/IgorGanapolsky/ThumbGate
4
4
  # https://www.npmjs.com/package/thumbgate
5
5
 
@@ -15,6 +15,7 @@
15
15
  - CLAUDE.md and .cursorrules files are suggestions agents can ignore
16
16
  - No memory between sessions means no learning from corrections
17
17
  - Teams have no shared safety rules across developers
18
+ - AI crawlers and agents create machine traffic without proving buyer intent; teams need AI-discoverable proof plus runtime gates before internal agents act
18
19
 
19
20
  ## How it works
20
21
 
@@ -24,6 +25,15 @@
24
25
  4. PreToolUse hooks block the pattern before it executes again
25
26
  5. Thompson Sampling adapts gate confidence over time
26
27
 
28
+ ## Agentic development cycle fit
29
+
30
+ ThumbGate maps to Guide, Generate, Verify, Solve by adding a pre-action execution gate:
31
+
32
+ - Guide: feedback and policies become concrete rules
33
+ - Generate: agents still produce plans, edits, and tool calls
34
+ - Verify: risky actions require evidence before execution
35
+ - Solve: blocked failures become reusable lessons and prevention gates
36
+
27
37
  ## Who it's for
28
38
 
29
39
  - Developers using Claude Code, Cursor, Codex, Gemini CLI, or any MCP-compatible agent
@@ -39,23 +49,34 @@ npx thumbgate init --agent claude-code
39
49
 
40
50
  ## Pricing
41
51
 
52
+ - ChatGPT App / GPT Action: https://thumbgate.ai/chatgpt-app
42
53
  - Free GPT: advice, checkpointing, and setup help in ChatGPT
43
- - Free local CLI: unlimited feedback captures, up to 5 active prevention rules, and local Pre-Action Checks after install (recall and lesson search are Pro-only)
44
- - Pro: $19/mo or $149/yr personal enforcement proof, local dashboard, check debugger, DPO export, and review-ready exports
45
- - Team: $49/seat/mo, 3-seat minimum after intake shared lessons, org visibility, approval boundaries, and rollout proof
54
+ - Codex Plugin: https://thumbgate.ai/codex-plugin
55
+ - Free local CLI: 2 captures/day, 10 total captures, up to 3 active auto-promoted prevention rules, and local Pre-Action Checks after install (recall and lesson search are Pro-only)
56
+ - Pro: $19/mo or $149/yr personal enforcement proof, local dashboard, check debugger, DPO export, synced lessons/rules across machines, and review-ready exports
57
+ - Enterprise: custom pricing, scoped after intake — shared hosted lesson database, org-wide dashboard, GCP/DFCX guardrails, VPC gating, and white-glove workflow hardening sprints
46
58
 
47
59
  ## Links
48
60
 
49
- - Agent discovery: https://thumbgate-production.up.railway.app/.well-known/mcp.json
50
- - Progressive tool index: https://thumbgate-production.up.railway.app/.well-known/mcp/tools.json
51
- - Context footprint report: https://thumbgate-production.up.railway.app/.well-known/mcp/footprint.json
52
- - Agent skills: https://thumbgate-production.up.railway.app/.well-known/mcp/skills.json
53
- - MCP applications: https://thumbgate-production.up.railway.app/.well-known/mcp/applications.json
54
- - Documentation: https://thumbgate-production.up.railway.app/guide
55
- - Dashboard: https://thumbgate-production.up.railway.app/dashboard
61
+ - Home: https://thumbgate.ai/
62
+ - Pricing: https://thumbgate.ai/pricing
63
+ - Pro checkout: https://thumbgate.ai/checkout/pro
64
+ - Agent discovery: https://thumbgate.ai/.well-known/mcp.json
65
+ - Progressive tool index: https://thumbgate.ai/.well-known/mcp/tools.json
66
+ - Context footprint report: https://thumbgate.ai/.well-known/mcp/footprint.json
67
+ - Headroom context compression guardrails: https://thumbgate.ai/guides/headroom-context-compression-guardrails
68
+ - Sovereign coding model guardrails: https://thumbgate.ai/guides/sovereign-coding-model-guardrails
69
+ - Agentic web governance: https://thumbgate.ai/guides/agentic-web-governance
70
+ - AI Mode ads and agent governance: https://thumbgate.ai/guides/ai-mode-ads-agent-governance
71
+ - MCP tool governance: https://thumbgate.ai/guides/mcp-tool-governance
72
+ - AI agent pre-action approval gates: https://thumbgate.ai/guides/ai-agent-pre-action-approval-gates
73
+ - Agent skills: https://thumbgate.ai/.well-known/mcp/skills.json
74
+ - MCP applications: https://thumbgate.ai/.well-known/mcp/applications.json
75
+ - Documentation: https://thumbgate.ai/guide
76
+ - Dashboard: https://thumbgate.ai/dashboard
56
77
  - GitHub: https://github.com/IgorGanapolsky/ThumbGate
57
78
  - npm: https://www.npmjs.com/package/thumbgate
58
- - Full LLM context: https://thumbgate-production.up.railway.app/public/llm-context.md
79
+ - Full LLM context: https://thumbgate.ai/llm-context.md
59
80
 
60
81
  ## Compared to alternatives
61
82
 
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "thumbgate",
3
- "version": "1.20.0",
3
+ "version": "1.27.15",
4
4
  "description": "ThumbGate — 👍👎 feedback that teaches your AI agent. Thumbs down a mistake, it never happens again.",
5
- "homepage": "https://thumbgate-production.up.railway.app",
5
+ "homepage": "https://thumbgate.ai",
6
6
  "transport": "stdio",
7
7
  "discovery": {
8
- "manifestUrl": "https://thumbgate-production.up.railway.app/.well-known/mcp.json",
9
- "toolIndexUrl": "https://thumbgate-production.up.railway.app/.well-known/mcp/tools.json",
10
- "toolSchemaUrlTemplate": "https://thumbgate-production.up.railway.app/.well-known/mcp/tools/{name}.json",
11
- "footprintUrl": "https://thumbgate-production.up.railway.app/.well-known/mcp/footprint.json",
12
- "skillsUrl": "https://thumbgate-production.up.railway.app/.well-known/mcp/skills.json",
13
- "applicationsUrl": "https://thumbgate-production.up.railway.app/.well-known/mcp/applications.json"
8
+ "manifestUrl": "https://thumbgate.ai/.well-known/mcp.json",
9
+ "toolIndexUrl": "https://thumbgate.ai/.well-known/mcp/tools.json",
10
+ "toolSchemaUrlTemplate": "https://thumbgate.ai/.well-known/mcp/tools/{name}.json",
11
+ "footprintUrl": "https://thumbgate.ai/.well-known/mcp/footprint.json",
12
+ "skillsUrl": "https://thumbgate.ai/.well-known/mcp/skills.json",
13
+ "applicationsUrl": "https://thumbgate.ai/.well-known/mcp/applications.json"
14
14
  }
15
15
  }