thumbgate 1.40.10 → 1.40.13

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 (53) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/.well-known/mcp/server-card.json +1 -1
  3. package/README.md +46 -40
  4. package/adapters/claude/.mcp.json +3 -3
  5. package/adapters/forge/forge.yaml +3 -3
  6. package/adapters/future-agi/.mcp.json +1 -1
  7. package/adapters/future-agi/config.toml +1 -1
  8. package/adapters/future-agi/opencode.json +1 -1
  9. package/adapters/herdr/herdr-plugin.toml +2 -2
  10. package/adapters/mcp/server-stdio.js +1 -1
  11. package/adapters/opencode/opencode.json +1 -1
  12. package/bin/cli.js +9 -8
  13. package/bin/postinstall.js +2 -2
  14. package/config/unit-costs.json +47 -0
  15. package/package.json +16 -5
  16. package/public/admin.html +284 -29
  17. package/public/agent-manager.html +2 -2
  18. package/public/agents-cost-savings.html +1 -1
  19. package/public/codex-enterprise.html +2 -2
  20. package/public/compare.html +3 -3
  21. package/public/dashboard.html +28 -9
  22. package/public/diagnostic.html +1 -1
  23. package/public/founders.html +1 -1
  24. package/public/guide.html +4 -4
  25. package/public/index.html +80 -116
  26. package/public/install.html +19 -19
  27. package/public/js/connect-panel.js +21 -7
  28. package/public/learn.html +8 -0
  29. package/public/lessons.html +1 -1
  30. package/public/numbers.html +2 -2
  31. package/public/pricing.html +12 -9
  32. package/public/pro.html +96 -137
  33. package/public/project-switcher.js +50 -19
  34. package/scripts/auto-wire-hooks.js +36 -2
  35. package/scripts/billing.js +3 -1
  36. package/scripts/cli-schema.js +2 -3
  37. package/scripts/commercial-offer.js +1 -1
  38. package/scripts/cost-meter.js +161 -0
  39. package/scripts/gates-engine.js +26 -8
  40. package/scripts/hook-runtime.js +18 -1
  41. package/scripts/mailer/resend-mailer.js +2 -0
  42. package/scripts/owner-admin.js +338 -16
  43. package/scripts/owner-alerts.js +79 -0
  44. package/scripts/owner-telemetry.js +113 -3
  45. package/scripts/pr-manager.js +156 -41
  46. package/scripts/project-catalog.js +3 -1
  47. package/scripts/project-identity.js +10 -2
  48. package/scripts/seo-gsd.js +1 -1
  49. package/scripts/telemetry-analytics.js +7 -1
  50. package/scripts/unit-economics.js +138 -0
  51. package/server.json +2 -2
  52. package/src/api/server.js +62 -4
  53. package/src/mcp-writeguard.js +2 -2
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "thumbgate",
3
3
  "description": "One 👎 becomes a hard rule the agent cannot bypass. Captures thumbs-down feedback, distills it into PreToolUse Pre-Action Checks, enforced across every future Claude Code session.",
4
- "version": "1.40.10",
4
+ "version": "1.40.13",
5
5
  "author": {
6
6
  "name": "Igor Ganapolsky",
7
7
  "email": "ig5973700@gmail.com",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thumbgate",
3
- "version": "1.40.10",
3
+ "version": "1.40.13",
4
4
  "description": "ThumbGate — 👍👎 feedback that teaches your AI agent. Thumbs down a mistake, it never happens again.",
5
5
  "homepage": "https://thumbgate.ai",
6
6
  "transport": "stdio",
package/README.md CHANGED
@@ -35,33 +35,54 @@
35
35
 
36
36
  ThumbGate is the local-first **Pre-Action Checks** engine for AI coding agents. It runs in the PreToolUse hook to evaluate the proposed tool call before execution — so costly mistakes can be caught before they happen.
37
37
 
38
- ThumbGate GitHub star growth is measured with GitHub's privacy-safe [`GET /repos/{owner}/{repo}/stargazers/history`](https://docs.github.com/en/rest/activity/starring#get-repository-star-history) endpoint (weekly counts, no stargazer identities). Run `npm run stars:history -- --fixture tests/fixtures/github-star-history.json --json` for the local proof. Stars are not npm installs and not revenue. The live GitHub Marketplace Action is [ThumbGate Agent Governance](https://github.com/marketplace/actions/thumbgate-agent-governance) (`uses: IgorGanapolsky/ThumbGate@v1`).
38
+ ---
39
39
 
40
- **Usage over star count.** Evaluate ThumbGate from the install path and live usage badges above (`npx thumbgate init`, Marketplace `uses:`, npm weekly downloads, GitHub clones), not from whether the repo has twenty stars or twenty thousand. No pitch deck is required. We do not farm GitHub profile badges (no YOLO-merge of protected `main`, no 5-minute Issue close theater, no fake `Co-authored-by`). Galaxy Brain needs real accepted answers in [Discussions Q&A](https://github.com/IgorGanapolsky/ThumbGate/discussions/categories/q-a). `npm run github:achievements -- --fixture tests/fixtures/github-achievements.json --json` inventories what is already earned vs what we refuse to farm.
40
+ ## Quick Start
41
41
 
42
- ### Who it's for
42
+ > Want a phased walkthrough with a verify step at every stage? Follow the [Progressive Setup Guide](GUIDE.md).
43
43
 
44
- ThumbGate is for operators whose AI coding agents can leak a secret or destroy a checkout before a human sees the tool call (Claude Code, Cursor, Codex, Gemini CLI, MCP). Discovery should reach those operators — not a star campaign.
44
+ Progressive wiring — prove the pipe before you turn matching on. Empty dashboard is success.
45
45
 
46
- ThumbGate is **not** a GitHub star package, not fake engagement, and not a substitute for npm installs or merged PRs. Real engagement is `npx thumbgate init` and a PreToolUse hook that actually fires.
46
+ ```bash
47
+ npx thumbgate init # Phase 1: hooks only
48
+ npx thumbgate doctor # verify: exits 0 only when PreToolUse hook is wired (hidden metric = hook install, not gate count)
49
+ npx thumbgate dashboard --open # Phase 2: open local HTML; empty stats are OK
50
+ npx thumbgate capture --feedback=down --context="Never run DROP on production tables" --what-went-wrong="agent proposed DROP" --what-to-change="require review for DROP"
51
+ ```
47
52
 
48
- ### Tech memes (shareable)
53
+ Later `DROP` attempts in the same scope surface the check:
49
54
 
50
- Lightweight visuals for how agents fail without a pre-action gate:
55
+ ```
56
+ ⚠️ Check fired: "Never run DROP on production tables"
57
+ Pattern: DROP.*production
58
+ Verdict: 👎 WARN + LOG (⛔ BLOCK when THUMBGATE_STRICT_ENFORCEMENT=1)
59
+ ```
51
60
 
52
- | Meme | Meaning |
53
- |------|---------|
54
- | ![Agent destroys prod without a gate](docs/media/meme-agent-destroys-prod.svg) | Unchecked tool calls ship destructive commands. |
55
- | ![Prompt vs PreToolUse hook](docs/media/meme-prompt-vs-hook.svg) | A prompt is advice; a PreToolUse hook is enforcement. |
61
+ Numbered configs: [`config/progressive/`](config/progressive/). Guide: [progressive wiring](https://thumbgate.ai/guides/progressive-wiring).
62
+
63
+ ### MCP / Glama / registry install (stdio)
64
+
65
+ Directories and clients that install ThumbGate as an MCP server must start **stdio MCP**, not the HTTP API:
66
+
67
+ ```bash
68
+ npx -y thumbgate serve
69
+ ```
70
+
71
+ - Equivalent: `npx -y thumbgate mcp`
72
+ - Do **not** use `npm start` for MCP — that launches the hosted HTTP API (`src/api/server.js`), not the agent-facing stdio server.
73
+
74
+ [**▶ 90-second demo**](https://thumbgate.ai/#demo?utm_source=github&utm_medium=readme&utm_campaign=demo_video) · [GIF walkthrough](docs/media/thumbgate-demo.gif)
56
75
 
76
+ ---
57
77
 
78
+ ## How enforcement works
58
79
 
59
80
  It **hard-blocks detected secret leaks and two direct self-disable command classes by default** — commands that terminate the ThumbGate gate process or enable its bypass environment override. It also denies catastrophic commands by default: force-push, `git reset --hard`, `git clean -f`, `rm -rf` on home or root, and `DROP TABLE`. Other high-risk classes (fetch-and-run, direct guardrail edits, other matching rules) **warn and log by default**. Set `THUMBGATE_STRICT_ENFORCEMENT=1` for strict enforcement (warnings become hard denies).
60
81
 
61
82
  | Verdict | Default behavior |
62
83
  |---------|------------------|
63
- | ⛔ **Hard-block** | Detected secret leaks; process-kill/environment-override self-disable |
64
- | 👎 **Warn + log** | fetch-and-run, direct guardrail edits, other matching rules — **warn by default** (force-push, `git reset --hard`, `git clean -f`, `rm -rf` on home or root and `DROP TABLE` are denied by default) |
84
+ | ⛔ **Hard-block** | Detected secret leaks; process-kill/environment-override self-disable; catastrophic commands (force-push, `git reset --hard`, `git clean -f`, `rm -rf` on home or root, `DROP TABLE`) |
85
+ | 👎 **Warn + log** | fetch-and-run, direct guardrail edits, other matching rules (become hard denies with `THUMBGATE_STRICT_ENFORCEMENT=1`) |
65
86
  | 👍 **Allow** | Everything else |
66
87
 
67
88
  **Accepted feedback is stored as local lessons.** Repeated concrete failures can become prevention rules that promote from warnings to blocking gates. The firewall improves from operations without retraining the model. Prompt evaluation (`npx thumbgate eval`) turns accepted feedback into reusable eval cases and local proof reports.
@@ -86,41 +107,26 @@ Agentic development is becoming a loop: **Guide → Generate → Verify → Solv
86
107
 
87
108
  ---
88
109
 
89
- ## Quick Start
90
-
91
- > Want a phased walkthrough with a verify step at every stage? Follow the [Progressive Setup Guide](GUIDE.md).
92
-
93
- Progressive wiring — prove the pipe before you turn matching on. Empty dashboard is success.
94
-
95
- ```bash
96
- npx thumbgate init # Phase 1: hooks only
97
- npx thumbgate doctor # verify: exits 0 only when PreToolUse hook is wired (hidden metric = hook install, not gate count)
98
- npx thumbgate dashboard --open # Phase 2: open local HTML; empty stats are OK
99
- npx thumbgate capture --feedback=down --context="Never run DROP on production tables" --what-went-wrong="agent proposed DROP" --what-to-change="require review for DROP"
100
- ```
110
+ ## Why usage, not stars
101
111
 
102
- Later `DROP` attempts in the same scope surface the check:
112
+ ThumbGate GitHub star growth is measured with GitHub's privacy-safe [`GET /repos/{owner}/{repo}/stargazers/history`](https://docs.github.com/en/rest/activity/starring#get-repository-star-history) endpoint (weekly counts, no stargazer identities). Run `npm run stars:history -- --fixture tests/fixtures/github-star-history.json --json` for the local proof. Stars are not npm installs and not revenue. The live GitHub Marketplace Action is [ThumbGate Agent Governance](https://github.com/marketplace/actions/thumbgate-agent-governance) (`uses: IgorGanapolsky/ThumbGate@v1`).
103
113
 
104
- ```
105
- ⚠️ Check fired: "Never run DROP on production tables"
106
- Pattern: DROP.*production
107
- Verdict: 👎 WARN + LOG (⛔ BLOCK when THUMBGATE_STRICT_ENFORCEMENT=1)
108
- ```
114
+ **Usage over star count.** Evaluate ThumbGate from the install path and live usage badges above (`npx thumbgate init`, Marketplace `uses:`, npm weekly downloads, GitHub clones), not from whether the repo has twenty stars or twenty thousand. No pitch deck is required. We do not farm GitHub profile badges (no YOLO-merge of protected `main`, no 5-minute Issue close theater, no fake `Co-authored-by`). Galaxy Brain needs real accepted answers in [Discussions Q&A](https://github.com/IgorGanapolsky/ThumbGate/discussions/categories/q-a). `npm run github:achievements -- --fixture tests/fixtures/github-achievements.json --json` inventories what is already earned vs what we refuse to farm.
109
115
 
110
- Numbered configs: [`config/progressive/`](config/progressive/). Guide: [progressive wiring](https://thumbgate.ai/guides/progressive-wiring).
116
+ ### Who it's for
111
117
 
112
- ### MCP / Glama / registry install (stdio)
118
+ ThumbGate is for operators whose AI coding agents can leak a secret or destroy a checkout before a human sees the tool call (Claude Code, Cursor, Codex, Gemini CLI, MCP). Discovery should reach those operators — not a star campaign.
113
119
 
114
- Directories and clients that install ThumbGate as an MCP server must start **stdio MCP**, not the HTTP API:
120
+ ThumbGate is **not** a GitHub star package, not fake engagement, and not a substitute for npm installs or merged PRs. Real engagement is `npx thumbgate init` and a PreToolUse hook that actually fires.
115
121
 
116
- ```bash
117
- npx -y thumbgate serve
118
- ```
122
+ ### Tech memes (shareable)
119
123
 
120
- - Equivalent: `npx -y thumbgate mcp`
121
- - Do **not** use `npm start` for MCP — that launches the hosted HTTP API (`src/api/server.js`), not the agent-facing stdio server.
124
+ Lightweight visuals for how agents fail without a pre-action gate:
122
125
 
123
- [**▶ 90-second demo**](https://thumbgate.ai/#demo?utm_source=github&utm_medium=readme&utm_campaign=demo_video) · [GIF walkthrough](docs/media/thumbgate-demo.gif)
126
+ | Meme | Meaning |
127
+ |------|---------|
128
+ | ![Agent destroys prod without a gate](docs/media/meme-agent-destroys-prod.svg) | Unchecked tool calls ship destructive commands. |
129
+ | ![Prompt vs PreToolUse hook](docs/media/meme-prompt-vs-hook.svg) | A prompt is advice; a PreToolUse hook is enforcement. |
124
130
 
125
131
  ---
126
132
 
@@ -2,17 +2,17 @@
2
2
  "mcpServers": {
3
3
  "thumbgate": {
4
4
  "command": "npx",
5
- "args": ["--yes", "--package", "thumbgate@1.40.10", "thumbgate", "serve"]
5
+ "args": ["--yes", "--package", "thumbgate@1.40.13", "thumbgate", "serve"]
6
6
  }
7
7
  },
8
8
  "hooks": {
9
9
  "preToolUse": {
10
10
  "command": "npx",
11
- "args": ["--yes", "--package", "thumbgate@1.40.10", "thumbgate", "gate-check"]
11
+ "args": ["--yes", "--package", "thumbgate@1.40.13", "thumbgate", "gate-check"]
12
12
  },
13
13
  "userPromptSubmit": {
14
14
  "command": "npx",
15
- "args": ["--yes", "--package", "thumbgate@1.40.10", "thumbgate", "hook-auto-capture"]
15
+ "args": ["--yes", "--package", "thumbgate@1.40.13", "thumbgate", "hook-auto-capture"]
16
16
  }
17
17
  }
18
18
  }
@@ -9,12 +9,12 @@ version: "1"
9
9
  skills:
10
10
  thumbgate-gate-check:
11
11
  description: "ThumbGate PreToolUse gate — blocks known-bad tool calls"
12
- command: "npx --yes --package thumbgate@1.40.10 thumbgate gate-check"
12
+ command: "npx --yes --package thumbgate@1.40.13 thumbgate gate-check"
13
13
  trigger: pre_tool_use
14
14
 
15
15
  thumbgate-feedback:
16
16
  description: "ThumbGate UserPromptSubmit guard & feedback capture — blocks pasted passwords/keys and logs safe prompt context"
17
- command: "npx --yes --package thumbgate@1.40.10 thumbgate hook-auto-capture"
17
+ command: "npx --yes --package thumbgate@1.40.13 thumbgate hook-auto-capture"
18
18
  trigger: user_prompt
19
19
 
20
20
  mcp:
@@ -23,6 +23,6 @@ mcp:
23
23
  args:
24
24
  - "--yes"
25
25
  - "--package"
26
- - "thumbgate@1.40.10"
26
+ - "thumbgate@1.40.13"
27
27
  - "thumbgate"
28
28
  - "serve"
@@ -2,7 +2,7 @@
2
2
  "mcpServers": {
3
3
  "thumbgate": {
4
4
  "command": "npx",
5
- "args": ["--yes", "--package", "thumbgate@1.40.10", "thumbgate", "serve"]
5
+ "args": ["--yes", "--package", "thumbgate@1.40.13", "thumbgate", "serve"]
6
6
  }
7
7
  }
8
8
  }
@@ -1,3 +1,3 @@
1
1
  [mcp.servers.thumbgate]
2
2
  command = "npx"
3
- args = ["--yes", "--package", "thumbgate@1.40.10", "thumbgate", "serve"]
3
+ args = ["--yes", "--package", "thumbgate@1.40.13", "thumbgate", "serve"]
@@ -2,7 +2,7 @@
2
2
  "mcpServers": {
3
3
  "thumbgate": {
4
4
  "command": "npx",
5
- "args": ["--yes", "--package", "thumbgate@1.40.10", "thumbgate", "serve"]
5
+ "args": ["--yes", "--package", "thumbgate@1.40.13", "thumbgate", "serve"]
6
6
  }
7
7
  }
8
8
  }
@@ -1,7 +1,7 @@
1
1
  [plugin]
2
2
  id = "thumbgate-approvals"
3
3
  name = "ThumbGate Approvals"
4
- version = "1.40.10"
4
+ version = "1.40.13"
5
5
  minHerdrVersion = "0.7.0"
6
6
  description = "Pre-action governance, spend guard, and safety approval gates for multi-agent terminal sessions in Herdr."
7
7
  platforms = ["linux", "macos", "windows"]
@@ -12,7 +12,7 @@ category = "Security & Governance"
12
12
 
13
13
  [mcp_server]
14
14
  command = "npx"
15
- args = ["--yes", "--package", "thumbgate@1.40.10", "thumbgate", "serve"]
15
+ args = ["--yes", "--package", "thumbgate@1.40.13", "thumbgate", "serve"]
16
16
 
17
17
  [mcp_server.env]
18
18
  THUMBGATE_ENFORCE_ENTITLEMENTS = "1"
@@ -334,7 +334,7 @@ const {
334
334
  finalizeSession: finalizeFeedbackSession,
335
335
  } = require('../../scripts/feedback-session');
336
336
 
337
- const SERVER_INFO = { name: 'thumbgate-mcp', version: '1.40.10' };
337
+ const SERVER_INFO = { name: 'thumbgate-mcp', version: '1.40.13' };
338
338
  const COMMERCE_CATEGORIES = [
339
339
  'product_recommendation',
340
340
  'brand_compliance',
@@ -7,7 +7,7 @@
7
7
  "npx",
8
8
  "--yes",
9
9
  "--package",
10
- "thumbgate@1.40.10",
10
+ "thumbgate@1.40.13",
11
11
  "thumbgate",
12
12
  "serve"
13
13
  ],
package/bin/cli.js CHANGED
@@ -107,7 +107,7 @@ function upgradeNudge() {
107
107
  '\n Enterprise entry: $499 Setup Sprint for one workflow\n' +
108
108
  ` ${diagnosticUrl}\n` +
109
109
  `\n Solo side lane: Pro — ${PRO_PRICE_LABEL}\n` +
110
- ' Removes solo caps; adds personal recall, dashboard proof, exports, and managed adapters.\n' +
110
+ ' Keeps every learned rule active, unlimited thumbs; adds recall, lesson search, and exports.\n' +
111
111
  ` ${pricingUrl}\n\n`
112
112
  );
113
113
  }
@@ -207,7 +207,7 @@ function proNudge(context) {
207
207
  const checkoutUrl = checkoutUrlFor('cli_nudge', context || COMMAND || 'general');
208
208
  const pricingUrl = pricingUrlFor('cli_nudge', context || COMMAND || 'general');
209
209
  const messages = [
210
- `\n 💡 Pro (${PRO_PRICE_LABEL}): personal recall, dashboard proof, exports, and managed adapters.\n See pricing: ${pricingUrl}\n`,
210
+ `\n 💡 Pro (${PRO_PRICE_LABEL}): every learned rule active, unlimited thumbs, recall, lesson search, and exports.\n See pricing: ${pricingUrl}\n`,
211
211
  `\n 💡 You just taught ThumbGate something locally. Pro keeps personal lessons searchable and exportable without free-tier caps.\n See pricing: ${pricingUrl}\n`,
212
212
  `\n 💡 ThumbGate Pro maintains adapter coverage across Claude, Codex, Cursor, containers, and CI. ${PRO_PRICE_LABEL}.\n Start Pro: ${checkoutUrl}\n`,
213
213
  ];
@@ -239,7 +239,7 @@ function printInitConversionPrompt(email) {
239
239
  console.log('');
240
240
  console.log(' ┌──────────────────────────────────────────────────────────┐');
241
241
  console.log(` │ 7-day Pro trial active through ${trialDeadlineLabel()}. │`);
242
- console.log(' │ Pro keeps lessons/rules/dashboard synced everywhere. │');
242
+ console.log(' │ Pro keeps every learned rule active and searchable. │');
243
243
  console.log(' │ Add onboarding: npx thumbgate init --email you@company.com │');
244
244
  console.log(` │ Upgrade: ${checkoutUrl}`);
245
245
  console.log(' └──────────────────────────────────────────────────────────┘');
@@ -1741,10 +1741,11 @@ function pro() {
1741
1741
  console.log('Self-serve side lane today: Pro ($19/mo or $149/yr).');
1742
1742
  console.log('Every licensed Pro user gets a personal local dashboard on localhost.');
1743
1743
  console.log('\nWhat is available:');
1744
- console.log(' - Personal recall: search lessons, rules, and proof');
1745
- console.log(' - Local Pro dashboard: your own browser dashboard for search, gates, and DPO export');
1746
- console.log(' - Managed adapters: Claude Code, Cursor, Codex, Gemini, Amp, Cline, OpenCode');
1747
- console.log(' - Setup Sprint: $499 for one supported workflow; hosted team sync and org dashboard are not GA');
1744
+ console.log(' - Every learned rule stays active (free keeps 3); unlimited thumbs (free: 2 a day, 10 in total)');
1745
+ console.log(' - Recall and lesson search: ask what the agent got wrong before');
1746
+ console.log(' - Local Pro dashboard with search and DPO export (the project dashboard, npx thumbgate dashboard, is free)');
1747
+ console.log('\nSeparate from Pro:');
1748
+ console.log(' - Setup Sprint: $499 one-time service for one supported workflow; hosted team sync and org dashboard are not GA');
1748
1749
  console.log(' - Commercial truth doc: source of truth for traction, pricing, and proof claims');
1749
1750
  console.log('\nLinks:');
1750
1751
  console.log(` Buy Pro : ${PRO_CHECKOUT_URL}`);
@@ -4027,7 +4028,7 @@ function help() {
4027
4028
  console.log(' security-central Free Agent Security Central posture report');
4028
4029
  console.log(' break-glass --reason="..." Short TTL recovery if gates over-fire');
4029
4030
  console.log(' brain [--write] Build the agent-readable context brain (lessons + rules + gates)');
4030
- console.log(' pro ThumbGate Pro (dashboard, exports, sync)');
4031
+ console.log(' pro ThumbGate Pro (license, recall, exports)');
4031
4032
  console.log(' diagnostic $499 Setup Sprint for one repeated team failure');
4032
4033
  console.log(' subscribe <email> Get the 5-min setup guide + weekly tips by email');
4033
4034
  console.log('');
@@ -26,8 +26,8 @@ process.stderr.write(`
26
26
  │ Need a hard gate built for you? $499 one-time. │
27
27
  ╰─────────────────────────────────────────────────────╯
28
28
 
29
- Trial unlocks: unlimited rules, lesson search, DPO export,
30
- and personal dashboard proof. After 7 days, free tier limits apply.
29
+ Trial unlocks: unlimited rules and thumbs, recall, lesson search
30
+ and DPO export. After 7 days, free tier limits apply.
31
31
  Subscribe for the 5-min setup guide + weekly tips:
32
32
  npx thumbgate subscribe you@company.com
33
33
 
@@ -0,0 +1,47 @@
1
+ {
2
+ "version": 1,
3
+ "checkedAt": "2026-11-24",
4
+ "currency": "USD",
5
+ "note": "List rates the owner console uses to turn measured usage into dollars. Change a rate here when a provider changes it, and record the date and source. Amounts are US dollars.",
6
+ "hosting": {
7
+ "provider": "Railway",
8
+ "source": "https://docs.railway.com/pricing (checked 2026-11-24): $20 per vCPU-month, $10 per GB of memory per month, $0.15 per GB-month of volume, $0.05 per GB of egress, billed by the minute",
9
+ "vcpuMonthUsd": 20,
10
+ "memoryGbMonthUsd": 10,
11
+ "volumeGbMonthUsd": 0.15,
12
+ "egressGbUsd": 0.05,
13
+ "volumeGb": 0.3,
14
+ "volumeGbSource": "Railway metrics for the thumbgate service, 7-day average 0.27 GB on 2026-11-24",
15
+ "egressGbPerMonth": 7.3,
16
+ "egressGbSource": "Railway metrics for the thumbgate service, 7-day average about 0.01 GB per hour on 2026-11-24; not measured live by the app"
17
+ },
18
+ "email": {
19
+ "provider": "Resend",
20
+ "source": "https://resend.com/pricing (checked 2026-11-24): free tier 3,000 emails per month and 100 per day; Pro $20 per month for 50,000, extra emails $0.90 per 1,000",
21
+ "costPerEmailUsd": 0.0004,
22
+ "basis": "Pro plan price divided by its included emails. While sends stay inside the free tier the true marginal cost is $0, so this is an upper bound."
23
+ },
24
+ "payments": {
25
+ "provider": "Stripe",
26
+ "source": "https://stripe.com/pricing and https://stripe.com/billing/pricing (checked 2026-11-24): 2.9% + 30 cents per successful domestic card charge; Stripe Billing adds 0.7% of recurring billing volume",
27
+ "percent": 0.029,
28
+ "fixedUsd": 0.3,
29
+ "basis": "Checkout fees are read from Stripe when it returns them. Renewal invoices, and any checkout whose fee was not returned, use the card rate; renewals and subscription first charges also carry the 0.7% Billing fee.",
30
+ "billingPercent": 0.007
31
+ },
32
+ "plans": {
33
+ "pro": {
34
+ "name": "Pro",
35
+ "listMonthlyUsd": 19
36
+ },
37
+ "setupSprint": {
38
+ "name": "Setup Sprint",
39
+ "listUsd": 499,
40
+ "deliveryHours": null,
41
+ "deliveryHoursNote": "Owner time to deliver one sprint is not recorded, so sprint margin leaves labor out."
42
+ }
43
+ },
44
+ "fixedDeliveryMonthly": [],
45
+ "buildAndInternalMonthly": [],
46
+ "fixedNote": "fixedDeliveryMonthly holds monthly costs of serving customers that usage does not measure (for example a plan minimum or a domain). buildAndInternalMonthly holds the cost of building and running the business (agent subscriptions, CI, tools). Each entry is { \"name\": \"...\", \"usd\": 0, \"source\": \"...\" }. Both lists are empty until a real bill is recorded; the console says so instead of guessing."
47
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thumbgate",
3
- "version": "1.40.10",
3
+ "version": "1.40.13",
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": {
@@ -19,6 +19,8 @@
19
19
  },
20
20
  "files": [
21
21
  "!config/main-branch-ruleset.json",
22
+ "!config/ship-policy.json",
23
+ "!.claude/commands/ship.md",
22
24
  "!config/performance-budgets.json",
23
25
  "!public/assets/brand/github-social-preview.png",
24
26
  "!public/assets/diagrams/thumbgate-agent-meme.jpg",
@@ -565,7 +567,10 @@
565
567
  ".agents/skills/craft-playbook-gate/",
566
568
  "public/project-switcher.js",
567
569
  "scripts/owner-admin.js",
570
+ "scripts/owner-alerts.js",
568
571
  "scripts/owner-telemetry.js",
572
+ "scripts/cost-meter.js",
573
+ "scripts/unit-economics.js",
569
574
  "scripts/ops-log.js",
570
575
  "scripts/ops-report.js",
571
576
  "scripts/checkout-session-count.js",
@@ -763,7 +768,7 @@
763
768
  "test:futureagi-prepost": "node --test tests/futureagi-prepost-gate.test.js",
764
769
  "test:five-walls": "node --test tests/five-walls-governance.test.js",
765
770
  "test:llm-surface-consistency": "node --test tests/llm-surface-consistency.test.js",
766
- "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:founder-proof && 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:checkout-human-gate && npm run test:checkout-interstitial-shown-beacon && npm run test:connect-panel && npm run test:first-block-upsell && npm run test:checkout-session-count && npm run test:checkout-utm-attribution && npm run test:utm-source-summary && 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:cursor-shell-gate && 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:email-triage-quoting && npm run test:claim-gate-stop && npm run test:feedback-reward-claim-lessons &&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:packed-cli-require-closure && 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:enforce-rules-without-daily-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:qwenwork-policy-group && 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:agentic-prompt-pipelines && 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:monthly-report && npm run test:checkout-funnel-bot-filter && npm run test:catastrophic-default-deny && npm run test:rule-cap-hit && npm run test:plugin-eval-gate && npm run test:jules-cloud-fleet-dispatcher && npm run test:openrouter-armor-partnership-diode && npm run test:profound-aeo-citation-engine && npm run test:craft-playbook-gate && npm run test:mac-dispatch-loop && npm run test:graphrag-moe-jit-evals && npm run test:egm-goldfish-packet && npm run test:hosted-tenant-isolation && npm run test:owner-admin && npm run test:admin-truth-ui && npm run test:no-orphan-posthog && npm run test:refund-policy-consistency && npm run test:owner-checkout-panel && npm run test:owner-telemetry-visitors && npm run test:project-scope && npm run test:session-context-dedupe",
771
+ "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:founder-proof && 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:shipped-js-syntax && npm run test:tiktok-short-link && 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:checkout-human-gate && npm run test:checkout-interstitial-shown-beacon && npm run test:connect-panel && npm run test:first-block-upsell && npm run test:checkout-session-count && npm run test:checkout-utm-attribution && npm run test:utm-source-summary && 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:cursor-shell-gate && 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:email-triage-quoting && npm run test:claim-gate-stop && npm run test:feedback-reward-claim-lessons &&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:packed-cli-require-closure && 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:enforce-rules-without-daily-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:qwenwork-policy-group && 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:agentic-prompt-pipelines && 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:monthly-report && npm run test:checkout-funnel-bot-filter && npm run test:catastrophic-default-deny && npm run test:rule-cap-hit && npm run test:plugin-eval-gate && npm run test:jules-cloud-fleet-dispatcher && npm run test:openrouter-armor-partnership-diode && npm run test:profound-aeo-citation-engine && npm run test:craft-playbook-gate && npm run test:mac-dispatch-loop && npm run test:graphrag-moe-jit-evals && npm run test:egm-goldfish-packet && npm run test:hosted-tenant-isolation && npm run test:owner-admin && npm run test:admin-truth-ui && npm run test:admin-usage-mrr && npm run test:no-orphan-posthog && npm run test:refund-policy-consistency && npm run test:owner-checkout-panel && npm run test:owner-telemetry-visitors && npm run test:project-scope && npm run test:session-context-dedupe && npm run test:ship-pipeline",
767
772
  "test:thumbgate-daily-discoveries-publish": "node --test tests/thumbgate-daily-discoveries-publish.test.js",
768
773
  "test:dashboard-oversized-logs": "node --test tests/dashboard-oversized-log-resilience.test.js",
769
774
  "test:python": "python3 -m pytest tests/*.py",
@@ -976,6 +981,9 @@
976
981
  "adk:consolidate": "node scripts/adk-consolidator.js",
977
982
  "adk:watch": "node scripts/adk-consolidator.js --watch",
978
983
  "pr:manage": "node scripts/pr-manager.js",
984
+ "ship": "node scripts/ship.js",
985
+ "ship:policy": "node scripts/ship-policy.js",
986
+ "test:ship-pipeline": "node --test tests/ship-policy.test.js tests/ship.test.js",
979
987
  "branch-protection:check": "node scripts/sync-branch-protection.js --check",
980
988
  "branch-protection:sync": "node scripts/sync-branch-protection.js",
981
989
  "rulesets:check": "node scripts/sync-repository-rulesets.js --check",
@@ -1147,6 +1155,8 @@
1147
1155
  "perplexity:mcp-config": "node scripts/perplexity-command-center.js mcp-config",
1148
1156
  "test:explore": "node --test tests/explore.test.js",
1149
1157
  "test:cli-schema": "node --test tests/cli-schema.test.js",
1158
+ "test:shipped-js-syntax": "node --test tests/shipped-js-syntax.test.js",
1159
+ "test:tiktok-short-link": "node --test tests/tiktok-short-link.test.js",
1150
1160
  "test:cli-agent-experience": "node --test tests/cli-agent-experience.test.js",
1151
1161
  "test:gate-coherence": "node --test tests/gate-coherence.test.js",
1152
1162
  "test:gate-eval": "node --test tests/gate-eval.test.js",
@@ -1240,7 +1250,7 @@
1240
1250
  "test:model-distress-doctor": "node --test tests/model-distress-doctor.test.js",
1241
1251
  "strands:doctor": "node scripts/strands-harness-doctor.js",
1242
1252
  "test:strands-harness-doctor": "node --test tests/strands-harness-doctor.test.js",
1243
- "test:plugin-hooks-manifest": "node --test tests/plugin-hooks-manifest.test.js",
1253
+ "test:plugin-hooks-manifest": "node --test tests/plugin-hooks-manifest.test.js tests/hook-command-paths.test.js tests/auto-wire-hooks-cli-safety.test.js",
1244
1254
  "test:hook-self-protection": "node --test tests/hook-self-protection.test.js",
1245
1255
  "test:never-bypass-branch-protection": "node --test tests/never-bypass-branch-protection.test.js",
1246
1256
  "test:self-protect-enforcement": "node --test tests/self-protect-enforcement.test.js",
@@ -1459,14 +1469,15 @@
1459
1469
  "test:verified-lessons": "node --test tests/verified-lessons.test.js",
1460
1470
  "test:egm-goldfish-packet": "node --test tests/egm-goldfish-packet.test.js",
1461
1471
  "test:hosted-tenant-isolation": "node --test tests/feedback-scope.test.js tests/hosted-tenant-isolation.test.js",
1462
- "test:project-scope": "node --test tests/project-attribution-evidence.test.js tests/project-identity.test.js tests/project-migration.test.js tests/project-gates.test.js tests/project-capture.test.js tests/project-dashboard-api.test.js tests/project-dashboard-parity.test.js tests/project-dashboard-browser.test.js tests/project-identity-perf.test.js tests/project-catalog-evidence.test.js tests/project-capture-time-key.test.js",
1472
+ "test:project-scope": "node --test tests/static-cache-revalidate.test.js tests/history-distiller-no-fabrication.test.js tests/dashboard-project-clarity.test.js tests/project-attribution-evidence.test.js tests/project-identity.test.js tests/project-migration.test.js tests/project-gates.test.js tests/project-capture.test.js tests/project-dashboard-api.test.js tests/project-dashboard-parity.test.js tests/project-dashboard-browser.test.js tests/project-identity-perf.test.js tests/project-catalog-evidence.test.js tests/project-capture-time-key.test.js",
1463
1473
  "test:project-browser": "THUMBGATE_PROJECT_BROWSER_TEST=1 node --test tests/project-dashboard-browser.test.js",
1464
1474
  "test:owner-telemetry-visitors": "node --test --test-force-exit tests/owner-telemetry-visitors.test.js",
1465
1475
  "test:owner-checkout-panel": "node --test --test-force-exit tests/owner-checkout-panel.test.js",
1466
1476
  "test:refund-policy-consistency": "node --test --test-force-exit tests/refund-policy-consistency.test.js",
1467
1477
  "test:no-orphan-posthog": "node --test --test-force-exit tests/no-orphan-posthog.test.js",
1468
1478
  "test:admin-truth-ui": "node --test --test-force-exit tests/admin-truth-ui.test.js",
1469
- "test:owner-admin": "node --test tests/owner-admin.test.js"
1479
+ "test:admin-usage-mrr": "node --test --test-force-exit tests/admin-usage-mrr.test.js",
1480
+ "test:owner-admin": "node --test tests/unit-economics.test.js tests/admin-economics.test.js tests/owner-admin.test.js tests/owner-admin-payment-cursor.test.js tests/owner-reporting-semantics.test.js tests/owner-summary-quality.test.js"
1470
1481
  },
1471
1482
  "keywords": [
1472
1483
  "mcp",