patchbayAuditAdmissionStages top-level constant

Set<String> const patchbayAuditAdmissionStages

The stage an invocation's admission pipeline stopped or completed at.

PB-050-39 / DG-060-04. The set is closed: a new stage is a protocol-level vocabulary change, not something an implementation adds in passing.

The stage is host-only. It deliberately does not appear in the invocation envelope or in rejection details — a caller's recovery is decided by the stable code, gateId and existing details, and publishing the internal stage would turn refactoring topology into protocol.

uiPreflight and operationPolicy belong to the Flutter handler. An internal admission scope projects the last reached handler stage into the host-only audit state; neither value crosses the invocation envelope.

Implementation

const Set<String> patchbayAuditAdmissionStages = <String>{
  'catalog',
  'inputPolicy',
  'baseGate',
  'descriptorGate',
  'uiPreflight',
  'operationPolicy',
  'postAwaitRecheck',
  'dispatch',
  'responseValidation',
};