Why might a shift handover stop when the model gateway is down?

Why might a shift handover stop when the model gateway is down?

Why should an agent stop drafting a shift handover when its model gateway becomes unavailable? A maintenance team is finishing one shift and the next team needs to know which equipment still requires attention. An employee asks an agent to summarise the notes. The connection to the organisation’s model gateway fails halfway through. A fallback to another model address looks like the quickest way to finish the draft. It is also a way to lose track of which agent asked which model, under which identity, and whether the resulting text is complete.

This is a hypothetical operating situation, not a customer incident or a claim that a production handover is already automated by the product. The issue is not that every delayed summary stops a factory. A person can read the source notes and hand over the outstanding work. The issue is whether a fluent fragment from a disrupted model call is mistaken for an approved account of the shift. If an unresolved fault is presented as repaired, the next team needs the original note and a human decision, not an invisible retry to an endpoint on someone’s laptop.

The deliberate cost of one route

Accepted ADR-0004 in agentic-organization chooses a thin, OpenAI-compatible gateway in the backend for workstation agents’ model calls. It considers direct calls from each workstation to the organisation’s upstream. That option leaves provider keys distributed across machines and makes central identity, usage checks and audit harder. It also considers a separate third-party gateway; that can still be useful, but identity and audit would need to be integrated with the platform. The selected design reuses the platform’s provider records and audit path, while allowing another compatible gateway to sit behind it.

The tradeoff is plain in the ADR: the backend is on the critical path. If the managed gateway is unreachable, the workstation agent cannot simply continue through its normal managed model route. There is latency and availability work to do in exchange for central visibility. An earlier article on central model access examined why keys and usage checks belong at this boundary. A shift handover asks a narrower operational question: what should people do with their work while that boundary is unavailable?

The implemented POST /v1/chat/completions endpoint checks the agent identity, applies configured limits and resolves a model to a provider record. In backend/services/model_routing.py, a missing active key for the chosen provider is an error rather than an invitation to use some other provider’s credentials. This does not promise that all requests in a company use one model. It does mean an operator must configure the intended route and decide what failure looks like. ADR-0003 adds an important qualification: this is the route for managed workstation traffic. A determined owner of a laptop can try other clients outside that managed path. The gateway is not a magical interceptor of every model call on every machine.

A draft on screen is not a finished handover

Streaming makes a partial answer particularly persuasive. The first sentences can appear before the upstream has finished its response. The gateway tries to request and extract usage information from the stream, and its audit payload includes a finish reason and whether output was observed. But usage depends on the upstream returning it. The code also wraps the upstream stream in a response whose HTTP status does not reliably reflect a non-success upstream status. ADR-0004 calls this out as an open item. A green-looking client status, or the presence of text, cannot substitute for checking that the response completed and a person reviewed the underlying maintenance notes.

The cost is not limited to outages. backend/services/gateway_limits.py checks configured model allow-lists, per-agent request rates and daily or monthly token quotas before forwarding. Its defaults are permissive. Installing the gateway is not the same as setting a spending ceiling. Its rate counter lives in one process; multi-worker deployments still need a shared counter. Usage updates are best effort, so the recorded number should not be treated as a perfect ledger. Likewise, an attempted audit write does not justify a blanket guarantee that every failure leaves a durable record. For a production team, the sensible question is not whether the word “gateway” appears in an architecture diagram, but which failure modes have actually been rehearsed.

There is a data question as well. Current gateway code writes a prompt hash and a preview of the prompt into the audit event. ADR-0004 discusses configurable raw prompt retention, but the preview in this code path is currently fixed. If a maintenance note includes a person’s name or a sensitive process detail, the audit record deserves its own access and retention review. Centralising a call improves visibility at one boundary; it does not remove the need to choose what the agent reads. The right evidence for a handover may be a narrow set of reviewed notes, not an entire production folder copied into a chat.

Each team owns a different response to the same outage

Production needs a minimum manual handover record that still works when model access does not. Procurement may leave a quote comparison as an unfinished draft until the route returns; approving a supplier is a different human decision. Finance should distinguish its actual provider invoice from estimated or incomplete gateway usage counters. HR should consider whether personnel details could enter prompt previews. IT must test availability, interrupted streams and recovery rather than assuming that an HTTP response proves the draft was usable. One shared gateway exposes a common dependency, but it does not make these departments’ risk decisions interchangeable.

A practical trial can start with one shift task. Mark the agent’s output as a draft and name the person who accepts the handover. Write down which source notes that person will use when the model route fails, how an incomplete response will be labelled, and how the team will avoid treating a retry as a second approved handover. Then exercise the failure in a safe test environment and compare what the client displayed with the usage and audit records that were actually created. This is not a proposal to pull a live production gateway offline. It is a way to learn the boundary before a real interruption forces someone to improvise.

ADR-0004 in agentic-organization makes the choice visible: a single model route offers a place to attach identity and oversight, at the cost of a dependency that needs an operational plan. Tracing one shift handover from source note to human acceptance is a useful way to see where that dependency ends and where ordinary responsibility begins.

Verification note: The design and implementation claims here were checked against ADR-0004, ADR-0003, the gateway, limits and model-routing code, and the gateway and known-limits documentation in the agentic-organization project.