How maestria Works
maestria applies Harness Engineering: the model supplies capability, while the harness supplies the method that makes work repeatable. Here the harness is a main loop, method skills, explicit handoffs, and independent verification.
request -> route -> focused work -> evidence -> resultPipeline & Roles describes the mechanics. This page explains the intended benefits and their limits.
The Core Model
Section titled “The Core Model”The main loop (the maestria agent on OpenCode, the main session elsewhere) does the work itself: it investigates, designs, implements, and delivers, loading the recon, architecture-plan, and diagnose skills when a task needs them. One specialist, the reviewer, independently checks meaningful changes before delivery.
| Boundary | Purpose |
|---|---|
| Method skill | Loads only the reconnaissance, design, or diagnosis the task needs |
| Handoff | Carries the context, constraints, acceptance evidence, and next step |
| Stage gate | Stops the workflow when the output is incomplete or unsafe |
| Independent reviewer | Checks the maker’s result without editing it |
Direct execution remains valid for small, familiar work. Review earns its cost only when it adds information, reduces risk, or provides an independent check. The route is adaptive: a small change may stay direct, while research-only requests stop before implementation; Pipeline & Roles covers sequencing and rejection handling.
Designed Benefits
Section titled “Designed Benefits”| Benefit | How the harness provides it |
|---|---|
| Focus | The main loop loads only the method skill the task needs instead of mixing discovery, design, implementation, and review in one prompt. |
| Earlier correction | Reconnaissance or a plan can expose missing context or a bad approach before implementation. |
| Independent validation | The reviewer is a separate, read-only role with different incentives from the maker. |
| Bounded failure | Repair loops use a verifiable stopping condition: one repair pass after review, capped at three, then escalate if progress stops. |
| Consistent expectations | Global rules define evidence, authorization, escalation, and commit behavior across integrations. |
These are design goals, not guarantees. Quality still depends on the task, model, host runtime, and the evidence produced.
How Much Process to Expect
Section titled “How Much Process to Expect”The main loop chooses the investigation and checks that establish the outcome, not a fixed ritual: a diagnosis may use Git history or search similar code, and extra skills load only when relevant. The main loop runs affected checks and the repository gates on the integrated result, and host permissions still require authorization.
A review or partial result is not completion: the main loop owns the remaining work through the agreed outcome, while research-only work ends at the requested artifact.
What Depends on the Platform
Section titled “What Depends on the Platform”Native integrations can provide stronger runtime boundaries: read-only permissions, lifecycle hooks, or native subagents. The Agent Plugin package provides complete native resources selected per host and eight portable skills. The client owns discovery, permissions, activation, and session behavior; portable utilities alone do not activate the full methodology.
Context inheritance and parallel work also differ: a new review session may still inherit part of its parent’s context, so treat the handoff as the reliable boundary and read the platform guide before relying on a permission or lifecycle claim.
What It Does Not Promise
Section titled “What It Does Not Promise”- It does not make every task faster than direct execution.
- It does not replace the host’s sandbox, permission system, or model configuration.
- It does not make advisory rules into security controls.
- It does not remove the need for tests, evidence, or human judgment on consequential work.