Command reference
The image entry point runs the orchestrator without a subcommand.
Use /usr/local/bin/omnigrex inside the selected deployment service for operational commands.
Preserve the exact COMPOSE_FILE and mounts.
Unknown commands and invalid arguments return exit code 2.
doctor
Section titled “doctor”docker compose exec orchestrator /usr/local/bin/omnigrex doctor --repository OWNER/REPOSITORY--repository is required; positional arguments are rejected.
Exit codes are 0 for all-pass, 1 for prerequisite failure, and 2 for invalid arguments.
Independent checks report PASS/FAIL lines.
See preflight effects and limits.
healthcheck
Section titled “healthcheck”The Compose healthcheck invokes omnigrex healthcheck using OMNIGREX_HEALTHCHECK_URL.
The default is http://127.0.0.1:8080/readyz.
The HTTP client budget is readiness timeout plus five seconds; align the outer Compose timeout using health settings.
It returns 0 on success and nonzero on configuration, request, or response failure.
docker compose exec orchestrator /usr/local/bin/omnigrex auth logindocker compose exec orchestrator /usr/local/bin/omnigrex auth login --new-accountdocker compose exec orchestrator /usr/local/bin/omnigrex auth statusdocker compose exec orchestrator /usr/local/bin/omnigrex auth logoutdocker compose exec orchestrator /usr/local/bin/omnigrex auth unblockAuthentication commands load only the authentication mode and credential-root settings.
They use the running orchestrator’s private administrative socket, or acquire exclusive offline ownership if the orchestrator is absent.
login supports browser callback and manual full-redirect completion with a ten-minute attempt lifetime.
--new-account registers a different account/workspace through ordinary login, without an active-Turn barrier.
status prints safe JSON, including mode, verified identity, login/storage availability, and independent authentication/quota blocks.
logout removes local tokens and reports whether remote revocation was confirmed.
unblock clears only the durable quota block for another attempt; it performs no model prompt and resumes no Work Item.
Exit codes are 0 for command success, 1 for operational failure, and 2 for invalid arguments/configuration.
See the authoritative authentication procedure.
state export and state restore
Section titled “state export and state restore”Both require --participant with the exact Agent Participant UUID.
state export streams a checksummed archive to stdout; state restore reads it from stdin.
They operate offline under writer/collection barriers and use a ten-minute deadline.
Never run them against active retained state.
Use the complete export procedure and restore procedure, including staging and matching ledger requirements. Participant-only archives are supplemental and omit PostgreSQL/protected captures.
pi-diagnostic
Section titled “pi-diagnostic”The source-checkout procedure builds and provisions the disposable image before running this command.
| Flag | Contract |
|---|---|
--image | Required exact local image ID or registry digest, already available |
--backend | docker (default) or microsandbox |
--arch | amd64 (default) or arm64 Linux guest |
--configuration | Exercise owned configuration and authenticated fixture MCP |
--reviewer | Verify Reviewer restrictions; requires --configuration |
--sessions | Exercise disposable Session coordination |
--namespace | Diagnostic ownership namespace; backend-specific default |
--microsandbox-home | Private native cache/inventory, default /tmp/msb-pi |
--microsandbox-executable | Default /usr/local/bin/msb |
--microsandbox-firmware | Default /usr/local/lib/libkrunfw.so.5.6.1 |
It accepts fixture authority rather than real provider credentials and creates no Workflow. Use separate diagnostic storage, not protected Participant state.
Development tasks
Section titled “Development tasks”Mise tasks are development entry points, not installed administrative commands. See testing and mise.toml (GitHub) for exact task definitions and required host capabilities.
Work Item collaboration commands
Section titled “Work Item collaboration commands”On the first nonblank line of a new Work Item Issue comment, use /omnigrex answer R3, /omnigrex amend A7, or /omnigrex steer, followed by natural-language content.
Use the actual permanent short reference from the conversation; missing targets are never inferred from the current round.
For exact proposed-pair confirmation use /omnigrex confirm-plan P2 with the published reference, after reviewing both complete documents.
Repository write-or-higher permission and an active Workflow or normal clarification wait are required.
These commands do not authorize implementation or recover Human Handoff.
To accept a current proposed pair and authorize implementation, submit /omnigrex implement P2 alone, with no additional non-whitespace prose.
To withdraw unused authority, submit /omnigrex withdraw-implementation P2 alone.
Both use the actual pair reference, require write-or-higher authority and are distinct from confirm-plan; receipt is not validation or admission.
See planning authorization and withdrawal for ready-plan compatibility, relevance validation, lifetime and the first Developer admission boundary.
See clarification and steering for partial answers, immutable history, acknowledgment identifiers, rejections, and waiting behavior.
Agent collaboration history
Section titled “Agent collaboration history”Planner, Developer and Reviewer can call the scoped read capability get_collaboration_record.
Its collection is human_input, human_input_history, clarification_history, assessment_history, planning_request, planning_history, or accepted_plan; index is zero-based and offset defaults to zero.
Preparation supplies frozen collection counts in collaboration_projection.
When retrieval_required is true, every pending human_input record must be retrieved before interpretation or handoff; older history is available as needed.
Each result contains JSON-text content, record_sha256, index, and total, with next_offset for another chunk of the same record or next_index for the next record.
Concatenate content chunks verbatim before parsing the record; offsets count Unicode characters in that encoded JSON text, not bytes in the original answer.
Follow next_offset from offset zero and keep one record_sha256 across the chunks of a record; a changed fingerprint requires restarting that record.
For retrieval-only pending input, frozen assignment is not delivery: every canonical chunk of every batch record must be successfully recorded by the scoped read ledger before handoff is admitted.
Failed reads, duplicate chunks, and retrieval of only the final chunk do not clear that fence.
For planning-derived implementation/review, accepted_plan contains the exact complete accepted revision, original request and selected original decisions.
If omitted from the inline projection, every canonical chunk must be successfully read before terminal handoff; implementation_handoff is orientation, not a substitute for the documents.
Unread input is carried to the retained Session’s next Turn if execution ends early; successful reads do not reset budgets or interpret the contents.
Neither retrieval nor command acceptance resolves questions or grants implementation authorization.
Interpretation recovery evidence
Section titled “Interpretation recovery evidence”resolve_clarification requires a nonempty batch of interpretations.
Each recorded interpretation carries an orchestrator-owned origin_operation_id, identifying its durable mutation reservation rather than the agent’s operation label or a GitHub artifact.
The orchestrator records this origin atomically with the interpretation; agents cannot supply it in resolution arguments.
Recovery requires matching origin, Work Item, Participant, round, and the complete requested interpretation batch.
An identical historical interpretation from another operation is not proof that a cancelled or uncertain operation applied its effect.
Earlier unattributed interpretations remain history but cannot establish operation-specific recovery proof.
assess_human_input records each delivered input’s explanation and changed, unchanged, uncertain, or exact-confirmation confirmed disposition, with immutable evidence IDs and optional natural-correction links.
Every delivered input must be assessed before a pair is proposed or a Role completes work, and unresolved material uncertainty remains blocking outside the current question frontier.
Assessment effects, including confirmation invalidation, are bound to their exact reservation; identical historical content from another operation is not recovery proof.
Human-facing references do not replace internal reconciliation identities.
omnigrex image-maintenance
Section titled “omnigrex image-maintenance”Bounded, read-only native image protection inventory for Microsandbox deployments.
Options: --limit N (default 1000, range 1-10000), repeatable --pin EXACT_REGISTRY_IMAGE (maximum 1000), and --json.
--apply is recognized but always refuses with exit 1 before resource access because safe native GC is unqualified.
Exit 0 reports successful inventory production, not complete provenance or freed space; exit 1 reports configuration/binding/access failure or refused apply; exit 2 reports invalid arguments.
See native maintenance for prerequisites, incomplete results and the tracked dependency.
