Skip to content

Specification

This specification defines the authoritative protocol requirements for the Signal Gating Protocol (SGP).

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC 2119] [RFC 8174] when, and only when, they appear in all capitals.

Draft

This specification is currently in draft status and is subject to change.

Purpose and Goals

  1. Define protocol roles and responsibilities.
  2. Describe message formats and state transitions.
  3. Define validation and failure handling semantics.
  4. Document security assumptions and interoperability requirements.

Terminology

TermDefinition
SignalA signed event emitted by a producer, carrying a payload and metadata.
Gating policyA declarative rule set evaluated by the gateway to produce a decision.
VerifierA component responsible for validating signal authenticity and integrity.

Protocol Architecture

Actors

ActorResponsibility
ProducerGenerates and signs signal events.
ConsumerReceives gating decisions and acts on them.
Gateway / Policy EngineEvaluates signals against policies, issues decisions.

Message Flow

  1. Producer emits a signal event.
  2. Policy engine evaluates the signal against configured thresholds.
  3. Consumer requests/receives gating decision.
  4. Decision is logged and auditable.

Data Objects

Schema definitions for protocol messages and objects will be defined here, including field names, types, and validation rules.

Error Handling

  • Required vs. optional error fields.
  • Retry behavior and idempotency semantics.

Security Considerations

  • Signatures, integrity, and freshness requirements.
  • Replay protection.
  • Trust boundaries and key lifecycle.

Versioning

  • Version negotiation between actors.
  • Backwards-compatibility policy.
  • Deprecation process.

Learn More

Released under open governance.