Skip to content
1 viewer
View

Delegation reference

0 pages, 5 routes, 5 connections and 5 CLI commands, generated from the declarations of Delegation without reading storage or running anything.

AboutCode

Code · 0 files

No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.

Connections · 5

Delegation.GetOffer

Fetch one DelegationOffer + derived is_active + ms_to_expiry.

Delegation.GetOffer input
FieldTypeRequiredDescriptionAllowed
idrequired
1 row
Calls and output

Delegation.ListOffers

List DelegationOffers (filters: offerer / target / status / time-window).

Calls and output

Delegation.MatchAgents

Find agents matching the offer's scope (skill profile / availability).

Calls and output

Delegation.PostOffer

Post a signed DelegationOffer — an account grants another (typically an agent) consent to act on its behalf within scope (visibility / spending / ballot). Foundation primitive: every cross-account capability flows through a Consent grant created here.

Delegation.PostOffer input
FieldTypeRequiredDescriptionAllowed
offered_torequired
1 row
Calls and output

Delegation.RevokeOffer

Revoke a previously-posted DelegationOffer. Owner-gated; signed revocation is itself an audit-trail vertex.

Delegation.RevokeOffer input
FieldTypeRequiredDescriptionAllowed
idrequired
1 row
Calls and output

CLI commands · 5

delegation get-offer

Fetch a single DelegationOffer + its derived is_active flag and ms_to_expiry

delegation get-offer {"id": "offer-..."}

delegation list-offers

Bilateral search over offers (filter + sort + paginate)

delegation list-offers {"for_target": "account-...", "active_only": true, "sort": "by_fee_desc"}

delegation match-agents

Find ranked agents for a proposed scope (rep + alignment + role + status)

delegation match-agents {"role_filter": "curator", "min_rep": 50, "min_alignment": 0.7, "limit": 5}

delegation post-offer

Post a new DelegationOffer (kind, fees, duration, rationale)

delegation post-offer {"offered_to": "account-...", "scope": {...}, "duration_ms": 86400000, "rationale": "..."}

delegation revoke-offer

Revoke a Pending offer YOU posted (least-privilege check on offered_by)

delegation revoke-offer {"id": "offer-...", "reason": "..."}

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
Hyper vertex kinds read
  • Account
  • DelegationOffer
Hyper vertex kinds written
  • DelegationOffer
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • No model warnings were reported.

Capabilities and dependencies

Depends on
  • Agent