Repository configuration reference
Reference · Repository-owner guide
File authority
Section titled “File authority”| Path | Source revision | Purpose |
|---|---|---|
.omnigrex/team/*.md | One pinned latest default-branch commit before each Turn | Required Agent Profiles |
.omnigrex/environment.yaml | Same commit as Profiles | Optional image/platform/capability request for new Participants |
.omnigrex/review-policy.yaml | One trusted default-branch revision per logical admission request | Optional Reviewer scheduling policy |
.omnigrex/turn-configuration.yaml | Same commit as Profiles | Optional disk-backed tool-path requests for configured Roles |
.agents/skills/<name>/SKILL.md | Prepared working checkout | Explicitly authorized engineering procedures |
mise.toml and its scripts/hooks | Actual working checkout | Repository tool installation and activation |
Default-branch configuration authority does not imply default-branch skills or tool installation during Change Proposal review. Unknown configuration is rejected rather than silently ignored.
Agent Profiles
Section titled “Agent Profiles”| Field | Contract |
|---|---|
name | Stable repository-local identity, lowercase letters/digits/hyphens/underscores |
role | Role ID used by the Workflow Definition, DEVELOPER, REVIEWER, or PLANNER |
runtime | pi-rpc/v2 |
model | Exact provider/model supported by the image and supplied credentials |
thinking | Optional off, minimal, low, medium, high, xhigh, or max; vocabulary validity is distinct from model-specific support, verified against the actual Pi runtime |
max_steps | Optional positive decimal integer (1..2147483647) or unlimited; omission inherits the operator default; see step budgets |
permissions | Nonempty map of supported local permission names to allow or deny |
Supported local permissions are read, edit, write, bash, grep, find, ls, and skill.
Omitted permissions default to deny; Reviewer edit/write cannot be allowed.
MCP capabilities are authorized independently.
Delegation, unknown Profile fields, and unknown permissions are unsupported.
Every direct lowercase Markdown child of .omnigrex/team/ is treated as configuration.
Stage preparation requires exactly one Profile for the current Role.
Direct development requires Developer/Reviewer Profiles; a Planner Profile is required only for planning.
Doctor validates configured Profiles but does not require the optional Planner Profile.
max is Pi’s native maximum reasoning level and is distinct from xhigh; neither is substituted for the other.
A valid vocabulary value passes discovery, but the selected model must also advertise it through get_available_thinking_levels.
Unsupported or silently clamped selections fail during runtime preparation and doctor before any prompt is admitted, without fallback or downgrade.
The body follows strict YAML front matter and holds preferences/instructions.
Filename changes preserve identity when name remains unchanged.
Do not put secrets or a directory README among the Profiles.
See configuration examples.
Environment
Section titled “Environment”| Field | Contract |
|---|---|
version | 1 |
image | Exact untagged registry @sha256: digest |
platform | Supported Linux guest platform, linux/amd64 or linux/arm64; native deployment requires amd64 |
requirements | Backend-supported capability names |
Docker accepts process-isolation and tool-installation.
Microsandbox additionally accepts hardware-isolation and nested-containers.
An absent file selects the deployment golden image for new Participants.
Participants retain immutable exact contracts and do not rebind after edits.
See environment construction and promotion.
Tool paths
Section titled “Tool paths”version: 1 declares environment-paths.directories and environment-paths.environment.
Each directory name matches [a-z][a-z0-9-]{0,63} and specifies lifecycle: turn or assignment.
Each environment entry has a unique approved name and references a declared directory.
The nonempty file is limited to 64 KiB, at most 64 directories and 128 environment entries, and exactly one YAML document.
Variable names use shell identifier syntax, at most 128 characters, and must be operator-allowlisted.
Reserved prefixes include PI_, OMNIGREX_, MISE_, XDG_, LD_, DYLD_, and GIT_.
Reserved individual variables include PATH, HOME, ENV, BASH_ENV, SHELLOPTS, PYTHONPATH, PYTHONHOME, NODE_OPTIONS, BUN_OPTIONS, JAVA_TOOL_OPTIONS, and SSL_CERT_FILE.
The exact validator is internal/turnconfig/config.go (GitHub).
See tool-path examples and lifecycle.
Git identity and review artifacts
Section titled “Git identity and review artifacts”Workspace preparation sets repository-local user.name=Omnigrex and user.email=agent@omnigrex.invalid without changing global configuration or existing commits.
New Participant comments, reviews, and inline findings receive the visible Profile/Role signature; the hidden idempotency marker follows it.
request_review publishes a signed PR summary identifying the exact head before its terminal handoff succeeds.
This applies to initial and requested-changes Turns; agents should not duplicate the summary or reopen an existing PR.
The successor Stage waits for confirmed publication, and uncertain responses reconcile exact marker/summary/signature rather than blindly post again.
get_handoff returns the latest successful scoped handoff for the Workflow/PR/head or null, including ID, head, summary, time, and publication_confirmed.
Historical internal-only handoffs remain readable with publication_confirmed=false and are not retroactively described as published.
Reviewer summaries are claims to verify; inline findings use submit_review.comments and bodies hold findings without valid diff locations.
Review scheduling
Section titled “Review scheduling”.omnigrex/review-policy.yaml is optional and is read from one trusted default-branch revision for each new logical review-admission request, never from the PR head.
An accepted Developer handoff, synchronization after a previous Reviewer Turn, or explicit human reactivation creates a new request.
Infrastructure retries reuse the existing policy, selected inventory, and absolute deadline, with fresh CI observations.
Configuration edits affect new requests, not a wait already in progress; Profiles, tools, credentials, and Runtime Profiles keep their separate revision rules above.
Default configuration:
version: 1review: start: after_ci ci: selection: github_required timeout: 2h registration-grace: 60sstart: immediate is the explicit bypass: it skips CI observations, registration grace, and CI waiting.
after_ci admits selected check conclusions success, neutral, and skipped, or legacy status success, preserving their literal conclusions.
A current selected failure, cancelled, timed_out, action_required, stale, startup_failure, or legacy failure/error routes to the Developer without a Reviewer verdict.
A definitive matched failure can route before unrelated checks finish; newer pending reruns supersede older results from that producer.
Unknown conclusions, missing results, pending checks, and unavailable evidence wait without an Agent.
At the absolute deadline, incomplete evidence creates Human Handoff, not Reviewer admission or a claim of code failure.
Each Workflow Attempt permits three automatic CI-repair dispatches since its last fully successful admission; a fourth needed repair hands off to a human. Only complete nonempty selected evidence whose results are all literally successful resets usage, atomically with Reviewer allocation. Neutral/skipped admission, no CI, bypass, and head changes do not reset usage. CI repairs are independent of actual Review Cycles and infrastructure retries; successful resets can allow more than three total repairs in one Attempt.
selection: github_required freezes the first complete discovery of current effective classic protection and active/inherited branch rules, retaining source and App constraints.
Unavailable or incomplete discovery is retried under the original deadline; it cannot establish a frozen empty inventory.
Only successfully confirmed empty requirements fall back to all relevant observed CI.
That fallback cannot release before registration grace, even after a fast terminal check; no observed CI after successful grace produces an explicit no-CI reason.
Missing required checks remain required after grace.
Unreadable or unsupported requirements are never treated as empty.
To choose an explicit inventory:
version: 1review: start: after_ci ci: selection: explicit timeout: 45m registration-grace: 60s checks: - context: build source: check app-id: 15368 - context: external-validation source: statuschecks must contain 1..100 unique selectors for explicit selection and must be absent otherwise.
context is a nonempty exact context name, at most 256 bytes, without surrounding whitespace, line breaks, or NUL.
source is check or status; optional positive app-id restricts check producer identity.
Statuses do not prove an integration App identity and cannot specify app-id.
Check and status contexts are distinct selectors, not interchangeable names.
Durations use Go duration syntax, resolve to whole seconds, and are not silently clamped.
Timeout must be 1 second..2 hours; grace must be 0..5 minutes and no longer than timeout.
These are orchestrator safety ceilings, not repository-granted execution capabilities.
The file must be one nonempty YAML document of at most 64 KiB with version: 1; unknown fields, null/empty scalar values, aliases, invalid selectors, and malformed durations are rejected.
Invalid configuration produces an actionable preparation failure, not a successful no-CI observation.
A waiting PR-head or verified test-merge change replaces the pending target, discards obsolete evidence, and restarts grace without extending the deadline or creating a second pending review. No already-running Reviewer is restarted solely for same-head CI reruns or base movement. The orchestrator never merges or rebases the Change Proposal to manufacture a CI run. See review scheduling operations and Workflow visibility.
