Track 12 — Turnkey Distribution, Reusable CI Gate, & v0.2.0 Release Packaging¶
1. Objective¶
Tracks 1–11 closed all four architectural pillars of jezz across Python, TypeScript, Rust, and Go, verified zero-credential multi-provider execution (antigravity:<model> + Proton Pass pass-cli), and demonstrated surgical brownfield OSS renovation (jezz renovate --ratchet). Track 12 packages jezz v0.2.0 for drop-in CI/CD enforcement and reproducible distribution.
2. Reusable Composite GitHub Action (action.yml)¶
Root action.yml exposes Jezz Software Building Code (JBC Edition 1.2; upgraded through v0.8.0 to Edition 1.3 with final-gates, blueprint-target, prove, and prove-symbol) & PCE Statutory Gate as a zero-boilerplate composite GitHub Action consumable by any Python, TypeScript, Rust, Go, or polyglot repository:
- name: Enforce JBC Edition 1.2 Differential Occupancy Ratchet
uses: futileandstupid/jezz@v0.2.0
with:
working-directory: "."
mode: "differential" # differential | full | both
# language: "rust,go" # optional space- or comma-separated filter
# permit: "permit.json"
# dossier: "dossier.json"
# enable-cache: "true" # optional astral-sh/setup-uv cache (default: "false")
Security & Determinism Invariants¶
- Zero Raw
${{ inputs.* }}Shell Interpolation (JBC-SEC-001): Every action input (working-directory,mode,base-ref,language,permit,as-of,dossier,python-version,enable-cache) is bound strictly through stepenv:variables (JEZZ_*) or boolean input expressions before bash execution, eliminating untrusted PR branch/input shell injection. - Zero Hardcoded Host Paths (
JBC-SEC-006): Invokesuv run --python "$JEZZ_PYTHON_VERSION" --project "$JEZZ_ACTION_PATH" jezz ...anchored dynamically to${{ github.action_path }}, isolatingjezz's Python>=3.14environment from the target repository's toolchain (Cargo.toml,go.mod,package.json, or older Python virtualenvs). - Fail-Fast Keyless CLI Preflight (
_load_workflow_inputs,src/jezz/cli.py): Validates local--mandateand--resume-elicitationJSON artifacts prior to resolving provider credentials (pass-cli), ensuring deterministic exit code2validation diagnostics on keyless CI runners. - Automatic PR/Push Base Resolution & Step Summaries: Defaults
base-reftoorigin/${{ github.base_ref }}onpull_requestevents andHEAD~1onpushevents, appends structured Markdown inspection and dossier-seal reports to$GITHUB_STEP_SUMMARY, and exportsinspect-exit-code,audit-exit-code,blueprint-exit-code, andprove-exit-codevia$GITHUB_OUTPUT. - CI Dogfooding (
.github/workflows/jbc-gate.yml): Gate 7 ofjezz's own CI workflow dogfoodsuses: ./on every push and pull request.
3. v0.2.0 Package Metadata & Verification (tests/test_track12_packaging_and_action.py)¶
- Synchronized release version
"0.2.0"acrosspyproject.toml([project].version),src/jezz/__init__.py(__version__), andsrc/jezz/mcp_server.py(SERVER_VERSION = __version__), alongside[project.urls](Homepage,Repository,Documentation),keywords, and PyPIclassifiers. - Added deterministic verification in
tests/test_track12_packaging_and_action.pyasserting version parity,action.yml/jbc-gate.ymlpath and shell-interpolation hygiene, and end-to-end execution of the composite action's bash gate against a temporary multi-commit Go Git repository with a sealedEngineeringDossier(inspect_rc=0,audit_rc=0,OCCUPANCY_SEALED).