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
package/bin/cli.js
CHANGED
|
@@ -1795,10 +1795,15 @@ function pro() {
|
|
|
1795
1795
|
process.exit(1);
|
|
1796
1796
|
}
|
|
1797
1797
|
|
|
1798
|
-
// Validate key format (THUMBGATE_API_KEY prefix)
|
|
1798
|
+
// Validate key format (signed Ed25519 token, THUMBGATE_API_KEY prefix, or legacy prefix)
|
|
1799
|
+
const { isValidKey } = require(path.join(PKG_ROOT, 'scripts', 'license'));
|
|
1800
|
+
const { isEnforced } = require(path.join(PKG_ROOT, 'scripts', 'entitlement'));
|
|
1801
|
+
const enforced = isEnforced(process.env);
|
|
1799
1802
|
const legacyPrefix = String.fromCharCode(114, 108, 104, 102) + '_';
|
|
1800
|
-
if (!key
|
|
1801
|
-
console.error(
|
|
1803
|
+
if (!isValidKey(key) && (enforced || !key.startsWith(legacyPrefix))) {
|
|
1804
|
+
console.error(enforced
|
|
1805
|
+
? '❌ Invalid license token. A signed Ed25519 entitlement token is required when THUMBGATE_ENFORCE_ENTITLEMENTS=1.'
|
|
1806
|
+
: '❌ Invalid license key format. Keys start with "tg_" or must be a valid signed Ed25519 token.');
|
|
1802
1807
|
process.exit(1);
|
|
1803
1808
|
}
|
|
1804
1809
|
|
|
@@ -2671,6 +2676,103 @@ function intentGovernedExecution() {
|
|
|
2671
2676
|
if (report.status === 'fail') process.exitCode = 1;
|
|
2672
2677
|
}
|
|
2673
2678
|
|
|
2679
|
+
function agentContextArtifact() {
|
|
2680
|
+
const args = parseArgs(process.argv.slice(3));
|
|
2681
|
+
const {
|
|
2682
|
+
buildAgentContextArtifactReport,
|
|
2683
|
+
formatAgentContextArtifactReport,
|
|
2684
|
+
normalizeBoolean,
|
|
2685
|
+
} = require(path.join(PKG_ROOT, 'scripts', 'agent-context-artifact'));
|
|
2686
|
+
const json = normalizeBoolean(args.json);
|
|
2687
|
+
const strict = normalizeBoolean(args.strict);
|
|
2688
|
+
const map = normalizeBoolean(args.map) || normalizeBoolean(args['map-only']);
|
|
2689
|
+
const cloneAce = normalizeBoolean(args['clone-ace']);
|
|
2690
|
+
const report = buildAgentContextArtifactReport({
|
|
2691
|
+
json,
|
|
2692
|
+
strict,
|
|
2693
|
+
pack: args.pack,
|
|
2694
|
+
now: args.now,
|
|
2695
|
+
map,
|
|
2696
|
+
'clone-ace': cloneAce,
|
|
2697
|
+
argv: process.argv.slice(3),
|
|
2698
|
+
});
|
|
2699
|
+
if (json) {
|
|
2700
|
+
console.log(JSON.stringify(report, null, 2));
|
|
2701
|
+
} else {
|
|
2702
|
+
process.stdout.write(formatAgentContextArtifactReport(report));
|
|
2703
|
+
}
|
|
2704
|
+
if (strict && report.status !== 'ready') {
|
|
2705
|
+
process.exitCode = 1;
|
|
2706
|
+
return;
|
|
2707
|
+
}
|
|
2708
|
+
if (report.status === 'fail') process.exitCode = 1;
|
|
2709
|
+
}
|
|
2710
|
+
|
|
2711
|
+
function sessionExportGate() {
|
|
2712
|
+
const args = parseArgs(process.argv.slice(3));
|
|
2713
|
+
const {
|
|
2714
|
+
buildSessionExportGateReport,
|
|
2715
|
+
formatSessionExportGateReport,
|
|
2716
|
+
normalizeBoolean,
|
|
2717
|
+
} = require(path.join(PKG_ROOT, 'scripts', 'session-export-gate'));
|
|
2718
|
+
let text = args.text;
|
|
2719
|
+
if (!text && args.input) {
|
|
2720
|
+
text = fs.readFileSync(String(args.input), 'utf8');
|
|
2721
|
+
}
|
|
2722
|
+
const report = buildSessionExportGateReport({
|
|
2723
|
+
json: normalizeBoolean(args.json),
|
|
2724
|
+
apply: normalizeBoolean(args.apply),
|
|
2725
|
+
lane: args.lane,
|
|
2726
|
+
optIn: normalizeBoolean(args['opt-in-export'] ?? args.optIn),
|
|
2727
|
+
irreversibleAck: normalizeBoolean(args['i-understand-irreversible'] ?? args.irreversibleAck),
|
|
2728
|
+
dest: args.dest,
|
|
2729
|
+
log: args.log,
|
|
2730
|
+
text,
|
|
2731
|
+
'clone-bolt-forge': normalizeBoolean(args['clone-bolt-forge']),
|
|
2732
|
+
argv: process.argv.slice(3),
|
|
2733
|
+
});
|
|
2734
|
+
if (normalizeBoolean(args.json)) {
|
|
2735
|
+
console.log(JSON.stringify(report, null, 2));
|
|
2736
|
+
} else {
|
|
2737
|
+
process.stdout.write(formatSessionExportGateReport(report));
|
|
2738
|
+
}
|
|
2739
|
+
if (report.status === 'fail' || !report.ok) process.exitCode = 1;
|
|
2740
|
+
}
|
|
2741
|
+
|
|
2742
|
+
function coverageGap() {
|
|
2743
|
+
const args = parseArgs(process.argv.slice(3));
|
|
2744
|
+
const {
|
|
2745
|
+
buildCoverageGapReport,
|
|
2746
|
+
formatCoverageGapReport,
|
|
2747
|
+
normalizeBoolean,
|
|
2748
|
+
} = require(path.join(PKG_ROOT, 'scripts', 'coverage-gap'));
|
|
2749
|
+
const report = buildCoverageGapReport({
|
|
2750
|
+
json: normalizeBoolean(args.json),
|
|
2751
|
+
strict: normalizeBoolean(args.strict),
|
|
2752
|
+
coverage: args.coverage,
|
|
2753
|
+
before: args.before,
|
|
2754
|
+
after: args.after,
|
|
2755
|
+
scope: args.scope,
|
|
2756
|
+
floor: args.floor != null ? Number(args.floor) : undefined,
|
|
2757
|
+
claim100: normalizeBoolean(args['claim-100'] ?? args.claim100),
|
|
2758
|
+
'clone-test-agent': normalizeBoolean(args['clone-test-agent']),
|
|
2759
|
+
'include-no-behavior': normalizeBoolean(args['include-no-behavior']),
|
|
2760
|
+
argv: process.argv.slice(3),
|
|
2761
|
+
});
|
|
2762
|
+
|
|
2763
|
+
if (normalizeBoolean(args.json)) {
|
|
2764
|
+
console.log(JSON.stringify(report, null, 2));
|
|
2765
|
+
} else {
|
|
2766
|
+
process.stdout.write(formatCoverageGapReport(report));
|
|
2767
|
+
}
|
|
2768
|
+
|
|
2769
|
+
if (normalizeBoolean(args.strict) && report.status !== 'ready') {
|
|
2770
|
+
process.exitCode = 1;
|
|
2771
|
+
return;
|
|
2772
|
+
}
|
|
2773
|
+
if (report.status === 'fail') process.exitCode = 1;
|
|
2774
|
+
}
|
|
2775
|
+
|
|
2674
2776
|
function jitHarnessCompose() {
|
|
2675
2777
|
const args = parseArgs(process.argv.slice(3));
|
|
2676
2778
|
const {
|
|
@@ -2762,6 +2864,34 @@ function ciGhaBuildkitePatternsDoctor() {
|
|
|
2762
2864
|
if (report.status === 'fail') process.exitCode = 1;
|
|
2763
2865
|
}
|
|
2764
2866
|
|
|
2867
|
+
function infoqArchitectHonesty() {
|
|
2868
|
+
const args = parseArgs(process.argv.slice(3));
|
|
2869
|
+
const {
|
|
2870
|
+
buildInfoqArchitectHonestyReport,
|
|
2871
|
+
formatInfoqArchitectHonestyReport,
|
|
2872
|
+
} = require(path.join(PKG_ROOT, 'scripts', 'infoq-architect-honesty'));
|
|
2873
|
+
const truthy = (value) => value === true || /^(1|true|yes|on)$/i.test(String(value || '').trim());
|
|
2874
|
+
const report = buildInfoqArchitectHonestyReport({
|
|
2875
|
+
mapOnly: truthy(args['map-only']),
|
|
2876
|
+
claim: args.claim || '',
|
|
2877
|
+
command: args.command || '',
|
|
2878
|
+
host: args.host || '',
|
|
2879
|
+
queue: args.queue || '',
|
|
2880
|
+
queueJson: args['queue-json'] || '',
|
|
2881
|
+
lease: args.lease || '',
|
|
2882
|
+
maxAgeMs: args['max-age-ms'],
|
|
2883
|
+
now: args.now,
|
|
2884
|
+
cwd: args.cwd || process.cwd(),
|
|
2885
|
+
});
|
|
2886
|
+
if (truthy(args.json)) console.log(JSON.stringify(report, null, 2));
|
|
2887
|
+
else process.stdout.write(formatInfoqArchitectHonestyReport(report));
|
|
2888
|
+
if (truthy(args.strict) && report.status !== 'ready') {
|
|
2889
|
+
process.exitCode = 1;
|
|
2890
|
+
return;
|
|
2891
|
+
}
|
|
2892
|
+
if (report.status === 'fail') process.exitCode = 1;
|
|
2893
|
+
}
|
|
2894
|
+
|
|
2765
2895
|
function deeppatternDisciplineHonestyDoctor() {
|
|
2766
2896
|
const args = parseArgs(process.argv.slice(3));
|
|
2767
2897
|
const {
|
|
@@ -2781,6 +2911,24 @@ function deeppatternDisciplineHonestyDoctor() {
|
|
|
2781
2911
|
if (report.status === 'fail') process.exitCode = 1;
|
|
2782
2912
|
}
|
|
2783
2913
|
|
|
2914
|
+
function saltCodePolicyHonestyDoctor() {
|
|
2915
|
+
const args = parseArgs(process.argv.slice(3));
|
|
2916
|
+
const {
|
|
2917
|
+
buildSaltCodePolicyHonestyReport,
|
|
2918
|
+
formatSaltCodePolicyHonestyReport,
|
|
2919
|
+
} = require(path.join(PKG_ROOT, 'scripts', 'salt-code-policy-honesty'));
|
|
2920
|
+
const report = buildSaltCodePolicyHonestyReport(args);
|
|
2921
|
+
if (args.json) {
|
|
2922
|
+
console.log(JSON.stringify(report, null, 2));
|
|
2923
|
+
} else {
|
|
2924
|
+
process.stdout.write(formatSaltCodePolicyHonestyReport(report));
|
|
2925
|
+
}
|
|
2926
|
+
if (args.strict && report.status !== 'ready') {
|
|
2927
|
+
process.exitCode = 1;
|
|
2928
|
+
return;
|
|
2929
|
+
}
|
|
2930
|
+
if (report.status === 'fail') process.exitCode = 1;
|
|
2931
|
+
}
|
|
2784
2932
|
|
|
2785
2933
|
function thumbgateBoardLoop() {
|
|
2786
2934
|
const args = parseArgs(process.argv.slice(3));
|
|
@@ -2821,6 +2969,102 @@ function colabComputeHonestyDoctor() {
|
|
|
2821
2969
|
if (report.status === 'fail') process.exitCode = 1;
|
|
2822
2970
|
}
|
|
2823
2971
|
|
|
2972
|
+
function ompCoordinationHonestyDoctor() {
|
|
2973
|
+
const args = parseArgs(process.argv.slice(3));
|
|
2974
|
+
const {
|
|
2975
|
+
buildOmpCoordinationHonestyReport,
|
|
2976
|
+
formatOmpCoordinationHonestyReport,
|
|
2977
|
+
} = require(path.join(PKG_ROOT, 'scripts', 'omp-coordination-honesty'));
|
|
2978
|
+
const report = buildOmpCoordinationHonestyReport(args);
|
|
2979
|
+
if (args.json) {
|
|
2980
|
+
console.log(JSON.stringify(report, null, 2));
|
|
2981
|
+
} else {
|
|
2982
|
+
process.stdout.write(formatOmpCoordinationHonestyReport(report));
|
|
2983
|
+
}
|
|
2984
|
+
if (args.strict && report.status !== 'ready') {
|
|
2985
|
+
process.exitCode = 1;
|
|
2986
|
+
return;
|
|
2987
|
+
}
|
|
2988
|
+
if (report.status === 'fail') process.exitCode = 1;
|
|
2989
|
+
}
|
|
2990
|
+
|
|
2991
|
+
function harnessCeilingDoctor() {
|
|
2992
|
+
const { runCli } = require(path.join(PKG_ROOT, 'scripts', 'harness-ceiling-doctor'));
|
|
2993
|
+
const exitCode = runCli(process.argv.slice(3));
|
|
2994
|
+
if (exitCode !== 0) process.exitCode = exitCode;
|
|
2995
|
+
}
|
|
2996
|
+
|
|
2997
|
+
function decisiveStepDoctor() {
|
|
2998
|
+
const { runCli } = require(path.join(PKG_ROOT, 'scripts', 'decisive-step-doctor'));
|
|
2999
|
+
const exitCode = runCli(process.argv.slice(3));
|
|
3000
|
+
if (exitCode !== 0) process.exitCode = exitCode;
|
|
3001
|
+
}
|
|
3002
|
+
|
|
3003
|
+
function saasMoatHonestyDoctor() {
|
|
3004
|
+
const { runCli } = require(path.join(PKG_ROOT, 'scripts', 'saas-moat-honesty'));
|
|
3005
|
+
const exitCode = runCli(process.argv.slice(3));
|
|
3006
|
+
if (exitCode !== 0) process.exitCode = exitCode;
|
|
3007
|
+
}
|
|
3008
|
+
|
|
3009
|
+
function claudeRoutinesHonestyDoctor() {
|
|
3010
|
+
const { runCli } = require(path.join(PKG_ROOT, 'scripts', 'workspace-agent-routines'));
|
|
3011
|
+
const exitCode = runCli(process.argv.slice(3));
|
|
3012
|
+
if (exitCode !== 0) process.exitCode = exitCode;
|
|
3013
|
+
}
|
|
3014
|
+
|
|
3015
|
+
function herdrCivilizationHonestyDoctor() {
|
|
3016
|
+
const { runCli } = require(path.join(PKG_ROOT, 'scripts', 'prove-herdr-adapter'));
|
|
3017
|
+
const exitCode = runCli(['--herdr-civilization', ...process.argv.slice(3)]);
|
|
3018
|
+
if (exitCode !== 0) process.exitCode = exitCode;
|
|
3019
|
+
}
|
|
3020
|
+
|
|
3021
|
+
function strandsDeciderHonestyDoctor() {
|
|
3022
|
+
const { runCli } = require(path.join(PKG_ROOT, 'adapters', 'strands', 'strands-decider-adapter'));
|
|
3023
|
+
const exitCode = runCli(process.argv.slice(3));
|
|
3024
|
+
if (exitCode !== 0) process.exitCode = exitCode;
|
|
3025
|
+
}
|
|
3026
|
+
|
|
3027
|
+
function launchVideoHonestyDoctor() {
|
|
3028
|
+
const { runCli } = require(path.join(PKG_ROOT, 'scripts', 'cli-demo'));
|
|
3029
|
+
const exitCode = runCli(process.argv.slice(3));
|
|
3030
|
+
if (exitCode !== 0) process.exitCode = exitCode;
|
|
3031
|
+
}
|
|
3032
|
+
|
|
3033
|
+
function torchTpuHonestyDoctor() {
|
|
3034
|
+
const { runCli } = require(path.join(PKG_ROOT, 'scripts', 'colab-compute-honesty'));
|
|
3035
|
+
const exitCode = runCli(['--torchtpu', ...process.argv.slice(3)]);
|
|
3036
|
+
if (exitCode !== 0) process.exitCode = exitCode;
|
|
3037
|
+
}
|
|
3038
|
+
|
|
3039
|
+
function fairStressHonestyDoctor() {
|
|
3040
|
+
const { runFairStressCli } = require(path.join(PKG_ROOT, 'scripts', 'model-distress-doctor'));
|
|
3041
|
+
const exitCode = runFairStressCli(process.argv.slice(3));
|
|
3042
|
+
if (exitCode !== 0) process.exitCode = exitCode;
|
|
3043
|
+
}
|
|
3044
|
+
|
|
3045
|
+
function graniteSwitchHonestyDoctor() {
|
|
3046
|
+
const { runCli } = require(path.join(PKG_ROOT, 'scripts', 'rrsi-doctor'));
|
|
3047
|
+
const exitCode = runCli(['--granite-switch', ...process.argv.slice(3)]);
|
|
3048
|
+
if (exitCode !== 0) process.exitCode = exitCode;
|
|
3049
|
+
}
|
|
3050
|
+
|
|
3051
|
+
function mlInternHonestyDoctor() {
|
|
3052
|
+
const { runCli } = require(path.join(PKG_ROOT, 'scripts', 'rrsi-doctor'));
|
|
3053
|
+
const exitCode = runCli(['--ml-intern', ...process.argv.slice(3)]);
|
|
3054
|
+
if (exitCode !== 0) process.exitCode = exitCode;
|
|
3055
|
+
}
|
|
3056
|
+
|
|
3057
|
+
function pytorchCon2026HonestyDoctor() {
|
|
3058
|
+
const { runCli } = require(path.join(PKG_ROOT, 'scripts', 'rrsi-doctor'));
|
|
3059
|
+
const exitCode = runCli(['--pytorchcon-2026', ...process.argv.slice(3)]);
|
|
3060
|
+
if (exitCode !== 0) process.exitCode = exitCode;
|
|
3061
|
+
}
|
|
3062
|
+
|
|
3063
|
+
function devinFusionHonestyDoctor() {
|
|
3064
|
+
const { runCli } = require(path.join(PKG_ROOT, 'scripts', 'switchyard-router'));
|
|
3065
|
+
const exitCode = runCli(process.argv.slice(3));
|
|
3066
|
+
if (exitCode !== 0) process.exitCode = exitCode;
|
|
3067
|
+
}
|
|
2824
3068
|
function llmObsHonesty() {
|
|
2825
3069
|
const args = parseArgs(process.argv.slice(3));
|
|
2826
3070
|
const {
|
|
@@ -2840,6 +3084,77 @@ function llmObsHonesty() {
|
|
|
2840
3084
|
if (report.status === 'fail') process.exitCode = 1;
|
|
2841
3085
|
}
|
|
2842
3086
|
|
|
3087
|
+
function mekoDatapackHonesty() {
|
|
3088
|
+
const args = parseArgs(process.argv.slice(3));
|
|
3089
|
+
const {
|
|
3090
|
+
buildMekoDatapackReport,
|
|
3091
|
+
formatMekoDatapackReport,
|
|
3092
|
+
} = require(path.join(PKG_ROOT, 'scripts', 'meko-datapack-honesty'));
|
|
3093
|
+
const report = buildMekoDatapackReport(args);
|
|
3094
|
+
if (args.json) {
|
|
3095
|
+
console.log(JSON.stringify(report, null, 2));
|
|
3096
|
+
} else {
|
|
3097
|
+
process.stdout.write(formatMekoDatapackReport(report) + '\n');
|
|
3098
|
+
}
|
|
3099
|
+
if (report.audit && !report.audit.pass) {
|
|
3100
|
+
process.exitCode = 1;
|
|
3101
|
+
}
|
|
3102
|
+
}
|
|
3103
|
+
|
|
3104
|
+
function mintlifyKnowledgeHonesty() {
|
|
3105
|
+
const args = parseArgs(process.argv.slice(3));
|
|
3106
|
+
const {
|
|
3107
|
+
buildMintlifyKnowledgeReport,
|
|
3108
|
+
formatMintlifyKnowledgeReport,
|
|
3109
|
+
} = require(path.join(PKG_ROOT, 'scripts', 'mintlify-knowledge-honesty'));
|
|
3110
|
+
const report = buildMintlifyKnowledgeReport(args);
|
|
3111
|
+
if (args.json) {
|
|
3112
|
+
console.log(JSON.stringify(report, null, 2));
|
|
3113
|
+
} else {
|
|
3114
|
+
process.stdout.write(formatMintlifyKnowledgeReport(report) + '\n');
|
|
3115
|
+
}
|
|
3116
|
+
if (report.status === 'fail') {
|
|
3117
|
+
process.exitCode = 1;
|
|
3118
|
+
}
|
|
3119
|
+
}
|
|
3120
|
+
|
|
3121
|
+
function sirenMcpGovernance() {
|
|
3122
|
+
const args = parseArgs(process.argv.slice(3));
|
|
3123
|
+
const {
|
|
3124
|
+
buildSirenGovernanceReport,
|
|
3125
|
+
formatSirenGovernanceReport,
|
|
3126
|
+
} = require(path.join(PKG_ROOT, 'scripts', 'siren-mcp-governance'));
|
|
3127
|
+
const report = buildSirenGovernanceReport(args);
|
|
3128
|
+
if (args.json) {
|
|
3129
|
+
console.log(JSON.stringify(report, null, 2));
|
|
3130
|
+
} else {
|
|
3131
|
+
process.stdout.write(formatSirenGovernanceReport(report) + '\n');
|
|
3132
|
+
}
|
|
3133
|
+
if (report.status === 'fail' || (report.evaluation && !report.evaluation.allowed)) {
|
|
3134
|
+
process.exitCode = 1;
|
|
3135
|
+
}
|
|
3136
|
+
}
|
|
3137
|
+
|
|
3138
|
+
function haloTraceOptimizer() {
|
|
3139
|
+
const args = parseArgs(process.argv.slice(3));
|
|
3140
|
+
const {
|
|
3141
|
+
buildHaloTraceOptimizerReport,
|
|
3142
|
+
formatHaloTraceOptimizerReport,
|
|
3143
|
+
} = require(path.join(PKG_ROOT, 'scripts', 'halo-trace-optimizer'));
|
|
3144
|
+
const report = buildHaloTraceOptimizerReport(args);
|
|
3145
|
+
if (args.json) {
|
|
3146
|
+
console.log(JSON.stringify(report, null, 2));
|
|
3147
|
+
} else {
|
|
3148
|
+
process.stdout.write(formatHaloTraceOptimizerReport(report));
|
|
3149
|
+
}
|
|
3150
|
+
if (report.status === 'fail') process.exitCode = 1;
|
|
3151
|
+
}
|
|
3152
|
+
|
|
3153
|
+
function fiddlerControlPlaneHonesty() {
|
|
3154
|
+
const { runCli } = require(path.join(PKG_ROOT, 'scripts', 'fiddler-control-plane-honesty'));
|
|
3155
|
+
runCli(process.argv.slice(3));
|
|
3156
|
+
}
|
|
3157
|
+
|
|
2843
3158
|
function cobbleHotStoreSplit() {
|
|
2844
3159
|
const args = parseArgs(process.argv.slice(3));
|
|
2845
3160
|
const {
|
|
@@ -3168,22 +3483,6 @@ async function gateCheck() {
|
|
|
3168
3483
|
const input = payload ? JSON.parse(payload) : {};
|
|
3169
3484
|
const gatesEngine = require(path.join(PKG_ROOT, 'scripts', 'gates-engine'));
|
|
3170
3485
|
|
|
3171
|
-
// The operator bypass only skips advisory and strict-mode gates. Security and
|
|
3172
|
-
// self-protection floors are evaluated before the early approval path.
|
|
3173
|
-
if (process.env.THUMBGATE_HOTFIX_BYPASS === '1') {
|
|
3174
|
-
const hardFloorOutput = gatesEngine.runHardFloor(input);
|
|
3175
|
-
if (hardFloorOutput) {
|
|
3176
|
-
process.stdout.write(hardFloorOutput + '\n');
|
|
3177
|
-
return;
|
|
3178
|
-
}
|
|
3179
|
-
process.stdout.write(JSON.stringify({
|
|
3180
|
-
decision: 'approve',
|
|
3181
|
-
reason: 'operator-bypass-opt-in',
|
|
3182
|
-
hookSpecificOutput: { hookEventName: 'PreToolUse', additionalContext: '' }
|
|
3183
|
-
}) + '\n');
|
|
3184
|
-
return;
|
|
3185
|
-
}
|
|
3186
|
-
|
|
3187
3486
|
const { evaluatePreToolUse } = require(path.join(PKG_ROOT, 'scripts', 'token-shunt-honesty'));
|
|
3188
3487
|
const shunt = evaluatePreToolUse({
|
|
3189
3488
|
toolName: input.tool_name || input.toolName,
|
|
@@ -3203,6 +3502,43 @@ async function gateCheck() {
|
|
|
3203
3502
|
return;
|
|
3204
3503
|
}
|
|
3205
3504
|
|
|
3505
|
+
const { evaluateMcpPreToolUse } = require(path.join(PKG_ROOT, 'scripts', 'third-author-governance'));
|
|
3506
|
+
const thirdAuthor = evaluateMcpPreToolUse({
|
|
3507
|
+
toolName: input.tool_name || input.toolName,
|
|
3508
|
+
toolInput: input.tool_input || input.toolInput || {},
|
|
3509
|
+
authorContext: { isAgent: true, cwd: input.cwd || process.cwd() },
|
|
3510
|
+
});
|
|
3511
|
+
if (thirdAuthor && thirdAuthor.permissionDecision === 'deny') {
|
|
3512
|
+
process.stdout.write(`${JSON.stringify({
|
|
3513
|
+
decision: 'block',
|
|
3514
|
+
reason: thirdAuthor.permissionDecisionReason,
|
|
3515
|
+
hookSpecificOutput: {
|
|
3516
|
+
hookEventName: 'PreToolUse',
|
|
3517
|
+
permissionDecision: 'deny',
|
|
3518
|
+
permissionDecisionReason: thirdAuthor.permissionDecisionReason,
|
|
3519
|
+
findingId: thirdAuthor.findingId,
|
|
3520
|
+
alternatives: thirdAuthor.alternatives,
|
|
3521
|
+
},
|
|
3522
|
+
})}\n`);
|
|
3523
|
+
return;
|
|
3524
|
+
}
|
|
3525
|
+
|
|
3526
|
+
// The operator bypass only skips advisory and strict-mode gates. Security and
|
|
3527
|
+
// self-protection floors are evaluated before the early approval path.
|
|
3528
|
+
if (process.env.THUMBGATE_HOTFIX_BYPASS === '1') {
|
|
3529
|
+
const hardFloorOutput = gatesEngine.runHardFloor(input);
|
|
3530
|
+
if (hardFloorOutput) {
|
|
3531
|
+
process.stdout.write(hardFloorOutput + '\n');
|
|
3532
|
+
return;
|
|
3533
|
+
}
|
|
3534
|
+
process.stdout.write(JSON.stringify({
|
|
3535
|
+
decision: 'approve',
|
|
3536
|
+
reason: 'operator-bypass-opt-in',
|
|
3537
|
+
hookSpecificOutput: { hookEventName: 'PreToolUse', additionalContext: '' }
|
|
3538
|
+
}) + '\n');
|
|
3539
|
+
return;
|
|
3540
|
+
}
|
|
3541
|
+
|
|
3206
3542
|
const output = await gatesEngine.runAsync(input);
|
|
3207
3543
|
process.stdout.write(output + '\n');
|
|
3208
3544
|
} catch (err) {
|
|
@@ -3741,6 +4077,9 @@ function help() {
|
|
|
3741
4077
|
console.log(' rag-precision-guardrails Map retrieval tuning regressions to Document RAG Safety gates');
|
|
3742
4078
|
console.log(' ai-engineering-stack-guardrails Map gateway, MCP, AGENTS.md, LLM wiki, reviewer, and sandbox gaps to stack gates');
|
|
3743
4079
|
console.log(' ai-inventory Scan AI/ML components and export JSON or CycloneDX ML-BOM evidence');
|
|
4080
|
+
console.log(' third-author The Third Author governance: 3 checkpoints & 4-risk BOM (Earnie FORMAT)');
|
|
4081
|
+
console.log(' explain <id> Inspect finding evidence, offending command, and permissive alternatives');
|
|
4082
|
+
console.log(' embeddinggemma EmbeddingGemma 2 multimodal 8K context & MRL fast-gate verification');
|
|
3744
4083
|
console.log(' upstream-contributions Find dependency issues worth fixing without promotional PRs');
|
|
3745
4084
|
console.log(' long-running-agent-context-guardrails Map structured-memory gaps to long-running agent gates');
|
|
3746
4085
|
console.log(' reasoning-efficiency-guardrails Map reasoning compression signals to efficiency gates');
|
|
@@ -3749,14 +4088,37 @@ function help() {
|
|
|
3749
4088
|
console.log(' package-manager-honesty-doctor Audit lockfile/CI parity; fail-closed manager switches');
|
|
3750
4089
|
console.log(' openui-catalog-compose-honesty Catalog-compose-only + repair-before-claim (OpenUI FORMAT)');
|
|
3751
4090
|
console.log(' allowlist-bridge-honesty Audit allowlisted registries/proxies as hops, not trust boundaries');
|
|
4091
|
+
console.log(' agent-context-artifact Lint agent context packs (Wisdom FORMAT; not ACE/Foundry/OSI)');
|
|
4092
|
+
console.log(' npx thumbgate agent-context-artifact --json --pack=pack.json');
|
|
4093
|
+
console.log(' session-export-gate Per-session opt-in research export; operator DENY (Bolt Forge FORMAT)');
|
|
4094
|
+
console.log(' npx thumbgate session-export-gate --json --lane=operator');
|
|
4095
|
+
console.log(' coverage-gap Baseline coverage gaps; skip no-behavior; remeasure same scope (VS FORMAT)');
|
|
4096
|
+
console.log(' npx thumbgate coverage-gap --json --scope=scripts/risk --floor=50');
|
|
3752
4097
|
console.log(' jit-harness-compose Compose memory/planning/action/capability onto existing rails (JIT FORMAT)');
|
|
4098
|
+
console.log(' fiddler-control-plane-honesty Two-layer control plane + Trust Tax TCO (Fiddler FORMAT)');
|
|
3753
4099
|
console.log(' cobble-hot-store-split Split durable/delivery/hot lesson planes (CobbleDB FORMAT)');
|
|
3754
4100
|
console.log(' token-shunt-honesty Intercept untargeted bulk reads (Portal FORMAT; not shunt@portal)');
|
|
3755
4101
|
console.log(' typesafe-typed-questions Typed noul/choice/score + code-owned route (TypeSafe FORMAT; not Jev)');
|
|
3756
4102
|
console.log(' ci-gha-buildkite-patterns First-fail + PR fail-fast on GitHub Actions (Buildkite FORMAT; not Buildkite)');
|
|
3757
4103
|
console.log(' deeppattern-discipline-honesty Layer-check + evidence-closeout (DeepPattern FORMAT; not AQG/DE)');
|
|
4104
|
+
console.log(' salt-code-policy-honesty 40-policy taxonomy + context vs PreToolUse diode (Salt Code FORMAT)');
|
|
4105
|
+
console.log(' infoq-architect-honesty Code-as-truth, typed host, lease, time-in-queue (InfoQ FORMAT)');
|
|
3758
4106
|
console.log(' colab-compute-honesty Compute-unit honesty from Colab /signup (not a GPU SKU)');
|
|
3759
|
-
console.log('
|
|
4107
|
+
console.log(' omp-coordination-honesty Named-model session handoff on the checkout lease (omp FORMAT; does not install omp)');
|
|
4108
|
+
console.log(' saas-moat-honesty 8-moat diagnostic, Ed25519 entitlement audit, and cross-customer signature loop (Walling FORMAT)');
|
|
4109
|
+
console.log(' claude-routines-honesty <routine-fire-payload> diode, 1h cron floor, and PR filter regex audit (Claude Routines FORMAT)');
|
|
4110
|
+
console.log(' herdr-civilization-honesty Seats/Pods, 3-altitude graph, Refocus, Mind-Virus purge, and Ceremony APM (Herdr FORMAT)');
|
|
4111
|
+
console.log(' strands-decider-honesty Pointer-head choice scoring, noul args_grounded/premature, and Guide intervention (Strands Decider FORMAT)');
|
|
4112
|
+
console.log(' launchvideo-honesty Deterministic virtual-clock HTML->MP4, check_scene gate, and 3h scoped Blob token (LaunchVideo FORMAT)');
|
|
4113
|
+
console.log(' torchtpu-honesty Native PyTorch TPU prefix-cache guard, VeRL GRPO export, and tpu-agent-suite diode (TorchTPU FORMAT)');
|
|
4114
|
+
console.log(' fairstress-honesty Matched-prefix flip symmetry, explanation parity, and counterfactual CoT swap gate (Ai2 FairStress FORMAT)');
|
|
4115
|
+
console.log(' granite-switch-honesty Activated LoRA (aLoRA) KV-cache reuse across chat, Guardian, decision, and speech (Granite Switch 4.1 FORMAT)');
|
|
4116
|
+
console.log(' ml-intern-honesty "Verified facts, do not re-derive", zero-shot baseline, 50-step smoke test, and $0 budget cap (HF ML Intern FORMAT)');
|
|
4117
|
+
console.log(' pytorchcon-2026-honesty MemT-1.0 turn-flush, llm-d 1.0 QoS routing, DeepInfer batch-invariant evals, and Flash abstention gate');
|
|
4118
|
+
console.log(' devin-fusion-honesty Parallel Main+Sidekick dual cache, judgment guard, and compaction-boundary switch (Devin Fusion FORMAT)');
|
|
4119
|
+
console.log(' harness-ceiling Failure composition and harness evolution ceiling detection (arXiv:2610.11655)');
|
|
4120
|
+
console.log(' halo-trace-optimizer Analyze agent trace logs for thrashing and stalls (HALO FORMAT)');
|
|
4121
|
+
console.log(' decisive-step Decisive-step coding agent evaluation (NVIDIA arXiv:2610.10478)');
|
|
3760
4122
|
console.log(' board-loop Classify+drain Issues/PR wall (BEHIND Dependabot, never approve)');
|
|
3761
4123
|
console.log(' workspace-search-route Route query to rg/fts/vector/hybrid/graph (zg FORMAT)');
|
|
3762
4124
|
console.log(' intent-governed-execution NL intent → classify/authorize/gate/HITL/evidence (CyberStrike FORMAT)');
|
|
@@ -3801,13 +4163,30 @@ function help() {
|
|
|
3801
4163
|
console.log(' npx thumbgate openui-catalog-compose-honesty --catalog=catalog.json --stream=compose.txt --repair --json');
|
|
3802
4164
|
console.log(' npx thumbgate allowlist-bridge-honesty --json');
|
|
3803
4165
|
console.log(' npx thumbgate jit-harness-compose --task="implement PreToolUse gate fix" --json');
|
|
4166
|
+
console.log(' npx thumbgate fiddler-control-plane-honesty --tco-calc --json');
|
|
3804
4167
|
console.log(' npx thumbgate cobble-hot-store-split --json');
|
|
3805
4168
|
console.log(' npx thumbgate token-shunt-honesty --json --lines=800');
|
|
3806
4169
|
console.log(' npx thumbgate typesafe-typed-questions --json --tool-name=Bash --command="git push --force origin main"');
|
|
3807
4170
|
console.log(' npx thumbgate ci-gha-buildkite-patterns --json --map-only');
|
|
3808
4171
|
console.log(' npx thumbgate deeppattern-discipline-honesty --json --map-only');
|
|
4172
|
+
console.log(' npx thumbgate salt-code-policy-honesty --inspect-code=src/api.js --json');
|
|
3809
4173
|
console.log(' npx thumbgate colab-compute-honesty --json --map-only');
|
|
4174
|
+
console.log(' npx thumbgate omp-coordination-honesty --json --map-only');
|
|
4175
|
+
console.log(' npx thumbgate saas-moat-honesty --json --map-only');
|
|
4176
|
+
console.log(' npx thumbgate claude-routines-honesty --json --map-only');
|
|
4177
|
+
console.log(' npx thumbgate herdr-civilization-honesty --json --map-only');
|
|
4178
|
+
console.log(' npx thumbgate strands-decider-honesty --json --map-only');
|
|
4179
|
+
console.log(' npx thumbgate launchvideo-honesty --json --map-only');
|
|
4180
|
+
console.log(' npx thumbgate torchtpu-honesty --json --map-only');
|
|
4181
|
+
console.log(' npx thumbgate fairstress-honesty --json --map-only');
|
|
4182
|
+
console.log(' npx thumbgate granite-switch-honesty --json --map-only');
|
|
4183
|
+
console.log(' npx thumbgate ml-intern-honesty --json --map-only');
|
|
4184
|
+
console.log(' npx thumbgate pytorchcon-2026-honesty --json --map-only');
|
|
4185
|
+
console.log(' npx thumbgate devin-fusion-honesty --json --map-only');
|
|
3810
4186
|
console.log(' npx thumbgate llm-obs-honesty --json');
|
|
4187
|
+
console.log(' npx thumbgate meko-datapack-honesty --json');
|
|
4188
|
+
console.log(' npx thumbgate mintlify-knowledge-honesty --json');
|
|
4189
|
+
console.log(' npx thumbgate siren-mcp-governance --json --map-only');
|
|
3811
4190
|
console.log(' npx thumbgate board-loop --json');
|
|
3812
4191
|
console.log(' npx thumbgate workspace-search-route --query="how does X connect" --json');
|
|
3813
4192
|
console.log(' npx thumbgate intent-governed-execution --intent="railway deploy" --json');
|
|
@@ -3850,13 +4229,31 @@ const SUBCOMMAND_HELP = {
|
|
|
3850
4229
|
lessons: 'Usage: npx thumbgate lessons [--query="..."] [--limit=N]\n\nSearch the lesson database (Pro feature).',
|
|
3851
4230
|
search: 'Usage: npx thumbgate search <query>\n\nSearch ThumbGate knowledge base (Pro feature).',
|
|
3852
4231
|
'gate-check': 'Usage: npx thumbgate gate-check\n\nPreToolUse hook interface: reads tool call JSON from stdin, outputs gate verdict.',
|
|
4232
|
+
'claim-stop-check': 'Usage: npx thumbgate claim-stop-check [--config=.thumbgate/claim-verifiers.json] [--cwd=path] [--json]\n\nClaude Stop hook interface: reads hook JSON from stdin, rechecks configured factual claims before Claude stops.',
|
|
3853
4233
|
'typesafe-typed-questions': 'Usage: npx thumbgate typesafe-typed-questions [--payload=path] [--tool-name=Bash] [--command="..."] [--json] [--map-only] [--clone-jev]\n\nTypeSafe FORMAT steal: typed noul/choice/score over a PreToolUse payload, code-owned pass/review/block. Does not install typesafe-sdk or call Jev.',
|
|
3854
4234
|
'ci-gha-buildkite-patterns': 'Usage: npx thumbgate ci-gha-buildkite-patterns [--jobs-json=path] [--workflow=path] [--json] [--map-only]\n\nBuildkite pipeline FORMAT on GitHub Actions: first-fail step, PR fail-fast, needs:/skip/annotations. Does not add Buildkite.',
|
|
4235
|
+
'armor-compile': 'Usage: npx thumbgate armor-compile [--json]\n\nEmits OpenRouter Armor v1 classifier_context plugin config.',
|
|
4236
|
+
'profound-aeo': 'Usage: npx thumbgate profound-aeo [--json]\n\nComputes Profound Answer Engine Visibility & Citation Share.',
|
|
3855
4237
|
'deeppattern-discipline-honesty': 'Usage: npx thumbgate deeppattern-discipline-honesty [--claim="..."] [--closeout=path.md] [--json] [--map-only]\n\nDeepPattern FORMAT steal: layer-check + evidence-closeout. Does not install AQG/Decision Engine.',
|
|
4238
|
+
'salt-code-policy-honesty': 'Usage: npx thumbgate salt-code-policy-honesty [--inspect-code=...] [--inspect-api=...] [--inspect-mcp=...] [--strict] [--json] [--map-only]\n\nSalt Code FORMAT steal: 40-policy taxonomy, active PreToolUse vs context injection, OpenAPI query secret diode. Does not connect to mcp.getsaltcode.com.',
|
|
4239
|
+
'infoq-architect-honesty': 'Usage: npx thumbgate infoq-architect-honesty [--claim="..."] [--host=javascript] [--queue=path.json] [--max-age-ms=N] [--json] [--map-only]\n\nInfoQ September 2026 FORMAT: code-as-truth, typed host, existing lease, time-in-queue. Does not register for InfoQ or install Vortex.',
|
|
3856
4240
|
'board-loop': 'Usage: npx thumbgate board-loop [--apply] [--json] [--max-update-branch=1] [--max-pr-manage=1] [--max-comments=4] [--skip-pr=N]\n\nClassify Issues+PR wall: update-branch BEHIND green Dependabot, pr:manage READY, comment DIRTY/ECI. Never approve.',
|
|
3857
4241
|
'colab-compute-honesty': 'Usage: npx thumbgate colab-compute-honesty [--claim="..."] [--plan-proof=proplus] [--json] [--map-only]\n\nColab /signup FORMAT steal: Compute Units ≠ dedicated GPU; Subscribe ≠ receipt. Does not buy Pro/Pro+.',
|
|
3858
|
-
'
|
|
4242
|
+
'omp-coordination-honesty': 'Usage: npx thumbgate omp-coordination-honesty [--claim="..."] [--handoff=path] [--json] [--map-only] [--strict]\n\nMap omp session/subagent/collab FORMAT onto the checkout lease. Does not install omp.',
|
|
4243
|
+
'saas-moat-honesty': 'Usage: npx thumbgate saas-moat-honesty [--claim="..."] [--events=path.json] [--json] [--map-only] [--strict]\n\nRob Walling 2026 SaaS Moat & Seat-Compression FORMAT: 8-moat audit, Ed25519 entitlement boundary check, and anonymized cross-customer signature aggregation.',
|
|
4244
|
+
'claude-routines-honesty': 'Usage: npx thumbgate claude-routines-honesty [--claim="..."] [--json] [--map-only] [--strict]\n\nClaude Code Routines FORMAT: <routine-fire-payload> untrusted wrapper, non-consent trigger invariant, >=1h cron floor, anchored PR regex filters, and connector least-privilege.',
|
|
4245
|
+
'herdr-civilization-honesty': 'Usage: npx thumbgate herdr-civilization-honesty [--json] [--map-only]\n\nHerdr AI Civilization FORMAT: persistent Seats/Pods, Project->Mission->Slice graph, upward Refocus & altitude-bridged approvals, Mind-Virus contact tracing, and Ceremony-to-Progress APM.',
|
|
4246
|
+
'strands-decider-honesty': 'Usage: npx thumbgate strands-decider-honesty [--claim="..."] [--json] [--map-only]\n\nStrands Decider 2B FORMAT: pointer-head option scoring, Decider.noul args_grounded/premature checks, InterventionHandler Proceed/Deny/Confirm/Guide, and Brier calibration.',
|
|
4247
|
+
'launchvideo-honesty': 'Usage: npx thumbgate launchvideo-honesty [--claim="..."] [--json] [--map-only]\n\nLaunchVideo.io (diggerhq/shipvideo) FORMAT: virtual-clock HTML->libx264 rendering (no video model), check_scene pre-render gate, 3h scoped Blob token, and MP4-in-Blob completion check.',
|
|
4248
|
+
'torchtpu-honesty': 'Usage: npx thumbgate torchtpu-honesty [--claim="..."] [--json] [--map-only]\n\nGoogle Cloud TorchTPU FORMAT: SGLang RadixAttention / llm-d prefix-cache protection, VeRL GRPO trajectory export, and tpu-agent-suite PreToolUse diode.',
|
|
4249
|
+
'fairstress-honesty': 'Usage: npx thumbgate fairstress-honesty [--claim="..."] [--json] [--map-only]\n\nAllenAI FairStress FORMAT: symmetric robustness under matched adversarial prefixes, explanation parity audit, and counterfactual CoT identity-swap gate.',
|
|
4250
|
+
'granite-switch-honesty': 'Usage: npx thumbgate granite-switch-honesty [--claim="..."] [--json] [--map-only]\n\nIBM Granite Switch 4.1 FORMAT: Activated LoRA (aLoRA) base KV-cache reuse across chat, Guardian safety, /v1/systemone decisions, and Turbo-CTC speech.',
|
|
4251
|
+
'ml-intern-honesty': 'Usage: npx thumbgate ml-intern-honesty [--claim="..."] [--json] [--map-only]\n\nHuggingFace ML Intern FORMAT: "Verified facts, do not re-derive" prompt block, mandatory pre-training zero-shot baseline, 50-step weight-delta smoke test, $0 initial budget cap, and checkpoint bleed detection.',
|
|
4252
|
+
'pytorchcon-2026-honesty': 'Usage: npx thumbgate pytorchcon-2026-honesty [--claim="..."] [--json] [--map-only]\n\nPyTorchCon NA Oct 20, 2026 FORMAT: MemT-1.0 turn-flush state commit, llm-d 1.0 session-pinned QoS routing, DeepSeek DeepInfer batch-invariant evals, dynamic discover_tools, Shopify prompt gisting, and MiniMax M3.1 Flash abstention gate.',
|
|
4253
|
+
'devin-fusion-honesty': 'Usage: npx thumbgate devin-fusion-honesty [--claim="..."] [--json] [--map-only]\n\nCognition Devin Fusion FORMAT: parallel Main+Sidekick dual-cached contexts (300s TTL), judgment-vs-mechanical delegation split, and zero-penalty model switching at compaction boundaries.',
|
|
4254
|
+
'harness-ceiling': 'Usage: npx thumbgate harness-ceiling [--json] [--map-only] [--evaluate] [--process=N] [--content=N]\n\narXiv:2610.11655 diagnose-then-intervene rail: failure composition and harness evolution ceiling detection.',
|
|
3859
4255
|
'verify-claims': 'Usage: npx thumbgate verify-claims --claim="the row count is 1,284" [--config=.thumbgate/claim-verifiers.json] [--cwd=path] [--json]\n\nRecheck supported factual claims against operator-configured SQLite, filesystem, and JSON sources. Exits non-zero on mismatch, missing verifier, or verifier error.',
|
|
4256
|
+
'decisive-step': 'Usage: npx thumbgate decisive-step [--json] [--map-only]\n\nNVIDIA arXiv:2610.10478 decisive-step evaluation: isolates the first edit that flips tests from fail to pass and predicts coding skill at rho=0.964.',
|
|
3860
4257
|
'hermes-gate': 'Usage: npx thumbgate hermes-gate\n\nNous Research Hermes Agent pre_tool_call shell hook: reads Hermes tool-call JSON from stdin, runs the ThumbGate gate pipeline (strict by default), and outputs {"decision":"block","reason":...} to veto or {} to allow. Gates terminal/patch/skill_manage etc. See adapters/hermes/config.yaml.',
|
|
3861
4258
|
'break-glass': 'Usage: npx thumbgate break-glass --reason="why" [--ttl=5m] [--json]\n\nShort-lived recovery path for over-firing gates. Allows hook settings edits and satisfies PR-create/thread-check gates without disabling core destructive-action protections.',
|
|
3862
4259
|
serve: 'Usage: npx thumbgate serve\n\nStart the MCP stdio server. This is for agent runtimes, not the local HTTP dashboard.',
|
|
@@ -4439,11 +4836,74 @@ switch (COMMAND) {
|
|
|
4439
4836
|
case 'mlbom':
|
|
4440
4837
|
aiInventory();
|
|
4441
4838
|
break;
|
|
4839
|
+
case 'third-author':
|
|
4840
|
+
case 'third-author-governance':
|
|
4841
|
+
case 'earnie-audit':
|
|
4842
|
+
case 'explain':
|
|
4843
|
+
require(path.join(PKG_ROOT, 'scripts', 'third-author-cli')).main();
|
|
4844
|
+
break;
|
|
4845
|
+
case 'embeddinggemma':
|
|
4846
|
+
case 'embeddinggemma-2':
|
|
4847
|
+
case 'embedding-gemma':
|
|
4848
|
+
{
|
|
4849
|
+
const { runEmbeddingGemmaDoctor } = require(path.join(PKG_ROOT, 'scripts', 'embeddinggemma-adapter'));
|
|
4850
|
+
const isJson = process.argv.includes('--json');
|
|
4851
|
+
const results = runEmbeddingGemmaDoctor();
|
|
4852
|
+
if (results && results.status === 'fail') {
|
|
4853
|
+
process.exitCode = 1;
|
|
4854
|
+
}
|
|
4855
|
+
if (isJson) {
|
|
4856
|
+
console.log(JSON.stringify(results, null, 2));
|
|
4857
|
+
} else {
|
|
4858
|
+
console.log('\n============================================================');
|
|
4859
|
+
console.log(' ThumbGate: Google DeepMind EmbeddingGemma 2 Architecture');
|
|
4860
|
+
console.log('============================================================');
|
|
4861
|
+
console.log(`Model: ${results.model} (${results.backbone})`);
|
|
4862
|
+
console.log(`Native Dim: ${results.nativeDimension}d (MRL Tiers: ${results.mrlTiers.join(', ')}d)`);
|
|
4863
|
+
console.log(`Fast-Gate Dim: ${results.fastGateDimension}d (<0.5ms CPU budget)`);
|
|
4864
|
+
console.log(`Context Window: ${results.contextTokens} tokens (~32KB chars)`);
|
|
4865
|
+
console.log('------------------------------------------------------------');
|
|
4866
|
+
console.log('Verification Checks:');
|
|
4867
|
+
for (const chk of results.checks) {
|
|
4868
|
+
console.log(` • [${chk.status.toUpperCase()}] ${chk.name}`);
|
|
4869
|
+
}
|
|
4870
|
+
console.log('------------------------------------------------------------');
|
|
4871
|
+
console.log(`Overall Status: ${results.status.toUpperCase()}`);
|
|
4872
|
+
console.log('============================================================\n');
|
|
4873
|
+
}
|
|
4874
|
+
}
|
|
4875
|
+
break;
|
|
4442
4876
|
case 'deepseek-v4-runtime-guardrails':
|
|
4443
4877
|
case 'deepseek-runtime-guardrails':
|
|
4444
4878
|
case 'sparse-attention-runtime-guardrails':
|
|
4445
4879
|
deepseekV4RuntimeGuardrails();
|
|
4446
4880
|
break;
|
|
4881
|
+
case 'armor-compile': {
|
|
4882
|
+
const { compileThumbGateToArmorPlugin } = require(path.join(PKG_ROOT, 'scripts', 'openrouter-armor-partnership-diode'));
|
|
4883
|
+
const plugin = compileThumbGateToArmorPlugin({
|
|
4884
|
+
trustedRepo: 'github.com/IgorGanapolsky/ThumbGate',
|
|
4885
|
+
currentBranch: 'main',
|
|
4886
|
+
isProtectedBranch: true,
|
|
4887
|
+
});
|
|
4888
|
+
const args = parseArgs(process.argv.slice(3));
|
|
4889
|
+
if (args.json) {
|
|
4890
|
+
console.log(JSON.stringify(plugin, null, 2));
|
|
4891
|
+
} else {
|
|
4892
|
+
console.log(JSON.stringify(plugin.classifier_context, null, 2));
|
|
4893
|
+
}
|
|
4894
|
+
break;
|
|
4895
|
+
}
|
|
4896
|
+
case 'profound-aeo': {
|
|
4897
|
+
const { computeAeoVisibilityMatrix } = require(path.join(PKG_ROOT, 'scripts', 'profound-aeo-citation-engine'));
|
|
4898
|
+
const matrix = computeAeoVisibilityMatrix();
|
|
4899
|
+
const args = parseArgs(process.argv.slice(3));
|
|
4900
|
+
if (args.json) {
|
|
4901
|
+
console.log(JSON.stringify(matrix, null, 2));
|
|
4902
|
+
} else {
|
|
4903
|
+
console.log(JSON.stringify(matrix, null, 2));
|
|
4904
|
+
}
|
|
4905
|
+
break;
|
|
4906
|
+
}
|
|
4447
4907
|
case 'nvidia-specdecode-al-doctor':
|
|
4448
4908
|
case 'specdecode-al-doctor':
|
|
4449
4909
|
case 'speculative-decoding-al-doctor':
|
|
@@ -4468,12 +4928,33 @@ switch (COMMAND) {
|
|
|
4468
4928
|
case 'trust-handoff-honesty':
|
|
4469
4929
|
allowlistBridgeHonestyDoctor();
|
|
4470
4930
|
break;
|
|
4931
|
+
case 'agent-context-artifact':
|
|
4932
|
+
case 'wisdom-context-artifact':
|
|
4933
|
+
case 'context-artifact':
|
|
4934
|
+
agentContextArtifact();
|
|
4935
|
+
break;
|
|
4936
|
+
case 'session-export-gate':
|
|
4937
|
+
case 'bolt-forge-opt-in':
|
|
4938
|
+
case 'forge-export-gate':
|
|
4939
|
+
sessionExportGate();
|
|
4940
|
+
break;
|
|
4941
|
+
case 'coverage-gap':
|
|
4942
|
+
case 'vs-coverage-gap':
|
|
4943
|
+
case 'coverage-gap-honesty':
|
|
4944
|
+
coverageGap();
|
|
4945
|
+
break;
|
|
4471
4946
|
case 'jit-harness-compose':
|
|
4472
4947
|
case 'jit-compose':
|
|
4473
4948
|
case 'jit-harness':
|
|
4474
4949
|
case 'harness-compose':
|
|
4475
4950
|
jitHarnessCompose();
|
|
4476
4951
|
break;
|
|
4952
|
+
case 'fiddler-control-plane-honesty':
|
|
4953
|
+
case 'fiddler-honesty':
|
|
4954
|
+
case 'control-plane-honesty':
|
|
4955
|
+
case 'fiddler-control-plane':
|
|
4956
|
+
fiddlerControlPlaneHonesty();
|
|
4957
|
+
break;
|
|
4477
4958
|
case 'cobble-hot-store-split':
|
|
4478
4959
|
case 'cobble-hot-store':
|
|
4479
4960
|
case 'cobbledb-split':
|
|
@@ -4504,11 +4985,100 @@ switch (COMMAND) {
|
|
|
4504
4985
|
case 'compute-unit-honesty':
|
|
4505
4986
|
colabComputeHonestyDoctor();
|
|
4506
4987
|
break;
|
|
4988
|
+
case 'omp-coordination-honesty':
|
|
4989
|
+
case 'omp-coordination':
|
|
4990
|
+
case 'omp-honesty':
|
|
4991
|
+
ompCoordinationHonestyDoctor();
|
|
4992
|
+
break;
|
|
4993
|
+
case 'saas-moat-honesty':
|
|
4994
|
+
case 'saas-moats':
|
|
4995
|
+
case 'moat-honesty':
|
|
4996
|
+
saasMoatHonestyDoctor();
|
|
4997
|
+
break;
|
|
4998
|
+
case 'claude-routines-honesty':
|
|
4999
|
+
case 'routines-honesty':
|
|
5000
|
+
case 'workspace-routines':
|
|
5001
|
+
claudeRoutinesHonestyDoctor();
|
|
5002
|
+
break;
|
|
5003
|
+
case 'herdr-civilization-honesty':
|
|
5004
|
+
case 'herdr-honesty':
|
|
5005
|
+
case 'herdr-civilization':
|
|
5006
|
+
herdrCivilizationHonestyDoctor();
|
|
5007
|
+
break;
|
|
5008
|
+
case 'strands-decider-honesty':
|
|
5009
|
+
case 'strands-decider':
|
|
5010
|
+
case 'decider-honesty':
|
|
5011
|
+
strandsDeciderHonestyDoctor();
|
|
5012
|
+
break;
|
|
5013
|
+
case 'launchvideo-honesty':
|
|
5014
|
+
case 'launchvideo':
|
|
5015
|
+
case 'shipvideo-honesty':
|
|
5016
|
+
launchVideoHonestyDoctor();
|
|
5017
|
+
break;
|
|
5018
|
+
case 'torchtpu-honesty':
|
|
5019
|
+
case 'torchtpu':
|
|
5020
|
+
case 'torch-tpu-honesty':
|
|
5021
|
+
torchTpuHonestyDoctor();
|
|
5022
|
+
break;
|
|
5023
|
+
case 'fairstress-honesty':
|
|
5024
|
+
case 'fairstress':
|
|
5025
|
+
case 'ai2-fairstress':
|
|
5026
|
+
fairStressHonestyDoctor();
|
|
5027
|
+
break;
|
|
5028
|
+
case 'granite-switch-honesty':
|
|
5029
|
+
case 'granite-switch':
|
|
5030
|
+
graniteSwitchHonestyDoctor();
|
|
5031
|
+
break;
|
|
5032
|
+
case 'ml-intern-honesty':
|
|
5033
|
+
case 'ml-intern':
|
|
5034
|
+
mlInternHonestyDoctor();
|
|
5035
|
+
break;
|
|
5036
|
+
case 'pytorchcon-2026-honesty':
|
|
5037
|
+
case 'memt-honesty':
|
|
5038
|
+
case 'deepinfer-honesty':
|
|
5039
|
+
case 'llmd-honesty':
|
|
5040
|
+
pytorchCon2026HonestyDoctor();
|
|
5041
|
+
break;
|
|
5042
|
+
case 'devin-fusion-honesty':
|
|
5043
|
+
case 'devin-fusion':
|
|
5044
|
+
case 'sidekick-routing-honesty':
|
|
5045
|
+
devinFusionHonestyDoctor();
|
|
5046
|
+
break;
|
|
5047
|
+
case 'harness-ceiling':
|
|
5048
|
+
case 'harness-ceiling-doctor':
|
|
5049
|
+
harnessCeilingDoctor();
|
|
5050
|
+
break;
|
|
5051
|
+
case 'decisive-step':
|
|
5052
|
+
case 'decisive-step-doctor':
|
|
5053
|
+
case 'nvidia-decisive-step':
|
|
5054
|
+
decisiveStepDoctor();
|
|
5055
|
+
break;
|
|
4507
5056
|
case 'llm-obs-honesty':
|
|
4508
5057
|
case 'datadog-llm-obs':
|
|
4509
5058
|
case 'llm-observability-honesty':
|
|
4510
5059
|
llmObsHonesty();
|
|
4511
5060
|
break;
|
|
5061
|
+
case 'meko-datapack-honesty':
|
|
5062
|
+
case 'meko-datapack':
|
|
5063
|
+
case 'meko-honesty':
|
|
5064
|
+
mekoDatapackHonesty();
|
|
5065
|
+
break;
|
|
5066
|
+
case 'mintlify-knowledge-honesty':
|
|
5067
|
+
case 'mintlify-knowledge':
|
|
5068
|
+
case 'mintlify-state-of-knowledge':
|
|
5069
|
+
mintlifyKnowledgeHonesty();
|
|
5070
|
+
break;
|
|
5071
|
+
case 'siren-mcp-governance':
|
|
5072
|
+
case 'siren-governance':
|
|
5073
|
+
case 'siren-mcp':
|
|
5074
|
+
sirenMcpGovernance();
|
|
5075
|
+
break;
|
|
5076
|
+
case 'halo-trace-optimizer':
|
|
5077
|
+
case 'halo:optimize':
|
|
5078
|
+
case 'halo-optimizer':
|
|
5079
|
+
case 'trace-optimizer':
|
|
5080
|
+
haloTraceOptimizer();
|
|
5081
|
+
break;
|
|
4512
5082
|
case 'ci-gha-buildkite-patterns':
|
|
4513
5083
|
case 'ci-buildkite-patterns':
|
|
4514
5084
|
case 'gha-buildkite-honesty':
|
|
@@ -4522,6 +5092,17 @@ switch (COMMAND) {
|
|
|
4522
5092
|
case 'aqg-de-honesty':
|
|
4523
5093
|
deeppatternDisciplineHonestyDoctor();
|
|
4524
5094
|
break;
|
|
5095
|
+
case 'salt-code-policy-honesty':
|
|
5096
|
+
case 'salt-code-honesty':
|
|
5097
|
+
case 'salt-code':
|
|
5098
|
+
case 'saltcode':
|
|
5099
|
+
saltCodePolicyHonestyDoctor();
|
|
5100
|
+
break;
|
|
5101
|
+
case 'infoq-architect-honesty':
|
|
5102
|
+
case 'infoq-architects':
|
|
5103
|
+
case 'architect-honesty':
|
|
5104
|
+
infoqArchitectHonesty();
|
|
5105
|
+
break;
|
|
4525
5106
|
case 'workspace-search-route':
|
|
4526
5107
|
case 'zg-search-route':
|
|
4527
5108
|
case 'zvec-grep-route':
|