Skip to content

Track runtime contracts required by auth and admin extensions #57

Closed

Description

@jimhoyd

Gap

PR #54's auth/admin packages require runtime seams not present in the implemented contract: operator-installed revision-pinned extension registrations, bounded handler routes, extension-owned schema validation, authorization before cache lookup, and target capability refusal.

Current plugin hooks alone are insufficient: they run before first-party throttling, do not register routes, and have no bounded request body/authorization contract. Header withholding in #55 is only one prerequisite.

Work in progress

Implement generic integration in URLCode; implementation packages live in jimhoyd-com/urlcode-auth and jimhoyd-com/urlcode-admin. Preserve WASM isolation and never auto-load project host code.

Acceptance:

  • Project extensions and policies participate in the revision pinned by operator registration.
  • Missing registrations, unknown configuration, mount collisions, unsupported targets and stale grants fail closed.
  • Authorization runs after admission policies and before any cache access; protected/extension responses are no-store.
  • Guest credentials remain withheld globally, including public routes.
  • Node/AWS/Vercel use the same contract; Cloudflare explicitly refuses unsupported integration.
  • Executable examples, package declarations and adversarial regression tests accompany the contract.

Live-provider deployments remain deferred and non-blocking by user decision. Local conformance must not be described as live deployment proof.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions