Re: [w3ctag/design-reviews] WG New Spec: Recognized Entities v1.0 (Issue #1249)

hadleybeeman left a comment (w3ctag/design-reviews#1249)

Hi all. Following our discussion at W3C TPAC, we are documenting our TAG comments here. And we are closing this review as “Satisfied with concerns” because we aren’t going to stop you from proceeding, but we do want to share those concerns.

# TAG feedback

This specification is trying to bring some consistency to an ecosystem that already has many different approaches to identity, credentials, and trust. That makes it particularly important to be clear about what needs to work the same way across implementations and where there is room for different approaches. We should also be thinking about whether the choices being made today will still make sense as the ecosystem evolves.

The TAG's main concern is whether some of the technical choices being made to support current implementations will remain appropriate as the ecosystem evolves.

Our discussion of JSONata at the face-to-face meeting illustrates this concern. We understand the motivation for avoiding JavaScript and the limitations of JSON Schema when working with chains of credentials. However, JSONata is itself an evolving technology, and its functionality and complexity may grow well beyond what this specification requires. Depending on it could introduce longer-term interoperability, implementation, and security concerns that are difficult to anticipate today.

The fact that JSONata is already used by implementers or referenced by other specifications, such as VCALM, is relevant but does not resolve the architectural question. We'd encourage the working group to consider whether the required functionality could instead be addressed through approaches such as linked data, JavaScript, or Python, and to document the tradeoffs.

In particular, what functionality needs to be standardized for interoperability, and does that require committing to a particular processing language? The goal should be to meet the specification's requirements without introducing dependencies that could become unnecessarily complex or difficult to replace over time.

That said, we also have three specific concerns.

## Recognition semantics (§§3.2, 3.3, 4.3)

The specification needs to decide explicitly whether it supports two different assertions:

    Entity recognition: “Authority X recognizes Entity Y as a legitimate/registered/known entity.”
    Action recognition: “Authority X recognizes Entity Y as authorized/expected to perform action Z [possibly subject to constraints].”

The examples suggest that it intends to support both, which is fine. But the normative data model currently defines `RecognizedEntity` only in terms of the second, while permitting examples of the first. That means the spec is ambiguous where it shouldn't be.

If both are intended, §3.2 should say so explicitly and state when `recognizedTo` is required. If only action-specific recognition is intended, then the first example appears inconsistent with the model, and <recognizedTo> presumably needs a presence requirement.

## Action Interoperability

Similarly, §3.3 needs explicit required-property language—at minimum, clarifying whether action is mandatory for a `RecognizedAction`. Otherwise, a conforming processor cannot determine solely from the specification whether an object lacking it is non-conforming. That matters given the document's statement that conforming processors MUST produce errors when non-conforming documents are consumed.

## Discovery

Also, regarding the Credential-based Discovery Algorithm. While the threat model identifies List Retrieval Denial of Service, including slow responses and excessively large lists, there doesn't seem a corresponding mitigation requirement(s) in the credential-based discovery algorithm. `maxDepth` limits the number of recognition-chain iterations, and step 8 validates each link, but neither limits the resources consumed by an individual retrieval nor by the discovery operation as a whole. Should the algorithm or threat model specify implementation requirements or guidance for retrieval timeouts, response-size/resource limits, duplicate or cyclic references, and other bounds on network-based discovery?

## Conclusion

Thanks again for the in-depth discussion at TPAC. We are closing this review now and will leave it to you to find solutions. If you'd like to ask us questions or want to explore things with us further, you are welcome to reopen the issue, and we'd be happy to talk more.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/1249#issuecomment-6950894887
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/1249/6950894887@github.com>

Received on Tuesday, 17 November 2026 14:28:21 UTC