A group of AI agents can understand every individual instruction and still misunderstand how their work fits together. A reviewer might wait for a revised document while its writer waits for approval; a publisher might mistake a draft receipt for permission to release it. Vocabulary Coding and Engineering proposes a Semantic Choreography Contract: describe the shared sequence of interactions, the roles that send and receive each message, the alternatives that can occur, and the information each participant needs to interpret its own part. The goal is to preserve the meaning of cooperation, not simply the meaning of isolated words.
Honda, Yoshida and Carbone’s research on Multiparty Asynchronous Session Types (2008), developed in an earlier 2007 Imperial College technical report, gives a formal precedent for specifying global interactions and projecting them onto individual participants. The proposed eduKateSG extension uses that distinction to investigate human and AI meaning handovers. It builds on the Semantic Substitution Contract but does not claim to implement the formal session-type calculus, prove communication safety or report a new Meaning Lab release.
- Describe the shared interaction before assigning local instructions.
- Specify the sender, receiver, message meaning and permitted state transitions.
- Make branch decisions visible to the participants whose next actions depend on them.
- Distinguish a receipt, a review decision and authorization to act.
- Preserve message identity, version, ordering assumptions and unresolved outcomes.
- Test local role instructions against the intended global interaction.
- Keep actual permissions, privacy, execution evidence and failure recovery separate from a proposed protocol.
Chapter index
- 1. Understanding a sentence is not understanding the conversation
- 2. The global and local views
- 3. A fictional three-agent workflow
- 4. The writer’s local contract
- 5. The reviewer’s local contract
- 6. The release manager’s local contract
- 7. Branches must be communicated
- 8. Messages carry relationships
- 9. Acknowledgement is not completion
- 10. Local ordering is not always global ordering
- 11. Parallel work and the join condition
- 12. A proposed choreography record
- 13. Zoom 0: understanding a dialogue
- 14. Zoom 1: coordinating a household
- 15. Zoom 2: organisational handovers
- 16. Zoom 3: institutions and coordinated services
- 17. Zoom 4: the Second Intelligence Pool
- 18. Zoom 5: portable civilisation as an interaction system
- 19. A fictional successful trace
- 20. An exceptional trace
- 21. When a local choice cannot be interpreted
- 22. Six proposed tests of coordination
- 23. Authority and privacy are design constraints
- 24. Four-week proposed programme
- 25. Questions every participant should ask
- 26. The next engineering step
1. Understanding a sentence is not understanding the conversation
Consider a fictional reviewer who receives the word approved. Without a shared interaction contract, it may be unclear whether the reviewer approved a draft, acknowledged a receipt, or recorded another person’s decision. The word can be perfectly intelligible while its role in the conversation remains ambiguous. A cooperative system needs to preserve not just the content of a message but the situation that gives it operational meaning. This is why a vocabulary record should identify who sent the message, what it refers to and what the recipient is expected to do next.
2. The global and local views
Multiparty session-type research describes the interactions of several communicating participants through a global specification and relates that description to local participant behavior. The global view expresses how the roles fit together; the local view expresses the communications relevant to a particular participant. Its formal properties depend on the specified calculus and conditions. The useful analogy is not that natural-language instructions become formally verified merely by being written down. It is that a shared protocol and each participant’s local obligations should be explicitly related and assessed.
3. A fictional three-agent workflow
Imagine three roles: Writer, Reviewer and Release Manager. Writer prepares a document and sends its version identifier to Reviewer. Reviewer returns either changes required or review passed. If changes are required, Writer prepares a new revision and requests another review. If review passes, Release Manager receives the exact reviewed version and independently verifies the appropriate release authorization. The workflow does not allow a review pass to grant publication permission. The fictional global description records that distinction so the local participants do not have to invent it from the message wording.
4. The writer’s local contract
Writer needs to know where to send the draft, which version to identify and which responses may follow. A changes-required response should specify the affected version and relevant issues; a review-passed response should not be interpreted as permission to publish. Writer may need to stop or route an unresolved case according to the actual authority and workflow. The writer does not necessarily need access to every detail of the release manager’s internal operation. Local instructions should carry the information required for Writer’s role without exposing unrelated private or restricted material.
5. The reviewer’s local contract
Reviewer receives a specific document version and evaluates it under a declared profile. The review response must distinguish completion of review from its outcome. If an issue remains unresolved, a clean approval is not justified. The reviewer can return a typed problem receipt and the evidence supporting it. The local contract does not permit Reviewer to substitute a different document without establishing its identity and scope. The Validation Profile and Problem Receipt help preserve the relevant checks. An actual review must be established through evidence, not merely through an agent’s assigned role name.
6. The release manager’s local contract
Release Manager needs to know which revision passed review, what conditions remain, and whether publication is authorised by the responsible person or system. It should not accept an old approval for a new revision simply because the title matches. It may need a fresh check when a source or policy changes. The Semantic Commit Boundary supplies a separate authorization gate. The choreography contract describes the sequence and identities of the relevant messages. Neither of these records alone grants real permission; the execution system must enforce its own safeguards.
7. Branches must be communicated
When Reviewer selects changes required, Release Manager should not continue as if the alternative branch occurred. A global protocol can specify which parties must learn about a choice and what messages convey it. In a real workflow, a participant may infer an appropriate branch from an unambiguous typed response, but it cannot infer a remote decision merely from silence. Define the local information required before each participant can act. A branch recorded in one agent’s private state does not automatically become shared knowledge across a distributed system.
8. Messages carry relationships
The statement review passed is incomplete if the recipient cannot identify the reviewed object, revision and validation profile. A proposed message can carry an interaction identifier, role, sender, receiver, message type, related request, object version, declared meaning and evidence reference. It may also carry applicable conditions and error status. Store only the information needed for the legitimate interaction. A message identifier supports correlation; it is not a credential or proof that the sender has authority. Check the actual source and relevant permissions.
9. Acknowledgement is not completion
A message broker may acknowledge accepting a message before its recipient has processed the content. A reviewer may acknowledge receiving a draft before reviewing it. A release service may accept a request without having published anything. Use distinct vocabulary for accepted by transport, received by participant, interpreted, processed and confirmed effect where these distinctions matter. The earlier Semantic Idempotency and Correction Receipt work provides complementary records. Choreography should state which acknowledgement enables the next transition. Otherwise an agent may interpret an ordinary receipt as a completed operation.
10. Local ordering is not always global ordering
Some tasks can proceed independently. For example, two specialists might examine different sections of a fictional report without waiting for each other. A final merge may depend on both results. The global specification should preserve required ordering and dependencies without unnecessarily forcing independent work into a single sequence. In an asynchronous environment, arrival order alone may not represent the order of underlying events. Use the declared relationships, versions and message identities. Do not fabricate a global time order when the available records do not establish one.
11. Parallel work and the join condition
Suppose a fictional review requires a source check and a formatting check. Both specialists can work concurrently. The release manager’s gate requires compatible results for the same version, not just any two successful messages. If one specialist checks an earlier draft, the join condition has not been established. Record the required inputs and the relationship among them. The Precondition Witness helps identify which conditions are satisfied or missing. This prevents a superficially efficient workflow from combining evidence that concerns different objects or revisions.
12. A proposed choreography record
The record identifies protocol version, interaction scope, participants, message types, role-specific inputs and outputs, branch choices, permitted sequences, required joins, exceptional exits, authorization boundaries and evidence status. Document the assumptions about delivery, identity and availability. Local contracts should be traceable to the global specification. A finite set of tests can show how particular traces behave, but cannot prove a general property of an informal protocol. A formal design may require different methods and specialist review. The proposal makes the intended behavior inspectable before such evaluation.
13. Zoom 0: understanding a dialogue
A learner can practise recognising the difference between an instruction, a reply, a confirmation and a decision. In a role-play, one person requests a fictional document and another asks for clarification. The learner identifies what remains unresolved before either person can proceed. This develops a specific understanding of language as interaction, rather than simply memorising definitions. A teacher can use new examples to examine whether the learner preserves the role of each message. A correct answer to one scenario does not establish mastery of every conversation pattern.
14. Zoom 1: coordinating a household
A family may organise a shared activity through several messages. One person proposes a time, another checks availability, and a third confirms the arrangement. If the proposal is forwarded without its tentative status, someone may mistake it for a commitment. A simple shared description of who proposes, who confirms and how changes are communicated can prevent confusion. A household need not implement a formal protocol for ordinary communication. The relevant principle is to preserve the role of the message and respect everyone’s actual authority and preferences.
15. Zoom 2: organisational handovers
A business may divide work among customer service, technical specialists and an approval team. A shared process needs precise definitions for submitted, reviewed, awaiting information and resolved. If each department interprets those words independently, the process can fail despite diligent local work. Describe the messages and transitions that connect the roles. Test fictional handovers before changing real procedures. The choreography contract complements the organisation’s existing process and permission controls; it does not replace those controls or establish that a proposed workflow is suitable for every case.
16. Zoom 3: institutions and coordinated services
Institutions often divide responsibilities among offices, each with particular authority and information. A submission to one office may not count as approval by another. Clearly describe which messages establish each state and which legitimate correction routes exist. Actual administrative procedures and rights vary by jurisdiction. A research model of an interaction should not be used to invent an official procedure or decide individual entitlement. The semantic engineering task is to preserve the distinction between a participant’s role and the state of the shared process, with appropriate access and review.
17. Zoom 4: the Second Intelligence Pool
The proposed Second Intelligence Pool becomes more useful when specialised capabilities can cooperate through explicit interaction interfaces. A retrieval agent can provide evidence, a reviewer can evaluate it, and an execution service can check authorization independently. Each participant need not receive every detail of the others’ private inputs. A choreography contract can define the shared pattern and the local information needed. The Substitution Contract can then help investigate whether another method preserves a participant’s obligations. This remains a proposed coordination architecture, not evidence that a complete artificial society already operates.
18. Zoom 5: portable civilisation as an interaction system
A society can preserve more than a list of professions or institutions. It can preserve descriptions of how responsibilities, evidence and decisions move among them. A future community may reconstruct a legitimate process using different tools while retaining its essential relationships. Changed circumstances may require adaptation, and some authorities cannot be transferred simply by copying a description. Portable civilisation should conserve enough of the procedural meaning for later people to inspect, challenge and redesign it. A preserved choreography is an account of a process, not a right to exercise its former powers.
19. A fictional successful trace
A toy trace records draft D1 sent by Writer, review passed for D1, separate authorized release request for D1, and a confirmed release result for D1. The expected interpretation is that the relevant fictional conditions have been observed under the stated protocol. Now change the final request to D2 while retaining the D1 review. The trace no longer establishes the required join of version and review. These are proposed fixtures, not actual publication events. A reviewer should check the source rules and expected interpretation before testing an implementation.
20. An exceptional trace
Imagine a draft is reviewed but the receiving release service cannot confirm whether an authorized operation succeeded. The interaction must not silently return to its initial state or report completion. Preserve the operation identity and uncertain outcome, and use a legitimate reconciliation or review path. An ordinary retry may be unsafe if the earlier action actually occurred. The Idempotency record and Exception Queue supply complementary mechanisms. Choreography should describe this exceptional route alongside its ordinary successful sequence, rather than leave failure handling as an unspecified instruction to try again.
21. When a local choice cannot be interpreted
A participant receives a message that is valid JSON but not one of the permitted message types for its current state. It may be an out-of-order response, a different protocol version or an unrelated interaction. Do not automatically translate it into the nearest familiar command. Preserve the discrepancy, correlate it with the correct interaction if possible, and request appropriate review. A protocol is a shared language precisely because messages have roles and conditions. Syntactic validity is only one layer of a successful interaction.
22. Six proposed tests of coordination
Prepare fictional traces for ordinary success, revision required, mismatched revision, duplicated acknowledgement, missing branch notification and uncertain external outcome. Ask reviewers to identify the permitted next action and unresolved conditions for each role. Test local behavior against the declared global specification where an implementation exists. Record actual mismatches, including defects in the specification itself. These cases are proposed, not executed results. They investigate bounded interaction meaning, not a general proof that all possible concurrent processes are safe or live.
23. Authority and privacy are design constraints
A global specification should not require every participant to access every private record. Define relevant role-specific information and enforce permissions through actual systems. An untrusted message cannot grant publication, payment or disclosure authority simply by claiming to come from an appropriate role. Verify identity, scope and source. Preserve necessary audit information without indiscriminately retaining confidential messages. The proposal is intended to support accountable cooperation. It must not be used as a reason to weaken privacy, security or the legitimate right of a human participant to decline an action.
24. Four-week proposed programme
Week 1: specify a harmless three-role workflow with clear branches and permission boundaries. Week 2: derive local message obligations and prepare fictional traces, then obtain independent review. Week 3: if an implementation exists, compare its observed messages with the shared specification, including failures and parallel work. Week 4: publish actual test conditions, discrepancies and revisions. These are proposed activities, not completed implementation work. A real operational protocol requires suitable engineering and domain review.
25. Questions every participant should ask
Which interaction is this message part of? Which role sent it, and which role should receive it? What object and revision does it concern? Is it a proposal, receipt, decision or confirmed effect? Which branch was selected, and who needs to know? What can proceed independently? Which conditions must be joined before action? These questions translate the broad idea of cooperation into inspectable obligations. They help identify when locally reasonable actions produce a globally inconsistent outcome.
26. The next engineering step
Link the Choreography Contract to the Substitution Contract, Semantic State Machine, Commit Boundary and Exception Queue. Create a shared fictional interaction and derive role-specific obligations with explicit branch visibility. A future evaluation can compare observed traces with the reviewed specification and investigate where meaning is lost. The proposed research does not establish that every agent knows the complete global state or that every workflow will finish. It identifies a practical next problem: preserving interaction meaning when intelligence becomes distributed among distinct participants.
Technical references
- Honda, Yoshida and Carbone (2008), Multiparty Asynchronous Session Types
- Imperial College (2007), multiparty asynchronous session types technical report
Continue reading
- Semantic Substitution Contract
- Semantic State Machine
- Semantic Commit Boundary
- Semantic Capability Receipt
- Semantic Idempotency
- Semantic Interference Map
Research status: multiparty session types are an established formal computer-science research area. The Semantic Choreography Contract is a proposed eduKateSG language-engineering extension. All new examples and test traces are fictional; no new implementation, formal verification or independent human or AI outcome evidence is claimed.
Continue the current series: Semantic Progress Contract · Semantic Compensation Ledger
