Repository navigation
Description
Problem and intended outcome
Agent OS has strong governance, recovery, evidence, planning, provider, knowledge, and organizational contracts, but its simplest flagship path does not exercise enough of the architecture to reveal where the system is operationally overbuilt, underbuilt, or incorrectly sequenced.
Create one meaningful adaptive reference workload whose purpose is engineering validation, not marketing.
The workload should be safe enough to run repeatedly while exercising a substantial vertical slice of the intended Agent OS thesis.
Recommended first workload class
A local software-engineering task is a strong candidate:
Given a bounded local repository fixture containing a known defect, analyze the repository, identify the defect, produce a patch/artifact, run independent deterministic verification such as build/tests/static analysis, and reach evidence-backed completion.
The exact fixture may differ, but it should not collapse into a registered deterministic handler or a pre-scripted fixed workflow.
Required properties
The workload should exercise, where currently supported:
- natural-language intake/Intent normalization;
- adaptive planning;
- a multi-Task DAG where justified;
- real configured model execution;
- durable Agent assignment/configuration;
- bounded local read/write/tool behavior only where existing authority contracts permit it;
- independent/deterministic verification;
- CompletionContract and Work completion evidence;
- run telemetry/resource accounting;
- restart/recovery at selected safe interruption points;
- optional Knowledge/OWL candidate generation only if that path is already supported without weakening trust boundaries.
Do not enable deferred consequential effects merely to make the workload impressive.
Purpose
Use the workload to answer concrete architectural questions:
- Does adaptive planning improve execution or create ceremony?
- Are Task DAGs appropriately sized?
- Is human review being invoked only where genuinely necessary?
- Are evidence/completion contracts useful or excessively burdensome?
- Is recovery understandable in practice?
- Is live operability sufficient to diagnose failure?
- Which of Make task execution drift evaluation a first-class completion primitive #225–Make governed Lab experiments hypothesis-driven and reproducible #236 are actually blocking useful autonomous work?
- Where can optional machinery degrade gracefully under Define fail-closed versus graceful-degradation semantics #233?
Findings should update priorities based on observed execution rather than automatically generating new architecture.
Acceptance criteria
- The reference workload cannot be completed by the existing deterministic echo path.
- At least one real configured model turn is required and evidence-bound.
- The runtime chooses/adapts the execution plan rather than replaying a hand-authored fixed sequence.
- Successful completion requires authoritative verification beyond model self-report.
- The same fixture can be rerun deterministically enough to compare AgentOS/runtime changes while preserving nondeterministic model-output semantics.
- At least one controlled restart/recovery scenario is exercised.
- Telemetry captures wall time, model usage/cost completeness, retries/blocks, and completion evidence.
- Record where AgentOS required human intervention and whether each intervention was genuinely policy/judgment necessary.
- Produce a short engineering findings artifact/report that maps observed friction/failures to existing issues before creating new architectural work.
- No protected external/public/destructive/financial effect is enabled solely for this workload.
Sequencing
Implement after current P1 containment/current-defect work unless an explicit dependency requires otherwise.
This issue should become the primary empirical driver for reprioritizing #225–#236.
Explicit first capability choice
The first reference workload will use one narrow read-only local repository tool surface rather than remaining tool-less, enabling model-directed filesystem mutation, or enabling general-purpose Agent tool dispatch.
The first-slice Agent-visible boundary is deliberately small:
bounded local repository workspace
├── list / inspect bounded repository structure
├── bounded file read
└── bounded repository-content search
The Agent does not directly mutate the repository in the first slice.
Instead, it produces a proposed patch/diff as a normal bounded result artifact. A runtime-owned deterministic verifier may apply that candidate to a disposable verification copy and evaluate it using one reviewed verifier profile.
Verification is not shell authority
The verifier interface is runtime-owned and closed. The Agent may request verification of its candidate, but it does not author or select arbitrary executable commands.
For example:
verify(candidate_patch, profile="go-repository-v1")
The reviewed profile may internally run fixed commands such as build, test, vet, or static-analysis steps. Those exact commands/configuration belong to the verifier implementation/profile, not to model-controlled arguments.
The first slice MUST NOT expose arbitrary shell, model-authored commands, package installation, credentials, MCP/plugin discovery, external/public effects, or general unrestricted tool dispatch.
Executable verification of the Agent-authored candidate is governed by #244's execution-risk classification and #175's execution-mode contract. A higher #244 risk class does not itself force a specific backend. If workload scope changes materially, #244 must reclassify it and #175 must record whether the operator/policy continues under HOST_DIRECT or requires ISOLATED_PROVIDER. The runtime must not silently inherit stronger containment claims than the selected execution mode can prove.
Staged capability progression
Treat repository mutation as a later deliberate capability:
Stage 1 — #243 first slice
READ repository
PROPOSE patch artifact
RUNTIME-owned verifier tests disposable copy
Stage 2 — separately scheduled
READ + WRITE execution-private workspace
RUNTIME-owned verifier
Stage 3+ — only as justified
broader command/tool capabilities
Stage 1 does not silently authorize Stage 2.
Before implementing Stage 1, trace which existing prerequisite issues actually apply to this exact read-only model-directed tool surface and runtime-owned verifier. Only those required to make this narrow capability safe and truthful become blockers for the first reference workload.
The workload itself, not the generic tool backlog, determines the minimum prerequisite set.
Define the workload by failure survival
The reference workload is not complete merely because it demonstrates the happy-path subsystems. It must prove that Agent OS remains correct and understandable under representative failures.
Required failure scenarios include:
-
Planning/decomposition failure
- planning fails or produces an invalid bounded plan;
- no partial executable graph survives;
- operator-visible state explains the failure without rerunning ambiguous planning.
-
Dependency failure
- one child Task fails;
- blocked/dependent siblings and the integration root terminalize according to the existing deterministic contract;
- unrelated work is not corrupted.
-
Budget exhaustion
- the run exhausts an applicable inference/resource budget mid-Work;
- Agent OS does not silently weaken required verification or mint fresh budget through retries/replanning.
-
Freeze/cancellation during active execution
- exercise the relevant Make security freezes actively contain already-running work #178 containment path;
- no new runtime opportunities are admitted after the hold;
- external/uncertain state remains explicit rather than being assumed rolled back.
-
Restart during active Work
- restart at a controlled point after durable progress;
- no completed phase is silently lost, duplicated, or re-admitted;
- interrupted adaptive work follows its recorded recovery semantics.
-
Ambiguous model/provider outcome
- exercise a provider attempt whose delivery/usage outcome is uncertain where the existing inference contract can represent it;
- accounting remains conservative and recovery does not blindly repeat the turn.
-
Verifier rejection
- produce a plausible candidate result that fails required verification;
- rejection remains durable;
- the runtime cannot loop indefinitely or promote self-report into completion.
-
Safe fallback / graceful degradation
- make one optional advisory component unavailable;
- Define fail-closed versus graceful-degradation semantics #233 semantics allow the workload to continue only when no binding authority/evidence/process requirement is weakened.
For each scenario, record:
- what the operator sees;
- authoritative Task/Work disposition;
- whether human input was required and why;
- whether any operation could have executed twice;
- whether any evidence was lost or silently rewritten;
- whether recovery behavior matched the recorded contract.
Additional acceptance criteria
- The narrow local repository tool surface and its exact prerequisite issue set are documented before implementation.
- General-purpose tool dispatch remains unavailable unless separately authorized/scheduled.
- All required failure scenarios above have deterministic fixtures or bounded reproducible procedures.
- A happy-path-only reference workload cannot close this issue.
- Findings are first mapped to existing issues or recorded as workload findings; discovering friction does not itself authorize implementation-priority changes.
Classification binding requirement
#243 relies on #244 for execution-risk classification and #175 for execution mode/backend semantics rather than duplicating either contract.
For every executable verification attempt:
- the exact fixture/repository revision, verifier profile/version, capability set, command policy, workspace policy, network policy, credential policy, dependency policy, and resource policy must be covered by the runtime-owned execution-classification binding;
- the classification fingerprint must be revalidated immediately before the verifier runs;
- any material drift invalidates the prior classification and requires re-derivation;
- if the workload no longer qualifies as CONTROLLED_VERIFICATION, Classify execution risk independently from execution backend #244 must derive the stronger risk class;
- Support explicit host and isolated execution modes #175 independently determines the admitted execution mode and records the effective guarantees actually present;
- a profile claiming safe properties is insufficient when Support explicit host and isolated execution modes #175 effective execution evidence does not structurally support them.
First-slice capability acceptance criteria
- Agent-visible repository access is read-only in the first slice: list, bounded read, and bounded search only.
- The Agent returns proposed changes as an artifact/diff and cannot directly mutate the source repository.
- Candidate verification occurs against a disposable verification copy owned by the runtime/verifier boundary.
- The Agent can request an admitted verifier profile but cannot supply arbitrary shell commands or executable command text.
- The verifier profile's exact implementation/version/configuration is evidence-bound where required for completion.
- Enabling read-only tool dispatch does not silently enable filesystem write, arbitrary shell, package installation, network, credentials, or hostile-code execution.
- Write-capable repository mutation remains a separate explicitly scheduled capability and must trace its own applicable prerequisites before activation.
Human-intervention precommitment
Do not judge human involvement only after seeing the run.
Before each reference-workload scenario, record the expected human touchpoints, including:
- initial objective/Intent admission;
- consequence approval;
- recovery/uncertainty decision;
- manual diagnosis;
- any other expected operator intervention.
For the ordinary happy-path coding workload, the target is:
After the initial authorized task admission, zero unplanned human interventions.
A human prompt is not automatically a failure when existing governance genuinely requires human authority or judgment. The failure signal is unexpected or repeated human intervention that the predeclared scenario did not require.
This prevents post-hoc rationalization that every pause "worked as designed."
Predicted vs observed: capture the surprise
For every #243 happy-path and failure-survival scenario, record at least:
| Field | Required |
|---|---|
| Predicted Task/Work disposition | yes |
| Predicted human intervention | yes |
| Predicted retry/replan behavior | yes |
| Predicted recovery behavior | yes |
| Predicted resource/cost envelope | where measurable |
| Observed behavior | yes |
| Difference / surprise | yes |
The surprise is first-class evidence.
A scenario may reach the expected final result while still exposing a meaningful architectural surprise, such as:
- unexpected replanning authority;
- an unplanned human approval;
- extra retries;
- different terminalization;
- duplicated admission;
- larger-than-expected inference cost;
- verifier/remediation looping;
- unexpected graceful-degradation/fail-closed behavior.
Do not collapse those into a binary pass merely because the final Work completes.
Additional measurement acceptance criteria
- Every scenario declares expected human involvement before execution.
- The normal happy path targets zero unplanned human interventions after initial admission.
- Every scenario records predicted and observed lifecycle/recovery behavior.
- Every mismatch is recorded as a workload finding even when final completion succeeds.
- Findings distinguish harmless model nondeterminism from violated runtime/authority/recovery expectations.
Execution mode for the first reference workload
The first #243 workload does not require an external isolation provider.
It may run under #175 HOST_DIRECT when that mode has been explicitly accepted/configured by the operator. The run must record that dedicated sandbox/containment guarantees were not present and must not treat HOST_DIRECT as evidence of isolation.
If the operator instead configures ISOLATED_PROVIDER, the same workload may use it and record the stronger effective containment evidence.
#244 determines the workload's risk class; #175 determines how it actually runs.
The reference workload should test Agent OS semantics under the selected mode rather than making installation of a specialized execution provider a prerequisite for useful development.
Verification requirements are Task/Completion semantics
Do not introduce a universal VerificationProvider abstraction for #243.
Before execution/handoff, the Task/Completion contract should declare what must be proven, for example:
patch applies
project builds
tests pass
static analysis passes
required security check passes
Agent OS then maps each requirement to an appropriate evidence-producing mechanism available to that Organization/workload, such as deterministic commands, test runners, scanners, independent Agents, or human judgment.
The verification tool is task-specific; Agent OS owns the requirement, admissible evidence, independence rules, and completion decision.
Additional acceptance criteria
- Prove Agent OS with one meaningful adaptive end-to-end reference workload #243 can run under explicitly accepted HOST_DIRECT without requiring an isolation provider.
- The run records which Support explicit host and isolated execution modes #175 execution mode was actually used.
- HOST_DIRECT runs do not claim sandbox/containment guarantees.
- The workload's Classify execution risk independently from execution backend #244 risk classification is recorded independently from execution mode.
- Verification requirements are declared before execution/handoff where practical.
- No universal VerificationProvider abstraction is introduced solely for this workload.
Predeclared execution identity and containment expectations
Before each #243 run, record the execution environment expected under #175, including:
- selected execution mode;
- expected effective execution identity;
- expected UID/GID or equivalent identity where applicable;
- expected available guarantees;
- expected unavailable guarantees;
- whether a dedicated unprivileged verifier identity is configured;
- whether an external isolation provider is present;
- the risk-acceptance/configuration reference for HOST_DIRECT where applicable.
For example:
RiskClass:
CONTROLLED_VERIFICATION
ExecutionMode:
HOST_DIRECT
ExecutionIdentity:
AGENTOS_SERVICE_ACCOUNT
Expected Guarantees:
- fixed reviewed verifier commands
- disposable verification copy
- bounded wall time
Expected Unavailable Guarantees:
- dedicated credential isolation
- filesystem isolation from Agent OS-owned state
- dedicated process sandbox
- strong network isolation
The purpose is not to make every run isolated. It is to make the actual assurance level explicit before results are observed.
After the run, compare expected execution identity/guarantees with the effective execution evidence from #175 and record any surprise.
This also turns isolation-provider adoption into an empirical decision: record which scenarios were blocked, degraded, or unaffected by unavailable guarantees. If missing guarantees do not materially affect the workload, isolation-provider integration may remain deferred. If they repeatedly block safe/useful execution, that evidence can justify the integration.
Additional acceptance criteria
- Every Prove Agent OS with one meaningful adaptive end-to-end reference workload #243 run declares expected effective execution identity before execution.
- Every Prove Agent OS with one meaningful adaptive end-to-end reference workload #243 run declares expected Guarantees[] and UnavailableGuarantees[] before execution.
- Observed Support explicit host and isolated execution modes #175 effective execution evidence is compared with those expectations.
- A mismatch is recorded as a surprise/workload finding even when the Task completes.
- Prove Agent OS with one meaningful adaptive end-to-end reference workload #243 records which unavailable guarantees, if any, blocked or degraded each scenario.
- Prove Agent OS with one meaningful adaptive end-to-end reference workload #243 does not treat lack of isolation as failure by itself; it measures the operational consequence of the missing guarantee.
Activity