Skip to content

CLI, MCP Server, Configuration, & GitHub Action Reference

Complete operational reference for jezz v0.8.0.


1. CLI Subcommands (jezz <subcommand>)

Subcommand Purpose Exit Codes
jezz inspect <repo> Static Rough-In (30 rules), Final dynamic (--final, --gate-timeout across all 32 JBC v1.3 provisions), or Git-differential (--changed-since, --staged) inspection (.py, .ts, .tsx, .rs, .go). 0 = APPROVED / APPROVED_WITH_VARIANCES; 1 = RED_TAG; 2 = CLI/usage error
jezz prove <repo> Polyglot AST/CST \(\to\) Z3 (QF_LIA/QF_NRA/QF_SLIA) contract non-vacuity and postcondition proof discharge (--require-deductive fails closed if any callable obligation remains UNPROVED_OPAQUE; --symbol, --timeout-ms). 0 = verified; 1 = counterexample, vacuous contract, or unproved opaque callable
jezz blueprint <repo> Extract BlueprintGraph netlist, render switchable Sheet A-1 / E-1 SVG/HTML (--write-html), compose RedlineDeltas (--redlines), or enforce LVS (--verify-target). 0 = extracted / LVS_CLEAN; 1 = LVS OPEN_CIRCUIT / SHORT_CIRCUIT / ENCAPSULATION_BREACH
jezz charter <repo> Phase 0/I empirical RealityProbeEvidence + 3-axis elicitation (domain_ontology, hazard_mutation_policy, scope_and_exclusions) \(\to\) sealed ProjectCharter. 0 = intake/sealed; 2 = validation/missing exclusion error
jezz audit <dossier.json> Independently verify 5-phase EngineeringDossier invariants, write-scope confinement, LVS target equivalence, and dual SHA-256 + Z3 CertificateOfOccupancy seal. 0 = OCCUPANCY_SEALED; 1 = BLOCKED
jezz init [repo] Install Antigravity plugin bundle, .git/hooks/pre-commit, [tool.jezz] in existing pyproject.toml, or materialize a starter (--scaffold python\|typescript\|rust\|go, including jezz.toml on non-Python starters). 0 = initialized; 2 = error
jezz run <repo> Execute greenfield 5-phase PCE synthesis (pydantic-graph EFSM over \(F_8 = 21\) behaviors) from --prompt, --mandate, --plan-only, or --resume-elicitation. 0 = OCCUPANCY_CERTIFIED / HALTED_FOR_PLAN_APPROVAL; 1 = HALTED_FOR_ELICITATION / ESCALATED_AFTER_RED_TAG; 2 = error
jezz renovate <repo> Brownfield refactoring (BHV-17 REFACTOR) to JBC v1.3 occupancy across full repository or touched slice (--ratchet, --plan-only). 0 = OCCUPANCY_CERTIFIED / HALTED_FOR_PLAN_APPROVAL; 1 = HALTED_FOR_ELICITATION / ESCALATED_AFTER_RED_TAG; 2 = error
jezz benchmark <dir> Controlled pydantic-evals A/B & 5-archetype matrix trial (--matrix, --matrix-catalog, --rubric, --trials, --seed, --sdd-require-verify, --write-artifacts-dir). 0 = all treatment builds certified & oracle-passed; 1 = treatment failure; 2 = error
jezz permit <action> Manage stateful ActiveWorkPermit leases (status, open, verify-red, seal) enforcing RED -> GREEN phase locks. 0 = verified/sealed; 1 = RED/seal gate failed; 2 = error
jezz codes <action> List, fixture-verify, prompt-compile, or onboard custom building codes (list, verify, create, onboard) under .jezz/codes/*.toml. 0 = passed; 1 = fixture failure; 2 = error
jezz learn <action> Record coordinator subagent observations, triage Tier-1 telemetry, promote recipes into .jezz/learnings.json, or export Tier-3 bundles (record, triage, promote, export; --promote). 0 = completed; 2 = error
jezz mcp Launch stdio MCP statutory gate server (21 tools: 16 read-only + 5 stateful permit/custom-code/telemetry tools) jailed inside --root with hot-reload supervision. 0 = clean shutdown
jezz hook {stop,pre-tool} Antigravity PreToolUse (pre-tool, default-deny allowlist + ActiveWorkPermit RED -> GREEN gate allowing safe git fetch/switch -c & non-admin gh pr merge --squash [--auto]) and Stop (stop, differential JBC ratchet) hooks. 0 (stdout JSON decision)

2. Workspace-Jailed stdio MCP Server (21 Tools)

Start via jezz mcp --root <workspace>. Every file operation is confined to --root via ContainedPath (JBC-SEC-005):

MCP Tool Phase / Role Description
jbc_preview_source III / IV Overlay an unsaved .py/.ts/.tsx/.rs/.go buffer onto the workspace graph in memory to catch per-unit hazards, JBC-COG-003/006 cycles, and taint flows prior to writing to disk.
jbc_prove_contracts III / V Run bounded Z3 SMT symbolic verification over workspace or unsaved in-memory buffer contracts (PROVED_DEDUCTIVE, SCHEMA_NON_VACUOUS, UNPROVED_OPAQUE, COUNTEREXAMPLE_FOUND, VACUOUS_CONTRACT).
jbc_inspect_differential II / V Git-aware Differential Occupancy Ratchet (changed_since="HEAD" or staged=True).
jbc_inspect_workspace II / V Full-workspace JBC Edition 1.3 Rough-In inspection with optional permit_path and as_of sunset date.
jbc_extract_blueprint I / II Extract BlueprintGraph netlist JSON with optional redlines_json, invariant_bindings, and permit_path (HTML/SVG/Markdown rendering is provided on jezz blueprint).
jbc_verify_blueprint_lvs V Verify extracted implementation netlist against a target BlueprintGraph (OPEN_CIRCUIT, SHORT_CIRCUIT, UNAUTHORIZED_RISER, ENCAPSULATION_BREACH).
jbc_assess_lot_line I Pre-flight LotLineAssessment (IN_PACKAGE, WORKSPACE_COMPARTMENT, LOT_LINE_SPLIT) measuring JBC-COG-006 floorplate headroom and CRP dependency shear.
pce_start_intake 0 / I Probe workspace reality (RealityProbeEvidence) and emit structured 3-axis charter elicitation questions.
pce_seal_charter 0 / I Validate 3-axis resolutions + HazardMutationPolicy and seal a topologically ordered ProjectCharter mandate queue.
jbc_query_ast_graph I / II Query polyglot AST/CST module layers, cross-module callers (caller_of), and line-numbered symbol slices (symbol_query).
jbc_list_codes II List all 32 JBC Edition 1.3 and workspace .jezz/codes/*.toml provisions filtered by article or trigger.
jbc_get_code II Retrieve full normative rule, hazard, pass criteria, and ISO/IEEE/CWE/CERT/NASA lineage for a JBC-* ID.
jbc_verify_behavior_graph II Verify a BehaviorGraph against the \(F_8 = 21\) transition matrix and Kildall monotone dataflow fixed point.
jbc_audit_dossier V Audit a 5-phase EngineeringDossier JSON against live workspace source units and SHA-256 + Z3 digests.
pce_permit_status II–V Inspect active .jezz/active_permit.json lease status, Git HEAD alignment, and RED -> GREEN phase (read_only_hint=True).
pce_open_permit II Validate EngineeringMandate lot lines and open an integrity-hashed (or JEZZ_PERMIT_HMAC_KEY-authenticated) ActiveWorkPermit lease (INSTRUMENT_RED or SYNTHESIZE_GREEN).
pce_verify_red_test III Execute declared test_files against unmodified impl_files to attest failing RED baseline and unlock SYNTHESIZE_GREEN.
pce_seal_permit V Verify GREEN tests, differential JBC occupancy, and Z3 proofs to archive a sealed PermitSealReceipt under .jezz/dossiers/<permit_id>.json and update .jezz/memory.json.
jbc_verify_custom_code II Verify a .jezz/codes/*.toml (or inline TOML/JSON) custom building code against its invalid and valid fixtures (read_only_hint=True).
jbc_onboard_custom_code I / II Compile and fixture-verify enforceable custom building codes from AGENTS.md or prose conventions.
pce_record_observation I–V Record sanitized subagent prompt drift, Z3 counterexamples, or reusable idioms into Tier-1/Tier-2 learning ledgers.

3. Workspace Configuration (jezz.toml & pyproject.toml)

jezz resolves workspace settings from root jezz.toml first, falling back to [tool.jezz] in pyproject.toml:

# jezz.toml (recommended for TypeScript, Rust, Go, or polyglot monorepos)
[models]
default = "google:gemini-3.8-flash"
architect = "antigravity:claude-opus-5-5-medium"
builder = "antigravity:claude-sonnet-5-5-medium"
prompt_cache = "auto" # auto | off | prefix-only | 5m | 30m | 1h | 12h

[gates]
timeout_sec = 120.0   # (0.0, 600.0] subprocess watchdog

[secrets]
agent_reason = "jezz PCE runtime resolving model API credential"

[secrets.providers]
google = "env://GEMINI_API_KEY"
anthropic = "op://Engineering/Anthropic/credential"

[custom_plugins.pins] # SHA-256 allowlist when JEZZ_ALLOW_CUSTOM_PLUGINS=1 / --allow-custom-plugins
".jezz/plugins/org_rule.py" = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"

4. Composite GitHub Action (action.yml)

Input Default Description
working-directory "." Relative path to target repository root.
mode "differential" "differential", "full", or "both" (gracefully falls back on 1-commit template repos).
base-ref "" Explicit Git base ref (origin/<base_ref> on PRs or HEAD~1 on push when unset).
language "" Optional filter (python, typescript, rust, go, comma- or space-separated).
profile "" "standard" or "strict_internal".
permit "" Relative path to a CodePermit JSON file.
as-of "" ISO-8601 date (YYYY-MM-DD) for CodeVariance sunset evaluation.
final-gates "false" Execute ecosystem static-type and dynamic test-suite gates via jezz inspect --final (32/32 JBC v1.3 provisions).
blueprint-target "" Relative path to target BlueprintGraph JSON for LVS gate enforcement.
prove "" Z3 contract gate mode: "" (off), "check", or "require-deductive".
prove-symbol "" Optional symbol filter passed to jezz prove --symbol when scoping require-deductive to pure callables.
dossier "" Relative path to EngineeringDossier JSON verified via jezz audit.
python-version "3.14" Python version provisioned for jezz via uv (>= 3.14).
enable-cache "false" Enable astral-sh/setup-uv dependency caching ("true" or "false").

Action Outputs (steps.<id>.outputs): inspect-exit-code, audit-exit-code, blueprint-exit-code, and prove-exit-code.