@vibecheck-ai/cli 6.0.7 → 6.1.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/README.md +55 -22
- package/completions/vibecheck.bash +71 -0
- package/completions/vibecheck.fish +119 -0
- package/completions/vibecheck.zsh +144 -0
- package/dist/cli.js +6700 -4870
- package/dist/cli.js.map +1 -1
- package/dist/guardrail/index.js +1 -0
- package/dist/guardrail/index.js.map +1 -1
- package/dist/v2/index.js +6700 -4870
- package/dist/v2/index.js.map +1 -1
- package/man/vibecheck.1 +236 -0
- package/package.json +44 -35
- package/LICENSE +0 -21
package/README.md
CHANGED
|
@@ -74,28 +74,61 @@ VibeCheck catches the mistakes AI coding assistants make:
|
|
|
74
74
|
|
|
75
75
|
```
|
|
76
76
|
Getting Started:
|
|
77
|
-
kickoff
|
|
78
|
-
doctor
|
|
77
|
+
kickoff Interactive onboarding wizard
|
|
78
|
+
doctor Environment health check
|
|
79
|
+
help [command] Show full command reference
|
|
80
|
+
|
|
81
|
+
Scan & Verify:
|
|
82
|
+
scan Run 27-engine hallucination analysis
|
|
83
|
+
ship SHIP/BLOCK verdict with trust score
|
|
84
|
+
prove Full proof chain with evidence
|
|
85
|
+
completeness Check codebase completeness
|
|
86
|
+
coherence Check codebase coherence
|
|
87
|
+
benchmark Run hallucination benchmark suite
|
|
88
|
+
|
|
89
|
+
Fix & Heal:
|
|
90
|
+
fix Auto-heal findings (apply patches)
|
|
91
|
+
autofix Generate fix plans from findings
|
|
92
|
+
polish Deterministic quality improvements
|
|
93
|
+
|
|
94
|
+
Generate:
|
|
95
|
+
forge Generate guardrails, rules, skills, agent definitions
|
|
96
|
+
generate ISL pipeline: prompt → spec → code → verify
|
|
79
97
|
|
|
80
98
|
Analysis:
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
+
missionpack Convert findings into task packs for AI agents
|
|
100
|
+
docguard Documentation freshness & coverage check
|
|
101
|
+
prompts Git-aware code analysis (10 quality dimensions)
|
|
102
|
+
|
|
103
|
+
Protect:
|
|
104
|
+
firewall Drift detection, intent locking, pre-commit hooks
|
|
105
|
+
commit-shield Pre-commit risk analysis gate
|
|
106
|
+
|
|
107
|
+
Runtime:
|
|
108
|
+
reality Playwright runtime verification (Pro)
|
|
109
|
+
|
|
110
|
+
Vibe Flow:
|
|
111
|
+
flow AI-driven agile with 10 specialized agents
|
|
112
|
+
|
|
113
|
+
Account:
|
|
114
|
+
auth Login, logout, whoami, API keys
|
|
115
|
+
|
|
116
|
+
ShipGate Pro:
|
|
117
|
+
gate SHIP/NO_SHIP gate verdict
|
|
118
|
+
verify-isl ISL formal verification
|
|
119
|
+
heal AI-powered ISL violation auto-fix
|
|
120
|
+
trust Trust score with detailed breakdown
|
|
121
|
+
lint Lint ISL spec files
|
|
122
|
+
watch Continuous validation mode
|
|
123
|
+
coverage ISL spec coverage report
|
|
124
|
+
codegen Code generation from ISL specs
|
|
125
|
+
deep-scan Deep security + hallucination scan
|
|
126
|
+
|
|
127
|
+
ShipGate Enterprise:
|
|
128
|
+
comply Compliance audit (SOC2, HIPAA, PCI-DSS, GDPR, ISO27001)
|
|
129
|
+
policy Policy-as-code management (eval, list)
|
|
130
|
+
chaos Chaos/fault injection testing
|
|
131
|
+
sdk Generate client SDKs from ISL specs
|
|
99
132
|
```
|
|
100
133
|
|
|
101
134
|
Run `vibecheck <command> --help` for details on any command.
|
|
@@ -155,9 +188,9 @@ jobs:
|
|
|
155
188
|
| Tool | Description |
|
|
156
189
|
|------|-------------|
|
|
157
190
|
| **CLI** (this package) | `npx vibecheck scan` |
|
|
158
|
-
| **[VS Code Extension](https://marketplace.visualstudio.com/items?itemName=
|
|
191
|
+
| **[VS Code Extension](https://marketplace.visualstudio.com/items?itemName=Vibecheck-AI.vibecheck-AI)** | Inline findings, Quick Fix, model fingerprinting |
|
|
159
192
|
| **[Dashboard](https://vibecheckai.dev)** | Team analytics, history, reports |
|
|
160
|
-
| **MCP Server** | `vibecheck
|
|
193
|
+
| **[MCP Server](https://www.npmjs.com/package/@vibecheck-ai/mcp)** | `npx @vibecheck-ai/mcp` for Cursor, Windsurf, Claude |
|
|
161
194
|
|
|
162
195
|
---
|
|
163
196
|
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Bash completion for vibecheck CLI v6
|
|
3
|
+
# Install: cp this file to /etc/bash_completion.d/vibecheck
|
|
4
|
+
# or: source this file in your .bashrc
|
|
5
|
+
|
|
6
|
+
_vibecheck_completions() {
|
|
7
|
+
local cur prev commands global_flags
|
|
8
|
+
|
|
9
|
+
COMPREPLY=()
|
|
10
|
+
cur="${COMP_WORDS[COMP_CWORD]}"
|
|
11
|
+
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
|
12
|
+
|
|
13
|
+
commands="kickoff doctor help scan ship prove completeness coherence benchmark fix autofix polish forge generate missionpack docguard prompts firewall commit-shield reality auth flow gate verify-isl heal trust lint watch coverage codegen deep-scan comply policy chaos sdk"
|
|
14
|
+
|
|
15
|
+
global_flags="--help --version --verbose --debug --quiet --json --no-color --config --path --menu"
|
|
16
|
+
|
|
17
|
+
case "${prev}" in
|
|
18
|
+
vibecheck|vc)
|
|
19
|
+
COMPREPLY=( $(compgen -W "${commands} ${global_flags}" -- "${cur}") )
|
|
20
|
+
return 0
|
|
21
|
+
;;
|
|
22
|
+
scan)
|
|
23
|
+
COMPREPLY=( $(compgen -W "--fast --full --fix --format --output --ci ${global_flags}" -- "${cur}") )
|
|
24
|
+
return 0
|
|
25
|
+
;;
|
|
26
|
+
flow)
|
|
27
|
+
COMPREPLY=( $(compgen -W "install list help activate squads ${global_flags}" -- "${cur}") )
|
|
28
|
+
return 0
|
|
29
|
+
;;
|
|
30
|
+
prompts)
|
|
31
|
+
COMPREPLY=( $(compgen -W "analyze dims --file --dims --copy --output --json ${global_flags}" -- "${cur}") )
|
|
32
|
+
return 0
|
|
33
|
+
;;
|
|
34
|
+
auth)
|
|
35
|
+
COMPREPLY=( $(compgen -W "login logout whoami keys ${global_flags}" -- "${cur}") )
|
|
36
|
+
return 0
|
|
37
|
+
;;
|
|
38
|
+
policy)
|
|
39
|
+
COMPREPLY=( $(compgen -W "eval list ${global_flags}" -- "${cur}") )
|
|
40
|
+
return 0
|
|
41
|
+
;;
|
|
42
|
+
firewall)
|
|
43
|
+
COMPREPLY=( $(compgen -W "observe enforce off status protect ${global_flags}" -- "${cur}") )
|
|
44
|
+
return 0
|
|
45
|
+
;;
|
|
46
|
+
forge)
|
|
47
|
+
COMPREPLY=( $(compgen -W "--type --template ${global_flags}" -- "${cur}") )
|
|
48
|
+
return 0
|
|
49
|
+
;;
|
|
50
|
+
comply)
|
|
51
|
+
COMPREPLY=( $(compgen -W "soc2 hipaa pci-dss gdpr iso27001 ${global_flags}" -- "${cur}") )
|
|
52
|
+
return 0
|
|
53
|
+
;;
|
|
54
|
+
codegen)
|
|
55
|
+
COMPREPLY=( $(compgen -W "--target --output ${global_flags}" -- "${cur}") )
|
|
56
|
+
return 0
|
|
57
|
+
;;
|
|
58
|
+
--format)
|
|
59
|
+
COMPREPLY=( $(compgen -W "pretty json sarif markdown" -- "${cur}") )
|
|
60
|
+
return 0
|
|
61
|
+
;;
|
|
62
|
+
esac
|
|
63
|
+
|
|
64
|
+
# Default: complete with global flags for flag-like input
|
|
65
|
+
if [[ "${cur}" == -* ]]; then
|
|
66
|
+
COMPREPLY=( $(compgen -W "${global_flags}" -- "${cur}") )
|
|
67
|
+
fi
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
complete -F _vibecheck_completions vibecheck
|
|
71
|
+
complete -F _vibecheck_completions vc
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# Fish completion for vibecheck CLI v6
|
|
2
|
+
# Install: cp this file to ~/.config/fish/completions/vibecheck.fish
|
|
3
|
+
|
|
4
|
+
# Disable file completions by default
|
|
5
|
+
complete -c vibecheck -f
|
|
6
|
+
complete -c vc -f
|
|
7
|
+
|
|
8
|
+
# Global flags
|
|
9
|
+
complete -c vibecheck -s V -l version -d 'Show version'
|
|
10
|
+
complete -c vibecheck -l help -d 'Show help'
|
|
11
|
+
complete -c vibecheck -s v -l verbose -d 'Verbose output'
|
|
12
|
+
complete -c vibecheck -l debug -d 'Debug mode (show stack traces)'
|
|
13
|
+
complete -c vibecheck -s q -l quiet -d 'Minimal output (errors only)'
|
|
14
|
+
complete -c vibecheck -l json -d 'Output as JSON'
|
|
15
|
+
complete -c vibecheck -l no-color -d 'Disable colored output'
|
|
16
|
+
complete -c vibecheck -l config -r -d 'Custom config file path'
|
|
17
|
+
complete -c vibecheck -l path -r -d 'Project directory'
|
|
18
|
+
complete -c vibecheck -l menu -d 'Open interactive command menu'
|
|
19
|
+
|
|
20
|
+
# Getting Started
|
|
21
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a kickoff -d 'Interactive onboarding wizard'
|
|
22
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a doctor -d 'Environment health check'
|
|
23
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a help -d 'Show full command reference'
|
|
24
|
+
|
|
25
|
+
# Scan & Verify
|
|
26
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a scan -d 'Run 27-engine hallucination analysis'
|
|
27
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a ship -d 'SHIP/BLOCK verdict with trust score'
|
|
28
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a prove -d 'Full proof chain with evidence'
|
|
29
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a completeness -d 'Check codebase completeness'
|
|
30
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a coherence -d 'Check codebase coherence'
|
|
31
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a benchmark -d 'Run hallucination benchmark suite'
|
|
32
|
+
|
|
33
|
+
# Fix & Heal
|
|
34
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a fix -d 'Auto-heal findings (apply patches)'
|
|
35
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a autofix -d 'Generate fix plans from findings'
|
|
36
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a polish -d 'Deterministic quality improvements'
|
|
37
|
+
|
|
38
|
+
# Generate
|
|
39
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a forge -d 'Generate guardrails, rules, skills, agent definitions'
|
|
40
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a generate -d 'ISL pipeline — prompt, spec, code, verify'
|
|
41
|
+
|
|
42
|
+
# Analysis
|
|
43
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a missionpack -d 'Convert findings into task packs for AI agents'
|
|
44
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a docguard -d 'Documentation freshness and coverage check'
|
|
45
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a prompts -d 'Git-aware code analysis (10 quality dimensions)'
|
|
46
|
+
|
|
47
|
+
# Protect
|
|
48
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a firewall -d 'Drift detection, intent locking, pre-commit hooks'
|
|
49
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a commit-shield -d 'Pre-commit risk analysis gate'
|
|
50
|
+
|
|
51
|
+
# Runtime
|
|
52
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a reality -d 'Playwright runtime verification'
|
|
53
|
+
|
|
54
|
+
# Account & Config
|
|
55
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a auth -d 'Login, logout, whoami, API keys'
|
|
56
|
+
|
|
57
|
+
# Vibe Flow
|
|
58
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a flow -d 'AI-driven agile with 10 specialized agents'
|
|
59
|
+
|
|
60
|
+
# ShipGate Pro
|
|
61
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a gate -d 'ShipGate SHIP/NO_SHIP gate'
|
|
62
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a verify-isl -d 'ISL formal verification'
|
|
63
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a heal -d 'AI-powered ISL violation auto-fix'
|
|
64
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a trust -d 'Trust score with detailed breakdown'
|
|
65
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a lint -d 'Lint ISL spec files'
|
|
66
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a watch -d 'Continuous validation mode'
|
|
67
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a coverage -d 'ISL spec coverage report'
|
|
68
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a codegen -d 'Code generation from ISL specs'
|
|
69
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a deep-scan -d 'Deep security + hallucination scan'
|
|
70
|
+
|
|
71
|
+
# ShipGate Enterprise
|
|
72
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a comply -d 'Compliance audit (SOC2, HIPAA, PCI-DSS, GDPR, ISO27001)'
|
|
73
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a policy -d 'Policy-as-code management'
|
|
74
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a chaos -d 'Chaos/fault injection testing'
|
|
75
|
+
complete -c vibecheck -n '__fish_use_subcommand' -a sdk -d 'Generate client SDKs from ISL specs'
|
|
76
|
+
|
|
77
|
+
# scan flags
|
|
78
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from scan' -l fast -d 'Quick scan (fewer engines)'
|
|
79
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from scan' -l full -d 'Full scan (all engines)'
|
|
80
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from scan' -l fix -d 'Auto-fix findings'
|
|
81
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from scan' -l format -r -d 'Output format (pretty, json, sarif, markdown)'
|
|
82
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from scan' -l output -r -d 'Output file'
|
|
83
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from scan' -l ci -d 'CI mode (non-interactive)'
|
|
84
|
+
|
|
85
|
+
# flow subcommands
|
|
86
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from flow' -a install -d 'Install agents and workflows'
|
|
87
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from flow' -a list -d 'List all agents and workflows'
|
|
88
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from flow' -a help -d 'Context-aware guidance'
|
|
89
|
+
|
|
90
|
+
# prompts subcommands
|
|
91
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from prompts' -a analyze -d 'Analyze git changes'
|
|
92
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from prompts' -a dims -d 'List quality dimensions'
|
|
93
|
+
|
|
94
|
+
# auth subcommands
|
|
95
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from auth' -a login -d 'Log in to VibeCheck'
|
|
96
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from auth' -a logout -d 'Log out'
|
|
97
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from auth' -a whoami -d 'Show current user'
|
|
98
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from auth' -a keys -d 'Manage API keys'
|
|
99
|
+
|
|
100
|
+
# firewall subcommands
|
|
101
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from firewall' -a observe -d 'Observe mode (log only)'
|
|
102
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from firewall' -a enforce -d 'Enforce mode (block violations)'
|
|
103
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from firewall' -a off -d 'Disable firewall'
|
|
104
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from firewall' -a status -d 'Show firewall status'
|
|
105
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from firewall' -a protect -d 'Install pre-commit hook'
|
|
106
|
+
|
|
107
|
+
# policy subcommands
|
|
108
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from policy' -a eval -d 'Evaluate policy against codebase'
|
|
109
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from policy' -a list -d 'List available policies'
|
|
110
|
+
|
|
111
|
+
# comply frameworks
|
|
112
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from comply' -a soc2 -d 'SOC 2 compliance'
|
|
113
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from comply' -a hipaa -d 'HIPAA compliance'
|
|
114
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from comply' -a pci-dss -d 'PCI-DSS compliance'
|
|
115
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from comply' -a gdpr -d 'GDPR compliance'
|
|
116
|
+
complete -c vibecheck -n '__fish_seen_subcommand_from comply' -a iso27001 -d 'ISO 27001 compliance'
|
|
117
|
+
|
|
118
|
+
# Duplicate for `vc` alias
|
|
119
|
+
complete -c vc -w vibecheck
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
#compdef vibecheck vc
|
|
2
|
+
# Zsh completion for vibecheck CLI v6
|
|
3
|
+
# Install: cp this file to a directory in your $fpath
|
|
4
|
+
# or: source this file in your .zshrc
|
|
5
|
+
|
|
6
|
+
_vibecheck() {
|
|
7
|
+
local -a commands subcommands global_flags
|
|
8
|
+
|
|
9
|
+
global_flags=(
|
|
10
|
+
'-V[Show version]'
|
|
11
|
+
'--version[Show version]'
|
|
12
|
+
'--help[Show help]'
|
|
13
|
+
'-v[Verbose output]'
|
|
14
|
+
'--verbose[Verbose output]'
|
|
15
|
+
'--debug[Debug mode (show stack traces)]'
|
|
16
|
+
'-q[Minimal output (errors only)]'
|
|
17
|
+
'--quiet[Minimal output (errors only)]'
|
|
18
|
+
'--json[Output as JSON]'
|
|
19
|
+
'--no-color[Disable colored output]'
|
|
20
|
+
'--config[Custom config file path]:config file:_files'
|
|
21
|
+
'--path[Project directory]:directory:_directories'
|
|
22
|
+
'--menu[Open interactive command menu]'
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
commands=(
|
|
26
|
+
# Getting Started
|
|
27
|
+
'kickoff:Interactive onboarding wizard'
|
|
28
|
+
'doctor:Environment health check'
|
|
29
|
+
'help:Show full command reference'
|
|
30
|
+
# Scan & Verify
|
|
31
|
+
'scan:Run 27-engine hallucination analysis'
|
|
32
|
+
'ship:SHIP/BLOCK verdict with trust score'
|
|
33
|
+
'prove:Full proof chain with evidence'
|
|
34
|
+
'completeness:Check codebase completeness'
|
|
35
|
+
'coherence:Check codebase coherence'
|
|
36
|
+
'benchmark:Run hallucination benchmark suite'
|
|
37
|
+
# Fix & Heal
|
|
38
|
+
'fix:Auto-heal findings (apply patches)'
|
|
39
|
+
'autofix:Generate fix plans from findings'
|
|
40
|
+
'polish:Deterministic quality improvements'
|
|
41
|
+
# Generate
|
|
42
|
+
'forge:Generate guardrails, rules, skills, agent definitions'
|
|
43
|
+
'generate:ISL pipeline — prompt, spec, code, verify'
|
|
44
|
+
# Analysis
|
|
45
|
+
'missionpack:Convert findings into task packs for AI agents'
|
|
46
|
+
'docguard:Documentation freshness and coverage check'
|
|
47
|
+
'prompts:Git-aware code analysis (10 quality dimensions)'
|
|
48
|
+
# Protect
|
|
49
|
+
'firewall:Drift detection, intent locking, pre-commit hooks'
|
|
50
|
+
'commit-shield:Pre-commit risk analysis gate'
|
|
51
|
+
# Runtime
|
|
52
|
+
'reality:Playwright runtime verification'
|
|
53
|
+
# Account & Config
|
|
54
|
+
'auth:Login, logout, whoami, API keys'
|
|
55
|
+
# Vibe Flow
|
|
56
|
+
'flow:AI-driven agile with 10 specialized agents'
|
|
57
|
+
# ShipGate Pro
|
|
58
|
+
'gate:ShipGate SHIP/NO_SHIP gate'
|
|
59
|
+
'verify-isl:ISL formal verification'
|
|
60
|
+
'heal:AI-powered ISL violation auto-fix'
|
|
61
|
+
'trust:Trust score with detailed breakdown'
|
|
62
|
+
'lint:Lint ISL spec files'
|
|
63
|
+
'watch:Continuous validation mode'
|
|
64
|
+
'coverage:ISL spec coverage report'
|
|
65
|
+
'codegen:Code generation from ISL specs'
|
|
66
|
+
'deep-scan:Deep security + hallucination scan'
|
|
67
|
+
# ShipGate Enterprise
|
|
68
|
+
'comply:Compliance audit (SOC2, HIPAA, PCI-DSS, GDPR, ISO27001)'
|
|
69
|
+
'policy:Policy-as-code management'
|
|
70
|
+
'chaos:Chaos/fault injection testing'
|
|
71
|
+
'sdk:Generate client SDKs from ISL specs'
|
|
72
|
+
)
|
|
73
|
+
|
|
74
|
+
_arguments -C \
|
|
75
|
+
'1: :->command' \
|
|
76
|
+
'2: :->subcommand' \
|
|
77
|
+
'*:: :->args' \
|
|
78
|
+
&& return
|
|
79
|
+
|
|
80
|
+
case $state in
|
|
81
|
+
command)
|
|
82
|
+
_describe -t commands 'vibecheck command' commands
|
|
83
|
+
_values 'flags' $global_flags
|
|
84
|
+
;;
|
|
85
|
+
subcommand)
|
|
86
|
+
case $words[1] in
|
|
87
|
+
scan)
|
|
88
|
+
subcommands=(
|
|
89
|
+
'--fast[Quick scan (fewer engines)]'
|
|
90
|
+
'--full[Full scan (all engines)]'
|
|
91
|
+
'--fix[Auto-fix findings]'
|
|
92
|
+
'--format[Output format]:format:(pretty json sarif markdown)'
|
|
93
|
+
'--output[Output file]:file:_files'
|
|
94
|
+
'--ci[CI mode (non-interactive)]'
|
|
95
|
+
)
|
|
96
|
+
_values 'scan flags' $subcommands
|
|
97
|
+
;;
|
|
98
|
+
flow)
|
|
99
|
+
subcommands=(
|
|
100
|
+
'install:Install agents and workflows into your project'
|
|
101
|
+
'list:List all agents and workflows'
|
|
102
|
+
'help:Context-aware guidance on what to do next'
|
|
103
|
+
)
|
|
104
|
+
_describe -t subcommands 'flow subcommand' subcommands
|
|
105
|
+
;;
|
|
106
|
+
prompts)
|
|
107
|
+
subcommands=(
|
|
108
|
+
'analyze:Analyze git changes and generate review prompt'
|
|
109
|
+
'dims:List all quality dimensions and their checks'
|
|
110
|
+
)
|
|
111
|
+
_describe -t subcommands 'prompts subcommand' subcommands
|
|
112
|
+
;;
|
|
113
|
+
auth)
|
|
114
|
+
subcommands=(
|
|
115
|
+
'login:Log in to VibeCheck'
|
|
116
|
+
'logout:Log out'
|
|
117
|
+
'whoami:Show current user'
|
|
118
|
+
'keys:Manage API keys'
|
|
119
|
+
)
|
|
120
|
+
_describe -t subcommands 'auth subcommand' subcommands
|
|
121
|
+
;;
|
|
122
|
+
policy)
|
|
123
|
+
subcommands=(
|
|
124
|
+
'eval:Evaluate policy against codebase'
|
|
125
|
+
'list:List available policies'
|
|
126
|
+
)
|
|
127
|
+
_describe -t subcommands 'policy subcommand' subcommands
|
|
128
|
+
;;
|
|
129
|
+
firewall)
|
|
130
|
+
subcommands=(
|
|
131
|
+
'observe:Observe mode (log only)'
|
|
132
|
+
'enforce:Enforce mode (block violations)'
|
|
133
|
+
'off:Disable firewall'
|
|
134
|
+
'status:Show firewall status'
|
|
135
|
+
'protect:Install pre-commit hook'
|
|
136
|
+
)
|
|
137
|
+
_describe -t subcommands 'firewall subcommand' subcommands
|
|
138
|
+
;;
|
|
139
|
+
esac
|
|
140
|
+
;;
|
|
141
|
+
esac
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
_vibecheck "$@"
|