@vibecheckai/cli 3.5.0 → 3.5.1
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/bin/registry.js +174 -449
- package/bin/runners/cli-utils.js +33 -2
- package/bin/runners/context/generators/cursor.js +2 -49
- package/bin/runners/context/generators/mcp.js +13 -15
- package/bin/runners/context/proof-context.js +1 -248
- package/bin/runners/lib/analysis-core.js +180 -198
- package/bin/runners/lib/analyzers.js +241 -2212
- package/bin/runners/lib/cli-output.js +210 -242
- package/bin/runners/lib/detectors-v2.js +785 -547
- package/bin/runners/lib/entitlements-v2.js +431 -161
- package/bin/runners/lib/error-handler.js +9 -16
- package/bin/runners/lib/global-flags.js +0 -37
- package/bin/runners/lib/html-proof-report.js +700 -350
- package/bin/runners/lib/missions/plan.js +6 -46
- package/bin/runners/lib/missions/templates.js +0 -232
- package/bin/runners/lib/route-truth.js +322 -1167
- package/bin/runners/lib/scan-output.js +467 -493
- package/bin/runners/lib/ship-output.js +27 -280
- package/bin/runners/lib/terminal-ui.js +700 -310
- package/bin/runners/lib/truth.js +321 -1004
- package/bin/runners/lib/unified-output.js +158 -162
- package/bin/runners/lib/upsell.js +204 -104
- package/bin/runners/runAIAgent.js +10 -5
- package/bin/runners/runAllowlist.js +324 -0
- package/bin/runners/runAuth.js +94 -344
- package/bin/runners/runCheckpoint.js +45 -43
- package/bin/runners/runContext.js +24 -139
- package/bin/runners/runDoctor.js +101 -136
- package/bin/runners/runEvidencePack.js +219 -0
- package/bin/runners/runFix.js +71 -82
- package/bin/runners/runGuard.js +119 -606
- package/bin/runners/runInit.js +60 -22
- package/bin/runners/runInstall.js +281 -0
- package/bin/runners/runLabs.js +341 -0
- package/bin/runners/runMcp.js +62 -139
- package/bin/runners/runPolish.js +83 -282
- package/bin/runners/runPromptFirewall.js +12 -5
- package/bin/runners/runProve.js +58 -33
- package/bin/runners/runReality.js +58 -81
- package/bin/runners/runReport.js +7 -34
- package/bin/runners/runRuntime.js +8 -5
- package/bin/runners/runScan.js +844 -219
- package/bin/runners/runShip.js +59 -721
- package/bin/runners/runValidate.js +11 -24
- package/bin/runners/runWatch.js +76 -131
- package/bin/vibecheck.js +69 -295
- package/mcp-server/ARCHITECTURE.md +339 -0
- package/mcp-server/__tests__/cache.test.ts +313 -0
- package/mcp-server/__tests__/executor.test.ts +239 -0
- package/mcp-server/__tests__/fixtures/exclusion-test/.cache/webpack/cache.pack +1 -0
- package/mcp-server/__tests__/fixtures/exclusion-test/.next/server/chunk.js +3 -0
- package/mcp-server/__tests__/fixtures/exclusion-test/.turbo/cache.json +3 -0
- package/mcp-server/__tests__/fixtures/exclusion-test/.venv/lib/env.py +3 -0
- package/mcp-server/__tests__/fixtures/exclusion-test/dist/bundle.js +3 -0
- package/mcp-server/__tests__/fixtures/exclusion-test/package.json +5 -0
- package/mcp-server/__tests__/fixtures/exclusion-test/src/app.ts +5 -0
- package/mcp-server/__tests__/fixtures/exclusion-test/venv/lib/config.py +4 -0
- package/mcp-server/__tests__/ids.test.ts +345 -0
- package/mcp-server/__tests__/integration/tools.test.ts +410 -0
- package/mcp-server/__tests__/registry.test.ts +365 -0
- package/mcp-server/__tests__/sandbox.test.ts +323 -0
- package/mcp-server/__tests__/schemas.test.ts +372 -0
- package/mcp-server/benchmarks/run-benchmarks.ts +304 -0
- package/mcp-server/examples/doctor.request.json +14 -0
- package/mcp-server/examples/doctor.response.json +53 -0
- package/mcp-server/examples/error.response.json +15 -0
- package/mcp-server/examples/scan.request.json +14 -0
- package/mcp-server/examples/scan.response.json +108 -0
- package/mcp-server/handlers/tool-handler.ts +671 -0
- package/mcp-server/index-v1.js +698 -0
- package/mcp-server/index-v3.ts +293 -0
- package/mcp-server/index.js +1080 -1757
- package/mcp-server/index.old.js +4137 -0
- package/mcp-server/lib/cache.ts +341 -0
- package/mcp-server/lib/errors.ts +346 -0
- package/mcp-server/lib/executor.ts +792 -0
- package/mcp-server/lib/ids.ts +238 -0
- package/mcp-server/lib/logger.ts +368 -0
- package/mcp-server/lib/metrics.ts +365 -0
- package/mcp-server/lib/sandbox.ts +337 -0
- package/mcp-server/lib/validator.ts +229 -0
- package/mcp-server/package-lock.json +165 -0
- package/mcp-server/package.json +32 -7
- package/mcp-server/premium-tools.js +2 -2
- package/mcp-server/registry/tools.json +476 -0
- package/mcp-server/schemas/error-envelope.schema.json +125 -0
- package/mcp-server/schemas/finding.schema.json +167 -0
- package/mcp-server/schemas/report-artifact.schema.json +88 -0
- package/mcp-server/schemas/run-request.schema.json +75 -0
- package/mcp-server/schemas/verdict.schema.json +168 -0
- package/mcp-server/tier-auth.d.ts +71 -0
- package/mcp-server/tier-auth.js +371 -183
- package/mcp-server/truth-context.js +90 -131
- package/mcp-server/truth-firewall-tools.js +1000 -1611
- package/mcp-server/tsconfig.json +34 -0
- package/mcp-server/vibecheck-tools.js +2 -2
- package/mcp-server/vitest.config.ts +16 -0
- package/package.json +3 -4
- package/bin/runners/lib/agent-firewall/ai/false-positive-analyzer.js +0 -474
- package/bin/runners/lib/agent-firewall/change-packet/builder.js +0 -488
- package/bin/runners/lib/agent-firewall/change-packet/schema.json +0 -228
- package/bin/runners/lib/agent-firewall/change-packet/store.js +0 -200
- package/bin/runners/lib/agent-firewall/claims/claim-types.js +0 -21
- package/bin/runners/lib/agent-firewall/claims/extractor.js +0 -303
- package/bin/runners/lib/agent-firewall/claims/patterns.js +0 -24
- package/bin/runners/lib/agent-firewall/critic/index.js +0 -151
- package/bin/runners/lib/agent-firewall/critic/judge.js +0 -432
- package/bin/runners/lib/agent-firewall/critic/prompts.js +0 -305
- package/bin/runners/lib/agent-firewall/evidence/auth-evidence.js +0 -88
- package/bin/runners/lib/agent-firewall/evidence/contract-evidence.js +0 -75
- package/bin/runners/lib/agent-firewall/evidence/env-evidence.js +0 -127
- package/bin/runners/lib/agent-firewall/evidence/resolver.js +0 -102
- package/bin/runners/lib/agent-firewall/evidence/route-evidence.js +0 -213
- package/bin/runners/lib/agent-firewall/evidence/side-effect-evidence.js +0 -145
- package/bin/runners/lib/agent-firewall/fs-hook/daemon.js +0 -19
- package/bin/runners/lib/agent-firewall/fs-hook/installer.js +0 -87
- package/bin/runners/lib/agent-firewall/fs-hook/watcher.js +0 -184
- package/bin/runners/lib/agent-firewall/git-hook/pre-commit.js +0 -163
- package/bin/runners/lib/agent-firewall/ide-extension/cursor.js +0 -107
- package/bin/runners/lib/agent-firewall/ide-extension/vscode.js +0 -68
- package/bin/runners/lib/agent-firewall/ide-extension/windsurf.js +0 -66
- package/bin/runners/lib/agent-firewall/interceptor/base.js +0 -304
- package/bin/runners/lib/agent-firewall/interceptor/cursor.js +0 -35
- package/bin/runners/lib/agent-firewall/interceptor/vscode.js +0 -35
- package/bin/runners/lib/agent-firewall/interceptor/windsurf.js +0 -34
- package/bin/runners/lib/agent-firewall/lawbook/distributor.js +0 -465
- package/bin/runners/lib/agent-firewall/lawbook/evaluator.js +0 -604
- package/bin/runners/lib/agent-firewall/lawbook/index.js +0 -304
- package/bin/runners/lib/agent-firewall/lawbook/registry.js +0 -514
- package/bin/runners/lib/agent-firewall/lawbook/schema.js +0 -420
- package/bin/runners/lib/agent-firewall/learning/learning-engine.js +0 -849
- package/bin/runners/lib/agent-firewall/logger.js +0 -141
- package/bin/runners/lib/agent-firewall/policy/default-policy.json +0 -90
- package/bin/runners/lib/agent-firewall/policy/engine.js +0 -103
- package/bin/runners/lib/agent-firewall/policy/loader.js +0 -451
- package/bin/runners/lib/agent-firewall/policy/rules/auth-drift.js +0 -50
- package/bin/runners/lib/agent-firewall/policy/rules/contract-drift.js +0 -50
- package/bin/runners/lib/agent-firewall/policy/rules/fake-success.js +0 -86
- package/bin/runners/lib/agent-firewall/policy/rules/ghost-env.js +0 -162
- package/bin/runners/lib/agent-firewall/policy/rules/ghost-route.js +0 -189
- package/bin/runners/lib/agent-firewall/policy/rules/scope.js +0 -93
- package/bin/runners/lib/agent-firewall/policy/rules/unsafe-side-effect.js +0 -57
- package/bin/runners/lib/agent-firewall/policy/schema.json +0 -183
- package/bin/runners/lib/agent-firewall/policy/verdict.js +0 -54
- package/bin/runners/lib/agent-firewall/proposal/extractor.js +0 -394
- package/bin/runners/lib/agent-firewall/proposal/index.js +0 -212
- package/bin/runners/lib/agent-firewall/proposal/schema.js +0 -251
- package/bin/runners/lib/agent-firewall/proposal/validator.js +0 -386
- package/bin/runners/lib/agent-firewall/reality/index.js +0 -332
- package/bin/runners/lib/agent-firewall/reality/state.js +0 -625
- package/bin/runners/lib/agent-firewall/reality/watcher.js +0 -322
- package/bin/runners/lib/agent-firewall/risk/index.js +0 -173
- package/bin/runners/lib/agent-firewall/risk/scorer.js +0 -328
- package/bin/runners/lib/agent-firewall/risk/thresholds.js +0 -321
- package/bin/runners/lib/agent-firewall/risk/vectors.js +0 -421
- package/bin/runners/lib/agent-firewall/simulator/diff-simulator.js +0 -472
- package/bin/runners/lib/agent-firewall/simulator/import-resolver.js +0 -346
- package/bin/runners/lib/agent-firewall/simulator/index.js +0 -181
- package/bin/runners/lib/agent-firewall/simulator/route-validator.js +0 -380
- package/bin/runners/lib/agent-firewall/time-machine/incident-correlator.js +0 -661
- package/bin/runners/lib/agent-firewall/time-machine/index.js +0 -267
- package/bin/runners/lib/agent-firewall/time-machine/replay-engine.js +0 -436
- package/bin/runners/lib/agent-firewall/time-machine/state-reconstructor.js +0 -490
- package/bin/runners/lib/agent-firewall/time-machine/timeline-builder.js +0 -530
- package/bin/runners/lib/agent-firewall/truthpack/index.js +0 -67
- package/bin/runners/lib/agent-firewall/truthpack/loader.js +0 -137
- package/bin/runners/lib/agent-firewall/unblock/planner.js +0 -337
- package/bin/runners/lib/agent-firewall/utils/ignore-checker.js +0 -118
- package/bin/runners/lib/api-client.js +0 -269
- package/bin/runners/lib/audit-logger.js +0 -532
- package/bin/runners/lib/authority/authorities/architecture.js +0 -364
- package/bin/runners/lib/authority/authorities/compliance.js +0 -341
- package/bin/runners/lib/authority/authorities/human.js +0 -343
- package/bin/runners/lib/authority/authorities/quality.js +0 -420
- package/bin/runners/lib/authority/authorities/security.js +0 -228
- package/bin/runners/lib/authority/index.js +0 -293
- package/bin/runners/lib/authority-badge.js +0 -425
- package/bin/runners/lib/bundle/bundle-intelligence.js +0 -846
- package/bin/runners/lib/cli-charts.js +0 -368
- package/bin/runners/lib/cli-config-display.js +0 -405
- package/bin/runners/lib/cli-demo.js +0 -275
- package/bin/runners/lib/cli-errors.js +0 -438
- package/bin/runners/lib/cli-help-formatter.js +0 -439
- package/bin/runners/lib/cli-interactive-menu.js +0 -509
- package/bin/runners/lib/cli-prompts.js +0 -441
- package/bin/runners/lib/cli-scan-cards.js +0 -362
- package/bin/runners/lib/compliance-reporter.js +0 -710
- package/bin/runners/lib/conductor/index.js +0 -671
- package/bin/runners/lib/easy/README.md +0 -123
- package/bin/runners/lib/easy/index.js +0 -140
- package/bin/runners/lib/easy/interactive-wizard.js +0 -788
- package/bin/runners/lib/easy/one-click-firewall.js +0 -564
- package/bin/runners/lib/easy/zero-config-reality.js +0 -714
- package/bin/runners/lib/engines/accessibility-engine.js +0 -390
- package/bin/runners/lib/engines/api-consistency-engine.js +0 -467
- package/bin/runners/lib/engines/ast-cache.js +0 -99
- package/bin/runners/lib/engines/async-patterns-engine.js +0 -444
- package/bin/runners/lib/engines/bundle-size-engine.js +0 -433
- package/bin/runners/lib/engines/code-quality-engine.js +0 -255
- package/bin/runners/lib/engines/confidence-scoring.js +0 -276
- package/bin/runners/lib/engines/console-logs-engine.js +0 -115
- package/bin/runners/lib/engines/context-detection.js +0 -264
- package/bin/runners/lib/engines/cross-file-analysis-engine.js +0 -533
- package/bin/runners/lib/engines/database-patterns-engine.js +0 -429
- package/bin/runners/lib/engines/dead-code-engine.js +0 -198
- package/bin/runners/lib/engines/deprecated-api-engine.js +0 -226
- package/bin/runners/lib/engines/duplicate-code-engine.js +0 -354
- package/bin/runners/lib/engines/empty-catch-engine.js +0 -260
- package/bin/runners/lib/engines/env-variables-engine.js +0 -458
- package/bin/runners/lib/engines/error-handling-engine.js +0 -437
- package/bin/runners/lib/engines/false-positive-prevention.js +0 -630
- package/bin/runners/lib/engines/file-filter.js +0 -131
- package/bin/runners/lib/engines/framework-adapters/index.js +0 -607
- package/bin/runners/lib/engines/framework-detection.js +0 -508
- package/bin/runners/lib/engines/hardcoded-secrets-engine.js +0 -251
- package/bin/runners/lib/engines/import-order-engine.js +0 -429
- package/bin/runners/lib/engines/mock-data-engine.js +0 -315
- package/bin/runners/lib/engines/naming-conventions-engine.js +0 -544
- package/bin/runners/lib/engines/noise-reduction-engine.js +0 -452
- package/bin/runners/lib/engines/orchestrator.js +0 -334
- package/bin/runners/lib/engines/parallel-processor.js +0 -71
- package/bin/runners/lib/engines/performance-issues-engine.js +0 -405
- package/bin/runners/lib/engines/react-patterns-engine.js +0 -457
- package/bin/runners/lib/engines/security-vulnerabilities-engine.js +0 -571
- package/bin/runners/lib/engines/todo-fixme-engine.js +0 -115
- package/bin/runners/lib/engines/type-aware-engine.js +0 -376
- package/bin/runners/lib/engines/unsafe-regex-engine.js +0 -225
- package/bin/runners/lib/engines/vibecheck-engines/README.md +0 -53
- package/bin/runners/lib/engines/vibecheck-engines/index.js +0 -124
- package/bin/runners/lib/engines/vibecheck-engines/lib/ai-hallucination-engine.js +0 -806
- package/bin/runners/lib/engines/vibecheck-engines/lib/hardcoded-secrets-engine.js +0 -439
- package/bin/runners/lib/engines/vibecheck-engines/lib/smart-fix-engine.js +0 -577
- package/bin/runners/lib/engines/vibecheck-engines/lib/vibe-score-engine.js +0 -543
- package/bin/runners/lib/engines/vibecheck-engines/package.json +0 -13
- package/bin/runners/lib/engines/vibecheck-engines.js +0 -514
- package/bin/runners/lib/enhanced-features/index.js +0 -305
- package/bin/runners/lib/enhanced-output.js +0 -631
- package/bin/runners/lib/enterprise.js +0 -300
- package/bin/runners/lib/exit-codes.js +0 -275
- package/bin/runners/lib/fingerprint.js +0 -377
- package/bin/runners/lib/firewall/command-validator.js +0 -351
- package/bin/runners/lib/firewall/config.js +0 -341
- package/bin/runners/lib/firewall/content-validator.js +0 -519
- package/bin/runners/lib/firewall/index.js +0 -101
- package/bin/runners/lib/firewall/path-validator.js +0 -256
- package/bin/runners/lib/help-formatter.js +0 -413
- package/bin/runners/lib/intelligence/cross-repo-intelligence.js +0 -817
- package/bin/runners/lib/logger.js +0 -38
- package/bin/runners/lib/mcp-utils.js +0 -425
- package/bin/runners/lib/output/index.js +0 -1022
- package/bin/runners/lib/policy-engine.js +0 -652
- package/bin/runners/lib/polish/autofix/accessibility-fixes.js +0 -333
- package/bin/runners/lib/polish/autofix/async-handlers.js +0 -273
- package/bin/runners/lib/polish/autofix/dead-code.js +0 -280
- package/bin/runners/lib/polish/autofix/imports-optimizer.js +0 -344
- package/bin/runners/lib/polish/autofix/index.js +0 -200
- package/bin/runners/lib/polish/autofix/remove-consoles.js +0 -209
- package/bin/runners/lib/polish/autofix/strengthen-types.js +0 -245
- package/bin/runners/lib/polish/backend-checks.js +0 -148
- package/bin/runners/lib/polish/documentation-checks.js +0 -111
- package/bin/runners/lib/polish/frontend-checks.js +0 -168
- package/bin/runners/lib/polish/index.js +0 -71
- package/bin/runners/lib/polish/infrastructure-checks.js +0 -131
- package/bin/runners/lib/polish/library-detection.js +0 -175
- package/bin/runners/lib/polish/performance-checks.js +0 -100
- package/bin/runners/lib/polish/security-checks.js +0 -148
- package/bin/runners/lib/polish/utils.js +0 -203
- package/bin/runners/lib/prompt-builder.js +0 -540
- package/bin/runners/lib/proof-certificate.js +0 -634
- package/bin/runners/lib/reality/accessibility-audit.js +0 -946
- package/bin/runners/lib/reality/api-contract-validator.js +0 -1012
- package/bin/runners/lib/reality/chaos-engineering.js +0 -1084
- package/bin/runners/lib/reality/performance-tracker.js +0 -1077
- package/bin/runners/lib/reality/scenario-generator.js +0 -1404
- package/bin/runners/lib/reality/visual-regression.js +0 -852
- package/bin/runners/lib/reality-profiler.js +0 -717
- package/bin/runners/lib/replay/flight-recorder-viewer.js +0 -1160
- package/bin/runners/lib/review/ai-code-review.js +0 -832
- package/bin/runners/lib/rules/custom-rule-engine.js +0 -985
- package/bin/runners/lib/sbom-generator.js +0 -641
- package/bin/runners/lib/scan-output-enhanced.js +0 -512
- package/bin/runners/lib/security/owasp-scanner.js +0 -939
- package/bin/runners/lib/ship-output-enterprise.js +0 -239
- package/bin/runners/lib/unified-cli-output.js +0 -777
- package/bin/runners/lib/validators/contract-validator.js +0 -283
- package/bin/runners/lib/validators/dead-export-detector.js +0 -279
- package/bin/runners/lib/validators/dep-audit.js +0 -245
- package/bin/runners/lib/validators/env-validator.js +0 -319
- package/bin/runners/lib/validators/index.js +0 -120
- package/bin/runners/lib/validators/license-checker.js +0 -252
- package/bin/runners/lib/validators/route-validator.js +0 -290
- package/bin/runners/runAgent.d.ts +0 -5
- package/bin/runners/runAgent.js +0 -164
- package/bin/runners/runApprove.js +0 -1233
- package/bin/runners/runAuthority.js +0 -528
- package/bin/runners/runClassify.js +0 -862
- package/bin/runners/runConductor.js +0 -772
- package/bin/runners/runContainer.js +0 -366
- package/bin/runners/runContext.d.ts +0 -4
- package/bin/runners/runEasy.js +0 -410
- package/bin/runners/runFirewall.d.ts +0 -5
- package/bin/runners/runFirewall.js +0 -137
- package/bin/runners/runFirewallHook.d.ts +0 -5
- package/bin/runners/runFirewallHook.js +0 -59
- package/bin/runners/runIaC.js +0 -372
- package/bin/runners/runPolish.d.ts +0 -4
- package/bin/runners/runProof.zip +0 -0
- package/bin/runners/runTruth.d.ts +0 -5
- package/bin/runners/runTruth.js +0 -104
- package/bin/runners/runVibe.js +0 -791
- package/mcp-server/HARDENING_SUMMARY.md +0 -299
- package/mcp-server/agent-firewall-interceptor.js +0 -500
- package/mcp-server/authority-tools.js +0 -569
- package/mcp-server/conductor/conflict-resolver.js +0 -588
- package/mcp-server/conductor/execution-planner.js +0 -544
- package/mcp-server/conductor/index.js +0 -377
- package/mcp-server/conductor/lock-manager.js +0 -615
- package/mcp-server/conductor/request-queue.js +0 -550
- package/mcp-server/conductor/session-manager.js +0 -500
- package/mcp-server/conductor/tools.js +0 -510
- package/mcp-server/lib/api-client.cjs +0 -13
- package/mcp-server/lib/logger.cjs +0 -30
- package/mcp-server/logger.js +0 -173
- package/mcp-server/tools-v3.js +0 -1039
- package/mcp-server/tools.js +0 -495
- package/mcp-server/vibecheck-mcp-server-3.2.0.tgz +0 -0
|
@@ -0,0 +1,476 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"description": "Vibecheck MCP Tool Registry - Single Source of Truth",
|
|
5
|
+
"tools": [
|
|
6
|
+
{
|
|
7
|
+
"name": "vibecheck.doctor",
|
|
8
|
+
"cli": "doctor",
|
|
9
|
+
"tier": "free",
|
|
10
|
+
"description": "Environment health check. Verifies dependencies, Node version, configs, permissions.",
|
|
11
|
+
"category": "setup",
|
|
12
|
+
"cacheable": true,
|
|
13
|
+
"cacheMaxAge": 300,
|
|
14
|
+
"timeout": 30000,
|
|
15
|
+
"inputSchema": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." },
|
|
19
|
+
"fix": { "type": "boolean", "description": "Auto-fix issues when possible", "default": false },
|
|
20
|
+
"category": { "type": "string", "enum": ["all", "system", "runtime", "project", "deps", "security"], "default": "all" }
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"outputSchema": { "$ref": "../schemas/verdict.schema.json" }
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "vibecheck.init",
|
|
27
|
+
"cli": "init",
|
|
28
|
+
"tier": "free",
|
|
29
|
+
"description": "Initialize vibecheck for a project. Creates .vibecheck/ directory and Truth Pack.",
|
|
30
|
+
"category": "setup",
|
|
31
|
+
"cacheable": false,
|
|
32
|
+
"timeout": 60000,
|
|
33
|
+
"inputSchema": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." },
|
|
37
|
+
"force": { "type": "boolean", "description": "Overwrite existing config", "default": false }
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"outputSchema": { "type": "object" }
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "vibecheck.scan",
|
|
44
|
+
"cli": "scan",
|
|
45
|
+
"tier": "free",
|
|
46
|
+
"description": "Deep code analysis: secrets, auth gaps, fake success, dead UI, billing bypasses, missing routes.",
|
|
47
|
+
"category": "analysis",
|
|
48
|
+
"cacheable": true,
|
|
49
|
+
"cacheMaxAge": 300,
|
|
50
|
+
"timeout": 120000,
|
|
51
|
+
"inputSchema": {
|
|
52
|
+
"type": "object",
|
|
53
|
+
"properties": {
|
|
54
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." },
|
|
55
|
+
"profile": { "type": "string", "enum": ["quick", "full", "security", "billing", "ci"], "default": "quick" },
|
|
56
|
+
"type": { "type": "string", "enum": ["all", "secrets", "auth", "routes", "mocks", "billing"], "default": "all" },
|
|
57
|
+
"since": { "type": "string", "description": "Git commit for incremental scan" },
|
|
58
|
+
"baseline": { "type": "string", "description": "Baseline file path to suppress known findings" }
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"outputSchema": { "$ref": "../schemas/verdict.schema.json" }
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "vibecheck.ship",
|
|
65
|
+
"cli": "ship",
|
|
66
|
+
"tier": "free",
|
|
67
|
+
"description": "Get ship verdict: SHIP/WARN/BLOCK with evidence. Returns top blockers and fix suggestions.",
|
|
68
|
+
"category": "analysis",
|
|
69
|
+
"cacheable": true,
|
|
70
|
+
"cacheMaxAge": 120,
|
|
71
|
+
"timeout": 90000,
|
|
72
|
+
"inputSchema": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"properties": {
|
|
75
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." },
|
|
76
|
+
"strict": { "type": "boolean", "description": "Treat warnings as blockers", "default": false },
|
|
77
|
+
"ci": { "type": "boolean", "description": "CI mode with exit codes", "default": false },
|
|
78
|
+
"mockproof": { "type": "boolean", "description": "Include MockProof gate", "default": true }
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"outputSchema": { "$ref": "../schemas/verdict.schema.json" }
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "vibecheck.prove",
|
|
85
|
+
"cli": "prove",
|
|
86
|
+
"tier": "pro",
|
|
87
|
+
"description": "One-command reality proof: ctx → reality → ship → fix loop until SHIP or stuck.",
|
|
88
|
+
"category": "verification",
|
|
89
|
+
"cacheable": false,
|
|
90
|
+
"timeout": 600000,
|
|
91
|
+
"inputSchema": {
|
|
92
|
+
"type": "object",
|
|
93
|
+
"properties": {
|
|
94
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." },
|
|
95
|
+
"url": { "type": "string", "description": "Base URL for runtime testing" },
|
|
96
|
+
"auth": { "type": "string", "description": "Login credentials (email:password)" },
|
|
97
|
+
"storageState": { "type": "string", "description": "Playwright session state path" },
|
|
98
|
+
"maxFixRounds": { "type": "integer", "description": "Max auto-fix attempts", "default": 3, "minimum": 1, "maximum": 10 },
|
|
99
|
+
"skipReality": { "type": "boolean", "description": "Skip runtime testing", "default": false },
|
|
100
|
+
"skipFix": { "type": "boolean", "description": "Skip auto-fix", "default": false }
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"outputSchema": { "$ref": "../schemas/verdict.schema.json" }
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "vibecheck.reality",
|
|
107
|
+
"cli": "reality",
|
|
108
|
+
"tier": "starter",
|
|
109
|
+
"description": "Runtime browser verification with Playwright. Two-pass auth verification, Dead UI detection.",
|
|
110
|
+
"category": "verification",
|
|
111
|
+
"cacheable": false,
|
|
112
|
+
"timeout": 300000,
|
|
113
|
+
"inputSchema": {
|
|
114
|
+
"type": "object",
|
|
115
|
+
"properties": {
|
|
116
|
+
"url": { "type": "string", "description": "Base URL to verify" },
|
|
117
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." },
|
|
118
|
+
"auth": { "type": "string", "description": "Login credentials (email:password)" },
|
|
119
|
+
"verifyAuth": { "type": "boolean", "description": "Enable two-pass auth verification", "default": false },
|
|
120
|
+
"storageState": { "type": "string", "description": "Playwright session state path" },
|
|
121
|
+
"maxPages": { "type": "integer", "description": "Max pages to crawl", "default": 18, "minimum": 1, "maximum": 100 },
|
|
122
|
+
"headed": { "type": "boolean", "description": "Run browser headed", "default": false },
|
|
123
|
+
"recordVideo": { "type": "boolean", "description": "Record video", "default": false },
|
|
124
|
+
"recordTrace": { "type": "boolean", "description": "Record Playwright trace", "default": false }
|
|
125
|
+
},
|
|
126
|
+
"required": ["url"]
|
|
127
|
+
},
|
|
128
|
+
"outputSchema": { "$ref": "../schemas/verdict.schema.json" }
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "vibecheck.fix",
|
|
132
|
+
"cli": "fix",
|
|
133
|
+
"tier": "free",
|
|
134
|
+
"tierGated": {
|
|
135
|
+
"apply": "pro",
|
|
136
|
+
"autopilot": "pro"
|
|
137
|
+
},
|
|
138
|
+
"description": "Generate fix plan or apply patches. Plan is FREE, apply requires PRO.",
|
|
139
|
+
"category": "remediation",
|
|
140
|
+
"cacheable": false,
|
|
141
|
+
"timeout": 300000,
|
|
142
|
+
"inputSchema": {
|
|
143
|
+
"type": "object",
|
|
144
|
+
"properties": {
|
|
145
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." },
|
|
146
|
+
"promptOnly": { "type": "boolean", "description": "Generate prompts only", "default": false },
|
|
147
|
+
"apply": { "type": "boolean", "description": "Apply patches (PRO)", "default": false },
|
|
148
|
+
"autopilot": { "type": "boolean", "description": "Autopilot loop (PRO)", "default": false },
|
|
149
|
+
"maxMissions": { "type": "integer", "description": "Max missions", "default": 8, "minimum": 1, "maximum": 20 }
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"outputSchema": { "type": "object" }
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "vibecheck.guard",
|
|
156
|
+
"cli": "guard",
|
|
157
|
+
"tier": "free",
|
|
158
|
+
"description": "Trust boundary enforcement. Validates claims, checks for hallucinations, prompt injection.",
|
|
159
|
+
"category": "validation",
|
|
160
|
+
"cacheable": true,
|
|
161
|
+
"cacheMaxAge": 60,
|
|
162
|
+
"timeout": 60000,
|
|
163
|
+
"inputSchema": {
|
|
164
|
+
"type": "object",
|
|
165
|
+
"properties": {
|
|
166
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." },
|
|
167
|
+
"claims": { "type": "boolean", "description": "Verify AI claims", "default": false },
|
|
168
|
+
"hallucinations": { "type": "boolean", "description": "Check for hallucinations", "default": false },
|
|
169
|
+
"prompts": { "type": "boolean", "description": "Check for prompt injection", "default": false },
|
|
170
|
+
"strict": { "type": "boolean", "description": "Fail on warnings", "default": false }
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"outputSchema": { "$ref": "../schemas/verdict.schema.json" }
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "vibecheck.ctx",
|
|
177
|
+
"cli": "ctx",
|
|
178
|
+
"tier": "free",
|
|
179
|
+
"description": "Generate Truth Pack with routes, env, auth, billing facts. Ground truth for AI agents.",
|
|
180
|
+
"category": "context",
|
|
181
|
+
"cacheable": true,
|
|
182
|
+
"cacheMaxAge": 600,
|
|
183
|
+
"timeout": 90000,
|
|
184
|
+
"inputSchema": {
|
|
185
|
+
"type": "object",
|
|
186
|
+
"properties": {
|
|
187
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." },
|
|
188
|
+
"snapshot": { "type": "boolean", "description": "Save timestamped snapshot", "default": false },
|
|
189
|
+
"sync": { "type": "boolean", "description": "Sync contracts", "default": false }
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"outputSchema": { "type": "object" }
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "vibecheck.report",
|
|
196
|
+
"cli": "report",
|
|
197
|
+
"tier": "free",
|
|
198
|
+
"tierGated": {
|
|
199
|
+
"sarif": "starter",
|
|
200
|
+
"pdf": "pro"
|
|
201
|
+
},
|
|
202
|
+
"description": "Generate reports: HTML, MD, SARIF, PDF. HTML/MD are FREE, SARIF requires STARTER.",
|
|
203
|
+
"category": "reporting",
|
|
204
|
+
"cacheable": true,
|
|
205
|
+
"cacheMaxAge": 300,
|
|
206
|
+
"timeout": 60000,
|
|
207
|
+
"inputSchema": {
|
|
208
|
+
"type": "object",
|
|
209
|
+
"properties": {
|
|
210
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." },
|
|
211
|
+
"type": { "type": "string", "enum": ["executive", "technical", "compliance"], "default": "executive" },
|
|
212
|
+
"format": { "type": "string", "enum": ["html", "md", "json", "sarif", "csv", "pdf"], "default": "html" },
|
|
213
|
+
"output": { "type": "string", "description": "Output file path" },
|
|
214
|
+
"maxFindings": { "type": "integer", "description": "Max findings to include", "default": 50 }
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"outputSchema": { "$ref": "../schemas/report-artifact.schema.json" }
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "vibecheck.polish",
|
|
221
|
+
"cli": "polish",
|
|
222
|
+
"tier": "free",
|
|
223
|
+
"description": "Production polish analyzer. Checks for rough edges, missing features, quality issues.",
|
|
224
|
+
"category": "analysis",
|
|
225
|
+
"cacheable": true,
|
|
226
|
+
"cacheMaxAge": 300,
|
|
227
|
+
"timeout": 60000,
|
|
228
|
+
"inputSchema": {
|
|
229
|
+
"type": "object",
|
|
230
|
+
"properties": {
|
|
231
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." },
|
|
232
|
+
"category": { "type": "string", "enum": ["all", "frontend", "backend", "security", "performance", "accessibility", "seo"], "default": "all" },
|
|
233
|
+
"fix": { "type": "boolean", "description": "Auto-fix issues", "default": false }
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"outputSchema": { "$ref": "../schemas/verdict.schema.json" }
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "vibecheck.get_truthpack",
|
|
240
|
+
"cli": null,
|
|
241
|
+
"tier": "free",
|
|
242
|
+
"description": "Get the full Truth Pack. Use BEFORE making claims about the codebase.",
|
|
243
|
+
"category": "query",
|
|
244
|
+
"cacheable": true,
|
|
245
|
+
"cacheMaxAge": 300,
|
|
246
|
+
"timeout": 30000,
|
|
247
|
+
"inputSchema": {
|
|
248
|
+
"type": "object",
|
|
249
|
+
"properties": {
|
|
250
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." },
|
|
251
|
+
"refresh": { "type": "boolean", "description": "Force regenerate", "default": false }
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"outputSchema": { "type": "object" }
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "vibecheck.validate_claim",
|
|
258
|
+
"cli": null,
|
|
259
|
+
"tier": "free",
|
|
260
|
+
"description": "Validate a claim about the codebase. Returns true/false/unknown with evidence.",
|
|
261
|
+
"category": "query",
|
|
262
|
+
"cacheable": false,
|
|
263
|
+
"timeout": 30000,
|
|
264
|
+
"inputSchema": {
|
|
265
|
+
"type": "object",
|
|
266
|
+
"properties": {
|
|
267
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." },
|
|
268
|
+
"claim": { "type": "string", "description": "The claim to validate" },
|
|
269
|
+
"type": { "type": "string", "enum": ["route_exists", "env_var_used", "auth_enforced", "file_exists", "function_exists"], "description": "Claim type" }
|
|
270
|
+
},
|
|
271
|
+
"required": ["claim"]
|
|
272
|
+
},
|
|
273
|
+
"outputSchema": { "type": "object" }
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "vibecheck.search_evidence",
|
|
277
|
+
"cli": null,
|
|
278
|
+
"tier": "free",
|
|
279
|
+
"description": "Search for evidence with file/line citations.",
|
|
280
|
+
"category": "query",
|
|
281
|
+
"cacheable": true,
|
|
282
|
+
"cacheMaxAge": 60,
|
|
283
|
+
"timeout": 30000,
|
|
284
|
+
"inputSchema": {
|
|
285
|
+
"type": "object",
|
|
286
|
+
"properties": {
|
|
287
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." },
|
|
288
|
+
"query": { "type": "string", "description": "Search query" },
|
|
289
|
+
"type": { "type": "string", "enum": ["route", "handler", "middleware", "component", "env_var", "model", "any"], "default": "any" },
|
|
290
|
+
"limit": { "type": "integer", "description": "Max results", "default": 10, "minimum": 1, "maximum": 50 }
|
|
291
|
+
},
|
|
292
|
+
"required": ["query"]
|
|
293
|
+
},
|
|
294
|
+
"outputSchema": { "type": "object" }
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"name": "vibecheck.status",
|
|
298
|
+
"cli": "status",
|
|
299
|
+
"tier": "free",
|
|
300
|
+
"description": "Get vibecheck status: last verdict, findings count, truthpack freshness.",
|
|
301
|
+
"category": "utility",
|
|
302
|
+
"cacheable": true,
|
|
303
|
+
"cacheMaxAge": 30,
|
|
304
|
+
"timeout": 10000,
|
|
305
|
+
"inputSchema": {
|
|
306
|
+
"type": "object",
|
|
307
|
+
"properties": {
|
|
308
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." }
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"outputSchema": { "type": "object" }
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "vibecheck.share",
|
|
315
|
+
"cli": "share",
|
|
316
|
+
"tier": "starter",
|
|
317
|
+
"description": "Generate share bundle for PR/review. Creates share.json, share.md, pr_comment.md.",
|
|
318
|
+
"category": "utility",
|
|
319
|
+
"cacheable": false,
|
|
320
|
+
"timeout": 30000,
|
|
321
|
+
"inputSchema": {
|
|
322
|
+
"type": "object",
|
|
323
|
+
"properties": {
|
|
324
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." },
|
|
325
|
+
"missionDir": { "type": "string", "description": "Specific mission directory" }
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"outputSchema": { "$ref": "../schemas/report-artifact.schema.json" }
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"name": "vibecheck.badge",
|
|
332
|
+
"cli": "badge",
|
|
333
|
+
"tier": "starter",
|
|
334
|
+
"description": "Generate ship badge for README/PR showing scan status.",
|
|
335
|
+
"category": "utility",
|
|
336
|
+
"cacheable": true,
|
|
337
|
+
"cacheMaxAge": 3600,
|
|
338
|
+
"timeout": 10000,
|
|
339
|
+
"inputSchema": {
|
|
340
|
+
"type": "object",
|
|
341
|
+
"properties": {
|
|
342
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." },
|
|
343
|
+
"format": { "type": "string", "enum": ["svg", "md", "html"], "default": "svg" },
|
|
344
|
+
"style": { "type": "string", "enum": ["flat", "flat-square"], "default": "flat" }
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
"outputSchema": { "$ref": "../schemas/report-artifact.schema.json" }
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"name": "vibecheck.list_reports",
|
|
351
|
+
"cli": null,
|
|
352
|
+
"tier": "free",
|
|
353
|
+
"description": "List available report artifacts in .vibecheck/",
|
|
354
|
+
"category": "utility",
|
|
355
|
+
"cacheable": true,
|
|
356
|
+
"cacheMaxAge": 30,
|
|
357
|
+
"timeout": 5000,
|
|
358
|
+
"inputSchema": {
|
|
359
|
+
"type": "object",
|
|
360
|
+
"properties": {
|
|
361
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." },
|
|
362
|
+
"type": { "type": "string", "enum": ["all", "verdict", "scan", "reality", "fix", "share"], "default": "all" },
|
|
363
|
+
"limit": { "type": "integer", "description": "Max results", "default": 10 }
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
"outputSchema": { "type": "array", "items": { "$ref": "../schemas/report-artifact.schema.json" } }
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"name": "vibecheck.get_last_verdict",
|
|
370
|
+
"cli": null,
|
|
371
|
+
"tier": "free",
|
|
372
|
+
"description": "Get last ship verdict (cached, fast).",
|
|
373
|
+
"category": "utility",
|
|
374
|
+
"cacheable": true,
|
|
375
|
+
"cacheMaxAge": 60,
|
|
376
|
+
"timeout": 5000,
|
|
377
|
+
"inputSchema": {
|
|
378
|
+
"type": "object",
|
|
379
|
+
"properties": {
|
|
380
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." }
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
"outputSchema": { "$ref": "../schemas/verdict.schema.json" }
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"name": "vibecheck.get_finding",
|
|
387
|
+
"cli": null,
|
|
388
|
+
"tier": "free",
|
|
389
|
+
"description": "Get a specific finding by ID with full evidence.",
|
|
390
|
+
"category": "utility",
|
|
391
|
+
"cacheable": true,
|
|
392
|
+
"cacheMaxAge": 300,
|
|
393
|
+
"timeout": 5000,
|
|
394
|
+
"inputSchema": {
|
|
395
|
+
"type": "object",
|
|
396
|
+
"properties": {
|
|
397
|
+
"projectPath": { "type": "string", "description": "Path to project root", "default": "." },
|
|
398
|
+
"findingId": { "type": "string", "description": "Finding ID" }
|
|
399
|
+
},
|
|
400
|
+
"required": ["findingId"]
|
|
401
|
+
},
|
|
402
|
+
"outputSchema": { "$ref": "../schemas/finding.schema.json" }
|
|
403
|
+
}
|
|
404
|
+
],
|
|
405
|
+
"aliases": {
|
|
406
|
+
"vibecheck.context": "vibecheck.ctx",
|
|
407
|
+
"vibecheck.verify": "vibecheck.reality",
|
|
408
|
+
"vibecheck.gate": "vibecheck.ship",
|
|
409
|
+
"vibecheck.proof": "vibecheck.prove",
|
|
410
|
+
"vibecheck.compile_context": "vibecheck.ctx",
|
|
411
|
+
"vibecheck.check_invariants": "vibecheck.guard",
|
|
412
|
+
"vibecheck.autopilot_plan": "vibecheck.fix",
|
|
413
|
+
"vibecheck.autopilot_apply": "vibecheck.fix"
|
|
414
|
+
},
|
|
415
|
+
"deprecated": [
|
|
416
|
+
{
|
|
417
|
+
"name": "vibecheck.intelligence.*",
|
|
418
|
+
"reason": "Not CLI-backed. Use vibecheck.scan with appropriate profile.",
|
|
419
|
+
"replacement": "vibecheck.scan",
|
|
420
|
+
"removeIn": "4.0.0"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"name": "vibecheck_architect_*",
|
|
424
|
+
"reason": "Not CLI-backed. Use vibecheck.ctx for context.",
|
|
425
|
+
"replacement": "vibecheck.ctx",
|
|
426
|
+
"removeIn": "4.0.0"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"name": "vibecheck_checkpoint*",
|
|
430
|
+
"reason": "Not CLI-backed. Use vibecheck.guard for validation.",
|
|
431
|
+
"replacement": "vibecheck.guard",
|
|
432
|
+
"removeIn": "4.0.0"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"name": "vibecheck_intent_*",
|
|
436
|
+
"reason": "Not CLI-backed. Use vibecheck.guard --claims.",
|
|
437
|
+
"replacement": "vibecheck.guard",
|
|
438
|
+
"removeIn": "4.0.0"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"name": "vibecheckai.dev-test",
|
|
442
|
+
"reason": "Experimental. Use vibecheck.reality for runtime testing.",
|
|
443
|
+
"replacement": "vibecheck.reality",
|
|
444
|
+
"removeIn": "4.0.0"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"name": "vibecheck.add_assumption",
|
|
448
|
+
"reason": "Not CLI-backed.",
|
|
449
|
+
"replacement": null,
|
|
450
|
+
"removeIn": "4.0.0"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"name": "vibecheck.autopilot",
|
|
454
|
+
"reason": "Experimental. Use vibecheck.fix with --autopilot.",
|
|
455
|
+
"replacement": "vibecheck.fix",
|
|
456
|
+
"removeIn": "4.0.0"
|
|
457
|
+
}
|
|
458
|
+
],
|
|
459
|
+
"categories": {
|
|
460
|
+
"setup": { "description": "Project setup and health", "order": 1 },
|
|
461
|
+
"analysis": { "description": "Code analysis and scanning", "order": 2 },
|
|
462
|
+
"verification": { "description": "Runtime verification", "order": 3 },
|
|
463
|
+
"validation": { "description": "Trust boundary validation", "order": 4 },
|
|
464
|
+
"remediation": { "description": "Fix generation and application", "order": 5 },
|
|
465
|
+
"context": { "description": "Context and truth pack", "order": 6 },
|
|
466
|
+
"reporting": { "description": "Report generation", "order": 7 },
|
|
467
|
+
"query": { "description": "Evidence queries", "order": 8 },
|
|
468
|
+
"utility": { "description": "Utility tools", "order": 9 }
|
|
469
|
+
},
|
|
470
|
+
"tiers": {
|
|
471
|
+
"free": { "name": "FREE", "order": 0 },
|
|
472
|
+
"starter": { "name": "STARTER", "price": 39, "order": 1 },
|
|
473
|
+
"pro": { "name": "PRO", "price": 99, "order": 2 },
|
|
474
|
+
"compliance": { "name": "COMPLIANCE", "order": 3 }
|
|
475
|
+
}
|
|
476
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://vibecheck.dev/schemas/error-envelope.json",
|
|
4
|
+
"x-schemaVersion": "1.0.0",
|
|
5
|
+
"title": "ErrorEnvelope",
|
|
6
|
+
"description": "Standardized error response for all vibecheck MCP tools. Never returns raw stack traces.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"ok": {
|
|
10
|
+
"type": "boolean",
|
|
11
|
+
"const": false
|
|
12
|
+
},
|
|
13
|
+
"error": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"code": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "Machine-readable error code",
|
|
19
|
+
"enum": [
|
|
20
|
+
"INVALID_INPUT",
|
|
21
|
+
"VALIDATION_ERROR",
|
|
22
|
+
"PATH_NOT_FOUND",
|
|
23
|
+
"PATH_OUTSIDE_SANDBOX",
|
|
24
|
+
"PERMISSION_DENIED",
|
|
25
|
+
"TIER_REQUIRED",
|
|
26
|
+
"RATE_LIMITED",
|
|
27
|
+
"TIMEOUT",
|
|
28
|
+
"CANCELLED",
|
|
29
|
+
"CLI_ERROR",
|
|
30
|
+
"INTERNAL_ERROR",
|
|
31
|
+
"NOT_FOUND",
|
|
32
|
+
"ALREADY_EXISTS",
|
|
33
|
+
"DEPENDENCY_MISSING",
|
|
34
|
+
"CONFIG_ERROR",
|
|
35
|
+
"NETWORK_ERROR",
|
|
36
|
+
"TRUTH_FIREWALL_REQUIRED"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"message": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "Human-readable error message",
|
|
42
|
+
"maxLength": 1000
|
|
43
|
+
},
|
|
44
|
+
"details": {
|
|
45
|
+
"type": "object",
|
|
46
|
+
"description": "Additional error details",
|
|
47
|
+
"additionalProperties": true
|
|
48
|
+
},
|
|
49
|
+
"retryable": {
|
|
50
|
+
"type": "boolean",
|
|
51
|
+
"description": "Whether this error is retryable",
|
|
52
|
+
"default": false
|
|
53
|
+
},
|
|
54
|
+
"retryAfterMs": {
|
|
55
|
+
"type": "integer",
|
|
56
|
+
"description": "Suggested retry delay in milliseconds",
|
|
57
|
+
"minimum": 0
|
|
58
|
+
},
|
|
59
|
+
"userAction": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"description": "Suggested action for the user to take",
|
|
62
|
+
"maxLength": 500
|
|
63
|
+
},
|
|
64
|
+
"docsUrl": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"format": "uri",
|
|
67
|
+
"description": "Link to relevant documentation"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"required": ["code", "message"],
|
|
71
|
+
"additionalProperties": false
|
|
72
|
+
},
|
|
73
|
+
"requestId": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"description": "Request ID for tracing"
|
|
76
|
+
},
|
|
77
|
+
"timestamp": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"format": "date-time"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"required": ["ok", "error", "timestamp"],
|
|
83
|
+
"additionalProperties": false,
|
|
84
|
+
"examples": [
|
|
85
|
+
{
|
|
86
|
+
"ok": false,
|
|
87
|
+
"error": {
|
|
88
|
+
"code": "PATH_OUTSIDE_SANDBOX",
|
|
89
|
+
"message": "Path '/etc/passwd' is outside the allowed workspace",
|
|
90
|
+
"retryable": false,
|
|
91
|
+
"userAction": "Provide a path within your project workspace"
|
|
92
|
+
},
|
|
93
|
+
"requestId": "req_abc123",
|
|
94
|
+
"timestamp": "2024-01-15T10:30:00Z"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"ok": false,
|
|
98
|
+
"error": {
|
|
99
|
+
"code": "TIER_REQUIRED",
|
|
100
|
+
"message": "This feature requires PRO tier",
|
|
101
|
+
"details": {
|
|
102
|
+
"requiredTier": "pro",
|
|
103
|
+
"currentTier": "free",
|
|
104
|
+
"feature": "fix.apply_patches"
|
|
105
|
+
},
|
|
106
|
+
"retryable": false,
|
|
107
|
+
"userAction": "Upgrade to PRO tier at https://vibecheck.dev/pricing"
|
|
108
|
+
},
|
|
109
|
+
"requestId": "req_def456",
|
|
110
|
+
"timestamp": "2024-01-15T10:30:00Z"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"ok": false,
|
|
114
|
+
"error": {
|
|
115
|
+
"code": "TIMEOUT",
|
|
116
|
+
"message": "Operation timed out after 120000ms",
|
|
117
|
+
"retryable": true,
|
|
118
|
+
"retryAfterMs": 5000,
|
|
119
|
+
"userAction": "Try again with a smaller scope or increase timeout"
|
|
120
|
+
},
|
|
121
|
+
"requestId": "req_ghi789",
|
|
122
|
+
"timestamp": "2024-01-15T10:30:00Z"
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
}
|