Skip to content

Add authority proxy end-to-end decision tests #23

Description

@ocularminds

Context

The current authority image smoke test proves that an unreachable control plane fails closed. It does not exercise successful control-plane responses or every enforcement outcome.

Scope

Run the authority proxy against a deterministic mock control plane and verify its HTTP and MCP adapter behavior.

Acceptance criteria

  • Tests cover allow, block, review/escalate, malformed response, timeout, and unreachable-control-plane cases.
  • Non-allow outcomes never produce an empty MCP interceptor body.
  • Response status, reason codes, and dossier metadata are asserted without logging credentials.
  • Tests run in the Build & Test matrix on pull requests.
  • A regression fixture documents the expected protocol boundary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions