-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.0.0-rc.1: High level invocation spec #21
Conversation
Co-authored-by: Irakli Gozalishvili <[email protected]> Signed-off-by: Brooklyn Zelenka <[email protected]>
|
||
Task adds two new roles to UCAN: invoker and executor. The existing UCAN delegator and delegate principals MUST persist to the invocation. | ||
|
||
| UCAN Field | Delegation | Task | | ||
| ---------- | -------------------------------------- | ------------------------------- | | ||
| UCAN Field | Delegation | Invocation | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The existing UCAN delegator and delegate principals MUST persist to the invocation.
I'd love this to be unpacked a bit, it's too terse for me. Are you saying that the same identifiers used for principals at delegation time MUST be dereferenceable (by the executor) at invocation time? I feel like phrasing that in terms of local context or dereferencing is preferable to making it sound more existential (and untestable) as some kind of... survival in a hostile [distributed] environment 😅
} | ||
} | ||
``` | ||
The OPTIONAL `aud` field specified the intended recipient of Invocation, otherwise the Audience MUST be assumed to the [Subject]. This is useful for message routing, command brokers, proxy execution, gateways, replicated state machines, and so on. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But aud
is still REQUIRED in the high-level UCAN spec?
Would love to land an RC soon! LMK how I can help |
Preview 📜
TODOs
ucan-wg/invocation-ipld
#16 — It's all IPLD nowucan-wg/promise