$ fssg build --deterministic --validate |

I Design AI Handoffs for the Next Consumer

Logs

I no longer ask whether an AI agent finished its task. I ask whether the next consumer can safely use what it produced.

Those questions sound similar. They are not.

A coding agent can finish a patch that a reviewer cannot evaluate without reconstructing the entire session. A research agent can finish a report whose citations do not support the decision that follows. A planner can finish a task graph that the execution runtime cannot resume because assumptions, versions, and ownership disappeared during the handoff.

The producer sees completion. The consumer receives uncertainty.

That is why I design AI handoffs backward: from the acceptance conditions of the next system, agent, or person.

The boundary owns the definition of usable

Most agent workflows define output from the sender’s perspective:

planner -> plan
generator -> patch
reviewer -> comments
operator -> approval

The nouns are too weak. A plan may be coherent prose and still be impossible to execute. A patch may apply cleanly and still lack scope evidence. Comments may identify problems without stating which ones block progression. An approval may exist without identifying the artifact that was approved.

I prefer to let the receiving boundary define the contract.

A runtime does not need “a plan.” It needs executable steps tied to current premises, available capabilities, ownership, and stop conditions. A reviewer does not need “a patch.” They need a bounded change, its intended invariant, validation evidence, and known omissions. A deployment gate does not need “approval.” It needs authorization bound to an exact artifact and environment.

This reverses the usual direction of design:

next consumer's decision
  <- required evidence
  <- acceptable handoff object
  <- producer's work

The sender can still choose how to work. The receiver decides what can cross the boundary.

A message is not a handoff object

Conversation makes transfer look easy. One agent writes a summary; another reads it. Context moved, so the handoff appears complete.

But summaries optimize for compression, not admissibility. They tend to preserve the main narrative and discard the inconvenient edges: an unverified dependency, a stale observation, a partially run test, a rejected alternative, or a permission that must not survive into the next stage.

I want a handoff object with explicit fields:

handoff:
  artifact:
    type: patch
    identity: sha256:...
    scope: ["src/runtime/**", "tests/runtime/**"]
  acceptance:
    - "unit suite passes"
    - "no public API change"
    - "rollback checkpoint exists"
  evidence:
    - command: "npm test -- runtime"
      result: passed
      artifact: "reports/runtime-tests.json"
  provenance:
    source_revision: "..."
    policy_revision: "..."
    toolchain: "..."
  residual_uncertainty:
    - "Windows terminal behavior not exercised"
  authority:
    receiver_may: ["review", "run_tests"]
    receiver_may_not: ["deploy"]

This is not a universal schema. The fields should change with the boundary. The principle is stable: the object must carry enough identity, evidence, and limits for the receiver to make its own decision without trusting the sender’s confidence.

That distinction connects to why I review what an agent did not check. An omission is not a footnote. At a handoff boundary, it determines which claims and actions remain admissible.

Sender success does not compose automatically

A multi-agent workflow is often presented as a chain of capable specialists. Each stage can look locally correct while the whole system fails.

The planner optimizes for coverage. The implementer optimizes for a working change. The evaluator optimizes for defects. The operator optimizes for controlled release. Their local definitions of success differ.

Composition fails when one stage emits a weaker object than the next stage assumes.

For example:

  1. A research agent finds an API behavior in current documentation.
  2. A planning agent treats the statement as stable across versions.
  3. A coding agent builds against it.
  4. A test agent validates only the mocked interface.
  5. A deployment agent sees green tests and promotes the change.

Every stage may have followed its instructions. The missing object is the versioned premise that should have traveled from research to deployment. The failure belongs to the handoff, not necessarily to any single agent.

This is also why load-bearing assumptions should be named before execution. A premise that controls downstream work needs an identity and a revalidation rule. Otherwise it becomes invisible inheritance.

The consumer should be allowed to reject cleanly

Poor handoffs create social pressure inside automated systems. The next agent receives an object and is expected to continue. If information is missing, it improvises. If evidence is ambiguous, it converts ambiguity into a plausible assumption. If authority is unclear, it treats tool availability as permission.

I consider rejection a healthy boundary outcome.

A receiver should be able to say:

{
  "status": "rejected",
  "reason_code": "EVIDENCE_SCOPE_MISMATCH",
  "expected": "integration test against PostgreSQL 17",
  "received": "unit test with in-memory adapter",
  "recoverable_by": "producer",
  "preserved_artifacts": ["patch", "unit-test-report"]
}

This is better than a vague “needs more work.” It preserves valid work, identifies the mismatch, and routes repair to the boundary that can resolve it.

In IOSM phase handoffs, I separate a gate decision from state transfer. A gate says whether progression is allowed. A handoff carries the state required to make the next phase real. The same distinction applies outside IOSM: acceptance and transfer are related, but neither can substitute for the other.

Better models do not remove this problem

A stronger model can write a better summary, infer more missing context, and recover from a weaker transfer. That improves the probability of success. It does not make the boundary explicit.

In March 2026, Anthropic described long-running coding harnesses that used structured artifacts across sessions and later a planner-generator-evaluator architecture. Their account is useful precisely because the scaffolding changed as models improved: context resets became less necessary for a newer model, while planning and evaluation still carried value at the capability boundary.

I read that as an argument for separating temporary model scaffolding from durable handoff semantics. A context reset may disappear. A particular evaluator loop may become cheaper or unnecessary. But the next consumer still needs to know what artifact it received, what conditions were checked, and where confidence stops.

A June 2026 survey of agentic electronic design automation makes a related distinction. It organizes systems around handoff validity: whether a transferred object satisfies the consumer’s acceptance conditions and carries sufficient context, evidence, and provenance. EDA is a demanding domain, but the principle is general. Once agent output conditions another engineering decision, transfer quality becomes part of correctness.

This is independent convergence with the direction I formalize in IOSM CLI: controlled execution, persistent artifacts, gates, checkpoints, and resumable runs. The scopes differ. The external work studies and builds specific agent harnesses and EDA workflows; IOSM CLI is a general terminal-native engineering runtime. The overlap is the boundary: progress must survive the agent that produced it.

My four questions before a boundary

I use four questions to test a handoff:

  1. What exact object is crossing? Not “the result,” but an identified patch, report, decision, checkpoint, or plan revision.
  2. What decision will the receiver make with it? Review, execute, approve, deploy, resume, or reject.
  3. What evidence and provenance does that decision require? Commands, versions, source identity, policy identity, and observed state.
  4. What uncertainty and authority must not cross? Missing checks, expired observations, rejected assumptions, and permissions limited to the previous stage.

If I cannot answer these questions, adding another agent will not fix the workflow. It will only move the ambiguity farther away from its source.

This is the part of multi-agent architecture I care about most. Agent count is visible. Handoff quality is usually hidden. Yet the handoff determines whether specialization creates leverage or merely distributes uncertainty.

I do not want agents that are good at throwing work over a wall.

I want boundaries that make the next step earned.

Sources

FACET AI CLI Terminal
facet@ai:~$