Define the transport and protocol shell for intent broadcast in UCP.
Current status: framework release for registration. Prioritize interoperability contracts over optimization.
app/protocol/ucp/intent_message.py
app/protocol/ucp/signer.py
app/application/services/broadcast_service.py
app/infrastructure/ws/ucp_gateway.py
build_intent(payload) normalizes and version-tags message.
sign_intent(intent, private_key) returns detached signature object.
broadcast(intent_id, target_nodes) returns dispatch receipt ids.
collect_acks(intent_id, timeout_ms) returns per-node ack status.
INTENT_CREATED before dispatch.
INTENT_BROADCASTED after fan-out completes.
NODE_RESPONDED when quote/ack arrives.
runtime/src/protocol/ucp-client.js
runtime/src/application/market-agent.js
runtime/tests and npm test in runtime/.
共 1 个版本