ProbeGate CLI (internal 0.1.0)
Cloud-only client: assessments execute on existing platform workers. Prepare Project, authorized Target and published Suite on the platform first. No backend, DB, Redis, MinIO or LLM key is required on the client. No registry release is authorized.
Build/install with Python 3.12 (from repository root):
python -m pip install build
python -m build --wheel cli
python -m pip install cli/dist/probegate_cli-0.1.0-py3-none-any.whl
probegate --help
Development/checks: python -m pip install -e "cli[test]", then make lint and
make test. Existing root tests remain enabled. PYTHON selects the interpreter;
PYTEST_ARGS supplies optional pytest arguments. GNU Make is needed for make commands.
probegate login --platform https://assessment.example --email qa@example.org
probegate init --project <uuid> --target <uuid> --suite <uuid> --suite-version 1.0 --category QUALITY --overwrite
probegate run --mode pipeline --max-requests 20 --timeout-s 120 --yes --json
probegate run --mode agent --max-requests 10 --timeout-s 120 --max-steps 10 --max-tokens 2000 --yes --json
probegate watch --run <uuid>
probegate watch --run <uuid> --once --json
probegate findings --run <uuid> --json
probegate stop --run <uuid> --yes --json
probegate report --run <uuid> --format json --output report.json --json
probegate report --run <uuid> --format html --output report.html
probegate logout
--platform is an origin, without /api/v1; the client adds that existing prefix.
Remote origins require HTTPS. HTTP is accepted only for explicit localhost/127.0.0.1/::1
origins. TLS verification stays enabled. Redirects and ambient HTTP proxy configuration
are disabled, so bearer credentials cannot be forwarded to a redirected origin.
Passwords are prompted with hidden input, never accepted as arguments. Native Windows
Credential Manager and Linux Secret Service are supported secure stores. A missing,
locked or unsupported backend fails loudly. There is no plaintext fallback. An explicit
PROBEGATE_TOKEN overrides the saved token; logout cannot unset it in the parent shell
or revoke the JWT server-side. A saved token is scoped to platform origin and account.
Use PROBEGATE_ACCOUNT or init --account to select an account for data commands.
Config contains non-secret defaults only. Paths default to platformdirs user config/state
locations. Override them with PROBEGATE_CONFIG (file) and PROBEGATE_STATE_DIR (directory).
Configuration precedence is flags > PROBEGATE_PLATFORM/PROBEGATE_ACCOUNT > config.
Resource IDs, category, version and polling interval come from flags/config; resource-ID
environment variables are not supported. Poll interval defaults to 2 seconds and may be
changed by init --polling-interval or watch --interval (0.2–60 seconds).
Malformed config fails; repair it or select a new config file. init replaces existing
config only after interactive confirmation or --overwrite.
Run budgets are mandatory. Each invocation creates one PIPELINE or independent AGENT
run. Project defaults are explicitly disabled (use_project_defaults:false), so they
cannot silently add strategies/rubric/profile. Agent uses the server's documented
strategy defaults; this CLI does not expose custom strategies or pipeline_first.
Confirmation displays the exact request plus Project ID. Noninteractive submission
and stop require --yes. Target authorization, suite publication, tenant/RBAC and
execution limits continue to be enforced by the backend and worker.
Before creating a run, the client writes an atomic non-secret intent containing UUID, origin, Project, idempotency key, exact body, timestamp and nullable run ID. If POST loses its response, keep that intent and resume explicitly:
probegate run --resume-intent <intent-uuid> --yes --json
Select the original origin through config or PROBEGATE_PLATFORM; resume forbids
all origin/payload flags. It reuses the saved Project/body/key. If the run ID was
already saved, it returns that ID without POST. If response persistence failed after
creation, resubmitting the same intent still recovers the server run. Never edit a
journal to create a new payload or remove it while recovering. Same key/different body
is a backend 409. POSTs never automatically retry. Auth failures require explicit login
and explicit retry; the client never replays writes after login automatically.
GET retries transport errors, 5xx and 429 at most three times after the initial attempt. Delays are 1/2/4 seconds; Retry-After seconds/date is capped at 30 seconds per retry. Other HTTP errors do not retry. Each HTTP request has a 15 second timeout, separate from the run's worker execution timeout. Watch exits after exhausted retries without changing server state. Ctrl+C detaches (130) and prints attach/stop instructions.
Agent progress means reserved steps, and remaining means unused capacity. COMPLETED does not imply PASS. Finding states remain server-owned; pending findings are not confirmed bugs. Status does not depend on findings/report permissions. Stop verifies the current server status; an unverified stop request fails with guidance to watch.
All terminal output is plain, without animation or markup interpretation. Data commands
accept --json: one complete document on stdout, diagnostics on stderr. Watch JSON
waits for terminal status unless --once is selected. Report JSON stdout retains the
original report schema; files always retain exact server response bytes.
Downloads validate media type/JSON schema_version 1.0 before atomic publication.
Existing files require --overwrite; failed downloads keep any previous destination.
Files are not opened automatically. Reports may contain sensitive redacted evidence;
protect and share downloaded files under your organization's rules.
Exit codes: 0 successful operation/COMPLETED (even with FAIL findings); 1 API/auth/network, local I/O, invalid server report or FAILED; 2 invalid parameters/config; 3 STOPPED; 130 interrupted watch. Stop returning STOPPED also exits 3. No quality gate exit policy.
Evidence and limitations: verification, contract review. Windows and Ubuntu WSL wheel checks do not certify staging, a native Linux desktop credential store or all Linux systems. Local runner, extension and CI gate remain outside scope.
Metadata
Release files for probegate-cli 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| probegate_cli-0.1.0.tar.gz | 21.1 kB | Without provenance | Details for probegate_cli-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| probegate_cli-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for probegate_cli-0.1.0-py3-none-any.whl |
Total release size: 36.2 kB
Release files / probegate_cli-0.1.0.tar.gz
| Download URL | probegate_cli-0.1.0.tar.gz |
|---|---|
| Size | 21.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f89c72418af8548ae4945e7146b0cc51cc2fcbd03cbe96309637f1a1dd7f9911
|
|
BLAKE2b-256 checksum How to use checksums |
800fe4fa0c43f439cf9c1f602db65c7067ef9961da4ab08123f2193837503884
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / probegate_cli-0.1.0-py3-none-any.whl
| Download URL | probegate_cli-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1230025164adaafd8f980fa2aec2fde45cf9063314d5b8422d2bcda6043c855
|
|
BLAKE2b-256 checksum How to use checksums |
55631321568f2092fe77cb930aa6b5fa99891da0f4167ceddc8492a43580c096
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Security for probegate-cli 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.