Skip to content
Development documentation: these guides follow main and may describe changes not yet in a published release.

Operate orchestrator-side review scheduling

Operator guide · Repository policy reference

Use a release qualified for both the Docker and Linux/KVM controlled Workflow gates. Apply its forward-only PostgreSQL migrations with the normal orchestrator startup procedure; old completed Turns and existing Human Handoffs are not reactivated or rewritten. The shared CI reader’s permissions and strict App preflight requirements are authoritative in GitHub Apps. No Checks write permission or CI-completion webhook subscription is added.

Repository owners control scheduling within orchestrator limits: timeout 1 second..2 hours and registration grace 0..5 minutes, with grace no longer than timeout and whole-second precision. The defaults are two hours and 60 seconds. Policy is structured configuration, not Agent Profile prose, and does not grant execution capabilities or alter the Workflow graph.

The Workflow stays in its review Stage with the separate omnigrex:waiting-for-ci label on the Work Item and current PR. An orchestrator-owned editable progress comment identifies the reviewed head, deadline, expected/observed evidence, and release reason. Waiting allocates no Reviewer Turn, execution job, Runtime Process, or active execution slot. An existing persistent Reviewer Session may remain retained.

The preparation job is delayed between bounded observations and releases its orchestrator lease. Healthy waits preserve the remaining finite failure allowance by extending claim allowance while retaining monotonic audited claim numbers. They do not increment Workflow infrastructure failures, Review Cycles, or Agent step usage. Orchestrator restart reclaims leases and resumes durable delayed observations rather than requiring an event or an Agent to poll.

Check the deadline and progress comment before treating review-stage inactivity as a stuck Runtime Process. A missing expected check remains missing after registration grace; a provider error or unsupported required workflow remains explicit rather than proving empty requirements. Incomplete discovery is retried until a complete inventory is selected or the original deadline produces incomplete-evidence Human Handoff. The selected inventory is frozen, so newly added required checks affect new requests rather than an existing wait. A PR-head or verified merge-target replacement invalidates old evidence and restarts grace without extending the original deadline.

Selected success, neutral, and skipped checks admit review with their actual conclusions; only legacy success admits. Definitive selected failure, cancellation, job timeout, action-required, stale, startup-failure, or legacy failure/error returns directly to the Developer, even with unrelated checks pending. Three automatic repairs are allowed since the last complete nonempty literal-success admission, separately from Review Cycles and infrastructure retries. The fourth needed repair produces Human Handoff. Neutral/skipped, no CI, bypass, and head changes cannot reset usage. The absolute waiting deadline produces Human Handoff for incomplete evidence, never Reviewer admission or an invented CI failure. The comment distinguishes review queued from actual Reviewer Turn allocation and never certifies approval or mergeability. Detailed logs and diagnostics remain behind the existing scoped CI tools.

If publication of a waiting update races admission, cancellation, or closure, the serialized revision-aware visible-effect queue reconciles the latest state on retry. Do not delete durable requests, edit job counters, blindly recreate comments, or reapply omnigrex:run merely to make a CI notification take effect. A lost create response is recovered by the stable workflow marker, and meaningful updates edit that comment rather than publishing one per observation.

Closing the Issue, superseding an Attempt, Human Handoff, or transfer to human Session control invalidates the pending gate. Later CI observations cannot resume stopped automation. Use the existing human reactivation procedure when autonomous work should resume, creating a fresh policy snapshot and deadline. Do not merge or rebase a published branch to manufacture CI as part of scheduling recovery.

Developers may hand off with remote CI pending after appropriate local verification and truthful reporting. Reviewers normally perform useful review after immediate or no-CI admission instead of rebuilding an orchestrator wait in their Turn. This polling preference is expressly repository-overridable unless explicit operator guidance forbids it. The instruction hierarchy and essential-evidence obligations remain unchanged.

Stop all old orchestrator workers before deploying the CI-qualified admission migration; do not run mixed-version workers against the new schema. New requests default to two hours; existing frozen policy and deadlines, including thirty-minute deadlines, stay unchanged. Released-but-unallocated legacy requests are returned to waiting and reevaluated under the qualified-result policy before allocation. Already admitted or running Turns are not revoked, and stopped Workflows are not reactivated. Inspect the progress comment and normal Human Handoff publication for expired incomplete legacy requests; do not extend deadlines by editing the ledger.