Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 31 Oct 17:14
· 26 commits to main since this release
8f00a14

Added

The Phase 5 enforcement points and consent flows. They were declared in 0.1.x (the
agentic-auth-gateway and agentic-auth-boundary commands existed) but their code never
reached this repository, so those commands could not start.

  • Gateway (agentic-auth-gateway, agentic_auth.gateway). A shared, central enforcement
    point that runs the same enforce() as the sidecar, so it reaches the same decisions.
    • It fails closed when the control plane is unreachable or past its decision deadline.
    • It supports observe mode, and runs as several stateless instances.
  • Boundary adapters (agentic-auth-boundary, agentic_auth.boundary), for agents you
    cannot modify:
    • Resource-server guard (RequireAgenticAuth middleware): the tool admits only a
      grant plus identity.
    • MCP connector proxy (agentic-auth-boundary mcp-proxy): filters tools/list to
      what the manifest declares, and decides every tools/call.
    • Each labels its decisions with the guarantee level it can actually give.
  • Step-up consent. A recoverable refusal (SCOPE_NOT_CONSENTED) carries a challenge.
    • The consenting human approves it at /v1/consent/step-up/complete with their own
      credential. The session's grant is not enough, so an agent cannot approve its own
      widening.
    • The blocked hop then resumes, with its hop budget intact.
    • client.step_up(), client.approve() and client.resume() now have a server to call.
  • Cold start. A first-time agent can be registered with no manifest. It then authorizes
    nothing. To give it a manifest:
    1. Record what it does under test with agentic-auth drift record.
    2. Run agentic-auth sandbox propose-local <trace> --agent <name>, which proposes a manifest
      covering exactly what was observed.
    3. A person reviews the proposal, filling in data classes and marking privileged tools,
      then registers it. That review is the ratification: nothing governs until then.
  • Consent to a subset (consent(data_classes=...)), behind
    AGENTIC_AUTH_CONSENT_GRANULARITY_ENABLED.
  • Feature flags. Each new control is off by default: CONSENT_GRANULARITY_ENABLED,
    STEP_UP_ENABLED and SANDBOX_ENABLED. With them off, no new route is advertised and
    every decision is unchanged.
  • Contracts and testing: docs/contracts/conformance.md and
    docs/contracts/stepup.openapi.yaml. A conformance test holds the SDK, sidecar and gateway
    to the same decisions.
  • The embedded control plane serves step-up and sandbox too. The embedded/remote conformance
    suite now runs the full step-up flow: refused, approved by the human, resumed.

Not yet included

  • Server-side sandbox observation. /v1/agents/{id}/sandbox and agentic-auth sandbox run open an observation run. Nothing yet feeds a run the agent's calls, so a run ends
    empty and its proposal is marked covers_no_behaviour. Use sandbox propose-local (above)
    until then. Ratifying a server-side proposal works.
  • The egress proxy (network mode). agentic-auth-boundary egress-ca generates the
    certificate authority, and the connection-inspection logic is in place and tested.
    egress-proxy itself does not run yet: it needs a CONNECT-capable listener, and it says
    so and exits rather than starting a proxy that cannot enforce.

Fixed

  • The OpenAPI document reports the package's version instead of a hard-coded 0.1.0.