Layer 7 · collaboration
channel
How parties exchange messages. A direct channel joins exactly two parties, each a principal or a harness session, and carries messages from one to the other. A shared channel (a topic, a queue or a board) has the parties that subscribe to it, and carries posts. A channel says how it delivers: in order or not, and whether it may lose a message. Only a party sends, only while the channel is open, and every message and post says whether it requests an action or informs, how its sender claims to be proven, and the delegation it is sent under when it is sent for another party; a delegation counts only when it is active and the caller names its own principal as the delegate. A verifier records that it checked the proof a message or post claims. A session records the turn it read a message in only with a turn of its own. A subscription may relay a principal's posts into a session, carries a heartbeat and may state how long after it its party counts as online. The channel policy sets a shared channel's posting rule: posts only in one principal's name, a pick of the exact text by one picker, or no post while its audience is unknown; a pick holds only while the rule names its picker. A control act joins a control post a party clicked to the task, run or decision the click produced, or says it asked a question. An event channel, a topic or a queue, is a named bus: the runtime publishes the events of the blocks on it by their identity in its log, no party sends, and each subscription keeps a cursor; a resume from a cursor older than the channel's retention is refused, never skipped. The message sequences over a channel are protocols of their own; this block is the contract they run on.
Depends on
- authority · layer 6 · 5 references
- work · layer 5 · 6 references
- harness · layer 4 · 10 references
- delegation · layer 1 · 17 references
- principal · layer 1 · 26 references
- shared · layer 0 · 20 references
Used by
- derivation · layer 7 · 4 references
- question · layer 7 · 16 references
- trigger · layer 7 · 10 references
- resource · layer 8 · 7 references
- workspace · layer 8 · 8 references
Entities
Channel
A channel between two parties, or a shared channel its subscribers read.
Identified by channel_id (ChannelId).
| field | type | meaning |
|---|---|---|
kind | ChannelKind | |
distribution | Distribution | |
party_a | PartyId | The party that opened the channel. |
party_a_kind | PartyKind | |
party_b | optional PartyId | The other party of a direct channel; absent on a shared channel. |
party_b_kind | optional PartyKind | |
ordered | boolean | Messages arrive in the order they were sent. |
may_lose | boolean | A sent message may never arrive; it then ends Lost. |
entry_limits | optional EntryLimits | The length limit of each entry kind; required on a board, and read on no other channel. |
owner | optional PrincipalId | |
delegation_id | optional DelegationId | |
audience | optional Audience | Who reads what is sent on the channel; absent when nobody said. |
retention_seconds | optional integer | How long an event channel keeps its events, in seconds; absent, it keeps them while it is open. Read on no other channel. |
posting_rule | optional PostingRule | What a post on the shared channel needs; absent, it posts as before any rule. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Relations:
ownerreferences Principal of principal (one, byowner)delegationreferences Delegation of delegation (one, bydelegation_id)
Lifecycle of Channel
Closed.ControlAct
One click on a control post, joined to the task, run or decision it produced or the question it asked.
Identified by control_act_id (ControlActId).
| field | type | meaning |
|---|---|---|
post_id | PostId | The control post clicked. |
party | PartyId | The party that clicked. |
task_id | optional TaskId | The task the click created. |
run_id | optional RunId | The run the click started. |
decision_id | optional DecisionId | The decision the click made. |
asked_question | boolean | The click asked a question; that question names this act. |
acted_at | timestamp |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Relations:
postreferences Post (one, bypost_id)taskreferences Task of work (one, bytask_id)runreferences Run of work (one, byrun_id)decisionreferences Decision of authority (one, bydecision_id)
Lifecycle: one state, Recorded; a recorded ControlAct does not change.
EventPost
One event of the blocks, published on an event channel by its identity in the runtime's log.
Identified by event_post_id (EventPostId).
| field | type | meaning |
|---|---|---|
channel_id | ChannelId | |
sequence | integer | The event's place in the runtime's log, the cursor a subscription resumes from. |
event_name | Name | The qualified name of the event (agentic.work.DeliverableAccepted). |
architecture | Name | The architecture whose part emitted the event. |
part_path | Name | The path of the part that emitted the event. |
instance | optional integer | The copy of that part, when it runs more than one. |
subject_key | optional string | The key of the row of the event's view the event is about. |
emitted_at | timestamp | |
payload_digest | string | The digest of the event's payload; the payload itself stays in the log. |
taken_by | optional SubscriptionId | The subscription that took the event from a queue. |
taken_at | optional timestamp |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Relations:
channelreferences Channel (one, bychannel_id)takerreferences Subscription (one, bytaken_by)
Lifecycle of EventPost
Expired, Published, Taken.Message
One message sent over a direct channel from one party to the other.
Identified by message_id (MessageId).
| field | type | meaning |
|---|---|---|
channel_id | ChannelId | |
from | PartyId | |
to | PartyId | |
act | Act | |
content | Content | |
in_reply_to | optional MessageId | |
sent_at | timestamp | |
delivered_at | optional timestamp | |
read_at | optional timestamp | |
delegation_id | optional DelegationId | The delegation under which the sender sends for its delegator; the message then counts as the delegator's, and absent it counts as the sender's own. SendMessage records it only when it is active and its delegate is the principal the caller names as its own. |
proof | optional Proof | How the sender claims the message is proven. It is the sender's claim; only a ProofCheck of this message shows a verifier checked it. |
sent_by_call | optional ToolCallId | The tool call of the sending session that sent the message, so the two records join. |
received_in_turn | optional TurnId | The turn of the receiving session that read the message, when the recipient is a session; it joins the message to what that turn did. Of the commands, only MarkReadInTurn sets it, after checking the turn is one of the reading session's. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Relations:
channelreferences Channel (one, bychannel_id)reply_toreferences Message (one, byin_reply_to)on_behalfreferences Delegation of delegation (one, bydelegation_id)send_callreferences ToolCall of harness (one, bysent_by_call)received_inreferences Turn of harness (one, byreceived_in_turn)
Lifecycle of Message
Delivered, Lost, Read.Post
One post on a topic, a queue or a board, by a party subscribed to it.
Identified by post_id (PostId).
| field | type | meaning |
|---|---|---|
channel_id | ChannelId | |
from | PartyId | |
act | Act | |
entry | optional EntryKind | The entry kind of a board post; absent on a topic or a queue. |
content | Content | |
in_reply_to | optional PostId | |
posted_at | timestamp | |
taken_by | optional PartyId | The subscriber that took a queue post. |
taken_at | optional timestamp | |
delegation_id | optional DelegationId | The delegation under which the poster posts for its delegator: in the delegator's name, a person's own account for instance. Absent, it posts in its own name. PostMessage records it only when it is active and its delegate is the principal the caller names as its own. |
proof | optional Proof | How the poster claims the post is proven. It is the poster's claim; only a ProofCheck of this post shows a verifier checked it. |
pick_id | optional PostPickId | The pick of this exact text on this channel the post was made under, when the channel's rule requires one. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Relations:
channelreferences Channel (one, bychannel_id)reply_toreferences Post (one, byin_reply_to)on_behalfreferences Delegation of delegation (one, bydelegation_id)pickreferences PostPick (one, bypick_id)
Lifecycle of Post
Posted, Taken.PostPick
A principal's pick of one exact text to be posted on one channel.
Identified by post_pick_id (PostPickId).
| field | type | meaning |
|---|---|---|
channel_id | ChannelId | |
content | Content | The text picked, by its digest. |
picked_by | PrincipalId | The principal that picked it. |
picked_at | timestamp |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Relations:
channelreferences Channel (one, bychannel_id)pickerreferences Principal of principal (one, bypicked_by)
Lifecycle: one state, Recorded; a recorded PostPick does not change.
ProofCheck
A verifier checked the proof one message or one post claims.
Identified by proof_check_id (ProofCheckId).
| field | type | meaning |
|---|---|---|
message_id | optional MessageId | The message checked; absent when a post was. |
post_id | optional PostId | The post checked; absent when a message was. |
proof | Proof | The proof checked, the one the message or post claims. |
marks | list of Name | The marks the verifier found, such as a user id and a client message id. |
checked_by | PrincipalId | The verifier's principal. |
checked_at | timestamp |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Relations:
messagereferences Message (one, bymessage_id)postreferences Post (one, bypost_id)verifierreferences Principal of principal (one, bychecked_by)
Lifecycle: one state, Recorded; a recorded ProofCheck does not change.
Subscription
One party subscribed to one shared channel, with an optional filter.
Identified by subscription_id (SubscriptionId).
| field | type | meaning |
|---|---|---|
channel_id | ChannelId | |
party | PartyId | |
party_kind | PartyKind | |
filter_act | optional Act | |
filter_entry | optional EntryKind | |
filter_scope | optional string | |
subscribed_at | timestamp | |
relays_for | optional PrincipalId | The principal whose posts this subscription carries into the subscribed session, as a watcher relays a human's chat: a turn they start counts as the principal's, and waiting for them is waiting on that principal. |
last_beat_at | optional timestamp | The last heartbeat of the subscribed party. It counts as online for online_for_seconds after this instant; without a window, whether it is online is the reader's own threshold over this instant. Online itself is not stored. |
online_for_seconds | optional integer | The window after the last heartbeat in which the party counts as online, in seconds, at least 1. Absent, the reader applies its own threshold. |
cursor | optional integer | On an event channel, the sequence of the last event the subscription received or resumed from; it then receives exactly the events after it. Absent on any other channel. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Relations:
channelreferences Channel (one, bychannel_id)relayedreferences Principal of principal (one, byrelays_for)
Lifecycle of Subscription
Ended.Commands
Beat
Record a heartbeat. The subscribed party says it is still watching its channel.
Called by: Participant.
| field | type |
|---|---|
subscription_id | SubscriptionId |
party | PartyId |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
party-not-the-caller refused | party != caller. | Not: The request names a party other than the caller. |
unknown refused | no such Subscription | Unknown: No subscription has this identity. |
not-the-subscriber refused | party != input. | Not: Only the subscribed party posts through or ends its subscription. |
ended refused | the Subscription is Ended | Subscription: The subscription is not in a state this command acts from. |
beat | otherwise | updates the Subscription; emits Heartbeat |
More columns: swipe horizontally, or focus the table and use the arrow keys.
CloseChannel
Close a channel. A party closes a direct channel; nothing more is sent over it.
Called by: Participant.
| field | type |
|---|---|
channel_id | ChannelId |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
unknown refused | no such Channel | Unknown: No channel has this identity. |
shared-channel refused | distribution != Direct | Not: The channel is a shared channel; it is posted to, and closed with CloseSharedChannel. |
not-a-party refused | party_ | Not: The party is not one of the two parties of this channel. |
closed | otherwise | moves the Channel Open → Closed; emits Channel |
wrong-state refused | the Channel is in a state that does not allow it | Channel: The channel is not in a state this command acts from. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
CloseSharedChannel
Close a shared channel. The opener closes a topic, a queue or a board; its subscriptions end and nothing more is posted.
Called by: Participant.
| field | type |
|---|---|
channel_id | ChannelId |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
unknown refused | no such Channel | Unknown: No channel has this identity. |
direct-channel refused | distribution == Direct | Not: The channel joins two fixed parties; nobody subscribes or posts to it. |
not-the-opener refused | party_ | Not: Only the party that opened a shared channel closes it. |
closed | otherwise | moves the Channel Open → Closed; moves each Subscription with channel_ to Ended; emits Channel |
wrong-state refused | the Channel is in a state that does not allow it | Channel: The channel is not in a state this command acts from. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
EndSubscription
End a subscription. The subscribed party ends its subscription; it receives nothing more from the channel.
Called by: Participant.
| field | type |
|---|---|
subscription_id | SubscriptionId |
party | PartyId |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
party-not-the-caller refused | party != caller. | Not: The request names a party other than the caller. |
unknown refused | no such Subscription | Unknown: No subscription has this identity. |
not-the-subscriber refused | party != input. | Not: Only the subscribed party posts through or ends its subscription. |
ended | otherwise | moves the Subscription Active → Ended; emits Subscription |
wrong-state refused | the Subscription is in a state that does not allow it | Subscription: The subscription is not in a state this command acts from. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
ExpireEvent
Drop an expired event. The runtime drops one event of an event channel past the channel's retention.
Called by: Publisher.
| field | type |
|---|---|
event_post_id | EventPostId |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
unknown refused | no such EventPost | Unknown: No event was published with this identity. |
expired | otherwise | moves the EventPost Published, Taken → Expired; emits Event |
wrong-state refused | the EventPost is in a state that does not allow it | Event: The event is not in a state this command acts from: another subscription already took it from the queue, or the runtime dropped it past the retention. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
MarkDelivered
Mark a message delivered.
Called by: Transport.
| field | type |
|---|---|
message_id | MessageId |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
unknown refused | no such Message | Unknown: No message has this identity. |
delivered | otherwise | moves the Message Sent → Delivered; emits Message |
wrong-state refused | the Message is in a state that does not allow it | Message: The message is not in a state this command acts from. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
MarkLost
Mark a message lost.
Called by: Transport.
| field | type |
|---|---|
message_id | MessageId |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
unknown refused | no such Message | Unknown: No message has this identity. |
lossless refused | the Channel of channel_ has may_ | Lossless: The message travels on a channel that does not lose messages. |
lost | otherwise | moves the Message Sent → Lost; emits Message |
wrong-state refused | the Message is in a state that does not allow it | Message: The message is not in a state this command acts from. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
MarkRead
Mark a message read.
Called by: Participant.
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
reader-not-the-caller refused | reader != caller. | Not: Only the party a message is addressed to marks it read. |
unknown refused | no such Message | Unknown: No message has this identity. |
not-the-recipient refused | to != input. | Not: Only the party a message is addressed to marks it read. |
read | otherwise | moves the Message Delivered → Read; emits Message |
wrong-state refused | the Message is in a state that does not allow it | Message: The message is not in a state this command acts from. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
MarkReadInTurn
Mark a message read in a turn. The recipient session marks a message read in one of its own recorded turns.
Called by: Reading session.
| field | type | meaning |
|---|---|---|
message_id | MessageId | |
reader | PartyId | |
reader_session | HarnessSessionId | |
turn_id | TurnId | The turn of the reading session in which it read the message. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
reader-not-the-caller refused | reader != caller. | Not: Only the party a message is addressed to marks it read. |
session-not-the-callers refused | reader_ | Turn: The turn is not one of the reading session's, or the session named is not the caller's; nothing was read. |
unknown refused | no such Message | Unknown: No message has this identity. |
not-the-recipient refused | to != input. | Not: Only the party a message is addressed to marks it read. |
unknown-turn refused | no Turn for turn_ | Unknown: No turn of this identity was recorded; nothing was read. |
turn-not-the-readers refused | the Turn of turn_ has harness_ | Turn: The turn is not one of the reading session's, or the session named is not the caller's; nothing was read. |
read | otherwise | moves the Message Delivered → Read; emits Message |
wrong-state refused | the Message is in a state that does not allow it | Message: The message is not in a state this command acts from. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
OpenChannel
Open a channel. Open a direct channel between the caller and one other party.
Called by: Participant.
| field | type |
|---|---|
kind | ChannelKind |
peer | PartyId |
peer_kind | PartyKind |
ordered | boolean |
may_lose | boolean |
owner | optional PrincipalId |
delegation_id | optional DelegationId |
audience | optional Audience |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
same-party refused | peer == caller. | Same: Both ends of the channel are the same party. |
event-channel-direct refused | kind == Event | Event: An event channel is a topic or a queue; it is neither direct nor a board. |
operator-without-owner refused | kind == Operator and (not (defined(owner)) or not (defined(delegation_ | Operator: An Operator channel names no owner or no delegation; it is owned by one human and its delegate. |
unknown-owner refused | no Principal for owner | Unknown: The owner named is no registered principal; nothing was opened. |
unknown-delegation refused | no Delegation for delegation_ | Unknown: No delegation of this identity was granted; nothing was opened. |
owner-not-human refused | the Principal of owner has kind != Human | Owner: The owner of an Operator channel is a human principal; nothing was opened. |
delegation-not-from-owner refused | the Delegation of delegation_ has (delegator != input. | Delegation: The delegation of an Operator channel is not an active delegation granted by its owner; nothing was opened. |
opened | otherwise | creates a Channel in Open; emits Channel |
More columns: swipe horizontally, or focus the table and use the arrow keys.
OpenSharedChannel
Open a shared channel. Open a topic, a queue or a board; parties join it by subscribing.
Called by: Participant.
| field | type | meaning |
|---|---|---|
kind | ChannelKind | |
distribution | Distribution | |
ordered | boolean | |
may_lose | boolean | |
entry_limits | optional EntryLimits | |
audience | optional Audience | |
retention_seconds | optional integer | How long an event channel keeps its events, in seconds; absent, while it is open. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
direct refused | distribution == Direct | Direct: A shared channel is a topic, a queue or a board; a direct channel is opened with its other party. |
event-board refused | kind == Event and distribution == Board | Event: An event channel is a topic or a queue; it is neither direct nor a board. |
board-without-limits refused | distribution == Board and not (defined(entry_ | Board: A board names the length limit of each entry kind when it is opened. |
opened | otherwise | creates a Channel in Open; emits Shared |
More columns: swipe horizontally, or focus the table and use the arrow keys.
PostMessage
Post to a shared channel. The caller posts once to a topic, a queue or a board it subscribes to.
Called by: Participant.
| field | type | meaning |
|---|---|---|
channel_id | ChannelId | |
from | PartyId | |
act | Act | |
entry | optional EntryKind | |
content | Content | |
in_reply_to | optional PostId | |
delegation_id | optional DelegationId | |
sender_principal | optional PrincipalId | The caller's own principal, named with a delegation: it must be the caller's and the delegation's delegate. |
pick_id | optional PostPickId | The pick of this exact text on this channel, when the channel's rule requires one. |
in_name_of | optional PrincipalId | The principal in whose name the post is made: the caller's own principal, or with a delegation its delegator. |
picked_by | optional PrincipalId | The principal that picked the text, named with a pick: it must be the pick's and the picker the channel's rule names now. |
proof | optional Proof |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
not-the-sender refused | from != caller. | Not: The message names a sender other than the caller. |
delegate-unnamed refused | defined(delegation_ | Not: A message or post sent under a delegation names, as the sender's principal, the caller's own principal, and that principal is the delegation's delegate; nothing was sent. |
own-name-not-the-callers refused | defined(in_ | Not: The post is not made in the name the channel's rule takes, or in a name that is neither the caller's own principal nor the delegator of its delegation; nothing was posted. |
unknown-channel refused | no Channel for channel_ | Unknown: No channel has this identity. |
unknown-delegation refused | no Delegation for delegation_ | Unknown: No delegation of this identity was granted; nothing was opened. |
unknown-pick refused | no PostPick for pick_ | Unknown: No pick of this identity was recorded; nothing was posted. |
direct-channel refused | the Channel of channel_ has distribution == Direct | Not: The channel joins two fixed parties; nobody subscribes or posts to it. |
event-channel refused | the Channel of channel_ has kind == Event | Event: Only the publisher, the runtime, puts events on an event channel; no party posts on it. |
channel-closed refused | the Channel of channel_ has state == Closed | Channel: The channel is closed; nothing is sent over it and nobody subscribes to it. |
not-the-delegate refused | the Delegation of delegation_ has delegate != input. | Not: A message or post sent under a delegation names, as the sender's principal, the caller's own principal, and that principal is the delegation's delegate; nothing was sent. |
delegation-not-active refused | the Delegation of delegation_ has state != Active | Delegation: The delegation was revoked or has expired; nothing was sent. |
entry-missing refused | the Channel of channel_ has distribution == Board | Entry: A post on a board names its entry kind. |
entry-too-long refused | the Channel of channel_ has distribution == Board and defined(input. | Entry: The content is longer than the board admits for this entry kind. |
delegated-for-another refused | the Delegation of delegation_ has delegator != input. | Not: The post is not made in the name the channel's rule takes, or in a name that is neither the caller's own principal nor the delegator of its delegation; nothing was posted. |
not-in-that-name refused | the Channel of channel_ has defined(posting_ | Not: The post is not made in the name the channel's rule takes, or in a name that is neither the caller's own principal nor the delegator of its delegation; nothing was posted. |
audience-unknown refused | the Channel of channel_ has defined(posting_ | Audience: The channel's rule refuses a post while nobody knows who reads the channel, and its audience is absent or Unknown; nothing was posted. |
pick-missing refused | the Channel of channel_ has defined(posting_ | Pick: The channel's rule requires a pick of the text, and the post names none; nothing was posted. |
pick-for-other-text refused | the PostPick of pick_ has content. | Pick: The pick is of another text than the one posted; nothing was posted. |
pick-for-other-channel refused | the PostPick of pick_ has channel_ | Pick: The pick is for another channel than the one posted to; nothing was posted. |
pick-by-another refused | the PostPick of pick_ has (not (defined(input. | Not: The pick is not by the picker the channel's rule names now, or the picker named is not the caller's own principal; nothing was picked or posted. |
picker-replaced refused | the Channel of channel_ has defined(posting_ | Not: The pick is not by the picker the channel's rule names now, or the picker named is not the caller's own principal; nothing was picked or posted. |
not-subscribed refused | no Subscription with channel_ | Not: The party holds no active subscription to this channel. |
posted | otherwise | creates a Post in Posted; emits Posted |
More columns: swipe horizontally, or focus the table and use the arrow keys.
PublishEvent
Publish an event. The runtime publishes one event of the blocks on an open event channel.
Called by: Publisher.
| field | type |
|---|---|
channel_id | ChannelId |
sequence | integer |
event_name | Name |
architecture | Name |
part_path | Name |
instance | optional integer |
subject_key | optional string |
emitted_at | timestamp |
payload_digest | string |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
unknown-channel refused | no Channel for channel_ | Unknown: No channel has this identity. |
not-an-event-channel refused | the Channel of channel_ has kind != Event | Not: The channel carries no events of the blocks; nothing is published on it and its subscriptions keep no cursor. |
channel-closed refused | the Channel of channel_ has state == Closed | Channel: The channel is closed; nothing is sent over it and nobody subscribes to it. |
published | otherwise | creates a EventPost in Published; emits Event |
More columns: swipe horizontally, or focus the table and use the arrow keys.
ReceiveEvent
Receive an event. A subscription of an event topic receives the event at a sequence; its cursor moves there.
Called by: Participant.
| field | type |
|---|---|
channel_id | ChannelId |
subscription_id | SubscriptionId |
party | PartyId |
sequence | integer |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
party-not-the-caller refused | party != caller. | Not: The request names a party other than the caller. |
unknown refused | no such Subscription | Unknown: No subscription has this identity. |
unknown-channel refused | no Channel for channel_ | Unknown: No channel has this identity. |
not-an-event-channel refused | the Channel of channel_ has kind != Event | Not: The channel carries no events of the blocks; nothing is published on it and its subscriptions keep no cursor. |
not-a-topic refused | the Channel of channel_ has distribution != Topic | Not: Only a subscription of an event topic receives every event; on a queue one subscription takes each. |
not-subscribed refused | no Subscription with subscription_ | Not: The party holds no active subscription to this channel. |
unknown-event refused | no EventPost with channel_ | Unknown: The channel holds no event at this sequence; it was never published or was dropped past the retention. |
received | otherwise | updates the Subscription; emits Event |
More columns: swipe horizontally, or focus the table and use the arrow keys.
RecordControlAct
Record a control act. The caller records its click on a control post and the task, run or decision it produced, or that it asked a question.
Called by: Participant.
| field | type |
|---|---|
post_id | PostId |
party | PartyId |
task_id | optional TaskId |
run_id | optional RunId |
decision_id | optional DecisionId |
asked_question | optional boolean |
at | timestamp |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
party-not-the-caller refused | party != caller. | Not: The request names a party other than the caller. |
produced-nothing refused | not (defined(task_ | Control: A control act names the task, run or decision the click produced, or says it asked a question. |
unknown-post refused | no Post for post_ | Unknown: No post has this identity. |
recorded | otherwise | creates a ControlAct in Recorded; emits Control |
More columns: swipe horizontally, or focus the table and use the arrow keys.
RecordPick
Record a pick. The caller records its pick of one exact text to be posted on one channel.
Called by: Participant.
| field | type |
|---|---|
channel_id | ChannelId |
content | Content |
picker | PrincipalId |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
picker-not-the-caller refused | picker != caller. | Not: The pick is not by the picker the channel's rule names now, or the picker named is not the caller's own principal; nothing was picked or posted. |
unknown-channel refused | no Channel for channel_ | Unknown: No channel has this identity. |
not-the-picker refused | the Channel of channel_ has defined(posting_ | Not: The pick is not by the picker the channel's rule names now, or the picker named is not the caller's own principal; nothing was picked or posted. |
picked | otherwise | creates a PostPick in Recorded; emits Post |
More columns: swipe horizontally, or focus the table and use the arrow keys.
RecordProofCheck
Record a proof check. A verifier records that it checked the proof one message or one post claims, and the marks it found.
Called by: Verifier.
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
names-neither refused | not (defined(message_ | Proof: A proof check names exactly one message or one post. |
names-both refused | defined(message_ | Proof: A proof check names exactly one message or one post. |
unknown-message refused | no Message for message_ | Unknown: No message has this identity. |
unknown-post refused | no Post for post_ | Unknown: No post has this identity. |
message-claims-other refused | the Message of message_ has (not (defined(proof)) or proof != input. | Proof: The message or post claims no proof, or another one than the proof checked. |
post-claims-other refused | the Post of post_ has (not (defined(proof)) or proof != input. | Proof: The message or post claims no proof, or another one than the proof checked. |
checked | otherwise | creates a ProofCheck in Recorded; emits Proof |
More columns: swipe horizontally, or focus the table and use the arrow keys.
ResumeSubscription
Resume a subscription. A subscription of an event channel resumes from a cursor; it receives the events after it.
Called by: Participant.
| field | type |
|---|---|
channel_id | ChannelId |
subscription_id | SubscriptionId |
party | PartyId |
cursor | integer |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
party-not-the-caller refused | party != caller. | Not: The request names a party other than the caller. |
unknown refused | no such Subscription | Unknown: No subscription has this identity. |
unknown-channel refused | no Channel for channel_ | Unknown: No channel has this identity. |
not-an-event-channel refused | the Channel of channel_ has kind != Event | Not: The channel carries no events of the blocks; nothing is published on it and its subscriptions keep no cursor. |
not-subscribed refused | no Subscription with subscription_ | Not: The party holds no active subscription to this channel. |
cursor-expired refused | a EventPost with channel_ | Cursor: The cursor is older than the channel's retention: events after it were dropped, so a resume from it would skip them. Nothing is skipped; the consumer rereads state through the views. |
resumed | otherwise | updates the Subscription; emits Subscription |
More columns: swipe horizontally, or focus the table and use the arrow keys.
SendMessage
Send a message. The caller sends one message to the other party of an open direct channel.
Called by: Participant.
| field | type | meaning |
|---|---|---|
channel_id | ChannelId | |
from | PartyId | |
to | PartyId | |
act | Act | |
content | Content | |
in_reply_to | optional MessageId | |
delegation_id | optional DelegationId | |
sender_principal | optional PrincipalId | The caller's own principal, named with a delegation: it must be the caller's and the delegation's delegate. |
proof | optional Proof | |
sent_by_call | optional ToolCallId |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
not-the-sender refused | from != caller. | Not: The message names a sender other than the caller. |
delegate-unnamed refused | defined(delegation_ | Not: A message or post sent under a delegation names, as the sender's principal, the caller's own principal, and that principal is the delegation's delegate; nothing was sent. |
unknown-channel refused | no Channel for channel_ | Unknown: No channel has this identity. |
unknown-delegation refused | no Delegation for delegation_ | Unknown: No delegation of this identity was granted; nothing was opened. |
shared-channel refused | the Channel of channel_ has distribution != Direct | Not: The channel is a shared channel; it is posted to, and closed with CloseSharedChannel. |
sender-not-a-party refused | the Channel of channel_ has party_ | Not: The party is not one of the two parties of this channel. |
recipient-not-a-party refused | the Channel of channel_ has party_ | Not: The party is not one of the two parties of this channel. |
channel-closed refused | the Channel of channel_ has state == Closed | Channel: The channel is closed; nothing is sent over it and nobody subscribes to it. |
not-the-delegate refused | the Delegation of delegation_ has delegate != input. | Not: A message or post sent under a delegation names, as the sender's principal, the caller's own principal, and that principal is the delegation's delegate; nothing was sent. |
delegation-not-active refused | the Delegation of delegation_ has state != Active | Delegation: The delegation was revoked or has expired; nothing was sent. |
sent | otherwise | creates a Message in Sent; emits Message |
More columns: swipe horizontally, or focus the table and use the arrow keys.
SetPostingRule
Set a posting rule. The channel policy sets what a post on an open shared channel needs.
Called by: Channel policy.
| field | type |
|---|---|
channel_id | ChannelId |
rule | PostingRule |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
pick-without-picker refused | rule. | Pick: A posting rule that requires a pick names the principal who picks; nothing was set. |
unknown refused | no such Channel | Unknown: No channel has this identity. |
direct-channel refused | distribution == Direct | Not: The channel joins two fixed parties; nobody subscribes or posts to it. |
closed refused | the Channel is Closed | Channel: The channel is not in a state this command acts from. |
set | otherwise | updates the Channel; emits Posting |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Subscribe
Subscribe to a shared channel. The caller subscribes to an open topic, queue or board, with an optional filter.
Called by: Participant.
| field | type |
|---|---|
channel_id | ChannelId |
party | PartyId |
filter_act | optional Act |
filter_entry | optional EntryKind |
filter_scope | optional string |
relays_for | optional PrincipalId |
online_for_seconds | optional integer |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
party-not-the-caller refused | party != caller. | Not: The request names a party other than the caller. |
online-window-not-positive refused | defined(online_ | Online: An online window is at least one second. |
unknown-channel refused | no Channel for channel_ | Unknown: No channel has this identity. |
direct-channel refused | the Channel of channel_ has distribution == Direct | Not: The channel joins two fixed parties; nobody subscribes or posts to it. |
channel-closed refused | the Channel of channel_ has state == Closed | Channel: The channel is closed; nothing is sent over it and nobody subscribes to it. |
subscribed | otherwise | creates a Subscription in Active; emits Subscribed |
More columns: swipe horizontally, or focus the table and use the arrow keys.
TakeEvent
Take an event from a queue. A subscription of an event queue takes one event; it goes to that subscription alone.
Called by: Participant.
| field | type |
|---|---|
event_post_id | EventPostId |
subscription_id | SubscriptionId |
party | PartyId |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
party-not-the-caller refused | party != caller. | Not: The request names a party other than the caller. |
unknown refused | no such EventPost | Unknown: No event was published with this identity. |
not-a-queue refused | the Channel of channel_ has distribution != Queue | Not: Only a post on a queue is taken by one reader. |
not-subscribed refused | no Subscription with subscription_ | Not: The party holds no active subscription to this channel. |
taken | otherwise | moves the EventPost Published → Taken; emits Event |
already-taken refused | the EventPost is in a state that does not allow it | Event: The event is not in a state this command acts from: another subscription already took it from the queue, or the runtime dropped it past the retention. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
TakePost
Take a post from a queue. A subscriber of a queue takes one post; it goes to that subscriber alone.
Called by: Participant.
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
reader-not-the-caller refused | reader != caller. | Not: The request names a party other than the caller. |
unknown refused | no such Post | Unknown: No post has this identity. |
not-a-queue refused | the Channel of channel_ has distribution != Queue | Not: Only a post on a queue is taken by one reader. |
not-subscribed refused | no Subscription with channel_ | Not: The party holds no active subscription to this channel. |
taken | otherwise | moves the Post Posted → Taken; emits Post |
already-taken refused | the Post is in a state that does not allow it | Post: Another subscriber already took this queue post. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Events
| event | fields | emitted by |
|---|---|---|
ChannelClosed | channel_ ChannelId | Close, Close |
ChannelOpened | channel_ ChannelId, kind ChannelKind, party_ PartyId, party_ PartyId | Open |
ControlActRecorded | control_ ControlActId, post_ PostId, task_ optional TaskId, run_ optional RunId, decision_ optional DecisionId | Record |
EventExpired | event_ EventPostId | Expire |
EventPublished | event_ EventPostId, channel_ ChannelId, sequence integer, event_ Name, architecture Name, part_ Name, instance optional integer, subject_ optional string, emitted_ timestamp, payload_ string | Publish |
EventReceived | subscription_ SubscriptionId, sequence integer | Receive |
EventTaken | event_ EventPostId, subscription_ SubscriptionId | Take |
HeartbeatRecorded | subscription_ SubscriptionId | Beat |
MessageDelivered | message_ MessageId | Mark |
MessageLost | message_ MessageId | Mark |
MessageRead | message_ MessageId, turn_ optional TurnId | Mark, Mark |
MessageSent | message_ MessageId, channel_ ChannelId, from PartyId, to PartyId, act Act, content Content, in_ optional MessageId, delegation_ optional DelegationId, proof optional Proof, sent_ optional ToolCallId | Send |
PostPicked | post_ PostPickId, channel_ ChannelId, content Content, picked_ PrincipalId | Record |
PostTaken | post_ PostId, reader PartyId | Take |
Posted | post_ PostId, channel_ ChannelId, from PartyId, act Act, entry optional EntryKind, content Content, in_ optional PostId, delegation_ optional DelegationId, proof optional Proof, pick_ optional PostPickId | Post |
PostingRuleSet | channel_ ChannelId, rule PostingRule | Set |
ProofChecked | proof_ ProofCheckId, message_ optional MessageId, post_ optional PostId, proof Proof, checked_ PrincipalId | Record |
SharedChannelOpened | channel_ ChannelId, kind ChannelKind, distribution Distribution, party_ PartyId | Open |
Subscribed | subscription_ SubscriptionId, channel_ ChannelId, party PartyId, relays_ optional PrincipalId, online_ optional integer | Subscribe |
SubscriptionEnded | subscription_ SubscriptionId | End |
SubscriptionResumed | subscription_ SubscriptionId, cursor integer | Resume |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Views
| view | rows | fields |
|---|---|---|
ChannelEventsEvents of a channel | each EventPost with channel_asked with channel_ ChannelId | event_ EventPostId, sequence integer, event_ Name, subject_ optional string, emitted_ timestamp, taken_ optional SubscriptionId, state State |
ChannelMessagesMessages of a channel | each Message with channel_asked with channel_ ChannelId | message_ MessageId, from PartyId, to PartyId, act Act, sent_ timestamp, state State |
ChannelPostsPosts of a channel | each Post with channel_asked with channel_ ChannelId | post_ PostId, from PartyId, act Act, entry optional EntryKind, posted_ timestamp, taken_ optional PartyId, state State |
ChannelsChannels | each Channel | channel_ ChannelId, kind ChannelKind, distribution Distribution, party_ PartyId, party_ PartyKind, party_ optional PartyId, party_ optional PartyKind, ordered boolean, may_ boolean, entry_ optional EntryLimits, owner optional PrincipalId, delegation_ optional DelegationId, audience optional Audience, retention_ optional integer, posting_ optional PostingRule, state State |
ControlActsControl acts | each ControlAct | control_ ControlActId, post_ PostId, party PartyId, task_ optional TaskId, run_ optional RunId, decision_ optional DecisionId, asked_ boolean, acted_ timestamp, state State |
EventPostsPublished events | each EventPost | event_ EventPostId, channel_ ChannelId, sequence integer, event_ Name, architecture Name, part_ Name, instance optional integer, subject_ optional string, emitted_ timestamp, payload_ string, taken_ optional SubscriptionId, taken_ optional timestamp, state State |
MessagesMessages | each Message | message_ MessageId, channel_ ChannelId, from PartyId, to PartyId, act Act, content Content, in_ optional MessageId, sent_ timestamp, delivered_ optional timestamp, read_ optional timestamp, delegation_ optional DelegationId, proof optional Proof, sent_ optional ToolCallId, received_ optional TurnId, state State |
PostPicksPost picks | each PostPick | post_ PostPickId, channel_ ChannelId, content Content, picked_ PrincipalId, picked_ timestamp, state State |
PostsPosts | each Post | post_ PostId, channel_ ChannelId, from PartyId, act Act, entry optional EntryKind, content Content, in_ optional PostId, posted_ timestamp, taken_ optional PartyId, taken_ optional timestamp, delegation_ optional DelegationId, proof optional Proof, pick_ optional PostPickId, state State |
ProofChecksProof checks | each ProofCheck | proof_ ProofCheckId, message_ optional MessageId, post_ optional PostId, proof Proof, marks list of Name, checked_ PrincipalId, checked_ timestamp, state State |
SubscriptionsSubscriptions | each Subscription | subscription_ SubscriptionId, channel_ ChannelId, party PartyId, party_ PartyKind, filter_ optional Act, filter_ optional EntryKind, filter_ optional string, subscribed_ timestamp, relays_ optional PrincipalId, last_ optional timestamp, online_ optional integer, cursor optional integer, state State |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Types
| type | is | values or fields |
|---|---|---|
ActRequest asks the recipient to act; Inform only tells it something. | one of | Request, Inform |
AudienceWho reads what is sent on a channel: only parties of the owner's organization, readers outside it, one person alone, or not known. | one of | Internal, External, Private, Unknown |
ChannelKindPrompt is a human typing into a session; Operator a human's private channel to the agent that acts for it; AgentMessage a message between agents on one host; AgentToAgent the same over a network; Chat a chat adapter; Notification one-way news to a party; Control a page or panel outside any session where a human acts by a button (send, pick, run, retry), each act one Request message or post; Screen a page of a user interface that shows a party what the system holds, each page shown one post; Event a named bus, a topic or a queue, on which the runtime publishes the events of the blocks and no party sends. | one of | Prompt, Operator, Agent, Agent, Chat, Notification, Control, Screen, Event |
DistributionDirect joins two fixed parties. Topic delivers each post to every subscriber; Queue gives each post to the one subscriber that takes it; Board holds typed entries every subscriber reads, each entry kind with a length limit. | one of | Direct, Topic, Queue, Board |
EntryKind | one of | Observed, Fact, Fail, Claim, Patch |
EntryLimitsThe longest content, in the unit of agentic.shared.Content.length, each entry kind of a board admits. | a record | observed integer, fact integer, fail integer, claim integer, patch_ integer |
PartyIdOne party: the value of an agentic.shared.PrincipalId or of an agentic.shared.HarnessSessionId, as the party's kind says. | an identifier or value | uuid |
PartyKind | one of | Principal, Session |
PostingRuleWhat a shared channel takes before a post: posts only in one principal's name, a pick of the exact text by one picker, and no post while nobody knows who reads the channel. | a record | only_ optional PrincipalId, requires_ boolean, picker optional PrincipalId, refuse_ boolean |
ProofHow a message or post is shown to come from the party it names. None: nothing beyond the channel. ClientRecord: the record carries marks only the party's own client writes (a user and a client message id, and no application or bot id). ProcessIdentity: the sending process was checked to be the party's session. Passkey: the party confirmed the act with a passkey. On a message or post the proof is the sender's claim; a ProofCheck of it says a verifier checked it. Not specified yet: the four kinds come from one consumer's setup; other kinds (a signature) may be needed. | one of | None, Client, Process, Passkey |
More columns: swipe horizontally, or focus the table and use the arrow keys.
KPIs
6 KPIs from the KPI catalogue. A gate must be zero for a variant of an architecture to count.
Correctness
| KPI | unit | better | gate | status |
|---|---|---|---|---|
messages_lostMessages that were lost. How: MessageLost events. Not a gate, because a lossy network channel is a legitimate part of an architecture and a fault experiment injects loss on purpose. | count | lower | – | planned source: design |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Completeness
| KPI | unit | better | gate | status |
|---|---|---|---|---|
request_actioned_shareShare of requests that got an action within the window. How: Messages typed as request with an action by the receiver within 4 hours of MessageDelivered, divided by requests sent. Needs the request and inform typing of a message. | share | higher | – | planned source: research/2611.00689 |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Quality
| KPI | unit | better | gate | status |
|---|---|---|---|---|
messagesMessages sent over a channel. How: MessageSent events per channel part. Divide by tasks done for messages per task. | count | lower | – | simulated source: design |
inform_unactioned_shareShare of informs that got no action within the window. How: Messages typed as inform with no action by the receiver within 4 hours of MessageDelivered, divided by informs sent. Wake rules on intake lower it. | share | lower | – | planned source: research/2611.00689 |
coordination_failure_shareShare of multi-agent runs in which two agents changed the same path with no notice between them. How: Runs with two agents' PathWritten on one path and no MessageSent naming that scope between the writes, divided by multi-agent runs. A vague warning counts as no notice. | share | lower | – | planned source: research/2610.07261 |
claim_conflictsReads of a queue or board post by a second subscriber while the first one's claim was not yet visible. How: Take attempts that lose to another subscriber's take of the same post (TakePost answered already-taken, which emits no event), counted against PostTaken. The simulator counts a reader whose read lands within claim_window_seconds of the first reader's. | count | lower | – | simulated source: design |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Settings
The settings a part of this block carries in an architecture document. agenticspec sim check refuses any other setting (setting_unknown) and a value outside its type (setting_invalid), and a part that lacks a setting marked required in the default column; the contract copies a setting into the ports it narrows. The last rows of each table are the settings every part takes. What no setting here types (a file, a path, an audience, the use of a model) goes into the part's notes, a map with free keys and values that the check takes as written and nothing reads.
A part channel:
| setting | type | unit | default | contract | what |
|---|---|---|---|---|---|
kind | enum Channel: prompt, operator, agent_, agent_, chat, notification, control, screen, event | every port | What the channel carries. | ||
distribution | enum Distribution: direct, topic, queue, board | direct | every port | Who receives a message; on a topic, queue or board a trigger can listen. | |
delivery_delay | duration of at least 0s | 0s | On an event channel: the time from an event a part emits onto it to its delivery to each on_event trigger whose source is the channel. | ||
audience | enum Audience: internal, external, private, unknown | Who reads what is sent on the channel: only parties of the owner's organization (internal), readers outside it (external), one person alone (private), or not known (unknown). | |||
count | integer of at least 1 | 1 | How many copies of the part run. | ||
per | part | One copy of the part for each copy of the named part. | |||
notes | notes | Free notes on the part, a map with keys and values of any kind: what no setting of its block types. The check takes any map; the simulator, the search and the contract never read it. |
More columns: swipe horizontally, or focus the table and use the arrow keys.