thumbgate 1.38.0 → 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.
- package/.agents/skills/bolt-forge-opt-in-not-clone/SKILL.md +72 -0
- package/.agents/skills/decisive-step-evaluator/SKILL.md +47 -0
- package/.agents/skills/fiddler-control-plane-honesty/SKILL.md +61 -0
- package/.agents/skills/harness-evolution-ceiling/SKILL.md +52 -0
- package/.agents/skills/omp-coordination-honesty-not-clone/SKILL.md +94 -0
- package/.agents/skills/saas-moat-honesty-not-clone/SKILL.md +22 -0
- package/.agents/skills/siren-mcp-governance/SKILL.md +50 -0
- package/.agents/skills/vs-coverage-gap-not-clone/SKILL.md +69 -0
- package/.agents/skills/wisdom-context-artifact-not-clone/SKILL.md +67 -0
- package/.claude-plugin/plugin.json +1 -1
- package/.well-known/mcp/server-card.json +1 -1
- package/adapters/claude/.mcp.json +2 -2
- package/adapters/forge/forge.yaml +3 -3
- package/adapters/future-agi/.mcp.json +1 -1
- package/adapters/future-agi/config.toml +1 -1
- package/adapters/future-agi/opencode.json +1 -1
- package/adapters/herdr/herdr-plugin.toml +2 -2
- package/adapters/hotdata/hotdata-vector-store.js +575 -0
- package/adapters/mcp/server-stdio.js +1 -1
- package/adapters/opencode/opencode.json +1 -1
- package/adapters/strands/strands-box-diode.js +344 -0
- package/adapters/strands/strands-decider-adapter.js +445 -0
- package/bin/cli.js +472 -21
- package/config/gate-templates.json +37 -0
- package/config/gates/default.json +13 -0
- package/config/schemas/task-outcome-receipt.schema.json +12 -0
- package/package.json +102 -18
- package/public/blog/2026-10-05-why-3-days-of-triage-wont-save-ai-speed-code.html +119 -0
- package/public/blog/2026-10-09-your-code-got-a-third-author-governance.html +141 -0
- package/public/connectors.html +329 -0
- package/public/enterprise-governance.html +311 -0
- package/public/gaming-playbook.html +732 -0
- package/public/index.html +77 -51
- package/public/install.html +7 -7
- package/public/learn.html +14 -0
- package/public/numbers.html +2 -2
- package/public/operator-framework.html +385 -0
- package/public/pricing.html +14 -10
- package/scripts/activesaddler-curriculum-doctor.js +357 -0
- package/scripts/agent-context-artifact.js +325 -0
- package/scripts/agent-egress-policy.js +2 -2
- package/scripts/agent-operations-planner.js +1 -1
- package/scripts/agent-outcome-eval.js +1 -1
- package/scripts/agent-reliability-client.js +148 -0
- package/scripts/apple-minions-idle-compute-steal.js +428 -0
- package/scripts/billing.js +0 -1
- package/scripts/cli-demo.js +505 -1
- package/scripts/cli-schema.js +36 -0
- package/scripts/colab-compute-honesty.js +93 -0
- package/scripts/corporate-email-isolation-diode.js +299 -0
- package/scripts/coverage-gap.js +396 -0
- package/scripts/dashboard-chat.js +3 -3
- package/scripts/dashboard.js +2 -2
- package/scripts/decisive-step-doctor.js +256 -0
- package/scripts/decisive-step-evaluator.js +390 -0
- package/scripts/entitlement.js +18 -7
- package/scripts/feedback-loop.js +26 -3
- package/scripts/fiddler-control-plane-honesty.js +303 -0
- package/scripts/financial-control-plane.js +10 -2
- package/scripts/gates-engine.js +3 -1
- package/scripts/github-license-compliance-diode.js +378 -0
- package/scripts/harness-ceiling-doctor.js +326 -0
- package/scripts/hf-papers.js +1 -1
- package/scripts/human-escalation.js +7 -1
- package/scripts/hybrid-feedback-context.js +53 -7
- package/scripts/lesson-graph.js +785 -0
- package/scripts/lesson-inference.js +1 -1
- package/scripts/lesson-retrieval.js +26 -18
- package/scripts/license.js +122 -21
- package/scripts/llm-behavior-monitor.js +1 -1
- package/scripts/llm-obs-honesty.js +52 -0
- package/scripts/local-model-profile.js +11 -7
- package/scripts/mailer/resend-mailer.js +6 -3
- package/scripts/mcp-transport-strategy.js +1 -1
- package/scripts/migrate-lesson-graph.js +442 -0
- package/scripts/model-distress-doctor.js +168 -0
- package/scripts/multi-harness-invariants.js +305 -0
- package/scripts/omp-coordination-honesty.js +488 -0
- package/scripts/pro-local-dashboard.js +20 -3
- package/scripts/prompt-eval.js +1 -1
- package/scripts/prove-herdr-adapter.js +367 -3
- package/scripts/rag-embedding-identity.js +1 -1
- package/scripts/rrsi-regularizer.js +86 -0
- package/scripts/saas-moat-honesty.js +443 -0
- package/scripts/secret-redaction.js +58 -0
- package/scripts/session-export-gate.js +368 -0
- package/scripts/siren-mcp-governance.js +539 -0
- package/scripts/strands-box-doctor.js +130 -0
- package/scripts/stripe-revenue-catalog-audit.js +12 -0
- package/scripts/stripe-revenue-catalog.js +40 -0
- package/scripts/switchyard-router.js +153 -0
- package/scripts/task-outcomes.js +148 -3
- package/scripts/thumbgate-board-loop.js +4 -2
- package/scripts/thumbgate-daily-discoveries-publish.js +86 -38
- package/scripts/triage-savings-calculator.js +181 -0
- package/scripts/vector-store.js +41 -2
- package/scripts/vulnerability-pre-action-diode.js +319 -0
- package/scripts/windbg-evidence-diagnostics.js +241 -0
- package/scripts/workflow-intake-queue.js +1 -1
- package/scripts/workspace-agent-routines.js +534 -6
- package/server.json +2 -2
- package/skills/siren-mcp-governance/SKILL.md +50 -0
- package/src/api/server.js +158 -1
- package/src/mcp-writeguard.js +1 -1
- package/src/session-interactivity.js +284 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bolt-forge-opt-in-not-clone
|
|
3
|
+
description: >
|
|
4
|
+
Steal Bolt Forge FORMAT: explicit per-session opt-in, secret strip + seeded
|
|
5
|
+
tests, operator vs research usage split, already-exported is irreversible.
|
|
6
|
+
Do NOT clone Bolt Forge, send traces to Arcee, or claim 50x compute.
|
|
7
|
+
Slash: /bolt-forge-opt-in-not-clone.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Bolt Forge FORMAT — opt-in, don't clone
|
|
11
|
+
|
|
12
|
+
## Goal
|
|
13
|
+
|
|
14
|
+
Produce fail-closed session-export honesty for whom: ThumbGate agents about to
|
|
15
|
+
dump traces/DPO/feedback off-box — so operator/production stays DENY, research
|
|
16
|
+
writes only after per-session opt-in + irreversible ack + secret-redaction
|
|
17
|
+
seeded strip. Local files only.
|
|
18
|
+
|
|
19
|
+
## Constraints
|
|
20
|
+
|
|
21
|
+
| NEVER | ALWAYS |
|
|
22
|
+
| --- | --- |
|
|
23
|
+
| Clone Bolt Forge / upload to Arcee | `npx thumbgate session-export-gate` |
|
|
24
|
+
| Claim 50× compute as ours | Their preview numbers stay theirs |
|
|
25
|
+
| Export operator / PreToolUse / prod receipts | `--lane=research` only |
|
|
26
|
+
| Buried account toggle | `--opt-in-export` every session |
|
|
27
|
+
| Pretend exports can be untrained | `--i-understand-irreversible` |
|
|
28
|
+
| Invent a second SDS | `scripts/secret-redaction.js` + seeded test |
|
|
29
|
+
|
|
30
|
+
## Reference
|
|
31
|
+
|
|
32
|
+
- https://support.bolt.new/account-and-subscription/bolt-forge
|
|
33
|
+
- https://thenewstack.io/bolt-forge-training-data/
|
|
34
|
+
- `scripts/session-export-gate.js`
|
|
35
|
+
- `scripts/secret-redaction.js`
|
|
36
|
+
- `scripts/export-dpo-pairs.js` (research consumer, still gated)
|
|
37
|
+
|
|
38
|
+
## Examples (show, don't tell)
|
|
39
|
+
|
|
40
|
+
Weak: Turn on a global "share traces" flag and POST to a partner.
|
|
41
|
+
|
|
42
|
+
Gold:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
$ npx thumbgate session-export-gate --json --lane=operator
|
|
46
|
+
ok: false operator_lane_deny
|
|
47
|
+
$ npx thumbgate session-export-gate --json --lane=research \
|
|
48
|
+
--opt-in-export --i-understand-irreversible --text='hi' --dest=/tmp/out.txt --apply
|
|
49
|
+
ok: true
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Procedures
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
npx thumbgate session-export-gate --json --lane=operator
|
|
56
|
+
npx thumbgate session-export-gate --json --lane=research --opt-in-export --i-understand-irreversible --input=t.txt --dest=out.txt --apply
|
|
57
|
+
npm run test:session-export-gate
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
1. Classify lane (operator DENY).
|
|
61
|
+
2. Require per-session opt-in + irreversible ack.
|
|
62
|
+
3. Run seeded strip (`api_key=` assignment plant) against `secret-redaction.js`.
|
|
63
|
+
4. Write local file only; append export log.
|
|
64
|
+
5. Refuse `--clone-bolt-forge` and remote dest.
|
|
65
|
+
|
|
66
|
+
## Rubric
|
|
67
|
+
|
|
68
|
+
- operator → `ok=false`
|
|
69
|
+
- research without flags → `ok=false`
|
|
70
|
+
- research + flags + local dest → `ok=true`, secret gone
|
|
71
|
+
- doctor: `npm run test:session-export-gate` PASS
|
|
72
|
+
- evidence: command output in the same turn
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: decisive-step-evaluator
|
|
3
|
+
description: >
|
|
4
|
+
NVIDIA arXiv:2610.10478 decisive-step evaluation: isolate the 1st code edit
|
|
5
|
+
that flips a repository's tests from failing to passing. Score models only on
|
|
6
|
+
this decisive action (Spearman rho = 0.964 vs SWE-bench Verified) rather than
|
|
7
|
+
diluting scores across all exploration steps (rho = 0.915).
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Decisive-Step Evaluation (NVIDIA arXiv:2610.10478 FORMAT Steal)
|
|
11
|
+
|
|
12
|
+
## Goal
|
|
13
|
+
|
|
14
|
+
Apply the empirical finding from *Before They Can Solve: Predicting Post-Training Coding-Agent Performance from Base Models* (NVIDIA Research, arXiv:2610.10478):
|
|
15
|
+
1. Isolate the **Decisive Step** in multi-turn trajectories: the first code edit that flips tests from fail to pass.
|
|
16
|
+
2. Score candidate models only on the decisive action (via Decisive BPB and Patch MCQ contrastive discrimination) rather than averaging across every noisy exploration step.
|
|
17
|
+
3. Select models for agent workflows and post-training based on decisive-step signal ($\rho = 0.964$).
|
|
18
|
+
|
|
19
|
+
## Constraints
|
|
20
|
+
|
|
21
|
+
| NEVER | ALWAYS |
|
|
22
|
+
| :--- | :--- |
|
|
23
|
+
| Score models by averaging across all turns (exploration, `ls`, `grep`) | Isolate the decisive step where test status flipped from fail to pass |
|
|
24
|
+
| Evaluate base models from cold-start multi-step runs (mis-ranks on tool syntax) | Evaluate prefix-conditioned at the decisive step |
|
|
25
|
+
| Accept trajectories without a verified test flip | Reject trajectories that never failed or never passed (`hasDecisiveStep: false`) |
|
|
26
|
+
| Select candidate models based on parameter count alone | Select based on decisive-action discrimination rate ($\ge 60\%$) |
|
|
27
|
+
|
|
28
|
+
## Commands
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
# Doctor status
|
|
32
|
+
npx thumbgate decisive-step --json
|
|
33
|
+
|
|
34
|
+
# Rail map
|
|
35
|
+
npx thumbgate decisive-step --map-only --json
|
|
36
|
+
|
|
37
|
+
# Test suite
|
|
38
|
+
node --test tests/decisive-step.test.js
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Reference
|
|
42
|
+
|
|
43
|
+
- Paper: arXiv:2610.10478 (NVIDIA Research, Oct 2026)
|
|
44
|
+
- Synthesizer: Rohan Paul (@rohanpaul_ai, Oct 12, 2026)
|
|
45
|
+
- Evaluator: `scripts/decisive-step-evaluator.js`
|
|
46
|
+
- Doctor: `scripts/decisive-step-doctor.js`
|
|
47
|
+
- Documentation: `docs/agents/decisive-step-evaluator.md`
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: fiddler-control-plane-honesty
|
|
3
|
+
description: >
|
|
4
|
+
Fiddler AI (fiddler.ai) is an enterprise AI control plane with inline guardrails and Centor models.
|
|
5
|
+
Steal the Evaluation Trust Tax TCO formula, the two-layer control plane (Creation + Production),
|
|
6
|
+
the Centor-Diode multi-stage local discriminant gate (<0.5ms on CPU), and auditable GRC decision traces.
|
|
7
|
+
Never vendor Fiddler SaaS, install Centor weights, or pay $0.002/trace. Slash: /fiddler-control-plane-honesty.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Fiddler AI Control Plane Honesty — Compare, Do Not Clone
|
|
11
|
+
|
|
12
|
+
## Goal
|
|
13
|
+
|
|
14
|
+
Compare Fiddler AI's inline proxy and Centor models against ThumbGate's deterministic PreToolUse L7 infrastructure firewall. Steal their **Evaluation Trust Tax TCO formulation** (proving zero-token savings over cloud LLM judges), their **Two-Layer Control Plane architecture** (Creation layer coding agents + Production layer autonomous daemons), and their **Centor-Diode multi-stage discriminant gate** running in `<0.5ms` on local CPU with zero data egress.
|
|
15
|
+
|
|
16
|
+
## Constraints
|
|
17
|
+
|
|
18
|
+
| NEVER | ALWAYS |
|
|
19
|
+
| --- | --- |
|
|
20
|
+
| Route agent traffic through `fiddler.ai` cloud proxies | Enforce sub-millisecond `PreToolUse` hooks directly inside agent harness |
|
|
21
|
+
| Pay $0.002/trace or sign $50k+ SaaS enterprise contracts | Deliver 100% zero-token local CPU evaluation ($0.00 cost) |
|
|
22
|
+
| Settle for 80ms latency on critical tool paths | Execute multi-stage discriminant checks in under 0.5ms (160x faster) |
|
|
23
|
+
| Treat Fiddler SaaS as a required dependency | Keep all policy rules, lessons, and SHA-256 receipts local and air-gapped |
|
|
24
|
+
|
|
25
|
+
HARD fail closed. REFUSE external cloud dependencies and proprietary model weights.
|
|
26
|
+
|
|
27
|
+
## Reference
|
|
28
|
+
|
|
29
|
+
- https://www.fiddler.ai/ (The Control Plane for Enterprise AI Agents, 2026)
|
|
30
|
+
- `scripts/fiddler-control-plane-honesty.js`
|
|
31
|
+
- `docs/agents/fiddler-control-plane-honesty.md`
|
|
32
|
+
- ThumbGate Completion Claim Contract in `AGENTS.md` / `GEMINI.md`
|
|
33
|
+
|
|
34
|
+
## Examples (Show, Don't Tell)
|
|
35
|
+
|
|
36
|
+
Weak: "Fiddler AI has guardrails and a control plane."
|
|
37
|
+
|
|
38
|
+
Gold:
|
|
39
|
+
```bash
|
|
40
|
+
$ npx thumbgate fiddler-control-plane-honesty --map-only --json
|
|
41
|
+
# Dumps 6-dimension honest comparison matrix between ThumbGate and Fiddler AI.
|
|
42
|
+
|
|
43
|
+
$ npx thumbgate fiddler-control-plane-honesty --tco-calc --monthly-traces=1000000 --json
|
|
44
|
+
# Calculates annual Evaluation Trust Tax dollar savings and 185x latency speedup.
|
|
45
|
+
|
|
46
|
+
$ npx thumbgate fiddler-control-plane-honesty --tool-name=Bash --command="rm -rf /" --json
|
|
47
|
+
# Interdicts destructive command via Centor-Diode in <55 microseconds with SHA-256 receipt.
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Procedures
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
# Verify honest capability matrix
|
|
54
|
+
npx thumbgate fiddler-control-plane-honesty --map-only --json
|
|
55
|
+
|
|
56
|
+
# Run TCO trust tax calculation
|
|
57
|
+
npx thumbgate fiddler-control-plane-honesty --tco-calc --json
|
|
58
|
+
|
|
59
|
+
# Verify test suite
|
|
60
|
+
npm run test:fiddler-control-plane-honesty
|
|
61
|
+
```
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: harness-evolution-ceiling
|
|
3
|
+
description: >
|
|
4
|
+
arXiv:2610.11655 diagnose-then-intervene rail: read failure composition
|
|
5
|
+
(process vs content) to detect when harness evolution hits its ceiling.
|
|
6
|
+
When content failures dominate, switch to weight training (LoRA/distillation)
|
|
7
|
+
or model tier escalation instead of bloating prompts and AGENTS.md rules.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Harness Evolution Ceiling (arXiv:2610.11655 FORMAT Steal)
|
|
11
|
+
|
|
12
|
+
## Goal
|
|
13
|
+
|
|
14
|
+
Apply the empirical law from *Harness Evolution Hits a Ceiling: When Weight Training Should Begin* (arXiv:2610.11655) to agent harnesses, task outcomes, and `omp.sh`:
|
|
15
|
+
1. Label failed agent trajectories by the first signal that fires into **Process Failures** vs **Content Failures**.
|
|
16
|
+
2. Evolve the harness (rules, gates, tool contracts) when process failures are active ($P_f \ge 20\%$).
|
|
17
|
+
3. When process failures drop and content failures dominate ($C_f \ge 80\%$, $P_f \le 20\%$), declare **Harness Ceiling Reached**. Freeze prompt rules and switch the lever to **Weight Training** (LoRA/distillation) or **Model Tier Escalation** (`Route: named` to frontier model).
|
|
18
|
+
4. Partition accepted edits so security controls remain in the runtime harness while formatting/planning templates are isolated for weight adaptation.
|
|
19
|
+
|
|
20
|
+
## Constraints
|
|
21
|
+
|
|
22
|
+
| NEVER | ALWAYS |
|
|
23
|
+
| :--- | :--- |
|
|
24
|
+
| Bloat `AGENTS.md` / prompts with negative rules when failures are content/reasoning gaps | Read failure composition first: classify into process vs content |
|
|
25
|
+
| Claim harness ceiling with $<3$ failures or when process failures are still high ($>20\%$) | Evolve harness (fix tool syntax, gates, loops) while process failures remain |
|
|
26
|
+
| Move security gates, checkout leases, or task-scope fences into model weights | Keep security controls in the runtime harness; train only templates & styles |
|
|
27
|
+
| Use unnamed models (Auto, Fast) when content ceiling is reached | Escalate to named frontier model (`Route: named`) or train LoRA adapter |
|
|
28
|
+
|
|
29
|
+
## Commands
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
# Audit harness ceiling rail status
|
|
33
|
+
npx thumbgate harness-ceiling --json
|
|
34
|
+
|
|
35
|
+
# Rail map
|
|
36
|
+
npx thumbgate harness-ceiling --map-only --json
|
|
37
|
+
|
|
38
|
+
# Dynamic failure composition evaluation
|
|
39
|
+
npx thumbgate harness-ceiling --evaluate --process=0 --content=8 --json
|
|
40
|
+
|
|
41
|
+
# Test suite
|
|
42
|
+
node --test tests/harness-ceiling.test.js
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Reference
|
|
46
|
+
|
|
47
|
+
- Paper: arXiv:2610.11655 (Tian et al., Oct 2026)
|
|
48
|
+
- Doctor: `scripts/harness-ceiling-doctor.js`
|
|
49
|
+
- Task outcomes: `scripts/task-outcomes.js` (`classifyFailureType`)
|
|
50
|
+
- RRSI regularizer: `scripts/rrsi-regularizer.js` (`evaluateHarnessCeiling`, `partitionAcceptedEdits`)
|
|
51
|
+
- omp coordination: `scripts/omp-coordination-honesty.js` (`diagnoseFailureIntervention`)
|
|
52
|
+
- Documentation: `docs/agents/harness-evolution-ceiling.md`
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: omp-coordination-honesty-not-clone
|
|
3
|
+
description: >
|
|
4
|
+
omp.sh is a terminal coding agent, not a ThumbGate runtime. Steal named-model
|
|
5
|
+
routes, /new session preservation, saved handoffs, file-disjoint children, and
|
|
6
|
+
view-only observation onto the checkout lease. Never install omp. Never open
|
|
7
|
+
a full-control collab link. Slash: /omp-coordination-honesty-not-clone.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# omp coordination honesty — compare, do not clone
|
|
11
|
+
|
|
12
|
+
## Goal
|
|
13
|
+
|
|
14
|
+
Fail-closed coordination for whom: agents sharing the ThumbGate checkout —
|
|
15
|
+
so a handoff names the model, keeps the previous session, and gives each
|
|
16
|
+
writer disjoint files. omp stays a neighbor. Orchestra OMP is a different
|
|
17
|
+
system and stays refused.
|
|
18
|
+
|
|
19
|
+
## Constraints
|
|
20
|
+
|
|
21
|
+
| NEVER | ALWAYS |
|
|
22
|
+
| --- | --- |
|
|
23
|
+
| curl the omp installer or install `@oh-my-pi/pi-coding-agent` | `npx thumbgate omp-coordination-honesty --json --map-only` |
|
|
24
|
+
| Model Auto, Fast, default, or balanced | Named id (`grok-4.7` or `provider/model-id`), Fast off |
|
|
25
|
+
| `/clear` when the previous session must stay saved | Session `new` |
|
|
26
|
+
| Agents above one, including omp maxConcurrency 32 | Agents one; the parent integrates |
|
|
27
|
+
| Full-control collab, bearer write token, `wss://my.omp.sh` | View-only observation, host local |
|
|
28
|
+
| Invent a result for an interrupted tool call | Continue completed entries only |
|
|
29
|
+
| Overlapping write paths between owners | Disjoint files; children do not inherit the parent transcript |
|
|
30
|
+
|
|
31
|
+
HARD fail closed. REFUSE the omp binary and any link that can drive the host. Do NOT install omp.
|
|
32
|
+
|
|
33
|
+
## Reference
|
|
34
|
+
|
|
35
|
+
- https://omp.sh/docs/sessions (`/new` vs `/clear`, `/handoff`, crash recovery)
|
|
36
|
+
- https://omp.sh/docs/subagents (no inherited transcript, file-disjoint ownership)
|
|
37
|
+
- https://omp.sh/docs/collab (host authoritative, view-only default)
|
|
38
|
+
- `scripts/omp-coordination-honesty.js`
|
|
39
|
+
- Checkout lease: `scripts/session-lease.js` (incident 2026-08-11)
|
|
40
|
+
|
|
41
|
+
## Examples (show, don't tell)
|
|
42
|
+
|
|
43
|
+
Weak: curl the omp installer, set Model: auto, fan out 32 agents, and share a full-control collab link.
|
|
44
|
+
|
|
45
|
+
Gold:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
$ npx thumbgate omp-coordination-honesty --json --map-only
|
|
49
|
+
ok: true
|
|
50
|
+
$ npx thumbgate omp-coordination-honesty --json --handoff=handoff.md
|
|
51
|
+
ok: true # Model grok-4.7, Session new, Agents one, Install none, Host local
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Handoff header:
|
|
55
|
+
|
|
56
|
+
```text
|
|
57
|
+
Model: grok-4.7
|
|
58
|
+
Route: named
|
|
59
|
+
Fast: off
|
|
60
|
+
Session: new
|
|
61
|
+
Think: off
|
|
62
|
+
Agents: one
|
|
63
|
+
Install: none
|
|
64
|
+
Host: local
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Procedures
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
npx thumbgate omp-coordination-honesty --json --map-only
|
|
71
|
+
npx thumbgate omp-coordination-honesty --json --claim='curl https://omp.sh/install'
|
|
72
|
+
npx thumbgate omp-coordination-honesty --json --handoff=handoff.md
|
|
73
|
+
npm run test:omp-coordination-honesty
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
1. Claim the checkout lease before mutating shared files.
|
|
77
|
+
2. Write state and next into a handoff file. Start a new session so the old one stays saved.
|
|
78
|
+
3. Assign each child disjoint paths. The parent integrates. Do not pass the parent transcript.
|
|
79
|
+
4. If someone watches, they get view-only. Do not open a write link.
|
|
80
|
+
5. Run the doctor on any handoff that mentions omp, a model route, or a second writer.
|
|
81
|
+
|
|
82
|
+
## Rubric
|
|
83
|
+
|
|
84
|
+
- `--map-only` → `ok=true`
|
|
85
|
+
- installer, `@oh-my-pi/pi-coding-agent`, Auto, or Fast → fail
|
|
86
|
+
- agents above one → fail
|
|
87
|
+
- full-control collab or `wss://my.omp.sh` → fail
|
|
88
|
+
- overlapping owner paths → fail
|
|
89
|
+
- interrupted tool entry with a result → fail
|
|
90
|
+
- `/clear` on a handoff → fail
|
|
91
|
+
- named model, session new, disjoint writes, view-only → pass
|
|
92
|
+
- reading `https://omp.sh/docs/sessions` → pass
|
|
93
|
+
- doctor tests PASS
|
|
94
|
+
- evidence: `--json` in the same turn
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: saas-moat-honesty-not-clone
|
|
3
|
+
description: Audit ThumbGate against Rob Walling's 8 SaaS moats, enforce Ed25519 signed entitlements on learned models and exporters, and aggregate anonymized cross-customer gate signatures without leaking raw transcripts.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# SaaS Moat & Seat-Compression Honesty (Walling 2026 FORMAT)
|
|
7
|
+
|
|
8
|
+
Use this skill when evaluating SaaS defensibility, entitlement boundaries (`scripts/entitlement.js`, `scripts/license.js`), seat-compression pricing, or cross-customer rule learning (`scripts/saas-moat-honesty.js`).
|
|
9
|
+
|
|
10
|
+
## Non-Negotiable Rules
|
|
11
|
+
|
|
12
|
+
1. **No Closed-Source Theater (`MOAT.md`):** Never claim `ThumbGate-Core` holds secret code when 212/216 scripts ship in `npm pack thumbgate`. Defensibility comes from Agency (`PreToolUse` `<5ms` interdiction), Operational Grit (7-CLI adapter matrix), System of Record (tamper-evident ledgers), and the Ed25519-gated Learning Loop.
|
|
13
|
+
2. **Enforce Ed25519 Entitlements on Crown Jewels:** Keep the 5 learned models (`risk-scorer.js`, `bayes-optimal-gate.js`, `thompson-sampling.js`, `agent-reward-model.js`, `intervention-policy.js`) and 3 exporters (`export-dpo-pairs.js`, `export-hf-dataset.js`, `export-databricks-bundle.js`) gated behind `scripts/entitlement.js`. Forged `tg_pro_...` prefix keys must fail when `THUMBGATE_ENFORCE_ENTITLEMENTS=1`.
|
|
14
|
+
3. **Cross-Customer Signatures Without Raw Transcript Leakage:** Use `distillCrossCustomerSignature()` and `aggregateCrossCustomerLoop()` to aggregate secret-redacted, path-normalized SHA-256 structural rule signatures across orgs (`uniqueOrgs >= 2`, `occurrenceCount >= 3`). Never exfiltrate raw transcripts or unredacted secrets.
|
|
15
|
+
|
|
16
|
+
## Commands
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npx thumbgate saas-moat-honesty --json
|
|
20
|
+
npx thumbgate saas-moat-honesty --map-only --json
|
|
21
|
+
node --test tests/saas-moat-honesty.test.js tests/license.test.js tests/entitlement.test.js
|
|
22
|
+
```
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: siren-mcp-governance
|
|
3
|
+
description: >
|
|
4
|
+
Siren MCP Marketing Diode & Autonomous Campaign Governance. Enforce pre-action
|
|
5
|
+
review diodes on post_run, 300s buffer guards on schedule_post, $500 daily budget
|
|
6
|
+
ceilings on create_campaign, brand safety scanning, and partner link attribution
|
|
7
|
+
("Video made with Siren" -> https://mysiren.ai). Slash: /siren-mcp-governance.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Siren MCP Marketing Diode & Campaign Governance
|
|
11
|
+
|
|
12
|
+
## Goal
|
|
13
|
+
|
|
14
|
+
Govern autonomous marketing agents utilizing Siren MCP tools (`post_run`, `schedule_post`, `create_campaign`), preventing unreviewed live broadcasts, invalid scheduling windows, ad budget overruns, brand reputation damage, and attribution violations before social tools execute.
|
|
15
|
+
|
|
16
|
+
## Constraints
|
|
17
|
+
|
|
18
|
+
| NEVER | ALWAYS |
|
|
19
|
+
| --- | --- |
|
|
20
|
+
| Allow unreviewed autonomous `post_run` directly to production social channels | Require `dry_run: true` or verified human approval token before broadcast |
|
|
21
|
+
| Schedule posts with less than 300 seconds safety buffer | Block `schedule_post` calls if delta < 300s to ensure human cancellation window |
|
|
22
|
+
| Create unbudgeted ad campaigns or exceed $500 ceiling | Require explicit executive override for campaigns exceeding daily ceilings |
|
|
23
|
+
| Strip or omit required attribution on Siren-generated videos | Enforce "Video made with Siren" / https://mysiren.ai link attribution |
|
|
24
|
+
| Permit predatory guarantees ("100% profit risk-free") or leaked tokens | Hard `block` on brand safety violations |
|
|
25
|
+
| Clone Siren SaaS or vendor their private video rendering pipeline | Steal the pre-action diode FORMAT onto ThumbGate PreToolUse rails |
|
|
26
|
+
|
|
27
|
+
HARD fail closed. REFUSE unreviewed immediate broadcasts.
|
|
28
|
+
|
|
29
|
+
## Reference
|
|
30
|
+
|
|
31
|
+
- https://github.com/Hexahedral-Inc/siren-mcp
|
|
32
|
+
- `scripts/siren-mcp-governance.js`
|
|
33
|
+
- `docs/agents/siren-mcp-governance.md`
|
|
34
|
+
- `tests/siren-mcp-governance.test.js`
|
|
35
|
+
|
|
36
|
+
## Procedures
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
# Display FORMAT mapping table
|
|
40
|
+
npx thumbgate siren-mcp-governance --map-only
|
|
41
|
+
|
|
42
|
+
# Emit machine-readable format mapping
|
|
43
|
+
npx thumbgate siren-mcp-governance --map-only --json
|
|
44
|
+
|
|
45
|
+
# Evaluate tool call before dispatch
|
|
46
|
+
npx thumbgate siren-mcp-governance --tool=post_run --args='{"content":"Launch day! Video made with Siren","dry_run":true}'
|
|
47
|
+
|
|
48
|
+
# Verify with automated unit tests
|
|
49
|
+
npm run test:siren-mcp
|
|
50
|
+
```
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: vs-coverage-gap-not-clone
|
|
3
|
+
description: >
|
|
4
|
+
Steal VS "Today I will improve test coverage" FORMAT: baseline gaps, skip
|
|
5
|
+
no-behavior files, remeasure the same scope. Do NOT clone Test Agent or
|
|
6
|
+
Copilot @test #solution. Do NOT claim 100% coverage. Slash: /vs-coverage-gap-not-clone.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# VS coverage FORMAT — gaps, not 100%
|
|
10
|
+
|
|
11
|
+
## Goal
|
|
12
|
+
|
|
13
|
+
Produce fail-closed coverage honesty for whom: ThumbGate agents about to write
|
|
14
|
+
tests — so they baseline gaps in one scope, skip enums/re-exports, and remeasure
|
|
15
|
+
that same scope. Never 100%. Never Copilot Test Agent.
|
|
16
|
+
|
|
17
|
+
## Constraints
|
|
18
|
+
|
|
19
|
+
| NEVER | ALWAYS |
|
|
20
|
+
| --- | --- |
|
|
21
|
+
| Clone Test Agent / `@test #solution` | `npx thumbgate coverage-gap` |
|
|
22
|
+
| `cov-fail-under=100` / claim 100% | Floor (default 50) on **behavioral** files |
|
|
23
|
+
| Tests for enums, re-exports, constants-only | Skip `noBehavior` kinds |
|
|
24
|
+
| Remeasure a different directory | Same `--scope` before and after |
|
|
25
|
+
| Dual-edit `scripts/test-coverage.js` runner | Feature-detect include/exclude stays there |
|
|
26
|
+
|
|
27
|
+
## Reference
|
|
28
|
+
|
|
29
|
+
- https://devblogs.microsoft.com/visualstudio/today-i-will-improve-test-coverage/
|
|
30
|
+
- `scripts/coverage-gap.js`
|
|
31
|
+
- `scripts/test-coverage.js` (Node `--experimental-test-coverage` + feature-detect)
|
|
32
|
+
- `/high-roi-steal-and-finish`
|
|
33
|
+
|
|
34
|
+
## Examples (show, don't tell)
|
|
35
|
+
|
|
36
|
+
Weak: Run Copilot Test Agent on the whole repo and claim 81% → 100%.
|
|
37
|
+
|
|
38
|
+
Gold:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
$ npx thumbgate coverage-gap --json --coverage=tests/fixtures/coverage-gap-before.json --scope=scripts/risk --floor=50
|
|
42
|
+
gaps: scripts/risk/decide.js 20%
|
|
43
|
+
skipped: scripts/risk/enums.js
|
|
44
|
+
$ npx thumbgate coverage-gap --json --before=...before.json --after=...after.json --scope=scripts/risk
|
|
45
|
+
ok: true
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Procedures
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
npx thumbgate coverage-gap --json --coverage=<fixture.json> --scope=scripts/<area> --floor=50
|
|
52
|
+
npx thumbgate coverage-gap --json --before=<a> --after=<b> --scope=scripts/<area>
|
|
53
|
+
npm run test:coverage-gap
|
|
54
|
+
npm run test:coverage # existing runner; feature-detects include/exclude
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
1. Baseline the scoped files.
|
|
58
|
+
2. Skip no-behavior.
|
|
59
|
+
3. Write tests only for gap files.
|
|
60
|
+
4. Remeasure **the same scope**.
|
|
61
|
+
5. Refuse `--clone-test-agent` and `--claim-100`.
|
|
62
|
+
|
|
63
|
+
## Rubric
|
|
64
|
+
|
|
65
|
+
- gold compare same scope → `ok=true`
|
|
66
|
+
- `--claim-100` / `@test #solution` → `ok=false`
|
|
67
|
+
- enum-only files are skipped, not gaps
|
|
68
|
+
- doctor: `npm run test:coverage-gap` PASS
|
|
69
|
+
- evidence: command output in the same turn
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: wisdom-context-artifact-not-clone
|
|
3
|
+
description: >
|
|
4
|
+
Steal Wisdom.ai / Soham Mazumdar episode FORMAT: context as a reusable agent
|
|
5
|
+
artifact (goal, constraints, sources, freshness, verifier), plus an explicit
|
|
6
|
+
wrong-fit gate. Do NOT clone ACE, Foundry, or Snowflake OSI. Slash:
|
|
7
|
+
/wisdom-context-artifact-not-clone.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Wisdom.ai FORMAT — artifact, not SKU
|
|
11
|
+
|
|
12
|
+
## Goal
|
|
13
|
+
|
|
14
|
+
Produce fail-closed agent-context packs for whom: ThumbGate agents assembling
|
|
15
|
+
lessons/RAG — so context is a reusable artifact (goal, constraints, sources,
|
|
16
|
+
freshness, verifier), consumer is `agent`, and wrongFit includes `wisdom_ai`.
|
|
17
|
+
|
|
18
|
+
## Constraints
|
|
19
|
+
|
|
20
|
+
| NEVER | ALWAYS |
|
|
21
|
+
| --- | --- |
|
|
22
|
+
| Clone Adaptive Context Engine / Foundry / OSI | `npx thumbgate agent-context-artifact --pack=` |
|
|
23
|
+
| consumer=human / analyst warehouse packs | `consumer: "agent"` |
|
|
24
|
+
| Tribal knowledge as "the context" | Tangible JSON artifact |
|
|
25
|
+
| Omit freshness or verifier | Checkable asOf + runnable verifier |
|
|
26
|
+
| Skip the wrong-fit question | `wrongFit` includes `wisdom_ai` |
|
|
27
|
+
| Dual-edit six-block auditor / ContextFS | Complement, don't replace |
|
|
28
|
+
|
|
29
|
+
## Reference
|
|
30
|
+
|
|
31
|
+
- https://www.wisdom.ai/
|
|
32
|
+
- https://music.youtube.com/watch?v=lRuI0imju0Y
|
|
33
|
+
- `scripts/agent-context-artifact.js`
|
|
34
|
+
- `/context-vault-six-blocks` · `/cobble-hot-store-compare-not-clone`
|
|
35
|
+
|
|
36
|
+
## Examples (show, don't tell)
|
|
37
|
+
|
|
38
|
+
Weak: "The semantic layer is in the warehouse; agents will figure it out."
|
|
39
|
+
|
|
40
|
+
Gold:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
$ npx thumbgate agent-context-artifact --json --pack=tests/fixtures/agent-context-artifact-gold.json --now=2026-09-16T13:00:00Z
|
|
44
|
+
ok: true consumer=agent wrongFit includes wisdom_ai
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Procedures
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
npx thumbgate agent-context-artifact --json --pack=<pack.json>
|
|
51
|
+
npx thumbgate agent-context-artifact --clone-ace --json
|
|
52
|
+
npm run test:agent-context-artifact
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
1. Require consumer=agent.
|
|
56
|
+
2. Require goal, constraints, sources, freshness, verifier.
|
|
57
|
+
3. Fail stale asOf vs maxAgeHours.
|
|
58
|
+
4. Require wrongFit includes wisdom_ai.
|
|
59
|
+
5. Refuse ACE/Foundry/OSI clones.
|
|
60
|
+
|
|
61
|
+
## Rubric
|
|
62
|
+
|
|
63
|
+
- gold pack → `ok=true`
|
|
64
|
+
- human fixture → `ok=false`
|
|
65
|
+
- `--clone-ace` → `wisdom_clone_refused`
|
|
66
|
+
- doctor: `npm run test:agent-context-artifact` PASS
|
|
67
|
+
- evidence: command output in the same turn
|
|
@@ -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.
|
|
4
|
+
"version": "1.39.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Igor Ganapolsky",
|
|
7
7
|
"email": "ig5973700@gmail.com",
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"mcpServers": {
|
|
3
3
|
"thumbgate": {
|
|
4
4
|
"command": "npx",
|
|
5
|
-
"args": ["--yes", "--package", "thumbgate@1.
|
|
5
|
+
"args": ["--yes", "--package", "thumbgate@1.39.0", "thumbgate", "serve"]
|
|
6
6
|
}
|
|
7
7
|
},
|
|
8
8
|
"hooks": {
|
|
9
9
|
"preToolUse": {
|
|
10
10
|
"command": "npx",
|
|
11
|
-
"args": ["--yes", "--package", "thumbgate@1.
|
|
11
|
+
"args": ["--yes", "--package", "thumbgate@1.39.0", "thumbgate", "gate-check"]
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -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.
|
|
12
|
+
command: "npx --yes --package thumbgate@1.39.0 thumbgate gate-check"
|
|
13
13
|
trigger: pre_tool_use
|
|
14
14
|
|
|
15
15
|
thumbgate-feedback:
|
|
16
16
|
description: "ThumbGate feedback capture — logs user prompt context"
|
|
17
|
-
command: "npx --yes --package thumbgate@1.
|
|
17
|
+
command: "npx --yes --package thumbgate@1.39.0 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.
|
|
26
|
+
- "thumbgate@1.39.0"
|
|
27
27
|
- "thumbgate"
|
|
28
28
|
- "serve"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[plugin]
|
|
2
2
|
id = "thumbgate-approvals"
|
|
3
3
|
name = "ThumbGate Approvals"
|
|
4
|
-
version = "1.
|
|
4
|
+
version = "1.39.0"
|
|
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.
|
|
15
|
+
args = ["--yes", "--package", "thumbgate@1.39.0", "thumbgate", "serve"]
|
|
16
16
|
|
|
17
17
|
[mcp_server.env]
|
|
18
18
|
THUMBGATE_ENFORCE_ENTITLEMENTS = "1"
|