thumbgate 1.38.0 → 1.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/bolt-forge-opt-in-not-clone/SKILL.md +72 -0
- package/.agents/skills/decisive-step-evaluator/SKILL.md +47 -0
- package/.agents/skills/fiddler-control-plane-honesty/SKILL.md +61 -0
- package/.agents/skills/harness-evolution-ceiling/SKILL.md +52 -0
- package/.agents/skills/omp-coordination-honesty-not-clone/SKILL.md +94 -0
- package/.agents/skills/saas-moat-honesty-not-clone/SKILL.md +22 -0
- package/.agents/skills/siren-mcp-governance/SKILL.md +50 -0
- package/.agents/skills/vs-coverage-gap-not-clone/SKILL.md +69 -0
- package/.agents/skills/wisdom-context-artifact-not-clone/SKILL.md +67 -0
- package/.claude-plugin/plugin.json +1 -1
- package/.well-known/mcp/server-card.json +1 -1
- package/adapters/claude/.mcp.json +2 -2
- package/adapters/forge/forge.yaml +3 -3
- package/adapters/future-agi/.mcp.json +1 -1
- package/adapters/future-agi/config.toml +1 -1
- package/adapters/future-agi/opencode.json +1 -1
- package/adapters/herdr/herdr-plugin.toml +2 -2
- package/adapters/hotdata/hotdata-vector-store.js +575 -0
- package/adapters/mcp/server-stdio.js +1 -1
- package/adapters/opencode/opencode.json +1 -1
- package/adapters/strands/strands-box-diode.js +344 -0
- package/adapters/strands/strands-decider-adapter.js +445 -0
- package/bin/cli.js +472 -21
- package/config/gate-templates.json +37 -0
- package/config/gates/default.json +13 -0
- package/config/schemas/task-outcome-receipt.schema.json +12 -0
- package/package.json +102 -18
- package/public/blog/2026-10-05-why-3-days-of-triage-wont-save-ai-speed-code.html +119 -0
- package/public/blog/2026-10-09-your-code-got-a-third-author-governance.html +141 -0
- package/public/connectors.html +329 -0
- package/public/enterprise-governance.html +311 -0
- package/public/gaming-playbook.html +732 -0
- package/public/index.html +77 -51
- package/public/install.html +7 -7
- package/public/learn.html +14 -0
- package/public/numbers.html +2 -2
- package/public/operator-framework.html +385 -0
- package/public/pricing.html +14 -10
- package/scripts/activesaddler-curriculum-doctor.js +357 -0
- package/scripts/agent-context-artifact.js +325 -0
- package/scripts/agent-egress-policy.js +2 -2
- package/scripts/agent-operations-planner.js +1 -1
- package/scripts/agent-outcome-eval.js +1 -1
- package/scripts/agent-reliability-client.js +148 -0
- package/scripts/apple-minions-idle-compute-steal.js +428 -0
- package/scripts/billing.js +0 -1
- package/scripts/cli-demo.js +505 -1
- package/scripts/cli-schema.js +36 -0
- package/scripts/colab-compute-honesty.js +93 -0
- package/scripts/corporate-email-isolation-diode.js +299 -0
- package/scripts/coverage-gap.js +396 -0
- package/scripts/dashboard-chat.js +3 -3
- package/scripts/dashboard.js +2 -2
- package/scripts/decisive-step-doctor.js +256 -0
- package/scripts/decisive-step-evaluator.js +390 -0
- package/scripts/entitlement.js +18 -7
- package/scripts/feedback-loop.js +26 -3
- package/scripts/fiddler-control-plane-honesty.js +303 -0
- package/scripts/financial-control-plane.js +10 -2
- package/scripts/gates-engine.js +3 -1
- package/scripts/github-license-compliance-diode.js +378 -0
- package/scripts/harness-ceiling-doctor.js +326 -0
- package/scripts/hf-papers.js +1 -1
- package/scripts/human-escalation.js +7 -1
- package/scripts/hybrid-feedback-context.js +53 -7
- package/scripts/lesson-graph.js +785 -0
- package/scripts/lesson-inference.js +1 -1
- package/scripts/lesson-retrieval.js +26 -18
- package/scripts/license.js +122 -21
- package/scripts/llm-behavior-monitor.js +1 -1
- package/scripts/llm-obs-honesty.js +52 -0
- package/scripts/local-model-profile.js +11 -7
- package/scripts/mailer/resend-mailer.js +6 -3
- package/scripts/mcp-transport-strategy.js +1 -1
- package/scripts/migrate-lesson-graph.js +442 -0
- package/scripts/model-distress-doctor.js +168 -0
- package/scripts/multi-harness-invariants.js +305 -0
- package/scripts/omp-coordination-honesty.js +488 -0
- package/scripts/pro-local-dashboard.js +20 -3
- package/scripts/prompt-eval.js +1 -1
- package/scripts/prove-herdr-adapter.js +367 -3
- package/scripts/rag-embedding-identity.js +1 -1
- package/scripts/rrsi-regularizer.js +86 -0
- package/scripts/saas-moat-honesty.js +443 -0
- package/scripts/secret-redaction.js +58 -0
- package/scripts/session-export-gate.js +368 -0
- package/scripts/siren-mcp-governance.js +539 -0
- package/scripts/strands-box-doctor.js +130 -0
- package/scripts/stripe-revenue-catalog-audit.js +12 -0
- package/scripts/stripe-revenue-catalog.js +40 -0
- package/scripts/switchyard-router.js +153 -0
- package/scripts/task-outcomes.js +148 -3
- package/scripts/thumbgate-board-loop.js +4 -2
- package/scripts/thumbgate-daily-discoveries-publish.js +86 -38
- package/scripts/triage-savings-calculator.js +181 -0
- package/scripts/vector-store.js +41 -2
- package/scripts/vulnerability-pre-action-diode.js +319 -0
- package/scripts/windbg-evidence-diagnostics.js +241 -0
- package/scripts/workflow-intake-queue.js +1 -1
- package/scripts/workspace-agent-routines.js +534 -6
- package/server.json +2 -2
- package/skills/siren-mcp-governance/SKILL.md +50 -0
- package/src/api/server.js +158 -1
- package/src/mcp-writeguard.js +1 -1
- package/src/session-interactivity.js +284 -0
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 {
|
|
@@ -2867,6 +2969,102 @@ function colabComputeHonestyDoctor() {
|
|
|
2867
2969
|
if (report.status === 'fail') process.exitCode = 1;
|
|
2868
2970
|
}
|
|
2869
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
|
+
}
|
|
2870
3068
|
function llmObsHonesty() {
|
|
2871
3069
|
const args = parseArgs(process.argv.slice(3));
|
|
2872
3070
|
const {
|
|
@@ -2920,6 +3118,23 @@ function mintlifyKnowledgeHonesty() {
|
|
|
2920
3118
|
}
|
|
2921
3119
|
}
|
|
2922
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
|
+
|
|
2923
3138
|
function haloTraceOptimizer() {
|
|
2924
3139
|
const args = parseArgs(process.argv.slice(3));
|
|
2925
3140
|
const {
|
|
@@ -2935,6 +3150,11 @@ function haloTraceOptimizer() {
|
|
|
2935
3150
|
if (report.status === 'fail') process.exitCode = 1;
|
|
2936
3151
|
}
|
|
2937
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
|
+
|
|
2938
3158
|
function cobbleHotStoreSplit() {
|
|
2939
3159
|
const args = parseArgs(process.argv.slice(3));
|
|
2940
3160
|
const {
|
|
@@ -3263,22 +3483,6 @@ async function gateCheck() {
|
|
|
3263
3483
|
const input = payload ? JSON.parse(payload) : {};
|
|
3264
3484
|
const gatesEngine = require(path.join(PKG_ROOT, 'scripts', 'gates-engine'));
|
|
3265
3485
|
|
|
3266
|
-
// The operator bypass only skips advisory and strict-mode gates. Security and
|
|
3267
|
-
// self-protection floors are evaluated before the early approval path.
|
|
3268
|
-
if (process.env.THUMBGATE_HOTFIX_BYPASS === '1') {
|
|
3269
|
-
const hardFloorOutput = gatesEngine.runHardFloor(input);
|
|
3270
|
-
if (hardFloorOutput) {
|
|
3271
|
-
process.stdout.write(hardFloorOutput + '\n');
|
|
3272
|
-
return;
|
|
3273
|
-
}
|
|
3274
|
-
process.stdout.write(JSON.stringify({
|
|
3275
|
-
decision: 'approve',
|
|
3276
|
-
reason: 'operator-bypass-opt-in',
|
|
3277
|
-
hookSpecificOutput: { hookEventName: 'PreToolUse', additionalContext: '' }
|
|
3278
|
-
}) + '\n');
|
|
3279
|
-
return;
|
|
3280
|
-
}
|
|
3281
|
-
|
|
3282
3486
|
const { evaluatePreToolUse } = require(path.join(PKG_ROOT, 'scripts', 'token-shunt-honesty'));
|
|
3283
3487
|
const shunt = evaluatePreToolUse({
|
|
3284
3488
|
toolName: input.tool_name || input.toolName,
|
|
@@ -3298,6 +3502,43 @@ async function gateCheck() {
|
|
|
3298
3502
|
return;
|
|
3299
3503
|
}
|
|
3300
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
|
+
|
|
3301
3542
|
const output = await gatesEngine.runAsync(input);
|
|
3302
3543
|
process.stdout.write(output + '\n');
|
|
3303
3544
|
} catch (err) {
|
|
@@ -3836,6 +4077,9 @@ function help() {
|
|
|
3836
4077
|
console.log(' rag-precision-guardrails Map retrieval tuning regressions to Document RAG Safety gates');
|
|
3837
4078
|
console.log(' ai-engineering-stack-guardrails Map gateway, MCP, AGENTS.md, LLM wiki, reviewer, and sandbox gaps to stack gates');
|
|
3838
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');
|
|
3839
4083
|
console.log(' upstream-contributions Find dependency issues worth fixing without promotional PRs');
|
|
3840
4084
|
console.log(' long-running-agent-context-guardrails Map structured-memory gaps to long-running agent gates');
|
|
3841
4085
|
console.log(' reasoning-efficiency-guardrails Map reasoning compression signals to efficiency gates');
|
|
@@ -3844,7 +4088,14 @@ function help() {
|
|
|
3844
4088
|
console.log(' package-manager-honesty-doctor Audit lockfile/CI parity; fail-closed manager switches');
|
|
3845
4089
|
console.log(' openui-catalog-compose-honesty Catalog-compose-only + repair-before-claim (OpenUI FORMAT)');
|
|
3846
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');
|
|
3847
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)');
|
|
3848
4099
|
console.log(' cobble-hot-store-split Split durable/delivery/hot lesson planes (CobbleDB FORMAT)');
|
|
3849
4100
|
console.log(' token-shunt-honesty Intercept untargeted bulk reads (Portal FORMAT; not shunt@portal)');
|
|
3850
4101
|
console.log(' typesafe-typed-questions Typed noul/choice/score + code-owned route (TypeSafe FORMAT; not Jev)');
|
|
@@ -3853,8 +4104,21 @@ function help() {
|
|
|
3853
4104
|
console.log(' salt-code-policy-honesty 40-policy taxonomy + context vs PreToolUse diode (Salt Code FORMAT)');
|
|
3854
4105
|
console.log(' infoq-architect-honesty Code-as-truth, typed host, lease, time-in-queue (InfoQ FORMAT)');
|
|
3855
4106
|
console.log(' colab-compute-honesty Compute-unit honesty from Colab /signup (not a GPU SKU)');
|
|
3856
|
-
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)');
|
|
3857
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)');
|
|
3858
4122
|
console.log(' board-loop Classify+drain Issues/PR wall (BEHIND Dependabot, never approve)');
|
|
3859
4123
|
console.log(' workspace-search-route Route query to rg/fts/vector/hybrid/graph (zg FORMAT)');
|
|
3860
4124
|
console.log(' intent-governed-execution NL intent → classify/authorize/gate/HITL/evidence (CyberStrike FORMAT)');
|
|
@@ -3899,6 +4163,7 @@ function help() {
|
|
|
3899
4163
|
console.log(' npx thumbgate openui-catalog-compose-honesty --catalog=catalog.json --stream=compose.txt --repair --json');
|
|
3900
4164
|
console.log(' npx thumbgate allowlist-bridge-honesty --json');
|
|
3901
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');
|
|
3902
4167
|
console.log(' npx thumbgate cobble-hot-store-split --json');
|
|
3903
4168
|
console.log(' npx thumbgate token-shunt-honesty --json --lines=800');
|
|
3904
4169
|
console.log(' npx thumbgate typesafe-typed-questions --json --tool-name=Bash --command="git push --force origin main"');
|
|
@@ -3906,9 +4171,22 @@ function help() {
|
|
|
3906
4171
|
console.log(' npx thumbgate deeppattern-discipline-honesty --json --map-only');
|
|
3907
4172
|
console.log(' npx thumbgate salt-code-policy-honesty --inspect-code=src/api.js --json');
|
|
3908
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');
|
|
3909
4186
|
console.log(' npx thumbgate llm-obs-honesty --json');
|
|
3910
4187
|
console.log(' npx thumbgate meko-datapack-honesty --json');
|
|
3911
4188
|
console.log(' npx thumbgate mintlify-knowledge-honesty --json');
|
|
4189
|
+
console.log(' npx thumbgate siren-mcp-governance --json --map-only');
|
|
3912
4190
|
console.log(' npx thumbgate board-loop --json');
|
|
3913
4191
|
console.log(' npx thumbgate workspace-search-route --query="how does X connect" --json');
|
|
3914
4192
|
console.log(' npx thumbgate intent-governed-execution --intent="railway deploy" --json');
|
|
@@ -3951,15 +4229,31 @@ const SUBCOMMAND_HELP = {
|
|
|
3951
4229
|
lessons: 'Usage: npx thumbgate lessons [--query="..."] [--limit=N]\n\nSearch the lesson database (Pro feature).',
|
|
3952
4230
|
search: 'Usage: npx thumbgate search <query>\n\nSearch ThumbGate knowledge base (Pro feature).',
|
|
3953
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.',
|
|
3954
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.',
|
|
3955
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.',
|
|
3956
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.',
|
|
3957
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.',
|
|
3958
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.',
|
|
3959
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.',
|
|
3960
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+.',
|
|
3961
|
-
'
|
|
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.',
|
|
3962
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.',
|
|
3963
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.',
|
|
3964
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.',
|
|
3965
4259
|
serve: 'Usage: npx thumbgate serve\n\nStart the MCP stdio server. This is for agent runtimes, not the local HTTP dashboard.',
|
|
@@ -4542,11 +4836,74 @@ switch (COMMAND) {
|
|
|
4542
4836
|
case 'mlbom':
|
|
4543
4837
|
aiInventory();
|
|
4544
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;
|
|
4545
4876
|
case 'deepseek-v4-runtime-guardrails':
|
|
4546
4877
|
case 'deepseek-runtime-guardrails':
|
|
4547
4878
|
case 'sparse-attention-runtime-guardrails':
|
|
4548
4879
|
deepseekV4RuntimeGuardrails();
|
|
4549
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
|
+
}
|
|
4550
4907
|
case 'nvidia-specdecode-al-doctor':
|
|
4551
4908
|
case 'specdecode-al-doctor':
|
|
4552
4909
|
case 'speculative-decoding-al-doctor':
|
|
@@ -4571,12 +4928,33 @@ switch (COMMAND) {
|
|
|
4571
4928
|
case 'trust-handoff-honesty':
|
|
4572
4929
|
allowlistBridgeHonestyDoctor();
|
|
4573
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;
|
|
4574
4946
|
case 'jit-harness-compose':
|
|
4575
4947
|
case 'jit-compose':
|
|
4576
4948
|
case 'jit-harness':
|
|
4577
4949
|
case 'harness-compose':
|
|
4578
4950
|
jitHarnessCompose();
|
|
4579
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;
|
|
4580
4958
|
case 'cobble-hot-store-split':
|
|
4581
4959
|
case 'cobble-hot-store':
|
|
4582
4960
|
case 'cobbledb-split':
|
|
@@ -4607,6 +4985,74 @@ switch (COMMAND) {
|
|
|
4607
4985
|
case 'compute-unit-honesty':
|
|
4608
4986
|
colabComputeHonestyDoctor();
|
|
4609
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;
|
|
4610
5056
|
case 'llm-obs-honesty':
|
|
4611
5057
|
case 'datadog-llm-obs':
|
|
4612
5058
|
case 'llm-observability-honesty':
|
|
@@ -4622,6 +5068,11 @@ switch (COMMAND) {
|
|
|
4622
5068
|
case 'mintlify-state-of-knowledge':
|
|
4623
5069
|
mintlifyKnowledgeHonesty();
|
|
4624
5070
|
break;
|
|
5071
|
+
case 'siren-mcp-governance':
|
|
5072
|
+
case 'siren-governance':
|
|
5073
|
+
case 'siren-mcp':
|
|
5074
|
+
sirenMcpGovernance();
|
|
5075
|
+
break;
|
|
4625
5076
|
case 'halo-trace-optimizer':
|
|
4626
5077
|
case 'halo:optimize':
|
|
4627
5078
|
case 'halo-optimizer':
|