Agent Native
Operate caller-selected agent sessions as explicit roles without turning the
runtime into AgentOps lifecycle authority.
For multi-model judgment (mixed council, dueling perspectives, cross-model
validate, which is default on risky surfaces per ADR-0017 and caller-elected
otherwise), follow
references/model-dispatch.md: the working
session is the controller; check the explicitly selected adapter at runtime;
no factory is required and Agent Mail is never the judgment path. The recipe
owns host authorization, finite input/output, timeout and cleanup requirements.
Role requests declare authority; actual native runtime/OS filesystem and egress
controls must enforce it. A prompt, worktree, chmod or unrestricted same-user
process does not establish isolation. Observe synthetic canary denials before
restricted-source work; unavailable protection remains unavailable.
When a worker looks stuck, score interventions by evidence and reversibility
before acting: observe more (free, fully reversible), then nudge, then replace
the worker, then restart the runtime — escalate only when observable state,
not impatience, rules out the cheaper step. Stop the observe-nudge cycle once
the worker reaches a terminal status or the caller's observation window ends;
past that point further intervention manufactures noise, not evidence.
Named failure mode — prompt-send optimism: treating a successfully
delivered prompt as a working worker; delivery proves transport, not
engagement.
Anti-pattern: restarting an unresponsive worker as the first move. Corrective:
capture its observable state first — a restart destroys the evidence of why it
stalled, and rescue is usually cheaper than rerun.
Roles
- Orchestrator: passes explicit packets and reports runtime facts.
- Implementer: may modify only its packet's declared subject.
- Validator: receives exact candidate content in a fresh, read-only context.
- Scribe: records runtime evidence without judging acceptance.
Contract
- Require caller intent, role, workspace, authorized source/output scope and
evidence destination before starting a worker. Pass source-store/project/work
identity and permitted intent locators before execution can fail. Record this
dispatch association in caller-owned native comments/metadata or runtime
facts, with actual worker session/context IDs explicitly unknown until
observed; a requested ID is not an observed ID. This adds no AO packet schema.
- Capture observed native runtime/session/context identity at startup, before
substantive work and independently of final handoff. Return the observation
through the caller-owned native recording channel with its provenance and
permitted source locator. Preserve launch failures and unknowns if startup
never becomes observable. Follow
session associations
for separate parent/resume links, supported multi-work spans and frozen source
bounds. A controller is not necessarily a native parent; every requested
child and resumed execution needs its own observed association. If recording
fails, report the gap; do not claim crash recovery from prompt delivery alone.
Prove runtime readiness and engagement from observable state; a successful
prompt send is not proof of work.
- Keep concurrent writers disjoint and isolated. Runtime coordination is not a
claim, lease, queue, or completion state in AgentOps.
- Record provider state, transcript references, artifacts, and terminal status.
- Return runtime evidence to the caller. Do not convert provider retries,
reconnects, idle states, or failures into Plan, Candidate, or verdict state.
- A validator session may supply judgment to Validate, but only Validate writes
verdict.v2. The adapter cannot select AgentOps semantics, issue a binding verdict, or turn factory completion into delivery or validation proof.
NTM, Codex exec, native processes, Agent Mail, and Gas City are replaceable
adapters. Use them only when the caller selected that execution shape. A
single local agent pays no factory coordination cost. Model identity, when
recorded, is a declared runtime fact like context identity — see
references/model-dispatch.md.
1---2name: agent-native3description: Operate explicit orchestrator, implementer, validator, and scribe roles through a caller-selected agent runtime. Triggers: "agent-native factory", "role-shaped agent panes", "persistent workers".4---5# Agent Native67Operate caller-selected agent sessions as explicit roles without turning the8runtime into AgentOps lifecycle authority.910For multi-model judgment (mixed council, dueling perspectives, cross-model11validate, which is default on risky surfaces per ADR-0017 and caller-elected12otherwise), follow13[references/model-dispatch.md](references/model-dispatch.md): the working14session is the controller; check the explicitly selected adapter at runtime;15no factory is required and Agent Mail is never the judgment path. The recipe16owns host authorization, finite input/output, timeout and cleanup requirements.1718Role requests declare authority; actual native runtime/OS filesystem and egress19controls must enforce it. A prompt, worktree, chmod or unrestricted same-user20process does not establish isolation. Observe synthetic canary denials before21restricted-source work; unavailable protection remains unavailable.2223When a worker looks stuck, score interventions by evidence and reversibility24before acting: observe more (free, fully reversible), then nudge, then replace25the worker, then restart the runtime — escalate only when observable state,26not impatience, rules out the cheaper step. Stop the observe-nudge cycle once27the worker reaches a terminal status or the caller's observation window ends;28past that point further intervention manufactures noise, not evidence.2930Named failure mode — **prompt-send optimism**: treating a successfully31delivered prompt as a working worker; delivery proves transport, not32engagement.3334Anti-pattern: restarting an unresponsive worker as the first move. Corrective:35capture its observable state first — a restart destroys the evidence of why it36stalled, and rescue is usually cheaper than rerun.3738## Roles3940- **Orchestrator:** passes explicit packets and reports runtime facts.41- **Implementer:** may modify only its packet's declared subject.42- **Validator:** receives exact candidate content in a fresh, read-only context.43- **Scribe:** records runtime evidence without judging acceptance.4445## Contract46471. Require caller intent, role, workspace, authorized source/output scope and48 evidence destination before starting a worker. Pass source-store/project/work49 identity and permitted intent locators before execution can fail. Record this50 dispatch association in caller-owned native comments/metadata or runtime51 facts, with actual worker session/context IDs explicitly unknown until52 observed; a requested ID is not an observed ID. This adds no AO packet schema.532. Capture observed native runtime/session/context identity at startup, before54 substantive work and independently of final handoff. Return the observation55 through the caller-owned native recording channel with its provenance and56 permitted source locator. Preserve launch failures and unknowns if startup57 never becomes observable. Follow58 [session associations](../cass/references/SESSION_FORMATS.md#work-to-session-associations)59 for separate parent/resume links, supported multi-work spans and frozen source60 bounds. A controller is not necessarily a native parent; every requested61 child and resumed execution needs its own observed association. If recording62 fails, report the gap; do not claim crash recovery from prompt delivery alone.63 Prove runtime readiness and engagement from observable state; a successful64 prompt send is not proof of work.653. Keep concurrent writers disjoint and isolated. Runtime coordination is not a66 claim, lease, queue, or completion state in AgentOps.674. Record provider state, transcript references, artifacts, and terminal status.685. Return runtime evidence to the caller. Do not convert provider retries,69 reconnects, idle states, or failures into Plan, Candidate, or verdict state.706. A validator session may supply judgment to Validate, but only Validate writes71 `verdict.v2`. The adapter cannot select AgentOps semantics, issue a binding verdict, or turn factory completion into delivery or validation proof.7273NTM, Codex exec, native processes, Agent Mail, and Gas City are replaceable74adapters. Use them only when the caller selected that execution shape. A75single local agent pays no factory coordination cost. Model identity, when76recorded, is a declared runtime fact like context identity — see77[references/model-dispatch.md](references/model-dispatch.md).