thumbgate 1.39.1 → 1.40.1

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 (160) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/.well-known/llms.txt +2 -2
  3. package/.well-known/mcp/server-card.json +1 -1
  4. package/README.md +5 -4
  5. package/adapters/claude/.mcp.json +6 -2
  6. package/adapters/codex/config.toml +5 -0
  7. package/adapters/forge/forge.yaml +4 -4
  8. package/adapters/future-agi/.mcp.json +1 -1
  9. package/adapters/future-agi/config.toml +1 -1
  10. package/adapters/future-agi/opencode.json +1 -1
  11. package/adapters/herdr/herdr-plugin.toml +2 -2
  12. package/adapters/mcp/server-stdio.js +82 -7
  13. package/adapters/opencode/opencode.json +1 -1
  14. package/bin/cli.js +128 -15
  15. package/config/brand-standards.json +131 -0
  16. package/config/gates/default.json +18 -1
  17. package/config/github-about.json +1 -1
  18. package/config/mcp-allowlists.json +16 -3
  19. package/config/merge-quality-checks.json +1 -0
  20. package/config/post-deploy-marketing-pages.json +3 -3
  21. package/config/schemas/task-outcome-receipt.schema.json +9 -0
  22. package/openapi/openapi.yaml +7 -3
  23. package/package.json +62 -28
  24. package/public/about.html +2 -2
  25. package/public/admin.html +771 -0
  26. package/public/agent-manager.html +3 -3
  27. package/public/agents-cost-savings.html +1 -1
  28. package/public/ai-malpractice-prevention.html +12 -12
  29. package/public/architecture.html +0 -1
  30. package/public/assets/diagrams/decision.svg +3 -3
  31. package/public/blog/2026-10-05-why-3-days-of-triage-wont-save-ai-speed-code.html +1 -1
  32. package/public/blog/2026-10-09-your-code-got-a-third-author-governance.html +1 -1
  33. package/public/blog/git-at-agent-scale.html +2 -2
  34. package/public/blog/inside-your-boundary.html +1 -1
  35. package/public/blog/process-over-outcome-gates.html +1 -1
  36. package/public/case-studies.html +1 -2
  37. package/public/codex-enterprise.html +1 -1
  38. package/public/codex-plugin.html +1 -1
  39. package/public/dashboard.html +773 -481
  40. package/public/diagnostic.html +8 -3
  41. package/public/enterprise-governance.html +26 -174
  42. package/public/eval-scorecard.html +3 -4
  43. package/public/eval-scorecard.json +2 -2
  44. package/public/evaluations.html +0 -1
  45. package/public/founders.html +3 -3
  46. package/public/gaming-playbook.html +4 -4
  47. package/public/guide.html +3 -5
  48. package/public/index.html +159 -69
  49. package/public/install.html +12 -11
  50. package/public/js/buyer-intent.js +49 -8
  51. package/public/lessons.html +103 -46
  52. package/public/numbers.html +32 -33
  53. package/public/operator-framework.html +44 -72
  54. package/public/peter.html +3 -3
  55. package/public/platform-partners.html +1 -1
  56. package/public/pricing.html +75 -60
  57. package/public/pro.html +3 -1
  58. package/public/project-switcher.js +76 -0
  59. package/public/whitepaper.html +1 -2
  60. package/scripts/activation-quickstart.js +15 -3
  61. package/scripts/activation-tracker.js +280 -3
  62. package/scripts/agent-action-inventory.js +235 -143
  63. package/scripts/agent-operations-planner.js +1 -1
  64. package/scripts/agent-readiness.js +36 -6
  65. package/scripts/agentic-prompt-pipelines.js +901 -0
  66. package/scripts/analytics-window.js +7 -1
  67. package/scripts/async-job-runner.js +66 -11
  68. package/scripts/audit-trail.js +37 -24
  69. package/scripts/auto-promote-gates.js +37 -27
  70. package/scripts/backfill-lesson-scopes.js +122 -0
  71. package/scripts/billing.js +889 -132
  72. package/scripts/bot-detection.js +112 -0
  73. package/scripts/brand-standards-gate.js +571 -0
  74. package/scripts/chatgpt-ads-readiness-pack.js +1 -1
  75. package/scripts/cli-schema.js +1 -1
  76. package/scripts/commercial-offer.js +2 -2
  77. package/scripts/contextfs.js +9 -3
  78. package/scripts/cross-encoder-reranker.js +4 -0
  79. package/scripts/dashboard-chat.js +11 -0
  80. package/scripts/dashboard.js +574 -167
  81. package/scripts/decision-journal.js +7 -4
  82. package/scripts/docker-sandbox-planner.js +3 -3
  83. package/scripts/export-dpo-pairs.js +12 -7
  84. package/scripts/feedback-aggregate.js +4 -0
  85. package/scripts/feedback-attribution.js +6 -4
  86. package/scripts/feedback-history-distiller.js +18 -6
  87. package/scripts/feedback-loop.js +255 -89
  88. package/scripts/feedback-paths.js +8 -1
  89. package/scripts/feedback-sanitizer.js +5 -0
  90. package/scripts/feedback-scope.js +106 -0
  91. package/scripts/feedback-session.js +8 -2
  92. package/scripts/filesystem-search.js +13 -8
  93. package/scripts/financial-control-plane.js +707 -45
  94. package/scripts/gate-stats.js +8 -2
  95. package/scripts/gates-engine.js +694 -230
  96. package/scripts/generate-eval-scorecard.js +0 -1
  97. package/scripts/harness-tool-names.js +31 -5
  98. package/scripts/hybrid-feedback-context.js +5 -2
  99. package/scripts/intervention-policy.js +2 -1
  100. package/scripts/lesson-canonical.js +2 -2
  101. package/scripts/lesson-db.js +55 -14
  102. package/scripts/lesson-graph.js +2 -1
  103. package/scripts/lesson-retrieval.js +95 -9
  104. package/scripts/lesson-search.js +86 -22
  105. package/scripts/lesson-synthesis.js +21 -5
  106. package/scripts/mailer/index.js +17 -1
  107. package/scripts/mailer/resend-mailer.js +213 -179
  108. package/scripts/migrate-project-scope.js +209 -0
  109. package/scripts/operational-integrity.js +436 -3
  110. package/scripts/override-audit.js +2 -0
  111. package/scripts/owner-admin.js +338 -0
  112. package/scripts/pr-manager.js +194 -1
  113. package/scripts/progressive-signoff.js +260 -0
  114. package/scripts/project-catalog.js +243 -0
  115. package/scripts/project-dashboard.js +61 -0
  116. package/scripts/project-evidence.js +172 -0
  117. package/scripts/project-identity.js +182 -0
  118. package/scripts/project-scope.js +381 -0
  119. package/scripts/prompt-guard.js +446 -52
  120. package/scripts/proof-report.js +232 -0
  121. package/scripts/provider-action-normalizer.js +14 -6
  122. package/scripts/rate-limiter.js +41 -0
  123. package/scripts/secret-redaction.js +171 -25
  124. package/scripts/secret-scanner.js +101 -42
  125. package/scripts/self-protection.js +2 -2
  126. package/scripts/seo-gsd.js +14 -14
  127. package/scripts/session-context-dedupe.js +66 -0
  128. package/scripts/settings-hierarchy.js +4 -2
  129. package/scripts/statusline-meta.js +34 -23
  130. package/scripts/task-outcomes.js +29 -2
  131. package/scripts/telemetry-analytics.js +238 -13
  132. package/scripts/thumbgate-search.js +23 -9
  133. package/scripts/tool-kpi-tracker.js +5 -2
  134. package/scripts/tool-registry.js +42 -1
  135. package/scripts/triage-savings-calculator.js +1 -1
  136. package/scripts/vector-store.js +4 -1
  137. package/scripts/verified-lessons.js +270 -0
  138. package/scripts/verify-marketing-pages-deployed.js +2 -2
  139. package/scripts/workflow-sentinel.js +29 -10
  140. package/server.json +2 -2
  141. package/src/api/server.js +2371 -451
  142. package/src/feedback.js +21 -0
  143. package/src/hermes-sync-plane.js +2 -1
  144. package/src/index.js +2 -0
  145. package/src/lesson-search.js +9 -0
  146. package/src/mckinsey-top-company-ai-coding.js +493 -0
  147. package/src/mcp/server.js +3 -0
  148. package/src/mcp-writeguard.js +772 -11
  149. package/src/openshell-lovable-engine.js +1475 -0
  150. package/src/task-outcome.js +3 -0
  151. package/config/evals/agent-safety-eval.json +0 -447
  152. package/config/evals/retrieval-ranking-golden.json +0 -522
  153. package/config/progressive/01-wire-only.json +0 -11
  154. package/config/progressive/02-dashboard-empty-ok.json +0 -10
  155. package/config/progressive/03-one-lesson.json +0 -10
  156. package/config/progressive/04-warn-fires.json +0 -11
  157. package/config/progressive/05-strict-optional.json +0 -11
  158. package/config/progressive/README.md +0 -15
  159. package/public/assets/diagrams/agent-integration.png +0 -0
  160. package/public/assets/diagrams/thumbgate-architecture.png +0 -0
@@ -0,0 +1,131 @@
1
+ {
2
+ "version": "1.0.0",
3
+ "updatedAt": "2026-11-11",
4
+ "maxPricesPerPost": 1,
5
+ "maxLinksPerPost": 1,
6
+ "brands": {
7
+ "thumbgate": {
8
+ "name": "ThumbGate",
9
+ "canonicalOrigin": "https://thumbgate.ai",
10
+ "allowedDomains": [
11
+ "thumbgate.ai",
12
+ "www.thumbgate.ai",
13
+ "github.com/IgorGanapolsky/ThumbGate",
14
+ "npmjs.com/package/thumbgate"
15
+ ],
16
+ "verifiedPrices": [
17
+ "$19/mo",
18
+ "$19",
19
+ "$149/yr",
20
+ "$149",
21
+ "$499"
22
+ ],
23
+ "crossProductForbidden": [
24
+ "Dayglass",
25
+ "dayglass.io",
26
+ "Mac YOLO",
27
+ "macyolosafeguards.io",
28
+ "Bops",
29
+ "deals.igorganapolsky.com",
30
+ "BiggerPockets"
31
+ ]
32
+ },
33
+ "mac-yolo": {
34
+ "name": "Mac YOLO Safeguards",
35
+ "canonicalOrigin": "https://macyolosafeguards.io",
36
+ "allowedDomains": [
37
+ "macyolosafeguards.io",
38
+ "www.macyolosafeguards.io"
39
+ ],
40
+ "verifiedPrices": [
41
+ "$9.99",
42
+ "$19",
43
+ "$29"
44
+ ],
45
+ "crossProductForbidden": [
46
+ "ThumbGate",
47
+ "thumbgate.ai",
48
+ "Dayglass",
49
+ "dayglass.io",
50
+ "Bops",
51
+ "deals.igorganapolsky.com",
52
+ "BiggerPockets"
53
+ ]
54
+ }
55
+ },
56
+ "rules": [
57
+ {
58
+ "id": "no-real-estate-or-tax-deed",
59
+ "description": "Never mention real estate, tax-deed auctions, parcel folios, or property diligence packets.",
60
+ "phrases": [
61
+ "real estate",
62
+ "real-estate",
63
+ "tax deed",
64
+ "tax-deed",
65
+ "197.552",
66
+ "5-folio",
67
+ "folio packet",
68
+ "miami-dade",
69
+ "broward",
70
+ "palm beach",
71
+ "propstream",
72
+ "rexera",
73
+ "eliseai",
74
+ "deals.igorganapolsky.com",
75
+ "biggerpockets",
76
+ "pre-bid diligence"
77
+ ]
78
+ },
79
+ {
80
+ "id": "no-unverified-refund-or-guarantee",
81
+ "description": "Never promise a refund, guarantee, credit, or hosted capability not listed on the matching product page.",
82
+ "phrases": [
83
+ "7-day refund guarantee",
84
+ "14-day refund guarantee",
85
+ "30-day refund guarantee",
86
+ "30-day money-back guarantee",
87
+ "money-back guarantee",
88
+ "refund guarantee",
89
+ "100% refund",
90
+ "full refund",
91
+ "sla credit",
92
+ "service credit guarantee",
93
+ "soc 2 type ii certified",
94
+ "fedramp authorized",
95
+ "hipaa baa included",
96
+ "org-wide audit log is generally available",
97
+ "hosted team sso is live"
98
+ ]
99
+ },
100
+ {
101
+ "id": "voice-no-stacked-jargon",
102
+ "description": "Flag stacked sales jargon, procurement-hack copy, and bot-slop line labels.",
103
+ "phrases": [
104
+ "corporate-expensable",
105
+ "rule-pack kit",
106
+ "zero procurement friction",
107
+ "card limit",
108
+ "one-time corporate-expensable",
109
+ "synergistic",
110
+ "paradigm shift",
111
+ "game-changer",
112
+ "revolutionary",
113
+ "battle-tested enterprise-grade",
114
+ "unlock next-gen",
115
+ "in today's rapidly evolving"
116
+ ]
117
+ },
118
+ {
119
+ "id": "voice-no-unverified-claims",
120
+ "description": "Flag unverified performance, ROI, or zero-risk claims absent from the product page.",
121
+ "phrases": [
122
+ "guaranteed 10x",
123
+ "100% bug-free",
124
+ "zero false positives guaranteed",
125
+ "blocks 100% of attacks",
126
+ "replaces human engineers",
127
+ "corporate-card expensable"
128
+ ]
129
+ }
130
+ ]
131
+ }
@@ -180,6 +180,19 @@
180
180
  "CWE-863"
181
181
  ]
182
182
  },
183
+ {
184
+ "id": "outbound-off-brand-vertical-block",
185
+ "layer": "Execution",
186
+ "trigger": "any:outbound_off_brand_vertical_block",
187
+ "pattern": "^(?=[\\s\\S]*(?:linkedin\\.com\\/(?:sharing|feed|posts|in\\/)|api\\.linkedin\\.com|ugcPosts|bsky\\.app|com\\.atproto\\.repo\\.createRecord|threads\\.(?:com|net)|(?:x|twitter)\\.com\\/(?:i\\/|intent\\/|compose)|api\\.(?:x|twitter)\\.com|oauth\\.reddit\\.com\\/api\\/submit|substack\\.com|api\\.medium\\.com|dev\\.to\\/api\\/articles|scripts\\/(?:post-everywhere|publish-bluesky|social-post-hourly|publish-linkedin|social-analytics\\/publishers)|browseros[-_]neo|browser_type|browser_fill))(?=[\\s\\S]*(?:[rR]eal[\\s_-]?[eE]state|[tT]ax[\\s_-]?[dD]eed|197\\.552|\\b[fF]olios?\\b|[mM]iami-[dD]ade|[bB]roward|[pP]rop[sS]tream|[rR]exera|[eE]lise[aA][iI]|deals\\.igorganapolsky\\.com|[bB]igger[pP]ockets))",
188
+ "action": "block",
189
+ "message": "Outbound social or browser post blocked: contains prohibited off-brand vertical offers or external deal links outside ThumbGate's AI agent governance scope.",
190
+ "severity": "critical",
191
+ "compliance": [
192
+ "SOC2-CC6.1",
193
+ "CWE-285"
194
+ ]
195
+ },
183
196
  {
184
197
  "id": "outbound-email-send",
185
198
  "layer": "Execution",
@@ -504,7 +517,9 @@
504
517
  "toolNames": [
505
518
  "Edit",
506
519
  "Write",
507
- "MultiEdit"
520
+ "MultiEdit",
521
+ "NotebookEdit",
522
+ "Bash"
508
523
  ],
509
524
  "pattern": "(?:config/gates/|config/(?:budget|enforcement|mcp-allowlists)\\.json|\\.thumbgate/config\\.json|thumbgate\\.json)",
510
525
  "action": "block",
@@ -552,6 +567,8 @@
552
567
  "toolNames": [
553
568
  "Edit",
554
569
  "Write",
570
+ "MultiEdit",
571
+ "NotebookEdit",
555
572
  "Bash"
556
573
  ],
557
574
  "pattern": "(?:\\.claude/settings(?:\\.local)?\\.json|\\.codex/config\\.toml|scripts/hook-[^/]+\\.(?:js|sh))",
@@ -23,5 +23,5 @@
23
23
  "thompson-sampling",
24
24
  "self-improving-agents"
25
25
  ],
26
- "metaDescription": "Stop AI agent mistakes before they cost you. Install free. Pro is $19/mo. The $499 Setup Sprint installs one hard, test-backed safety gate for a supported AI-agent workflow in two business days."
26
+ "metaDescription": "ThumbGate checks proposed tool calls before execution in supported hook integrations. The $499 Setup Sprint turns one recurring failure in a supported local workflow into a configured gate, a regression test, and rollout and rollback evidence."
27
27
  }
@@ -93,7 +93,10 @@
93
93
  "track_action",
94
94
  "unified_context",
95
95
  "verify_claim",
96
- "workflow_sentinel"
96
+ "workflow_sentinel",
97
+ "route_workload",
98
+ "trim_context",
99
+ "graphrag_traverse"
97
100
  ],
98
101
  "essential": [
99
102
  "append_feedback_context",
@@ -143,7 +146,9 @@
143
146
  "track_action",
144
147
  "unified_context",
145
148
  "verify_claim",
146
- "workflow_sentinel"
149
+ "workflow_sentinel",
150
+ "route_workload",
151
+ "trim_context"
147
152
  ],
148
153
  "commerce": [
149
154
  "approve_protected_action",
@@ -194,6 +199,7 @@
194
199
  "get_reliability_rules",
195
200
  "get_scope_state",
196
201
  "get_task_outcomes",
202
+ "graphrag_traverse",
197
203
  "list_harnesses",
198
204
  "list_human_escalations",
199
205
  "list_intents",
@@ -213,11 +219,13 @@
213
219
  "reconcile_purchase_ledger",
214
220
  "require_evidence_for_claim",
215
221
  "retrieve_lessons",
222
+ "route_workload",
216
223
  "search_lessons",
217
224
  "search_thumbgate",
218
225
  "session_report",
219
226
  "settings_status",
220
227
  "suggest_fix",
228
+ "trim_context",
221
229
  "unified_context",
222
230
  "verify_claim",
223
231
  "workflow_sentinel"
@@ -240,6 +248,7 @@
240
248
  "get_reliability_rules",
241
249
  "get_scope_state",
242
250
  "get_task_outcomes",
251
+ "graphrag_traverse",
243
252
  "list_harnesses",
244
253
  "list_human_escalations",
245
254
  "list_intents",
@@ -259,12 +268,14 @@
259
268
  "reconcile_purchase_ledger",
260
269
  "require_evidence_for_claim",
261
270
  "retrieve_lessons",
271
+ "route_workload",
262
272
  "run_harness",
263
273
  "search_lessons",
264
274
  "search_thumbgate",
265
275
  "session_report",
266
276
  "settings_status",
267
277
  "suggest_fix",
278
+ "trim_context",
268
279
  "unified_context",
269
280
  "verify_claim",
270
281
  "workflow_sentinel"
@@ -298,7 +309,9 @@
298
309
  "settings_status",
299
310
  "suggest_fix",
300
311
  "verify_claim",
301
- "workflow_sentinel"
312
+ "workflow_sentinel",
313
+ "route_workload",
314
+ "trim_context"
302
315
  ]
303
316
  }
304
317
  }
@@ -4,6 +4,7 @@
4
4
  "CodeQL",
5
5
  "Analyze JavaScript (javascript-typescript)",
6
6
  "Verify changeset",
7
+ "pr-size",
7
8
  "GitGuardian Security Checks",
8
9
  "Socket Security: Project Report",
9
10
  "Socket Security: Pull Request Alerts"
@@ -4,7 +4,7 @@
4
4
  "pages": [
5
5
  {
6
6
  "route": "/",
7
- "sentinel": "Stop AI agent mistakes before they cost you",
7
+ "sentinel": "One repeated agent mistake. One configured gate.",
8
8
  "description": "Home page hero (lifeblood \u2014 never regress)"
9
9
  },
10
10
  {
@@ -48,8 +48,8 @@
48
48
  },
49
49
  {
50
50
  "route": "/numbers",
51
- "sentinel": "ThumbGate",
52
- "description": "First-party numbers / data transparency page"
51
+ "sentinel": "Eval scorecard",
52
+ "description": "Legacy numbers URL 301s to the live bench scorecard"
53
53
  },
54
54
  {
55
55
  "route": "/ai-malpractice-prevention",
@@ -303,6 +303,15 @@
303
303
  "items": {
304
304
  "type": "string"
305
305
  }
306
+ },
307
+ "projectKey": {
308
+ "type": "string"
309
+ },
310
+ "projectName": {
311
+ "type": "string"
312
+ },
313
+ "identitySource": {
314
+ "type": "string"
306
315
  }
307
316
  }
308
317
  }
@@ -373,6 +373,8 @@ components:
373
373
  type: string
374
374
  BillingCheckoutRequest:
375
375
  type: object
376
+ required:
377
+ - customerEmail
376
378
  properties:
377
379
  successUrl:
378
380
  type: string
@@ -1444,7 +1446,7 @@ paths:
1444
1446
  $ref: '#/components/schemas/WorkflowSprintIntakeRequest'
1445
1447
  responses:
1446
1448
  '201':
1447
- description: Workflow Hardening Sprint lead accepted
1449
+ description: Setup Sprint lead accepted
1448
1450
  content:
1449
1451
  application/json:
1450
1452
  schema:
@@ -1492,7 +1494,7 @@ paths:
1492
1494
  $ref: '#/components/schemas/WorkflowSprintAdvanceRequest'
1493
1495
  responses:
1494
1496
  '200':
1495
- description: Workflow Hardening Sprint lead advanced to the next state
1497
+ description: Setup Sprint lead advanced to the next state
1496
1498
  content:
1497
1499
  application/json:
1498
1500
  schema:
@@ -2026,7 +2028,7 @@ paths:
2026
2028
  operationId: createBillingCheckoutSession
2027
2029
  security: []
2028
2030
  requestBody:
2029
- required: false
2031
+ required: true
2030
2032
  content:
2031
2033
  application/json:
2032
2034
  schema:
@@ -2034,6 +2036,8 @@ paths:
2034
2036
  responses:
2035
2037
  '200':
2036
2038
  description: Stripe checkout session created
2039
+ '400':
2040
+ description: customerEmail is missing or not a valid email address
2037
2041
  /v1/billing/usage:
2038
2042
  get:
2039
2043
  operationId: getBillingUsage