CommandEnvelope

Source:

Local role: Canonical command payload consumed by AuthorityCommandHandler.

Big-picture role: Transport object that standardizes authoritative world mutation requests targeting World.

Inheritance:

  • frozen dataclass

Parameters and fields:

  • command_id: str
  • actor_id: ObjectId
  • command_type: str
  • payload: JsonMap
  • sequence: int
  • issued_at: str

Methods:

See also:

Ometeotl

A Python library to build complex multi-agent simulations, wargames, and AI-driven strategies