Skip to content

The gateway's reaches applies only the declared half of accounts' readiness rule; accounts should publish the derived reached set on a read the gateway makes #1286

Open

Description

@antoinetoussaint-byte

From #1285: reaches on the registry snapshot lists the modules a record's manifest invokes on the viewer's behalf (declared half). Accounts' readiness rule (installation_readiness.go readinessFor) also requires the binding to be in grant.OperationAudiences (the request narrowed by the module envelopes); that derived registry lives only in accounts, so the gateway cannot apply it and a page can be told it reaches a module whose calls an envelope withheld (the module then refuses with its reason; readiness reports the binding as omitted). Fix at the owner: accounts publishes the derived reached set on a read the gateway already makes (one field on an existing answer), and the gateway builds reaches from it.

🤖 Generated with Claude Code

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