Aller au contenu

Contract Manifest Specification

Ce contenu n’est pas encore disponible dans votre langue.

The Contract Manifest is the primary governance document of the UAPE platform. It forces WASM business modules to operate strictly under a declarative sandbox.

  • name and version: Define the module namespace and follow SemVer requirements.
  • capabilities: Declare the exact resources the module has access to.
    • storage: Specifies which database tables the module can read or write in the redb instance.
    • networking: Boolean flag. If set to false, all outgoing network calls from WASM are aborted.
    • gateways: The external communication triggers that route to this module.
  • autopoiesis: Dictates triggers and self-evolution scopes (enabling AI agents to mutate schemas safely).

Before a WASM module is loaded into the DAIMON Kernel:

  1. The kernel reads the companion Contract Manifest.
  2. The manifest is checked against the Contract Manifest Schema.
  3. The manifest signature is verified using the public keys of the operator or auditor.
  4. The kernel configures the Wasmtime Linker, binding only the declared storage and network capabilities to the module instance.