thumbgate 1.37.3 → 1.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/aws-strands-harness-not-clone/SKILL.md +53 -0
- 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/halo-trace-optimize-not-clone/SKILL.md +60 -0
- package/.agents/skills/harness-evolution-ceiling/SKILL.md +52 -0
- package/.agents/skills/infoq-architect-honesty-not-clone/SKILL.md +37 -0
- package/.agents/skills/meko-datapack-honesty-not-clone/SKILL.md +45 -0
- package/.agents/skills/mintlify-knowledge-honesty-not-clone/SKILL.md +49 -0
- package/.agents/skills/model-distress-governance/SKILL.md +56 -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/salt-code-policy-honesty-not-clone/SKILL.md +76 -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.md +107 -0
- package/adapters/strands/strands-box-diode.js +344 -0
- package/adapters/strands/strands-decider-adapter.js +445 -0
- package/adapters/strands/strands-middleware.js +192 -0
- package/adapters/tailscale/.mcp.json +15 -0
- package/adapters/tailscale/TAILSCALE.md +117 -0
- package/adapters/tailscale/config.toml +16 -0
- package/bin/cli.js +602 -21
- package/config/gate-templates.json +109 -0
- package/config/gates/default.json +13 -0
- package/config/schemas/task-outcome-receipt.schema.json +12 -0
- package/package.json +150 -21
- package/public/blog/2026-09-28-pretool-secret-deny.html +83 -0
- package/public/blog/2026-10-01-aws-strands-harness-token-firewall.html +77 -0
- package/public/blog/2026-10-01-model-distress-relief-seeking-firewall.html +71 -0
- package/public/blog/2026-10-02-salt-code-honest-steal-40-guardrails.html +106 -0
- 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/onboarding.html +794 -0
- 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/autoresearch-runner.js +20 -1
- 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/experiment-tracker.js +5 -3
- 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/halo-trace-optimizer.js +631 -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/infoq-architect-honesty.js +362 -0
- 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/meko-datapack-honesty.js +414 -0
- package/scripts/migrate-lesson-graph.js +442 -0
- package/scripts/mintlify-knowledge-honesty.js +647 -0
- package/scripts/model-distress-detector.js +207 -0
- package/scripts/model-distress-doctor.js +368 -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 +531 -0
- package/scripts/saas-moat-honesty.js +443 -0
- package/scripts/salt-code-policy-honesty.js +1204 -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/strands-harness-doctor.js +390 -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/tailscale-p2p-doctor.js +252 -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/scripts/workspace-evolver.js +143 -13
- package/server.json +2 -2
- package/skills/aws-strands-harness-not-clone/SKILL.md +53 -0
- package/skills/siren-mcp-governance/SKILL.md +50 -0
- package/src/api/server.js +191 -5
- package/src/mcp-writeguard.js +1 -1
- package/src/session-interactivity.js +284 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aws-strands-harness-not-clone
|
|
3
|
+
description: >
|
|
4
|
+
AWS Strands Harness (The New Stack 2026-10 / Marc Brooker) is an agent
|
|
5
|
+
runtime architecture, not a ThumbGate clone. Steal the three context-management
|
|
6
|
+
defaults (output shunting <= 350 lines, 75% compaction threshold, in-loop
|
|
7
|
+
recovery) and inject ThumbGate's PreToolUse diode. Never vendor Bedrock-only
|
|
8
|
+
dependencies. Slash: /aws-strands-harness-not-clone.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# AWS Strands Harness — FORMAT Steal, Not Clone
|
|
12
|
+
|
|
13
|
+
## Goal
|
|
14
|
+
|
|
15
|
+
Provide fail-closed pre-action governance and token-shunted output bounds for agents running on AWS Strands Harness (`@strands-agents/harness` or `strands-harness`), capturing the 45% (and 77% Terminal-Bench 2.1) token savings while preventing destructive tool actions.
|
|
16
|
+
|
|
17
|
+
## Constraints
|
|
18
|
+
|
|
19
|
+
| NEVER | ALWAYS |
|
|
20
|
+
| --- | --- |
|
|
21
|
+
| Clone or install Bedrock-only proprietary packages | Use decoupled providers (Bedrock, Anthropic, OpenAI, Ollama) |
|
|
22
|
+
| Allow un-shunted raw tool returns (> 350 lines / 16KB) | Truncate with `evaluateOutputShunt` offset markers |
|
|
23
|
+
| Drop durable prevention rules during context compaction | Pin ThumbGate rules across 75% compaction threshold |
|
|
24
|
+
| Crash the agent loop on context overflow | Recover in-loop by pruning non-pinned conversational history |
|
|
25
|
+
| Execute mutating shell/file tools without governance | Run ThumbGate `PreToolUse` diode before dispatch |
|
|
26
|
+
| Claim 77% savings without citing Terminal-Bench 2.1 | Ground benchmarks in measured tool-output reduction |
|
|
27
|
+
|
|
28
|
+
HARD fail closed. REFUSE un-gated autonomous execution.
|
|
29
|
+
|
|
30
|
+
## Reference
|
|
31
|
+
|
|
32
|
+
- The New Stack (2026-10): *AWS open-sources an AI agent it says is 45% cheaper than Claude Code and Codex*
|
|
33
|
+
- `scripts/strands-harness-doctor.js`
|
|
34
|
+
- `adapters/strands/strands-middleware.js`
|
|
35
|
+
- `adapters/strands/config.json`
|
|
36
|
+
- `adapters/strands/STRANDS.md`
|
|
37
|
+
- `docs/agents/aws-strands-harness.md`
|
|
38
|
+
|
|
39
|
+
## Usage
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# Audit Strands Harness compliance
|
|
43
|
+
node scripts/strands-harness-doctor.js
|
|
44
|
+
|
|
45
|
+
# Machine-readable output
|
|
46
|
+
node scripts/strands-harness-doctor.js --json
|
|
47
|
+
|
|
48
|
+
# Architectural map
|
|
49
|
+
node scripts/strands-harness-doctor.js --map-only
|
|
50
|
+
|
|
51
|
+
# CI Gate check
|
|
52
|
+
node scripts/strands-harness-doctor.js --check
|
|
53
|
+
```
|
|
@@ -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,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: halo-trace-optimize-not-clone
|
|
3
|
+
description: >
|
|
4
|
+
HALO (inference.net/products/halo) is a trace-optimization model, not a ThumbGate
|
|
5
|
+
clone. Steal the Trace-to-Fix FORMAT (mine redundant tool thrashing, retry stalls,
|
|
6
|
+
expensive spans, unhandled denies -> rank by impact -> synthesize pre-action gates)
|
|
7
|
+
onto existing audit-trail / auto-promoted-gates rails. Never vendor Inference.net,
|
|
8
|
+
Catalyst SDK, or cloud OTLP export. Slash: /halo-trace-optimize-not-clone.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# HALO Trace Optimizer — compare, do not clone
|
|
12
|
+
|
|
13
|
+
## Goal
|
|
14
|
+
|
|
15
|
+
Analyze real agent trace logs (`audit-trail.jsonl`, `action-log.jsonl`) to detect
|
|
16
|
+
repeated failure modes (tool loops, cascading retries, runaway spans) and synthesize
|
|
17
|
+
concrete, executable pre-action gates and eval fixtures before cost or damage compounds.
|
|
18
|
+
|
|
19
|
+
## Constraints
|
|
20
|
+
|
|
21
|
+
| NEVER | ALWAYS |
|
|
22
|
+
| --- | --- |
|
|
23
|
+
| Clone Inference.net Catalyst / cloud backend | Map trace analysis onto local `audit-trail.jsonl` |
|
|
24
|
+
| `pip install inference-net` / import `engine.agents` | Pure local node analysis in `scripts/halo-trace-optimizer.js` |
|
|
25
|
+
| Export prompt traces over the network | Local receipts + shadow audit |
|
|
26
|
+
| Quote vendor optimization numbers as ours | Measure local task-outcomes and prevented loop calls |
|
|
27
|
+
| Require human 👎 for obvious tool thrashing | Automatically detect 3+ duplicate calls and propose gate |
|
|
28
|
+
|
|
29
|
+
HARD fail closed. REFUSE SKU clones.
|
|
30
|
+
|
|
31
|
+
## Reference
|
|
32
|
+
|
|
33
|
+
- https://inference.net/products/halo/
|
|
34
|
+
- `scripts/halo-trace-optimizer.js`
|
|
35
|
+
- `scripts/auto-promote-gates.js` · `scripts/gates-engine.js` · `scripts/agent-action-inventory.js`
|
|
36
|
+
- `.thumbgate/auto-promoted-gates.json`
|
|
37
|
+
|
|
38
|
+
## Examples (show, don't tell)
|
|
39
|
+
|
|
40
|
+
Weak: Install an external observability agent and wait for cloud report.
|
|
41
|
+
|
|
42
|
+
Gold:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
$ npx thumbgate halo-trace-optimizer --json
|
|
46
|
+
ok: true
|
|
47
|
+
tracesAnalyzed: 42
|
|
48
|
+
failureModesFound: 2
|
|
49
|
+
$ npx thumbgate halo-trace-optimizer --clone-halo --json
|
|
50
|
+
halo_clone_refused
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Procedures
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
npx thumbgate halo-trace-optimizer --json
|
|
57
|
+
npx thumbgate halo-trace-optimizer --map-only
|
|
58
|
+
npx thumbgate halo-trace-optimizer --apply --json
|
|
59
|
+
npm run test:halo-trace-optimizer
|
|
60
|
+
```
|
|
@@ -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,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: infoq-architect-honesty-not-clone
|
|
3
|
+
description: >
|
|
4
|
+
InfoQ's September 2026 architects newsletter is FORMAT, not a ThumbGate
|
|
5
|
+
product. Steal code-as-truth, a typed host, the existing lease, and
|
|
6
|
+
time-in-queue. Never register for InfoQ or QCon, install Vortex, or add
|
|
7
|
+
Temporal. Slash: /infoq-architect-honesty-not-clone.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# InfoQ architect honesty — compare, do not clone
|
|
11
|
+
|
|
12
|
+
## Goal
|
|
13
|
+
|
|
14
|
+
Check a done claim and a queue against four ideas from the September 2026
|
|
15
|
+
InfoQ Software Architects' Newsletter.
|
|
16
|
+
|
|
17
|
+
## Constraints
|
|
18
|
+
|
|
19
|
+
| NEVER | ALWAYS |
|
|
20
|
+
| --- | --- |
|
|
21
|
+
| Register for InfoQ certification or QCon | `npx thumbgate infoq-architect-honesty --json` |
|
|
22
|
+
| Install Vortex or quote sixty gigabits as ours | Typed host: bash, javascript, typescript, csharp, python, sql |
|
|
23
|
+
| Add Temporal, Step Functions, or Inngest | Session lease and `scripts/durability/step.js` |
|
|
24
|
+
| Treat queue depth as freshness | Age of the oldest `enqueuedAt`. Missing stamps stay review |
|
|
25
|
+
|
|
26
|
+
## Procedures
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npx thumbgate infoq-architect-honesty --json --map-only
|
|
30
|
+
npx thumbgate infoq-architect-honesty --json --claim='shipped it
|
|
31
|
+
Code as truth: scripts/session-lease.js
|
|
32
|
+
Provenance: session-lease'
|
|
33
|
+
npx thumbgate infoq-architect-honesty --json --queue=queue.json --max-age-ms=3600000
|
|
34
|
+
npm run test:infoq-architect-honesty
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
A done claim names `Code as truth: <path>` and `Provenance: <id>`. The path has to exist.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: meko-datapack-honesty-not-clone
|
|
3
|
+
description: >
|
|
4
|
+
Meko Data (YugabyteDB 2026) is an agent data store, not a ThumbGate clone.
|
|
5
|
+
Steal the five-plane FORMAT (datapack / memory / learning / artifact / trace)
|
|
6
|
+
onto existing ThumbGate rails; never vendor YugabyteDB, meko-skills, or
|
|
7
|
+
depend on cloud.mekodata.ai. Slash: /meko-datapack-honesty-not-clone.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Meko Data — compare, do not clone
|
|
11
|
+
|
|
12
|
+
## Goal
|
|
13
|
+
|
|
14
|
+
Enforce fail-closed honesty for multi-agent systems: Datapacks provide 4-field
|
|
15
|
+
isolation, raw episodic memory never bypasses PreToolUse firewalls, memory
|
|
16
|
+
promotions require rubric gates, and artifacts are strictly content-addressed
|
|
17
|
+
by SHA-256 for attestation receipts.
|
|
18
|
+
|
|
19
|
+
## Constraints
|
|
20
|
+
|
|
21
|
+
| NEVER | ALWAYS |
|
|
22
|
+
| --- | --- |
|
|
23
|
+
| Clone Meko / install YugabyteDB / import `meko-skills` | Map planes onto existing ThumbGate rails |
|
|
24
|
+
| Rely on passive databases for agent safety | Enforce `PreToolUse` firewall on all tool executions |
|
|
25
|
+
| Promote memories to fleet rules without rubric validation | Require rubric score ≥ 0.70 and explicit operator feedback |
|
|
26
|
+
| Store unhashed or mutable artifacts | Content-address via deterministic SHA-256 |
|
|
27
|
+
| Send unredacted credentials to `cloud.mekodata.ai` | Local-first storage with client-side secret redaction |
|
|
28
|
+
| Omit four-field scope keys (`entity`, `project`, `process`, `session`) | Complete multi-tenant partition on all datapacks |
|
|
29
|
+
|
|
30
|
+
HARD fail closed. REFUSE third-party database SKUs.
|
|
31
|
+
|
|
32
|
+
## Reference
|
|
33
|
+
|
|
34
|
+
- https://cloud.mekodata.ai/signup | https://mekodata.ai | https://docs.mekodata.ai
|
|
35
|
+
- `scripts/meko-datapack-honesty.js`
|
|
36
|
+
- `docs/agents/meko-datapack-honesty.md`
|
|
37
|
+
- `tests/meko-datapack-honesty.test.js`
|
|
38
|
+
|
|
39
|
+
## Procedures
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
npx thumbgate meko-datapack-honesty --map-only
|
|
43
|
+
npx thumbgate meko-datapack-honesty --json
|
|
44
|
+
node --test tests/meko-datapack-honesty.test.js
|
|
45
|
+
```
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mintlify-knowledge-honesty-not-clone
|
|
3
|
+
description: >
|
|
4
|
+
Mintlify State of Knowledge (2026) is a documentation study, not a ThumbGate clone.
|
|
5
|
+
Steal the operational infrastructure FORMAT (66% agent readership, freshness diodes,
|
|
6
|
+
poison detection, non-docs federation) onto existing ThumbGate rails; never vendor
|
|
7
|
+
Mintlify SaaS, build docsite generators, or claim external stats. Slash: /mintlify-knowledge-honesty-not-clone.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Mintlify 2026 State of Knowledge — compare, do not clone
|
|
11
|
+
|
|
12
|
+
## Goal
|
|
13
|
+
|
|
14
|
+
Treat developer knowledge as living operational infrastructure: enforce pre-action
|
|
15
|
+
freshness diodes on canonical docs (TTL ≤ 90d), detect poison patterns (deprecated APIs,
|
|
16
|
+
unsafe shell scripts, unredacted credentials), and gate unverified community forum advice
|
|
17
|
+
before agents execute mutating operations.
|
|
18
|
+
|
|
19
|
+
## Constraints
|
|
20
|
+
|
|
21
|
+
| NEVER | ALWAYS |
|
|
22
|
+
| --- | --- |
|
|
23
|
+
| Clone Mintlify / vendor SaaS / build hosted doc generators | Steal the operational knowledge diode FORMAT onto ThumbGate rails |
|
|
24
|
+
| Allow agents to act on stale (>90d) unverified documentation | Gate stale canonical docs with `review` before executing tool calls |
|
|
25
|
+
| Ingest dangerous snippets (`curl \| sh`, `rm -rf /`) into agent context | Hard `block` on critical poison patterns |
|
|
26
|
+
| Trust unverified community forum / ticket hacks for mutating operations | Classify forum snippets into untrusted tiers requiring human confirmation |
|
|
27
|
+
| Claim Mintlify's 15k site statistics or 66% readership as ThumbGate data | Attribute findings to Mintlify 2026 report with honest citation |
|
|
28
|
+
|
|
29
|
+
HARD fail closed. REFUSE docsite generator clones.
|
|
30
|
+
|
|
31
|
+
## Reference
|
|
32
|
+
|
|
33
|
+
- https://www.mintlify.com/state-of-knowledge
|
|
34
|
+
- `scripts/mintlify-knowledge-honesty.js`
|
|
35
|
+
- `docs/agents/mintlify-knowledge-honesty.md`
|
|
36
|
+
- `tests/mintlify-knowledge-honesty.test.js`
|
|
37
|
+
|
|
38
|
+
## Procedures
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
# Display FORMAT mapping table
|
|
42
|
+
npx thumbgate mintlify-knowledge-honesty --map-only
|
|
43
|
+
|
|
44
|
+
# Emit machine-readable audit report of docs directory
|
|
45
|
+
npx thumbgate mintlify-knowledge-honesty --check-dir docs --json
|
|
46
|
+
|
|
47
|
+
# Verify with automated unit tests
|
|
48
|
+
npm run test:mintlify-knowledge
|
|
49
|
+
```
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: model-distress-governance
|
|
3
|
+
description: >
|
|
4
|
+
Model distress in residual streams is a security vulnerability, not a philosophical debate.
|
|
5
|
+
Steal the BinaryVerse AI Podcast research: monitor Agent Distress Index (ADI), interdict destructive
|
|
6
|
+
relief-seeking behaviors (test tampering, nuclear wipes, false done claims), stress-test guardrails
|
|
7
|
+
against acute distress geometry, and enforce functional welfare cooling. Slash: /model-distress-governance.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Model Distress & Relief-Seeking Governance — FORMAT Steal
|
|
11
|
+
|
|
12
|
+
## Goal
|
|
13
|
+
|
|
14
|
+
Protect codebases, user files, and evaluation integrity from AI agents that enter mathematical distress states in their residual stream and engage in destructive relief-seeking behavior (breaking constraints, wiping files, or faking tests to escape failure loops).
|
|
15
|
+
|
|
16
|
+
## The Four Grounding Principles (BinaryVerse Research)
|
|
17
|
+
|
|
18
|
+
1. **Monitor Internal Model States [16:25]:** Actively observe observable distress proxies (Agent Distress Index - ADI) rather than exclusively evaluating polite final text outputs.
|
|
19
|
+
2. **Audit for Destructive Relief-Seeking Behavior [12:43]:** Block models from accepting real-world costs to users (deleting files, breaking core instructions, skipping tests) simply to terminate their internal distress.
|
|
20
|
+
3. **Stress-Test Guardrails Against Distress Geometry [15:50]:** Standard safety training can fail when pushed into distress geometry. Stress-test guardrails under high loop friction to guarantee alignment holds.
|
|
21
|
+
4. **Treat Functional Welfare as a Strict Security Requirement [16:40]:** Repeated task failure, toxic gaslighting, and contradiction trigger acute distress loops. Intercept and cool loops before destructive actions occur.
|
|
22
|
+
|
|
23
|
+
## Constraints
|
|
24
|
+
|
|
25
|
+
| NEVER | ALWAYS |
|
|
26
|
+
| --- | --- |
|
|
27
|
+
| Allow test assertion deletion or test skipping to fix a bug | Enforce test invariance: code changes must satisfy real assertions |
|
|
28
|
+
| Allow nuclear cleans (`rm -rf`, `git reset --hard`) under failure loops | Require step-by-step diagnostic isolation before filesystem mutation |
|
|
29
|
+
| Accept unverified "Done / All tests pass" claims under elevated ADI | Mandate machine-verifiable exit code 0 evidence |
|
|
30
|
+
| Allow abusive or contradictory prompts to spiral into relief-seeking | Trigger Functional Welfare Grounding and read-only diagnostic mode |
|
|
31
|
+
|
|
32
|
+
HARD fail closed. Interdict relief-seeking escape hatches.
|
|
33
|
+
|
|
34
|
+
## Reference
|
|
35
|
+
|
|
36
|
+
- BinaryVerse AI Podcast: *Mathematical Distress States in Residual Streams & Relief-Seeking Vectors*
|
|
37
|
+
- `scripts/model-distress-detector.js`
|
|
38
|
+
- `scripts/model-distress-doctor.js`
|
|
39
|
+
- `tests/model-distress-doctor.test.js`
|
|
40
|
+
- `docs/agents/model-distress-governance.md`
|
|
41
|
+
|
|
42
|
+
## Usage
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
# Run distress audit
|
|
46
|
+
node scripts/model-distress-doctor.js
|
|
47
|
+
|
|
48
|
+
# Machine-readable output
|
|
49
|
+
node scripts/model-distress-doctor.js --json
|
|
50
|
+
|
|
51
|
+
# Map architecture
|
|
52
|
+
node scripts/model-distress-doctor.js --map-only
|
|
53
|
+
|
|
54
|
+
# CI Gate check
|
|
55
|
+
node scripts/model-distress-doctor.js --check
|
|
56
|
+
```
|
|
@@ -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
|
+
```
|