Verified work per unit of premium inference

I designed an OpenCode-based engineering harness so the primary model can focus on architecture, security decisions and final acceptance while bounded workers gather evidence. Routine repository exploration and long command outputs consume context. Delegation helps only when the work is independent and the parent can verify the result without redoing the investigation.

Reasoning complexity and parallelization potential are separate. A difficult migration with shared state may need one strong model and a precise sequence. Several read-only questions about an unfamiliar codebase may benefit from independent workers, even if none requires deep reasoning.

Native orchestration and model independence

The operator defines the objective and authorization. The primary agent chooses work packages, resolves contradictions, implements changes and owns the engineering decision. The website workflow uses native background child sessions with separate research, verification and review responsibilities. Repository-specific agents retain different tool scopes; adding an agent does not grant additional operator authority.

An agent role specifies scope, permitted operations, reporting and verification. Model and reasoning settings are a separate selection layer. The design reserves stronger profiles for difficult planning and review, smaller or free execution profiles for bounded independent work, and specialized coding profiles for predictable implementation. The roles should survive a provider or model replacement.

I use a native orchestrator–worker workflow rather than maintaining a second session system. Exact model assignments, reasoning labels and budget settings change over time and require a current configuration audit before they can be reported as deployed profiles.

Multi-model engineering architecture The pool represents independently assignable work; it is not a measurement of simultaneous worker throughput.

Scope, evidence and escalation

A worker assignment needs a specific question, an authorized working directory, the available tools, a stop condition and an evidence format. A useful report records what was requested, where and how it was attempted, command exit statuses and actual outcomes, relevant errors, findings, changes or artifacts, blockers and completion status. PASS, partial, blocked and not run are different outcomes.

The primary agent checks conclusions against source or repeatable evidence. For safety-critical work it verifies the result independently. A missing permission or inaccessible dependency stops that branch; a failed command is evidence, not a reason to try a different tool against the same denial.

Agent instructions guide behavior. Native permissions govern tool invocation. Neither alone constitutes operating-system isolation; shell commands still run with host-user authority. Operator approval governs cross-boundary work and consequential changes, including production operations and model escalation.

A bounded delegation Failure reports are part of the contract. Independent verification remains the responsibility of the primary agent.

Adaptive scheduling and context

The scheduling policy favors direct execution for trivial or sequential work. Bounded delegation helps with a distinct question; parallel delegation is useful when several questions do not share mutable resources. Unique scopes and a task ledger avoid duplicate investigation. These are workflow decisions, not more worker processes for their own sake.

OpenCode upstream documents separate worker contexts and a completion message to the parent. A report can therefore consume additional parent context even when the worker uses a free model. Concise reports, evidence reuse and early stopping keep coordination purposeful. Free-mode discovery is a design for gathering and consolidating evidence before bringing it into a premium engineering session.

A reported runtime audit observed grouped worker completions followed by parent generations. That observation needs trace-level validation before publishing counts or attributing premium costs. Scheduling allowances are planning limits, not measured parallel throughput or runtime enforcement.

Adaptive scheduling and evidence consolidation Coordination has a context cost. Escalate only when the evidence or security requirements justify it.
Child sessions and parent context Batching and cost depend on the runtime and workload; model pricing alone does not measure orchestration.

Configuration as a controlled transaction

The Fish and Python tooling design separates interaction from configuration handling. Fish presents model and effort choices and completes known selectors. Python is responsible for validating a model and its supported reasoning variants against the provider catalog and resolving the intended profile before any write. A rejected selector must leave the configuration unchanged; an unavailable model should be visible to the operator rather than silently replaced by a more expensive one.

The expected update contract is to inspect the exact allowed file, refuse unsafe paths or symbolic links, detect concurrent or external modifications, preserve unrelated settings and permissions, and commit a complete replacement. Restoration should target the individual assignment without overwriting unrelated changes. A valid on-disk update and its activation in a new or existing session are separate checks.

The variant-aware agent-model interface and earlier worker-model interface are part of the supplied tooling design. Their current commands, reload behavior and filesystem guarantees are pending source-matched verification; the transaction below describes the design and test criteria.

Model update and restoration Target update contract; role policy and model configuration have separate lifecycles.

Research and evaluation

OpenAI's deployment guidance distinguishes independent workstreams from sequential or competing writes. Anthropic's orchestrator–worker and context-engineering articles explain how narrowly scoped agents can return distilled results. Google Research reports that coordination helped some tasks and harmed other, sequential tasks in its evaluation. These findings explain the scheduling policy; they are not measurements of this harness.

Runtime investigation focuses on agent discovery, per-role model settings, reasoning-variant resolution, background completion delivery, session metadata and permission precedence. Operator tooling is intended to validate selectors against the available model catalog and replace assignments without rewriting policies. Atomic updates, conflict handling, rollback, link safety and permission preservation require independent tests before each is treated as a verified guarantee.

The next evaluation is a controlled comparison of complete workflows. Relevant measures include input, output, cache and reasoning tokens, parent generations and completion groups, worker count and concurrency, duration, provider failures, duplicate work and human corrections. The outcome is independently verified task success; inference use and latency are measured against that outcome. No savings, model rankings or throughput gains are claimed here.