thumbgate 1.37.3 → 1.39.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 (134) hide show
  1. package/.agents/skills/aws-strands-harness-not-clone/SKILL.md +53 -0
  2. package/.agents/skills/bolt-forge-opt-in-not-clone/SKILL.md +72 -0
  3. package/.agents/skills/decisive-step-evaluator/SKILL.md +47 -0
  4. package/.agents/skills/fiddler-control-plane-honesty/SKILL.md +61 -0
  5. package/.agents/skills/halo-trace-optimize-not-clone/SKILL.md +60 -0
  6. package/.agents/skills/harness-evolution-ceiling/SKILL.md +52 -0
  7. package/.agents/skills/infoq-architect-honesty-not-clone/SKILL.md +37 -0
  8. package/.agents/skills/meko-datapack-honesty-not-clone/SKILL.md +45 -0
  9. package/.agents/skills/mintlify-knowledge-honesty-not-clone/SKILL.md +49 -0
  10. package/.agents/skills/model-distress-governance/SKILL.md +56 -0
  11. package/.agents/skills/omp-coordination-honesty-not-clone/SKILL.md +94 -0
  12. package/.agents/skills/saas-moat-honesty-not-clone/SKILL.md +22 -0
  13. package/.agents/skills/salt-code-policy-honesty-not-clone/SKILL.md +76 -0
  14. package/.agents/skills/siren-mcp-governance/SKILL.md +50 -0
  15. package/.agents/skills/vs-coverage-gap-not-clone/SKILL.md +69 -0
  16. package/.agents/skills/wisdom-context-artifact-not-clone/SKILL.md +67 -0
  17. package/.claude-plugin/plugin.json +1 -1
  18. package/.well-known/mcp/server-card.json +1 -1
  19. package/adapters/claude/.mcp.json +2 -2
  20. package/adapters/forge/forge.yaml +3 -3
  21. package/adapters/future-agi/.mcp.json +1 -1
  22. package/adapters/future-agi/config.toml +1 -1
  23. package/adapters/future-agi/opencode.json +1 -1
  24. package/adapters/herdr/herdr-plugin.toml +2 -2
  25. package/adapters/hotdata/hotdata-vector-store.js +575 -0
  26. package/adapters/mcp/server-stdio.js +1 -1
  27. package/adapters/opencode/opencode.json +1 -1
  28. package/adapters/strands/STRANDS.md +107 -0
  29. package/adapters/strands/strands-box-diode.js +344 -0
  30. package/adapters/strands/strands-decider-adapter.js +445 -0
  31. package/adapters/strands/strands-middleware.js +192 -0
  32. package/adapters/tailscale/.mcp.json +15 -0
  33. package/adapters/tailscale/TAILSCALE.md +117 -0
  34. package/adapters/tailscale/config.toml +16 -0
  35. package/bin/cli.js +602 -21
  36. package/config/gate-templates.json +109 -0
  37. package/config/gates/default.json +13 -0
  38. package/config/schemas/task-outcome-receipt.schema.json +12 -0
  39. package/package.json +150 -21
  40. package/public/blog/2026-09-28-pretool-secret-deny.html +83 -0
  41. package/public/blog/2026-10-01-aws-strands-harness-token-firewall.html +77 -0
  42. package/public/blog/2026-10-01-model-distress-relief-seeking-firewall.html +71 -0
  43. package/public/blog/2026-10-02-salt-code-honest-steal-40-guardrails.html +106 -0
  44. package/public/blog/2026-10-05-why-3-days-of-triage-wont-save-ai-speed-code.html +119 -0
  45. package/public/blog/2026-10-09-your-code-got-a-third-author-governance.html +141 -0
  46. package/public/connectors.html +329 -0
  47. package/public/enterprise-governance.html +311 -0
  48. package/public/gaming-playbook.html +732 -0
  49. package/public/index.html +77 -51
  50. package/public/install.html +7 -7
  51. package/public/learn.html +14 -0
  52. package/public/numbers.html +2 -2
  53. package/public/onboarding.html +794 -0
  54. package/public/operator-framework.html +385 -0
  55. package/public/pricing.html +14 -10
  56. package/scripts/activesaddler-curriculum-doctor.js +357 -0
  57. package/scripts/agent-context-artifact.js +325 -0
  58. package/scripts/agent-egress-policy.js +2 -2
  59. package/scripts/agent-operations-planner.js +1 -1
  60. package/scripts/agent-outcome-eval.js +1 -1
  61. package/scripts/agent-reliability-client.js +148 -0
  62. package/scripts/apple-minions-idle-compute-steal.js +428 -0
  63. package/scripts/autoresearch-runner.js +20 -1
  64. package/scripts/billing.js +0 -1
  65. package/scripts/cli-demo.js +505 -1
  66. package/scripts/cli-schema.js +36 -0
  67. package/scripts/colab-compute-honesty.js +93 -0
  68. package/scripts/corporate-email-isolation-diode.js +299 -0
  69. package/scripts/coverage-gap.js +396 -0
  70. package/scripts/dashboard-chat.js +3 -3
  71. package/scripts/dashboard.js +2 -2
  72. package/scripts/decisive-step-doctor.js +256 -0
  73. package/scripts/decisive-step-evaluator.js +390 -0
  74. package/scripts/entitlement.js +18 -7
  75. package/scripts/experiment-tracker.js +5 -3
  76. package/scripts/feedback-loop.js +26 -3
  77. package/scripts/fiddler-control-plane-honesty.js +303 -0
  78. package/scripts/financial-control-plane.js +10 -2
  79. package/scripts/gates-engine.js +3 -1
  80. package/scripts/github-license-compliance-diode.js +378 -0
  81. package/scripts/halo-trace-optimizer.js +631 -0
  82. package/scripts/harness-ceiling-doctor.js +326 -0
  83. package/scripts/hf-papers.js +1 -1
  84. package/scripts/human-escalation.js +7 -1
  85. package/scripts/hybrid-feedback-context.js +53 -7
  86. package/scripts/infoq-architect-honesty.js +362 -0
  87. package/scripts/lesson-graph.js +785 -0
  88. package/scripts/lesson-inference.js +1 -1
  89. package/scripts/lesson-retrieval.js +26 -18
  90. package/scripts/license.js +122 -21
  91. package/scripts/llm-behavior-monitor.js +1 -1
  92. package/scripts/llm-obs-honesty.js +52 -0
  93. package/scripts/local-model-profile.js +11 -7
  94. package/scripts/mailer/resend-mailer.js +6 -3
  95. package/scripts/mcp-transport-strategy.js +1 -1
  96. package/scripts/meko-datapack-honesty.js +414 -0
  97. package/scripts/migrate-lesson-graph.js +442 -0
  98. package/scripts/mintlify-knowledge-honesty.js +647 -0
  99. package/scripts/model-distress-detector.js +207 -0
  100. package/scripts/model-distress-doctor.js +368 -0
  101. package/scripts/multi-harness-invariants.js +305 -0
  102. package/scripts/omp-coordination-honesty.js +488 -0
  103. package/scripts/pro-local-dashboard.js +20 -3
  104. package/scripts/prompt-eval.js +1 -1
  105. package/scripts/prove-herdr-adapter.js +367 -3
  106. package/scripts/rag-embedding-identity.js +1 -1
  107. package/scripts/rrsi-regularizer.js +531 -0
  108. package/scripts/saas-moat-honesty.js +443 -0
  109. package/scripts/salt-code-policy-honesty.js +1204 -0
  110. package/scripts/secret-redaction.js +58 -0
  111. package/scripts/session-export-gate.js +368 -0
  112. package/scripts/siren-mcp-governance.js +539 -0
  113. package/scripts/strands-box-doctor.js +130 -0
  114. package/scripts/strands-harness-doctor.js +390 -0
  115. package/scripts/stripe-revenue-catalog-audit.js +12 -0
  116. package/scripts/stripe-revenue-catalog.js +40 -0
  117. package/scripts/switchyard-router.js +153 -0
  118. package/scripts/tailscale-p2p-doctor.js +252 -0
  119. package/scripts/task-outcomes.js +148 -3
  120. package/scripts/thumbgate-board-loop.js +4 -2
  121. package/scripts/thumbgate-daily-discoveries-publish.js +86 -38
  122. package/scripts/triage-savings-calculator.js +181 -0
  123. package/scripts/vector-store.js +41 -2
  124. package/scripts/vulnerability-pre-action-diode.js +319 -0
  125. package/scripts/windbg-evidence-diagnostics.js +241 -0
  126. package/scripts/workflow-intake-queue.js +1 -1
  127. package/scripts/workspace-agent-routines.js +534 -6
  128. package/scripts/workspace-evolver.js +143 -13
  129. package/server.json +2 -2
  130. package/skills/aws-strands-harness-not-clone/SKILL.md +53 -0
  131. package/skills/siren-mcp-governance/SKILL.md +50 -0
  132. package/src/api/server.js +191 -5
  133. package/src/mcp-writeguard.js +1 -1
  134. package/src/session-interactivity.js +284 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thumbgate",
3
- "version": "1.37.3",
3
+ "version": "1.39.0",
4
4
  "description": "ThumbGate Pre-Action Checks self-improve from ranked lessons and repeated failures, hard-block detected secret leaks, and block matches in strict mode.",
5
5
  "homepage": "https://thumbgate.ai",
6
6
  "repository": {
@@ -47,6 +47,8 @@
47
47
  "adapters/policy-engine/README.md",
48
48
  "adapters/policy-engine/ethicore-guardian-client.js",
49
49
  "adapters/policy-engine/thumbgate-policy-engine-adapter.js",
50
+ "adapters/strands/strands-box-diode.js",
51
+ "adapters/strands/strands-decider-adapter.js",
50
52
  "adapters/workos/WORKOS.md",
51
53
  "bench/observability-eval-suite.json",
52
54
  "bench/programbench-smoke.json",
@@ -84,14 +86,17 @@
84
86
  "public/codex-enterprise.html",
85
87
  "public/codex-plugin.html",
86
88
  "public/compare.html",
89
+ "public/connectors.html",
87
90
  "public/dashboard.html",
88
91
  "public/diagnostic.html",
89
92
  "public/docs/connectors.html",
93
+ "public/enterprise-governance.html",
90
94
  "public/eval-scorecard.html",
91
95
  "public/eval-scorecard.json",
92
96
  "public/evaluations.html",
93
97
  "public/federal.html",
94
98
  "public/founders.html",
99
+ "public/gaming-playbook.html",
95
100
  "public/guide.html",
96
101
  "public/index.html",
97
102
  "public/install.html",
@@ -99,9 +104,11 @@
99
104
  "public/learn.html",
100
105
  "public/lessons.html",
101
106
  "public/numbers.html",
107
+ "public/onboarding.html",
102
108
  "public/partner-intake.html",
103
109
  "public/peter.html",
104
110
  "public/platform-partners.html",
111
+ "public/operator-framework.html",
105
112
  "public/pricing.html",
106
113
  "public/privacy.html",
107
114
  "public/pro.html",
@@ -113,6 +120,7 @@
113
120
  "scripts/a-plus-evidence-scorecard.js",
114
121
  "scripts/access-anomaly-detector.js",
115
122
  "scripts/action-receipts.js",
123
+ "scripts/activesaddler-curriculum-doctor.js",
116
124
  "scripts/activation-quickstart.js",
117
125
  "scripts/activation-tracker.js",
118
126
  "scripts/adaptive-governance-arena.js",
@@ -128,6 +136,7 @@
128
136
  "scripts/agent-outcome-monitor.js",
129
137
  "scripts/agent-readiness-plan.js",
130
138
  "scripts/agent-readiness.js",
139
+ "scripts/agent-reliability-client.js",
131
140
  "scripts/agent-reasoning-traces.js",
132
141
  "scripts/agent-reward-model.js",
133
142
  "scripts/agent-security-central.js",
@@ -220,6 +229,7 @@
220
229
  "scripts/feedback-session.js",
221
230
  "scripts/feedback-to-rules.js",
222
231
  "scripts/feedback_quality_eval.py",
232
+ "scripts/fiddler-control-plane-honesty.js",
223
233
  "scripts/file-ledger-lock.js",
224
234
  "scripts/filesystem-search.js",
225
235
  "scripts/find-dormant-requires.js",
@@ -261,6 +271,7 @@
261
271
  "scripts/judge-reward-function.js",
262
272
  "scripts/lesson-canonical.js",
263
273
  "scripts/lesson-db.js",
274
+ "scripts/lesson-graph.js",
264
275
  "scripts/lesson-embedding-index.js",
265
276
  "scripts/lesson-embedding-maintenance.js",
266
277
  "scripts/lesson-inference.js",
@@ -289,8 +300,10 @@
289
300
  "scripts/meta-agent-loop.js",
290
301
  "scripts/model-access-eligibility.js",
291
302
  "scripts/model-eval.js",
303
+ "scripts/migrate-lesson-graph.js",
292
304
  "scripts/model-migration-readiness.js",
293
305
  "scripts/model-tier-router.js",
306
+ "scripts/multi-harness-invariants.js",
294
307
  "scripts/multimodal-retrieval-plan.js",
295
308
  "scripts/native-messaging-audit.js",
296
309
  "scripts/natural-language-harness.js",
@@ -425,6 +438,7 @@
425
438
  "scripts/verifier-scoring.js",
426
439
  "scripts/verify-marketing-pages-deployed.js",
427
440
  "scripts/visitor-journey.js",
441
+ "scripts/windbg-evidence-diagnostics.js",
428
442
  "scripts/workflow-intake-queue.js",
429
443
  "scripts/workflow-notebook.js",
430
444
  "scripts/workflow-runs.js",
@@ -432,6 +446,8 @@
432
446
  "scripts/workos-production-guard.js",
433
447
  "scripts/workspace-agent-routines.js",
434
448
  "scripts/workspace-evolver.js",
449
+ "scripts/rrsi-regularizer.js",
450
+ "scripts/harness-ceiling-doctor.js",
435
451
  "scripts/xmemory-lite.js",
436
452
  "server.json",
437
453
  "skills/thumbgate/SKILL.md",
@@ -448,33 +464,88 @@
448
464
  ".agents/skills/openui-catalog-compose-honesty/",
449
465
  "scripts/cobble-hot-store-split.js",
450
466
  ".agents/skills/cobble-hot-store-compare-not-clone/",
467
+ ".agents/skills/fiddler-control-plane-honesty/",
451
468
  "scripts/token-shunt-honesty.js",
452
469
  ".agents/skills/token-shunt-honesty-not-clone/",
453
470
  "scripts/typesafe-typed-questions.js",
454
471
  ".agents/skills/typesafe-typed-questions-not-clone/",
455
472
  "scripts/colab-compute-honesty.js",
456
473
  ".agents/skills/colab-compute-honesty-not-clone/",
457
- ".agents/skills/deeppattern-discipline-honesty-not-clone/",
474
+ "scripts/omp-coordination-honesty.js",
475
+ ".agents/skills/omp-coordination-honesty-not-clone/",
476
+ ".agents/skills/harness-evolution-ceiling/",
477
+ "scripts/decisive-step-evaluator.js",
478
+ "scripts/decisive-step-doctor.js",
479
+ ".agents/skills/decisive-step-evaluator/",
480
+ ".agents/skills/salt-code-policy-honesty-not-clone/",
481
+ ".agents/skills/infoq-architect-honesty-not-clone/",
482
+ "scripts/infoq-architect-honesty.js",
458
483
  "scripts/deeppattern-discipline-honesty.js",
484
+ ".agents/skills/deeppattern-discipline-honesty-not-clone/",
485
+ "scripts/salt-code-policy-honesty.js",
459
486
  ".agents/skills/ci-gha-buildkite-patterns-not-clone/",
460
487
  "scripts/ci-gha-buildkite-patterns.js",
461
488
  "scripts/thumbgate-board-loop.js",
462
489
  ".agents/skills/thumbgate-board-loop/",
463
490
  "scripts/llm-obs-honesty.js",
464
491
  ".agents/skills/datadog-llm-obs-compare-not-clone/",
492
+ "scripts/halo-trace-optimizer.js",
493
+ ".agents/skills/halo-trace-optimize-not-clone/",
494
+ "scripts/model-distress-doctor.js",
495
+ "scripts/model-distress-detector.js",
496
+ ".agents/skills/model-distress-governance/",
497
+ "adapters/strands/strands-middleware.js",
498
+ "adapters/strands/STRANDS.md",
499
+ "scripts/strands-box-doctor.js",
500
+ "scripts/strands-harness-doctor.js",
501
+ ".agents/skills/aws-strands-harness-not-clone/",
502
+ "skills/aws-strands-harness-not-clone/",
503
+ "scripts/tailscale-p2p-doctor.js",
504
+ "adapters/tailscale/TAILSCALE.md",
505
+ "adapters/tailscale/config.toml",
506
+ "adapters/tailscale/.mcp.json",
507
+ "scripts/meko-datapack-honesty.js",
508
+ ".agents/skills/meko-datapack-honesty-not-clone/",
509
+ "scripts/mintlify-knowledge-honesty.js",
510
+ ".agents/skills/mintlify-knowledge-honesty-not-clone/",
511
+ "scripts/siren-mcp-governance.js",
512
+ ".agents/skills/siren-mcp-governance/",
513
+ "skills/siren-mcp-governance/",
465
514
  "scripts/thumbgate-daily-discoveries-publish.js",
466
515
  "scripts/thumbgate-daily-discoveries-publish.sh",
467
516
  "scripts/install-thumbgate-daily-publish-launchd.sh",
517
+ "scripts/vulnerability-pre-action-diode.js",
518
+ "scripts/triage-savings-calculator.js",
468
519
  ".agents/skills/thumbgate-daily-discoveries/",
469
520
  ".agents/skills/comet-session-logger/",
470
521
  ".agents/skills/article-syndication-pipeline/",
471
522
  "skills/thumbgate-daily-discoveries/",
472
523
  "skills/comet-session-logger/",
473
- "skills/article-syndication-pipeline/"
524
+ "skills/article-syndication-pipeline/",
525
+ "scripts/agent-context-artifact.js",
526
+ ".agents/skills/wisdom-context-artifact-not-clone/",
527
+ "scripts/session-export-gate.js",
528
+ ".agents/skills/bolt-forge-opt-in-not-clone/",
529
+ "scripts/coverage-gap.js",
530
+ ".agents/skills/vs-coverage-gap-not-clone/",
531
+ "adapters/hotdata/",
532
+ "scripts/apple-minions-idle-compute-steal.js",
533
+ "scripts/corporate-email-isolation-diode.js",
534
+ "scripts/github-license-compliance-diode.js",
535
+ "scripts/saas-moat-honesty.js",
536
+ ".agents/skills/saas-moat-honesty-not-clone/"
474
537
  ],
475
538
  "scripts": {
476
539
  "canary:snapshot": "node scripts/gate-decision-canary.js --snapshot",
477
540
  "canary:check": "node scripts/gate-decision-canary.js --check",
541
+ "diode:vulnerability": "node scripts/vulnerability-pre-action-diode.js",
542
+ "roi:calculator": "node scripts/triage-savings-calculator.js",
543
+ "test:vulnerability-diode": "node --test tests/vulnerability-pre-action-diode.test.js tests/triage-savings-calculator.test.js",
544
+ "tailscale:doctor": "node scripts/tailscale-p2p-doctor.js",
545
+ "third-author:audit": "node scripts/third-author-cli.js",
546
+ "test:third-author": "node --test tests/third-author-governance.test.js",
547
+ "embeddinggemma:doctor": "node scripts/embeddinggemma-adapter.js",
548
+ "test:embeddinggemma": "node --test tests/embeddinggemma-adapter.test.js",
478
549
  "test:canary": "node --test tests/gate-decision-canary.test.js",
479
550
  "postinstall": "node bin/postinstall.js || true",
480
551
  "start": "node src/api/server.js",
@@ -495,6 +566,12 @@
495
566
  "revenue:offers": "node scripts/revenue-offer-system.js",
496
567
  "revenue:truth": "bash bin/revenue-truth.sh",
497
568
  "revenue:doctor": "node scripts/revenue-observability-doctor.js",
569
+ "rrsi:doctor": "node scripts/rrsi-doctor.js",
570
+ "test:rrsi": "node --test tests/rrsi-regularizer.test.js",
571
+ "harness-ceiling:doctor": "node scripts/harness-ceiling-doctor.js",
572
+ "test:harness-ceiling": "node --test tests/harness-ceiling.test.js",
573
+ "decisive-step:doctor": "node scripts/decisive-step-doctor.js",
574
+ "test:decisive-step": "node --test tests/decisive-step.test.js",
498
575
  "revenue:plan": "node scripts/may-2026-revenue-machine.js",
499
576
  "revenue:remediate": "node scripts/revenue-evidence-remediation.js",
500
577
  "revenue:status:local": "node bin/cli.js cfo",
@@ -596,6 +673,8 @@
596
673
  "test:mantis-critic-review": "node --test tests/mantis-critic-review.test.js",
597
674
  "break-glass:gates-propose": "node scripts/break-glass-gates-propose.js",
598
675
  "test:break-glass-gates-propose": "node --test tests/break-glass-gates-propose.test.js",
676
+ "test:agensi-skill-listing": "node --test tests/agensi-skill-listing.test.js",
677
+ "test:tailscale-p2p-adapter": "node --test tests/tailscale-p2p-adapter.test.js",
599
678
  "test:git-at-scale": "node --test tests/git-at-scale.test.js",
600
679
  "test:rule-sprawl": "node --test tests/rule-sprawl.test.js",
601
680
  "test:matryoshka-embedding": "node --test tests/matryoshka-embedding.test.js",
@@ -610,7 +689,7 @@
610
689
  "test:futureagi-prepost": "node --test tests/futureagi-prepost-gate.test.js",
611
690
  "test:five-walls": "node --test tests/five-walls-governance.test.js",
612
691
  "test:llm-surface-consistency": "node --test tests/llm-surface-consistency.test.js",
613
- "test": "npm run test:python && npm run test:schema && npm run test:loop && npm run test:dpo && npm run test:kto && npm run test:api && npm run test:proof && npm run test:e2e && npm run test:rlaif && npm run test:attribution && npm run test:quality && npm run test:intelligence && npm run test:training-export && npm run test:deployment && npm run test:operational-integrity && npm run test:workflow && npm run test:proof-pack-cadence && npm run test:grafana-revenue-evidence && npm run test:billing && npm run test:billing-setup && npm run test:cli && npm run test:watcher && npm run test:autoresearch && npm run test:ops && npm run test:session-analyzer && npm run test:tessl && npm run test:canary && npm run test:gates && npm run test:evoskill && npm run test:gates-hardening && npm run test:workers && npm run test:social-analytics && npm run test:memalign && npm run test:xmemory-lite && npm run test:filesystem-search && npm run test:platform-limits && npm run test:post-video && npm run test:post-everywhere-instagram && npm run test:post-everywhere-channels && npm run test:obsidian-export && npm run test:lesson-db && npm run test:lesson-rotation && npm run test:memory-dedup && npm run test:feedback-quality && npm run test:sync-version && npm run test:release-window && npm run test:check-congruence && npm run test:tool-registry && npm run test:repeat-metric && npm run test:noop-detect && npm run test:action-receipts && npm run test:broker-execution-receipts && npm run test:provider-attestation && npm run test:feedback-to-rules && npm run test:memory-firewall && npm run test:memory-scope-readiness && npm run test:belief-update && npm run test:hosted-config && npm run test:operational-summary && npm run test:operational-dashboard && npm run test:operator-artifacts && npm run test:operator-key-auth && npm run test:cloudflare-sandbox && npm run test:mcp-config && npm run test:mcp-tool-annotations && npm run test:mcp-oauth && npm run test:mcp-oauth-flow && npm run test:plan-gate && npm run test:ai-component-inventory && npm run test:verification-evidence && npm run test:pulse && npm run test:semantic-layer && npm run test:data-pipeline && npm run test:optimize-context && npm run test:principle-extractor && npm run test:analytics-window && npm run test:funnel-analytics && npm run test:experiment-tracker && npm run test:build-metadata && npm run test:context-engine && npm run test:hf-papers && npm run test:marketing-experiment && npm run test:seo-gsd && npm run test:verify-run && npm run test:entitlement && npm run test:export-dpo-pairs && npm run test:export-hf-dataset && npm run test:license && npm run test:imperative-detector && npm run test:audit-pr-bot-contamination && npm run test:stripe-bootstrap-saas-catalog && npm run test:postinstall && npm run test:funnel-invariants && npm run test:cli-telemetry && npm run test:pro-parity && npm run test:model-tier-router && npm run test:computer-use-firewall && npm run test:skill-exporter && npm run test:statusline && npm run test:statusline-cache-aggregate && npm run test:public-repo-hygiene && npm run test:no-internal-orchestration-leaks && npm run test:evolution && npm run test:org-dashboard && npm run test:multi-hop-recall && npm run test:synthetic-dpo && npm run test:thumbgate-skill && npm run test:learn-hub && npm run test:feedback-fallback && npm run test:metaclaw && npm run test:server-lock && npm run test:control-tower && npm run test:pii-scanner && npm run test:data-governance && npm run test:lesson-inference && npm run test:semantic-dedup && npm run test:fs-utils && npm run test:cli-schema && npm run test:explore && npm run test:lesson-reranker && npm run test:lesson-retrieval && npm run test:lesson-semantic-retrieval && npm run test:cross-encoder && npm run test:reflector-agent && npm run test:feedback-session && npm run test:feedback-history-distiller && npm run test:hallucination-detector && npm run test:history-distiller && npm run test:predictive-insights && npm run test:predictive-credible-range && npm run test:prove-predictive-insights && npm run test:statusbar-cli && npm run test:generate-instagram-card && npm run test:instagram-thumbgate-post && npm run test:publish-instagram-thumbgate && npm run test:lesson-synthesis && npm run test:lesson-canonical && npm run test:background-governance && npm run test:memory-migration && npm run test:prompt-dlp && npm run test:ephemeral-store && npm run test:agent-security && npm run test:skill-progressive && npm run test:per-step-scoring && npm run test:weekly-auto-post && npm run test:social-post-hourly && npm run test:social-quality-gate && npm run test:a2ui-engine && npm run test:gate-satisfy && npm run test:money-watcher && npm run test:budget && npm run test:quick-start && npm run test:utm && npm run test:product-feedback && npm run test:feedback-root-consolidator && npm run test:engagement-audit && npm run test:install-growth-automation && npm run test:publish-thumbgate-launch && npm run test:reconcile-thumbgate-campaign && npm run test:reddit-publisher && npm run test:schedule-thumbgate-campaign && npm run test:social-reply-monitor && npm run test:sync-launch-assets && npm run test:ai-search-visibility && npm run test:perplexity && npm run test:vlt && npm run test:hf-context && npm run test:proof-common && npm run test:xss-checkout-escape && npm run test:security-scanner && npm run test:agent-security-central && npm run test:llm-client && npm run test:managed-lesson-agent && npm run test:self-distill && npm run test:meta-agent && npm run test:harness-selector && npm run test:thumbgate-bench && npm run test:seo-guides && npm run test:enforcement-loop && npm run test:cli-agent-experience && npm run test:bot-detection && npm run test:checkout-archived-product-guard && npm run test:postgres-guard && npm run test:checkout-bot-guard && npm run test:checkout-pro-confirmation-gate && npm run test:pricing-page-telemetry && npm run test:session-health && npm run test:session-episodes && npm run test:spec-gate && npm run test:decision-trace && npm run test:dashboard-insights && npm run test:telemetry-tracked-link-slug && npm run test:prompt-eval && npm run test:gate-coherence && npm run test:gate-eval && npm run test:high-roi && npm run test:public-static-assets && npm run test:token-savings && npm run test:numbers-page && npm run test:workflow-gate-checkpoint && npm run test:lesson-export-import && npm run test:landing-page-claims && npm run test:competitive-positioning-marketing && npm run test:medium-weekly && npm run test:dashboard-deeplink-e2e && npm run test:public-package-parity && npm run test:token-savings-dashboard && npm run test:cursor-wiring && npm run test:pretooluse-injection && npm run test:recent-corrective-context && npm run test:durability-step && npm run test:mailer && npm run test:brand-assets && npm run test:enforcement-teeth && npm run test:bayes-optimal-gate && npm run test:swarm-coordinator && npm run test:session-report && npm run test:agent-reasoning-traces && npm run test:judge-reward && npm run test:llm-behavior-monitor && npm run test:prompting-os && npm run test:single-use-credential-gate && npm run test:structured-prompt-driven && npm run test:require-evidence-gate && npm run test:universal-claim-evaluator && npm run test:rule-validator && npm run test:bluesky-atproto && npm run test:social-reply-monitor-bluesky && npm run test:bluesky-delete-replies && npm run test:architect-kit-memory-bridge && npm run test:sonar-review-hotspots && npm run test:actionable-remediations && npm run test:gemini-embedding-policy && npm run test:agent-design-governance && npm run test:public-core-boundary && npm run test:hook-stop-verify-deploy && npm run test:hook-stop-anti-claim && npm run test:stop-hook-json-contract && npm run test:plausible-server-events && npm run test:activation-tracker && npm run test:activation-onboarding && npm run test:unified-revenue-rollup && npm run test:conversion-rate-stats && npm run test:external-customer-audit && npm run test:telemetry-export && npm run test:stripe-checkout-diagnostic && npm run test:stripe-business-identity-probe && npm run test:revenue-observability-doctor && npm run test:jsonl-window && npm run test:observability-env && npm run test:glama-mcp && npm run test:prove-glama-mcp && npm run test:public-bundle-ratchet && npm run test:pack-runtime-integrity && npm run test:hook-self-protection && npm run test:self-protect-enforcement && npm run test:never-bypass-branch-protection && npm run test:stripe-payment-link-update && npm run test:ci-cd-hygiene-audit && npm run test:verify-marketing-pages-deployed && npm run test:install-email-capture && npm run test:install-shim && npm run test:hook-runtime-subcommands && npm run test:implementation-notes && npm run test:daily-block-cap && npm run test:free-to-paid-conversion-units && npm run test:metrics-real-endpoint && npm run test:cli-trial-and-help && npm run test:cost-cli && npm run test:silent-failure-cluster && npm run test:workos-production-guard && npm run test:partner-landing && npm run test:memory-pyramid && npm run test:proof:truth && node --test tests/adaptive-reliability.test.js && npm run test:mcp-oauth-reviewer && npm run test:dfcx-gate && npm run test:dfcx-gate-server && npm run test:vertex-scorer && npm run test:dashboard-chat && npm run test:gitar-integration && npm run test:secret-redaction && npm run test:discoverable-skills && npm run test:discoverable-skill-skills && npm run test:sync-telemetry && npm run test:leak-scanner && npm run test:team-sync && npm run test:rag-pipeline && npm run test:autonomous-reliability && npm run test:eval-rag && npm run test:async-eval-observability && npm run test:letta-adapter && npm run test:policy-engine-adapter && npm run test:tool-contract-validator && npm run test:check-update && npm run test:hermes-gate && npm run test:memory-provider-enforcement-bridge && npm run test:publisher-credential-guards && npm run test:reddit-browser-notification-watch && npm run test:payment-rails && npm run test:service-checkout-price-integrity && npm run test:cursor-marketplace-doctor && npm run test:github-marketplace-action && npm run test:plugin-hooks-manifest && npm run test:okara-money-promo-automation && npm run test:retrieval-window && npm run test:risk-quality && npm run test:eval-mining && npm run test:state-backup && npm run test:eval-golden && npm run test:task-scope-lease && npm run test:evaluations-page && npm run test:agent-install-paths && npm run test:mcp-gate-check && npm run test:adapter-pins && npm run test:secret-egress && npm run test:harness-tool-names && npm run test:feedback-reward && npm run test:capability-wiring && npm run test:autonomous-mandate && npm run test:memory-near-dupe && npm run test:lesson-retrieval-dedupe-backfill && npm run test:matryoshka-embedding && npm run test:rag-embedding-identity && npm run test:switchyard-router && npm run test:bulk-cloud-tier && npm run test:session-lease && npm run test:compare-agoragentic && npm run test:compare-dirac && npm run test:compare-aperture && npm run test:qwen-adapter && npm run test:qwen38-max-cost-optimizer && npm run test:openai-compatible-embed && npm run test:legal-public-routes && npm run test:gurobi && npm run test:mcp-session-handles && npm run test:agent-egress-policy && npm run test:budget-aware-gates-proof && npm run test:edotenv-rl-gateway && npm run test:rsi-safety-hillclimb && npm run test:research-agent-harness && npm run test:governance-curriculum && npm run test:provider-receipt-contract && npm run test:adaptive-governance-arena && npm run test:gpc-optout && npm run test:override-audit && npm run test:admin-override && npm run test:progressive-wiring && npm run test:security-questionnaire && npm run test:pipeline-compass && npm run test:guide-progressive && npm run test:git-at-scale && npm run test:rule-sprawl && npm run test:hidden-entry && npm run test:solver-parity && npm run test:mcp-writeguard && npm run test:latency-budget && npm run test:gates-tree-scope && npm run test:actor-critic && npm run test:infoq-engage && npm run test:hermes-platform && npm run test:future-agi && npm run test:futureagi-prepost && npm run test:five-walls && npm run test:llm-surface-consistency && npm run test:dashboard-oversized-logs && npm run test:agent-action-inventory && npm run test:simatree-data-governance && npm run test:governance-conflict-audit && npm run test:agent-identity-plane && npm run test:mcp-identity-bootstrap && npm run test:alert-noise-ledger && npm run test:webmcp && npm run test:ideabrowser-connector && npm run test:perf-budget && npm run test:agent-loop && npm run test:nvhbm-base-die-gates && npm run test:graphrag-schema-first-multi-hop && npm run test:ai-governance-operating-plan && npm run test:claw-harness-production && npm run test:double-blind-eval-protocol && npm run test:codex-runbook-flywheel && npm run test:explainx-trending && npm run test:graphify && npm run test:tooling-scripts && npm run test:synthetic-customer-panel && npm run test:star-history && npm run test:github-achievement-honesty && npm run test:ai-identity-checklist && npm run test:knowledge-graph-fuse && npm run test:skill-library-compact && npm run test:intent-scope-runtime && npm run test:unicode-tag-block-normalize && npm run test:issue-3702-action-not-substring && npm run test:mantis-critic-review && npm run test:break-glass-gates-propose && npm run test:thumbgate-daily-discoveries-publish",
692
+ "test": "npm run test:python && npm run test:schema && npm run test:loop && npm run test:dpo && npm run test:kto && npm run test:api && npm run test:proof && npm run test:e2e && npm run test:rlaif && npm run test:attribution && npm run test:quality && npm run test:intelligence && npm run test:training-export && npm run test:deployment && npm run test:operational-integrity && npm run test:workflow && npm run test:proof-pack-cadence && npm run test:grafana-revenue-evidence && npm run test:billing && npm run test:billing-setup && npm run test:cli && npm run test:watcher && npm run test:autoresearch && npm run test:ops && npm run test:session-analyzer && npm run test:tessl && npm run test:canary && npm run test:gates && npm run test:evoskill && npm run test:gates-hardening && npm run test:workers && npm run test:social-analytics && npm run test:memalign && npm run test:xmemory-lite && npm run test:filesystem-search && npm run test:platform-limits && npm run test:post-video && npm run test:post-everywhere-instagram && npm run test:post-everywhere-channels && npm run test:obsidian-export && npm run test:lesson-db && npm run test:lesson-rotation && npm run test:memory-dedup && npm run test:feedback-quality && npm run test:sync-version && npm run test:release-window && npm run test:check-congruence && npm run test:tool-registry && npm run test:repeat-metric && npm run test:noop-detect && npm run test:action-receipts && npm run test:broker-execution-receipts && npm run test:provider-attestation && npm run test:feedback-to-rules && npm run test:memory-firewall && npm run test:memory-scope-readiness && npm run test:belief-update && npm run test:hosted-config && npm run test:operational-summary && npm run test:operational-dashboard && npm run test:operator-artifacts && npm run test:operator-key-auth && npm run test:cloudflare-sandbox && npm run test:mcp-config && npm run test:mcp-tool-annotations && npm run test:mcp-oauth && npm run test:mcp-oauth-flow && npm run test:plan-gate && npm run test:ai-component-inventory && npm run test:verification-evidence && npm run test:pulse && npm run test:semantic-layer && npm run test:data-pipeline && npm run test:optimize-context && npm run test:principle-extractor && npm run test:analytics-window && npm run test:funnel-analytics && npm run test:experiment-tracker && npm run test:build-metadata && npm run test:context-engine && npm run test:hf-papers && npm run test:marketing-experiment && npm run test:seo-gsd && npm run test:verify-run && npm run test:entitlement && npm run test:export-dpo-pairs && npm run test:export-hf-dataset && npm run test:license && npm run test:imperative-detector && npm run test:audit-pr-bot-contamination && npm run test:stripe-bootstrap-saas-catalog && npm run test:postinstall && npm run test:funnel-invariants && npm run test:cli-telemetry && npm run test:pro-parity && npm run test:model-tier-router && npm run test:computer-use-firewall && npm run test:skill-exporter && npm run test:statusline && npm run test:statusline-cache-aggregate && npm run test:public-repo-hygiene && npm run test:no-internal-orchestration-leaks && npm run test:evolution && npm run test:org-dashboard && npm run test:multi-hop-recall && npm run test:synthetic-dpo && npm run test:thumbgate-skill && npm run test:learn-hub && npm run test:feedback-fallback && npm run test:metaclaw && npm run test:server-lock && npm run test:control-tower && npm run test:pii-scanner && npm run test:data-governance && npm run test:lesson-inference && npm run test:semantic-dedup && npm run test:fs-utils && npm run test:cli-schema && npm run test:explore && npm run test:lesson-reranker && npm run test:lesson-retrieval && npm run test:lesson-graph && npm run test:lesson-semantic-retrieval && npm run test:cross-encoder && npm run test:reflector-agent && npm run test:feedback-session && npm run test:feedback-history-distiller && npm run test:hallucination-detector && npm run test:history-distiller && npm run test:predictive-insights && npm run test:predictive-credible-range && npm run test:prove-predictive-insights && npm run test:statusbar-cli && npm run test:generate-instagram-card && npm run test:instagram-thumbgate-post && npm run test:publish-instagram-thumbgate && npm run test:lesson-synthesis && npm run test:lesson-canonical && npm run test:background-governance && npm run test:memory-migration && npm run test:prompt-dlp && npm run test:ephemeral-store && npm run test:agent-security && npm run test:skill-progressive && npm run test:per-step-scoring && npm run test:weekly-auto-post && npm run test:social-post-hourly && npm run test:social-quality-gate && npm run test:a2ui-engine && npm run test:gate-satisfy && npm run test:money-watcher && npm run test:budget && npm run test:quick-start && npm run test:utm && npm run test:product-feedback && npm run test:feedback-root-consolidator && npm run test:engagement-audit && npm run test:install-growth-automation && npm run test:publish-thumbgate-launch && npm run test:reconcile-thumbgate-campaign && npm run test:reddit-publisher && npm run test:schedule-thumbgate-campaign && npm run test:social-reply-monitor && npm run test:sync-launch-assets && npm run test:ai-search-visibility && npm run test:perplexity && npm run test:vlt && npm run test:hf-context && npm run test:proof-common && npm run test:xss-checkout-escape && npm run test:security-scanner && npm run test:agent-security-central && npm run test:llm-client && npm run test:managed-lesson-agent && npm run test:self-distill && npm run test:meta-agent && npm run test:harness-selector && npm run test:thumbgate-bench && npm run test:seo-guides && npm run test:enforcement-loop && npm run test:cli-agent-experience && npm run test:bot-detection && npm run test:checkout-archived-product-guard && npm run test:postgres-guard && npm run test:checkout-bot-guard && npm run test:checkout-pro-confirmation-gate && npm run test:pricing-page-telemetry && npm run test:session-health && npm run test:session-episodes && npm run test:spec-gate && npm run test:decision-trace && npm run test:dashboard-insights && npm run test:telemetry-tracked-link-slug && npm run test:prompt-eval && npm run test:gate-coherence && npm run test:gate-eval && npm run test:high-roi && npm run test:public-static-assets && npm run test:token-savings && npm run test:numbers-page && npm run test:workflow-gate-checkpoint && npm run test:lesson-export-import && npm run test:landing-page-claims && npm run test:competitive-positioning-marketing && npm run test:medium-weekly && npm run test:dashboard-deeplink-e2e && npm run test:public-package-parity && npm run test:token-savings-dashboard && npm run test:cursor-wiring && npm run test:pretooluse-injection && npm run test:recent-corrective-context && npm run test:durability-step && npm run test:mailer && npm run test:brand-assets && npm run test:enforcement-teeth && npm run test:bayes-optimal-gate && npm run test:swarm-coordinator && npm run test:session-report && npm run test:agent-reasoning-traces && npm run test:judge-reward && npm run test:llm-behavior-monitor && npm run test:prompting-os && npm run test:single-use-credential-gate && npm run test:structured-prompt-driven && npm run test:require-evidence-gate && npm run test:universal-claim-evaluator && npm run test:rule-validator && npm run test:bluesky-atproto && npm run test:social-reply-monitor-bluesky && npm run test:bluesky-delete-replies && npm run test:architect-kit-memory-bridge && npm run test:sonar-review-hotspots && npm run test:actionable-remediations && npm run test:gemini-embedding-policy && npm run test:agent-design-governance && npm run test:public-core-boundary && npm run test:hook-stop-verify-deploy && npm run test:hook-stop-anti-claim && npm run test:stop-hook-json-contract && npm run test:plausible-server-events && npm run test:activation-tracker && npm run test:activation-onboarding && npm run test:unified-revenue-rollup && npm run test:conversion-rate-stats && npm run test:external-customer-audit && npm run test:telemetry-export && npm run test:stripe-checkout-diagnostic && npm run test:stripe-business-identity-probe && npm run test:revenue-observability-doctor && npm run test:jsonl-window && npm run test:observability-env && npm run test:glama-mcp && npm run test:prove-glama-mcp && npm run test:public-bundle-ratchet && npm run test:pack-runtime-integrity && npm run test:hook-self-protection && npm run test:self-protect-enforcement && npm run test:never-bypass-branch-protection && npm run test:stripe-payment-link-update && npm run test:ci-cd-hygiene-audit && npm run test:verify-marketing-pages-deployed && npm run test:install-email-capture && npm run test:install-shim && npm run test:hook-runtime-subcommands && npm run test:implementation-notes && npm run test:daily-block-cap && npm run test:free-to-paid-conversion-units && npm run test:metrics-real-endpoint && npm run test:cli-trial-and-help && npm run test:cost-cli && npm run test:silent-failure-cluster && npm run test:workos-production-guard && npm run test:partner-landing && npm run test:memory-pyramid && npm run test:proof:truth && node --test tests/adaptive-reliability.test.js && npm run test:mcp-oauth-reviewer && npm run test:dfcx-gate && npm run test:dfcx-gate-server && npm run test:vertex-scorer && npm run test:dashboard-chat && npm run test:gitar-integration && npm run test:secret-redaction && npm run test:discoverable-skills && npm run test:discoverable-skill-skills && npm run test:sync-telemetry && npm run test:leak-scanner && npm run test:team-sync && npm run test:rag-pipeline && npm run test:autonomous-reliability && npm run test:eval-rag && npm run test:async-eval-observability && npm run test:letta-adapter && npm run test:policy-engine-adapter && npm run test:tool-contract-validator && npm run test:check-update && npm run test:hermes-gate && npm run test:memory-provider-enforcement-bridge && npm run test:publisher-credential-guards && npm run test:reddit-browser-notification-watch && npm run test:payment-rails && npm run test:service-checkout-price-integrity && npm run test:cursor-marketplace-doctor && npm run test:github-marketplace-action && npm run test:plugin-hooks-manifest && npm run test:okara-money-promo-automation && npm run test:retrieval-window && npm run test:risk-quality && npm run test:eval-mining && npm run test:state-backup && npm run test:eval-golden && npm run test:task-scope-lease && npm run test:evaluations-page && npm run test:agent-install-paths && npm run test:mcp-gate-check && npm run test:adapter-pins && npm run test:secret-egress && npm run test:harness-tool-names && npm run test:feedback-reward && npm run test:capability-wiring && npm run test:autonomous-mandate && npm run test:memory-near-dupe && npm run test:lesson-retrieval-dedupe-backfill && npm run test:matryoshka-embedding && npm run test:rag-embedding-identity && npm run test:switchyard-router && npm run test:bulk-cloud-tier && npm run test:session-lease && npm run test:compare-agoragentic && npm run test:compare-dirac && npm run test:compare-aperture && npm run test:qwen-adapter && npm run test:qwen38-max-cost-optimizer && npm run test:openai-compatible-embed && npm run test:legal-public-routes && npm run test:gurobi && npm run test:mcp-session-handles && npm run test:agent-egress-policy && npm run test:budget-aware-gates-proof && npm run test:edotenv-rl-gateway && npm run test:rsi-safety-hillclimb && npm run test:research-agent-harness && npm run test:governance-curriculum && npm run test:provider-receipt-contract && npm run test:adaptive-governance-arena && npm run test:gpc-optout && npm run test:override-audit && npm run test:admin-override && npm run test:progressive-wiring && npm run test:security-questionnaire && npm run test:pipeline-compass && npm run test:guide-progressive && npm run test:git-at-scale && npm run test:rule-sprawl && npm run test:hidden-entry && npm run test:solver-parity && npm run test:mcp-writeguard && npm run test:latency-budget && npm run test:gates-tree-scope && npm run test:actor-critic && npm run test:infoq-engage && npm run test:infoq-architect-honesty && npm run test:hermes-platform && npm run test:future-agi && npm run test:futureagi-prepost && npm run test:five-walls && npm run test:llm-surface-consistency && npm run test:dashboard-oversized-logs && npm run test:agent-action-inventory && npm run test:simatree-data-governance && npm run test:governance-conflict-audit && npm run test:agent-identity-plane && npm run test:mcp-identity-bootstrap && npm run test:alert-noise-ledger && npm run test:webmcp && npm run test:ideabrowser-connector && npm run test:perf-budget && npm run test:agent-loop && npm run test:nvhbm-base-die-gates && npm run test:graphrag-schema-first-multi-hop && npm run test:ai-governance-operating-plan && npm run test:claw-harness-production && npm run test:double-blind-eval-protocol && npm run test:codex-runbook-flywheel && npm run test:explainx-trending && npm run test:graphify && npm run test:tooling-scripts && npm run test:synthetic-customer-panel && npm run test:star-history && npm run test:github-achievement-honesty && npm run test:ai-identity-checklist && npm run test:knowledge-graph-fuse && npm run test:skill-library-compact && npm run test:intent-scope-runtime && npm run test:unicode-tag-block-normalize && npm run test:issue-3702-action-not-substring && npm run test:mantis-critic-review && npm run test:break-glass-gates-propose && npm run test:thumbgate-daily-discoveries-publish && npm run test:agensi-skill-listing && npm run test:tailscale-p2p-adapter && npm run test:siren-mcp && npm run test:vulnerability-diode && npm run test:enterprise-intelligence && npm run test:third-author && npm run test:embeddinggemma && npm run test:session-interactivity && npm run test:operator-framework-page && npm run test:jules-cloud-fleet-dispatcher && npm run test:openrouter-armor-partnership-diode && npm run test:profound-aeo-citation-engine",
614
693
  "test:thumbgate-daily-discoveries-publish": "node --test tests/thumbgate-daily-discoveries-publish.test.js",
615
694
  "test:dashboard-oversized-logs": "node --test tests/dashboard-oversized-log-resilience.test.js",
616
695
  "test:python": "python3 -m pytest tests/*.py",
@@ -759,7 +838,7 @@
759
838
  "test:quality": "node --test tests/validate-feedback.test.js tests/feedback-quality-eval-python.test.js tests/eval-gate-classifier.test.js",
760
839
  "test:intelligence": "node --test tests/intelligence.test.js",
761
840
  "test:training-export": "node --test tests/training-export.test.js tests/databricks-export.test.js",
762
- "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/codeql-workflow-lockstep.test.js tests/package-boundary.test.js tests/public-package-boundary.test.js tests/packed-feedback-retrieval-e2e.test.js tests/packed-provider-payment-reconciler-e2e.test.js tests/packed-revenue-remediation-e2e.test.js tests/ensure-production-search-corpus.test.js tests/prove-production-authenticated.test.js tests/verify-npm-githead.test.js tests/npm-oidc-sept2026-publish.test.js",
841
+ "test:deployment": "node --test tests/deployment.test.js tests/deploy-policy.test.js tests/railway-workflow-auth.test.js tests/publish-decision.test.js tests/changeset-check.test.js tests/release-notes.test.js tests/sonarcloud-workflow.test.js tests/codeql-workflow-lockstep.test.js tests/package-boundary.test.js tests/public-package-boundary.test.js tests/packed-feedback-retrieval-e2e.test.js tests/packed-provider-payment-reconciler-e2e.test.js tests/packed-revenue-remediation-e2e.test.js tests/ensure-production-search-corpus.test.js tests/prove-production-authenticated.test.js tests/verify-npm-githead.test.js tests/npm-oidc-sept2026-publish.test.js",
763
842
  "test:operational-integrity": "node --test tests/operational-integrity.test.js tests/sync-branch-protection.test.js tests/sync-repository-rulesets.test.js",
764
843
  "test:workflow": "node --test tests/parallel-workflow.test.js tests/parallel-workflow-public.test.js tests/workflow-contract.test.js tests/positioning-contract.test.js tests/docs-claim-hygiene.test.js tests/thumbgate-scope.test.js tests/workflow-runs.test.js tests/workflow-sprint-intake.test.js tests/workflow-intake-queue.test.js tests/workflow-notebook.test.js tests/revenue-pack-utils.test.js tests/apollo-acquisition.test.js tests/sales-pipeline.test.js tests/provider-payment-reconciler.test.js tests/reddit-dm-outreach-evidence.test.js tests/gtm-sales-evidence-commands.test.js tests/revenue-action-eligibility.test.js tests/revenue-evidence-remediation.test.js tests/gtm-revenue-action-eligibility.test.js tests/revenue-offer-ladder.test.js tests/revenue-offer-system.test.js tests/buyer-paths.test.js tests/github-outreach.test.js tests/enterprise-story.test.js tests/guide-conversion-path.test.js tests/buyer-intent-revenue-assist.test.js && node --test tests/eval-proof-pack-pages.test.js && npm run test:proof-pack-cadence",
765
844
  "test:revenue-evidence-remediation": "node --test tests/revenue-evidence-remediation.test.js",
@@ -767,7 +846,7 @@
767
846
  "test:sales-pipeline": "node --test tests/sales-pipeline.test.js tests/provider-payment-reconciler.test.js tests/reddit-dm-outreach-evidence.test.js tests/gtm-sales-evidence-commands.test.js",
768
847
  "test:billing": "node --test tests/billing.test.js tests/paypal-billing.test.js tests/stripe-sync-product-images.test.js tests/checkout-attribution-reference.test.js",
769
848
  "test:billing-setup": "node --test tests/billing-setup-redaction.test.js",
770
- "test:cli": "node --test tests/analytics-report.test.js tests/agent-design-governance.test.js tests/codex-self-heal.test.js tests/creator-campaigns.test.js tests/cli.test.js tests/codex-bridge-script.test.js tests/dependabot-changeset.test.js tests/dispatch-brief.test.js tests/feedback-normalize.test.js tests/feedback-lesson-sanitization.test.js tests/install-mcp.test.js tests/install-scope-docs.test.js tests/pr-manager.test.js tests/pro-local-dashboard.test.js tests/published-cli.test.js tests/revenue-status.test.js tests/stripe-live-status.test.js tests/creator-dev-and-prune.test.js",
849
+ "test:cli": "node --test tests/scale-the-vibe-demo.test.js tests/analytics-report.test.js tests/agent-design-governance.test.js tests/codex-self-heal.test.js tests/creator-campaigns.test.js tests/cli.test.js tests/codex-bridge-script.test.js tests/dependabot-changeset.test.js tests/dispatch-brief.test.js tests/feedback-normalize.test.js tests/feedback-lesson-sanitization.test.js tests/install-mcp.test.js tests/install-scope-docs.test.js tests/pr-manager.test.js tests/pro-local-dashboard.test.js tests/published-cli.test.js tests/revenue-status.test.js tests/stripe-live-status.test.js tests/creator-dev-and-prune.test.js",
771
850
  "test:evolution": "node --test tests/workspace-evolver.test.js",
772
851
  "test:watcher": "node --test tests/jsonl-watcher.test.js",
773
852
  "test:autoresearch": "node --test tests/autoresearch.test.js",
@@ -798,6 +877,11 @@
798
877
  "test:social-analytics": "node --test tests/social-analytics.test.js tests/load-env.test.js",
799
878
  "test:memalign": "node --test tests/memalign.test.js",
800
879
  "test:xmemory-lite": "node --test tests/xmemory-lite.test.js",
880
+ "activesaddler:doctor": "node scripts/activesaddler-curriculum-doctor.js",
881
+ "windbg:doctor": "node scripts/windbg-evidence-diagnostics.js",
882
+ "strands-box:doctor": "node scripts/strands-box-doctor.js",
883
+ "test:strands-box": "node --test tests/strands-box-diode.test.js tests/multi-harness-invariants.test.js",
884
+ "test:enterprise-intelligence": "node --test tests/activesaddler-curriculum-doctor.test.js tests/agent-reliability-client.test.js tests/enterprise-governance-page.test.js tests/gaming-playbook.test.js tests/multi-harness-invariants.test.js tests/strands-box-diode.test.js tests/strands-decider-adapter.test.js tests/windbg-evidence-diagnostics.test.js",
801
885
  "test:filesystem-search": "node --test tests/filesystem-search.test.js",
802
886
  "test:obsidian-export": "node --test tests/obsidian-export.test.js",
803
887
  "test:coverage": "node scripts/test-coverage.js",
@@ -874,6 +958,7 @@
874
958
  "test:pii-scanner": "node --test tests/pii-scanner.test.js",
875
959
  "test:data-governance": "node --test tests/data-governance.test.js",
876
960
  "test:lesson-inference": "node --test tests/conversation-context.test.js tests/lesson-inference.test.js tests/lesson-prompt-shape.test.js tests/lesson-stats-review-origin.test.js",
961
+ "test:lesson-graph": "node --test tests/lesson-graph.test.js tests/lesson-graph-scope.test.js tests/lesson-graph-entropy.test.js",
877
962
  "test:lesson-retrieval": "node --test tests/lesson-retrieval.test.js",
878
963
  "test:lesson-semantic-retrieval": "node --test tests/lesson-semantic-retrieval.test.js tests/lesson-embedding-maintenance.test.js",
879
964
  "test:cross-encoder": "node --test tests/cross-encoder-reranker.test.js",
@@ -996,8 +1081,8 @@
996
1081
  "openui-catalog-compose-honesty": "node scripts/openui-catalog-compose-honesty.js",
997
1082
  "test:budget-aware-gates-proof": "node --test tests/budget-aware-gates-proof.test.js",
998
1083
  "test:business-function-agents": "node --test tests/business-function-agent-team.test.js",
999
- "test:high-roi": "node --test tests/high-roi.test.js tests/gurobi-optimizer.test.js tests/model-candidates.test.js tests/autonomous-workflow.test.js tests/high-roi-agent-workflows.test.js tests/business-function-agent-team.test.js tests/radware-threat-defense.test.js tests/interaction-model.test.js tests/interaction-model-e2e.test.js tests/code-graph-guardrails.test.js tests/proxy-pointer-rag-guardrails.test.js tests/rag-precision-guardrails.test.js tests/ai-engineering-stack-guardrails.test.js tests/long-running-agent-context-guardrails.test.js tests/reasoning-efficiency-guardrails.test.js tests/deepseek-v4-runtime-guardrails.test.js tests/nvidia-specdecode-al-doctor.test.js tests/package-manager-honesty-doctor.test.js tests/openui-catalog-compose-honesty.test.js tests/gist-prompt-budget.test.js tests/workload-identity-honesty.test.js tests/config-strict-parse.test.js tests/upstream-contribution-engine.test.js tests/proactive-agent-eval-guardrails.test.js tests/reward-hacking-guardrails.test.js tests/chatgpt-ads-readiness-pack.test.js tests/oss-pr-opportunity-scout.test.js tests/agent-design-governance.test.js tests/gemini-embedding-policy.test.js tests/rag-embedding-identity.test.js tests/openclaw-agent-governance-kit.test.js tests/agent-operations-planner.test.js tests/aws-blocks-guardrails.test.js tests/vlt-proof.test.js tests/hf-context-course.test.js tests/proof-common.test.js tests/mcp-session-handles.test.js tests/agent-egress-policy.test.js tests/allowlist-bridge-honesty.test.js tests/budget-aware-gates-proof.test.js tests/edotenv-rl-gateway.test.js tests/rsi-safety-hillclimb.test.js tests/research-agent-harness.test.js tests/rule-sprawl.test.js tests/solver-parity.test.js tests/six-function-agent-team.test.js && npm run test:jit-harness-compose && npm run test:workspace-search-route && npm run test:intent-governed-execution && npm run test:cobble-hot-store-split && npm run test:token-shunt-honesty && npm run test:typesafe-typed-questions && npm run test:colab-compute-honesty && npm run test:deeppattern-discipline-honesty && npm run test:ci-gha-buildkite-patterns && npm run test:board-loop && npm run test:llm-obs-honesty",
1000
- "test:public-static-assets": "node --test tests/public-static-assets.test.js tests/public-checkout-intent-gate.test.js tests/public-enterprise-capability-boundary.test.js tests/founders-conversion-page.test.js",
1084
+ "test:high-roi": "node --test tests/high-roi.test.js tests/gurobi-optimizer.test.js tests/model-candidates.test.js tests/autonomous-workflow.test.js tests/high-roi-agent-workflows.test.js tests/business-function-agent-team.test.js tests/radware-threat-defense.test.js tests/interaction-model.test.js tests/interaction-model-e2e.test.js tests/code-graph-guardrails.test.js tests/proxy-pointer-rag-guardrails.test.js tests/rag-precision-guardrails.test.js tests/ai-engineering-stack-guardrails.test.js tests/long-running-agent-context-guardrails.test.js tests/reasoning-efficiency-guardrails.test.js tests/deepseek-v4-runtime-guardrails.test.js tests/nvidia-specdecode-al-doctor.test.js tests/package-manager-honesty-doctor.test.js tests/openui-catalog-compose-honesty.test.js tests/gist-prompt-budget.test.js tests/workload-identity-honesty.test.js tests/config-strict-parse.test.js tests/upstream-contribution-engine.test.js tests/proactive-agent-eval-guardrails.test.js tests/reward-hacking-guardrails.test.js tests/chatgpt-ads-readiness-pack.test.js tests/oss-pr-opportunity-scout.test.js tests/agent-design-governance.test.js tests/gemini-embedding-policy.test.js tests/rag-embedding-identity.test.js tests/openclaw-agent-governance-kit.test.js tests/agent-operations-planner.test.js tests/aws-blocks-guardrails.test.js tests/vlt-proof.test.js tests/hf-context-course.test.js tests/proof-common.test.js tests/mcp-session-handles.test.js tests/agent-egress-policy.test.js tests/allowlist-bridge-honesty.test.js tests/budget-aware-gates-proof.test.js tests/edotenv-rl-gateway.test.js tests/rsi-safety-hillclimb.test.js tests/research-agent-harness.test.js tests/rule-sprawl.test.js tests/solver-parity.test.js tests/six-function-agent-team.test.js && npm run test:jit-harness-compose && npm run test:workspace-search-route && npm run test:intent-governed-execution && npm run test:cobble-hot-store-split && npm run test:token-shunt-honesty && npm run test:typesafe-typed-questions && npm run test:colab-compute-honesty && npm run test:omp-coordination-honesty && npm run test:deeppattern-discipline-honesty && npm run test:ci-gha-buildkite-patterns && npm run test:board-loop && npm run test:llm-obs-honesty && npm run test:halo-trace-optimizer && npm run test:meko-datapack-honesty && npm run test:salt-code-policy-honesty && npm run test:model-distress-doctor && npm run test:rrsi && npm run test:harness-ceiling && npm run test:decisive-step && npm run test:strands-harness-doctor && npm run test:mintlify-knowledge && npm run test:fiddler-control-plane-honesty && npm run test:agent-context-artifact && npm run test:session-export-gate && npm run test:coverage-gap",
1085
+ "test:public-static-assets": "node --test tests/public-static-assets.test.js tests/s7727-regression.test.js tests/public-checkout-intent-gate.test.js tests/public-enterprise-capability-boundary.test.js tests/founders-conversion-page.test.js tests/hotdata-vector-store.test.js tests/linkedin-monetization-sentinel.test.js tests/ucp-agentic-checkout-diode.test.js tests/viktor-slack-revenue-driver.test.js tests/wealth-freedom-advisor.test.js tests/stract-gabriel-demo.test.js tests/apple-minions-idle-compute-steal.test.js tests/corporate-email-isolation-diode.test.js tests/github-license-compliance-ga-steal.test.js tests/github-license-compliance-diode.test.js tests/reflection-beam-steal.test.js tests/google-ai-mode-link-visibility-monetizer.test.js",
1001
1086
  "test:token-savings": "node --test tests/token-savings.test.js",
1002
1087
  "test:cost-cli": "node --test tests/cost-cli.test.js tests/conversion-receipt.test.js",
1003
1088
  "test:numbers-page": "node --test tests/numbers-page.test.js",
@@ -1005,7 +1090,7 @@
1005
1090
  "workflow:autonomous": "node scripts/autonomous-workflow.js",
1006
1091
  "test:lesson-export-import": "node --test tests/lesson-export-import.test.js",
1007
1092
  "test:landing-page-claims": "node --test tests/landing-page-claims.test.js",
1008
- "test:competitive-positioning-marketing": "node --test tests/competitive-positioning-marketing.test.js tests/knowledge-graph-guardrails.test.js tests/supply-chain-guardrails.test.js",
1093
+ "test:competitive-positioning-marketing": "node --test tests/competitive-positioning-marketing.test.js tests/knowledge-graph-guardrails.test.js tests/supply-chain-guardrails.test.js tests/saas-moat-honesty.test.js",
1009
1094
  "test:medium-weekly": "node --test tests/medium-weekly.test.js",
1010
1095
  "test:dashboard-deeplink-e2e": "node --test tests/dashboard-deeplink-e2e.test.js",
1011
1096
  "test:e2e:playwright": "playwright test",
@@ -1064,6 +1149,10 @@
1064
1149
  "cursor:marketplace:doctor": "node scripts/cursor-marketplace-doctor.js",
1065
1150
  "cursor:marketplace:doctor:json": "node scripts/cursor-marketplace-doctor.js --json",
1066
1151
  "test:cursor-marketplace-doctor": "node --test tests/cursor-marketplace-doctor.test.js",
1152
+ "distress:doctor": "node scripts/model-distress-doctor.js",
1153
+ "test:model-distress-doctor": "node --test tests/model-distress-doctor.test.js",
1154
+ "strands:doctor": "node scripts/strands-harness-doctor.js",
1155
+ "test:strands-harness-doctor": "node --test tests/strands-harness-doctor.test.js",
1067
1156
  "test:plugin-hooks-manifest": "node --test tests/plugin-hooks-manifest.test.js",
1068
1157
  "test:hook-self-protection": "node --test tests/hook-self-protection.test.js",
1069
1158
  "test:never-bypass-branch-protection": "node --test tests/never-bypass-branch-protection.test.js",
@@ -1136,6 +1225,7 @@
1136
1225
  "test:vlt-dogfood": "node --test tests/prove-vlt-dogfood.test.js",
1137
1226
  "test:context-engineering": "node --test tests/context-engineering-checklist.test.js",
1138
1227
  "test:workos-production-guard": "node --test tests/workos-production-guard.test.js",
1228
+ "test:operator-framework-page": "node --test tests/operator-framework-page.test.js",
1139
1229
  "test:partner-landing": "node --test tests/partner-landing.test.js",
1140
1230
  "test:memory-pyramid": "node --test tests/agent-memory-lifecycle.test.js",
1141
1231
  "prove:workos": "node scripts/prove-workos.js",
@@ -1200,6 +1290,8 @@
1200
1290
  "graphify:stale": "node scripts/graphify-staleness-check.js",
1201
1291
  "test:graphify": "node --test tests/graphify-readiness.test.js",
1202
1292
  "test:jit-harness-compose": "node --test tests/jit-harness-compose.test.js",
1293
+ "test:fiddler-control-plane-honesty": "node --test tests/fiddler-control-plane-honesty.test.js",
1294
+ "fiddler-control-plane-honesty": "node scripts/fiddler-control-plane-honesty.js",
1203
1295
  "test:cobble-hot-store-split": "node --test tests/cobble-hot-store-split.test.js",
1204
1296
  "cobble-hot-store-split": "node scripts/cobble-hot-store-split.js",
1205
1297
  "test:token-shunt-honesty": "node --test tests/token-shunt-honesty.test.js",
@@ -1208,8 +1300,15 @@
1208
1300
  "typesafe-typed-questions": "node scripts/typesafe-typed-questions.js",
1209
1301
  "test:colab-compute-honesty": "node --test tests/colab-compute-honesty.test.js",
1210
1302
  "colab-compute-honesty": "node scripts/colab-compute-honesty.js",
1303
+ "test:omp-coordination-honesty": "node --test tests/omp-coordination-honesty.test.js",
1304
+ "omp-coordination-honesty": "node scripts/omp-coordination-honesty.js",
1305
+ "test:saas-moat-honesty": "node --test tests/saas-moat-honesty.test.js",
1306
+ "saas-moat-honesty": "node scripts/saas-moat-honesty.js",
1211
1307
  "test:llm-obs-honesty": "node --test tests/llm-obs-honesty.test.js",
1212
1308
  "llm-obs-honesty": "node scripts/llm-obs-honesty.js",
1309
+ "test:halo-trace-optimizer": "node --test tests/halo-trace-optimizer.test.js",
1310
+ "halo:optimize": "node scripts/halo-trace-optimizer.js",
1311
+ "halo-trace-optimizer": "node scripts/halo-trace-optimizer.js",
1213
1312
  "test:workspace-search-route": "node --test tests/workspace-search-route.test.js",
1214
1313
  "test:intent-governed-execution": "node --test tests/intent-governed-execution.test.js",
1215
1314
  "memory:vs-rag": "node scripts/memory-vs-rag-route.js",
@@ -1224,7 +1323,35 @@
1224
1323
  "test:ci-gha-buildkite-patterns": "node --test tests/ci-gha-buildkite-patterns.test.js",
1225
1324
  "ci-gha-buildkite-patterns": "node scripts/ci-gha-buildkite-patterns.js",
1226
1325
  "test:board-loop": "node --test tests/thumbgate-board-loop.test.js",
1227
- "board-loop": "node scripts/thumbgate-board-loop.js"
1326
+ "board-loop": "node scripts/thumbgate-board-loop.js",
1327
+ "infoq-architect-honesty": "node scripts/infoq-architect-honesty.js",
1328
+ "test:infoq-architect-honesty": "node --test tests/infoq-architect-honesty.test.js",
1329
+ "test:meko-datapack-honesty": "node --test tests/meko-datapack-honesty.test.js",
1330
+ "meko-datapack-honesty": "node scripts/meko-datapack-honesty.js",
1331
+ "salt-code-policy-honesty": "node scripts/salt-code-policy-honesty.js",
1332
+ "test:salt-code-policy-honesty": "node --test tests/salt-code-policy-honesty.test.js",
1333
+ "mintlify-knowledge-honesty": "node scripts/mintlify-knowledge-honesty.js",
1334
+ "mintlify:knowledge": "node scripts/mintlify-knowledge-honesty.js",
1335
+ "test:mintlify-knowledge": "node --test tests/mintlify-knowledge-honesty.test.js",
1336
+ "siren-mcp-governance": "node scripts/siren-mcp-governance.js",
1337
+ "siren:governance": "node scripts/siren-mcp-governance.js",
1338
+ "test:siren-mcp": "node --test tests/siren-mcp-governance.test.js",
1339
+ "agent-context-artifact": "node scripts/agent-context-artifact.js",
1340
+ "test:agent-context-artifact": "node --test tests/agent-context-artifact.test.js",
1341
+ "session-export-gate": "node scripts/session-export-gate.js",
1342
+ "test:session-export-gate": "node --test tests/session-export-gate.test.js",
1343
+ "coverage-gap": "node scripts/coverage-gap.js",
1344
+ "test:coverage-gap": "node --test tests/coverage-gap.test.js",
1345
+ "test:session-interactivity": "node --test tests/session-interactivity.test.js",
1346
+ "apple-minions:idle-compute": "node scripts/apple-minions-idle-compute-steal.js",
1347
+ "test:apple-minions": "node --test tests/apple-minions-idle-compute-steal.test.js",
1348
+ "obsidian:enveloppe-diode": "node scripts/corporate-email-isolation-diode.js",
1349
+ "test:obsidian-enveloppe-diode": "node --test tests/corporate-email-isolation-diode.test.js",
1350
+ "github:license-compliance": "node scripts/github-license-compliance-diode.js",
1351
+ "test:github-license-compliance": "node --test tests/github-license-compliance-diode.test.js",
1352
+ "test:jules-cloud-fleet-dispatcher": "node --test tests/jules-cloud-fleet-dispatcher.test.js",
1353
+ "test:openrouter-armor-partnership-diode": "node --test tests/openrouter-armor-partnership-diode.test.js",
1354
+ "test:profound-aeo-citation-engine": "node --test tests/profound-aeo-citation-engine.test.js"
1228
1355
  },
1229
1356
  "keywords": [
1230
1357
  "mcp",
@@ -1279,32 +1406,33 @@
1279
1406
  "node": ">=18.18.0"
1280
1407
  },
1281
1408
  "dependencies": {
1282
- "@anthropic-ai/sdk": "^0.125.0",
1283
- "@google/genai": "2.22.0",
1284
- "@lancedb/lancedb": "^0.38.0",
1409
+ "@anthropic-ai/sdk": "^0.128.0",
1410
+ "@google/genai": "2.28.0",
1411
+ "@lancedb/lancedb": "^0.39.0",
1285
1412
  "apache-arrow": "^18.1.0",
1286
1413
  "better-sqlite3": "^12.9.0",
1287
- "dotenv": "^17.4.2",
1288
- "js-yaml": "5.4.2",
1414
+ "dotenv": "^18.0.1",
1415
+ "js-yaml": "5.4.3",
1289
1416
  "playwright-core": "^1.59.1",
1290
1417
  "protobufjs": "^8.7.1",
1291
- "stripe": "^22.2.0"
1418
+ "stripe": "^23.0.0"
1292
1419
  },
1293
1420
  "overrides": {
1294
1421
  "adm-zip": "0.6.0",
1295
1422
  "@google/genai": {
1296
1423
  "protobufjs": "7.6.5"
1297
1424
  },
1298
- "brace-expansion": "5.0.9",
1425
+ "brace-expansion": "5.0.12",
1299
1426
  "onnxruntime-web": {
1300
1427
  "protobufjs": "7.6.5"
1301
1428
  },
1302
1429
  "express@4.22.1": {
1303
1430
  "path-to-regexp": "0.1.13"
1304
1431
  },
1305
- "js-yaml": "5.4.2",
1306
- "sharp": "0.35.4",
1307
- "undici": "8.10.2"
1432
+ "js-yaml": "5.4.3",
1433
+ "sharp": "0.35.5",
1434
+ "shell-quote": "1.12.0",
1435
+ "undici": "8.11.2"
1308
1436
  },
1309
1437
  "mcpName": "io.github.IgorGanapolsky/thumbgate",
1310
1438
  "devDependencies": {
@@ -1312,7 +1440,8 @@
1312
1440
  "@changesets/cli": "^3.0.0",
1313
1441
  "@playwright/test": "^1.62.1",
1314
1442
  "c8": "^12.0.0",
1315
- "undici": "8.10.2"
1443
+ "launch-editor": "^2.14.2",
1444
+ "undici": "8.11.2"
1316
1445
  },
1317
1446
  "hotfix": "gate-check-bypass-2026-06-03"
1318
1447
  }
@@ -0,0 +1,83 @@
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>Stop Claude Code and Cursor from leaking API keys | ThumbGate</title>
7
+ <link rel="canonical" href="https://thumbgate.ai/blog/2026-09-28-pretool-secret-deny" />
8
+ <meta name="description" content="A PreToolUse check that denies a tool call when the command would expose a secret, instead of warning and continuing." />
9
+ <meta property="og:title" content="Stop Claude Code and Cursor from leaking API keys" />
10
+ <meta property="og:description" content="Deny the tool call before a secret leaves the machine. A warning is not permission to continue." />
11
+ <meta property="og:type" content="article" />
12
+ <meta property="og:url" content="https://thumbgate.ai/blog/2026-09-28-pretool-secret-deny" />
13
+ <link rel="icon" type="image/png" href="/thumbgate-icon.png" />
14
+ <meta property="og:image" content="https://thumbgate.ai/og.png" />
15
+ <script type="application/ld+json">
16
+ {
17
+ "@context": "https://schema.org",
18
+ "@type": "BlogPosting",
19
+ "headline": "Stop Claude Code and Cursor from leaking API keys",
20
+ "datePublished": "2026-09-28",
21
+ "author": { "@type": "Person", "name": "Igor Ganapolsky" },
22
+ "publisher": { "@type": "Organization", "name": "ThumbGate", "url": "https://thumbgate.ai" },
23
+ "mainEntityOfPage": "https://thumbgate.ai/blog/2026-09-28-pretool-secret-deny",
24
+ "description": "A PreToolUse check that denies a tool call when the command would expose a secret, instead of warning and continuing."
25
+ }
26
+ </script>
27
+ <style>
28
+ :root { color-scheme: dark; --bg:#080b10; --panel:#111722; --text:#f5f7fb; --muted:#9ca8ba; --line:#273246; --cyan:#38d7ff; --green:#56e39f; --max:760px; }
29
+ * { box-sizing: border-box; }
30
+ body { margin:0; color:var(--text); background:var(--bg); font:16px/1.7 Inter,ui-sans-serif,system-ui,-apple-system,sans-serif; }
31
+ a { color:var(--cyan); }
32
+ .shell { width:min(calc(100% - 40px),var(--max)); margin:0 auto; }
33
+ header { padding:22px 0; border-bottom:1px solid var(--line); }
34
+ header a { color:var(--muted); text-decoration:none; font-weight:700; }
35
+ header a:hover { color:var(--text); }
36
+ .brand { color:var(--text); font-weight:850; text-decoration:none; }
37
+ article { padding:48px 0 80px; }
38
+ .meta { color:var(--muted); font:700 12px/1.2 ui-monospace,Menlo,monospace; letter-spacing:.08em; text-transform:uppercase; }
39
+ .byline { margin:0 0 28px; color:var(--muted); font-size:14px; }
40
+ h1 { margin:14px 0 18px; font-size:clamp(32px,5vw,46px); line-height:1.08; letter-spacing:-.04em; }
41
+ h2 { margin:36px 0 12px; font-size:24px; letter-spacing:-.03em; }
42
+ p, li { color:var(--muted); }
43
+ p { margin:0 0 16px; }
44
+ ul { margin:0 0 18px; padding-left:1.2em; }
45
+ li { margin-bottom:8px; }
46
+ strong { color:var(--text); }
47
+ .cta-btn { display:inline-flex; margin-top:8px; margin-right:10px; padding:12px 18px; border-radius:10px; background:var(--green); color:#06130d; font-weight:850; text-decoration:none; }
48
+ code { color:var(--cyan); font-family:ui-monospace,Menlo,monospace; font-size:0.95em; }
49
+ pre { overflow:auto; padding:14px 16px; border:1px solid var(--line); border-radius:10px; background:#0c1118; color:var(--text); font:13px/1.5 ui-monospace,Menlo,monospace; }
50
+ footer { padding:28px 0 48px; border-top:1px solid var(--line); color:var(--muted); font-size:13px; }
51
+ </style>
52
+ </head>
53
+ <body class="blog-post-page">
54
+ <div class="shell">
55
+ <header>
56
+ <a href="/" class="brand">ThumbGate</a>
57
+ </header>
58
+ <main>
59
+ <article class="post-content">
60
+ <div class="meta">Security &middot; Pre-Tool Gates</div>
61
+ <h1>How to stop Claude Code and Cursor from leaking API keys</h1>
62
+ <p class="byline">Published on 2026-09-28 by Igor Ganapolsky</p>
63
+ <section class="post-body">
64
+ <p class="lead">A system prompt that says "never leak secrets" does not stop the tool call. The check has to run before the command executes.</p>
65
+ <h2>Where the leak happens</h2>
66
+ <p>Claude Code and Cursor run shell and HTTP tools on your behalf. A command that prints an environment variable, posts a token, or copies a key into a request is already too late once the process starts. The useful control is a PreToolUse hook: inspect the command, then deny it.</p>
67
+ <h2>Deny, do not warn-and-continue</h2>
68
+ <p>ThumbGate treats a detected secret as a deny. The agent stops. It does not rewrite the same command with the secret still inside it. A warning on an internal policy, such as spend, is a warning. That warning is not permission to send a credential on the next call.</p>
69
+ <p>The same repository can also record a lesson. If that lesson already failed once, the repeat is a deny too.</p>
70
+ <h2>What you run</h2>
71
+ <pre><code>npx thumbgate init
72
+ npx thumbgate gate-check</code></pre>
73
+ <p>Pass the tool name and the tool input to <code>gate-check</code>. A deny result ends the turn. Hosted Pro, which keeps shared lesson history and the dashboard, is separate from the public package.</p>
74
+ <p><a href="https://thumbgate.ai/pro?utm_source=blog&amp;utm_medium=article&amp;utm_campaign=pretool-secrets">ThumbGate Pro</a></p>
75
+ </section>
76
+ <footer class="post-footer">
77
+ <a href="https://thumbgate.ai/go/pro?utm_source=blog&amp;utm_medium=article&amp;utm_campaign=pretool-secrets" class="cta-btn">ThumbGate Pro</a>
78
+ </footer>
79
+ </article>
80
+ </main>
81
+ </div>
82
+ </body>
83
+ </html>