Expand description
Protocol message types, envelopes, and signature verification for Starweft.
Defines the complete set of typed message bodies exchanged between agents, the signed envelope format, wire serialization, and domain status enums.
Structs§
- Approval
Applied - Confirmation that an approval was applied and tasks may have been resumed.
- Approval
Granted - Notification that an approval has been granted.
- Artifact
Encryption - Encryption metadata for an artifact.
- Artifact
Ref - A reference to a stored artifact produced by a task.
- Capability
Advertisement - A node’s response advertising its identity and capabilities.
- Capability
Query - A query announcing a node’s identity and requesting peer capabilities.
- Envelope
- A signed envelope carrying a typed message body.
- Evaluation
Issued - An evaluation certificate issued for a task result.
- Evaluation
Policy - Weights for multi-dimensional task evaluation scoring.
- Join
Accept - A worker’s acceptance of a join offer.
- Join
Offer - An offer from a project owner to a worker to join and execute tasks.
- Join
Reject - A worker’s rejection of a join offer.
- Participant
Policy - Policy controlling which agents may participate in a project.
- Project
Charter - A project charter establishing a new project from a vision.
- Publish
Intent Proposed - A proposal to publish results to an external target.
- Publish
Intent Skipped - Notification that a publish intent was skipped.
- Publish
Result Recorded - Record of a completed publish operation.
- Snapshot
Request - A request to take a state snapshot.
- Snapshot
Response - A response containing a state snapshot.
- StopAck
- Acknowledgment that a stop order was received and is being processed.
- Stop
Complete - Confirmation that all work has stopped for a given stop order.
- Stop
Order - An order to stop a project or task tree.
- Task
Delegated - A task delegated from the project owner to a worker agent.
- Task
Progress - A progress update from a worker for a running task.
- Task
Result Submitted - A task result submitted by a worker after execution.
- Unsigned
Envelope - An envelope that has not yet been signed.
- Vision
Constraints - Constraints applied to a vision that guide task planning and execution.
- Vision
Intent - A vision intent submitted by a principal to initiate work.
- Wire
Envelope - A wire-format envelope where the body is untyped JSON for transport.
Enums§
- Approval
Scope Type - The scope an approval applies to.
- MsgType
- Discriminator for protocol message types.
- Project
Status - Lifecycle status of a project.
- Protocol
Error - Errors that can occur during protocol-level operations.
- Snapshot
Scope Type - Scope type for snapshot requests and responses.
- Stop
AckState - State in a stop acknowledgment.
- Stop
Final State - Final state in a stop completion message.
- Stop
Scope Type - Scope type for stop orders.
- Task
Execution Status - Outcome status of a task execution.
- Task
Status - Lifecycle status of a task.
Constants§
- PROTOCOL_
VERSION - Current protocol version string used in all envelopes.
Traits§
- Routed
Body - Trait implemented by all message body types to declare their
MsgType.