Asset Core Docs

Deterministic world-state engine documentation and API references.

Decision Gate docs

assetcore_register_class

AssetCore is a deterministic structured memory substrate. It stores all world state explicitly in containers and modifies that state through atomic, replayable transactions. Register a class definition in the namespace registry so future transactions can reference the class by ID.

Details

AssetCore is a deterministic structured memory substrate. It stores all world state explicitly in containers and modifies that state through atomic, replayable transactions. Register a class definition in the namespace registry so future transactions can reference the class by ID.

Calls POST /v1/write/namespaces/{namespace_id}/register_class on the write daemon. Input fields: class_id (external identifier), name, flags, idempotency_key?, behavior?. The daemon enforces RBAC, policy class gating, and quota; denied requests return structured errors with auth_reason.

Protocols

  • MCP
  • OpenAI
  • Gemini

Input Schema

{
  "properties": {
    "behavior": {
      "description": "Optional class behavior configuration (daemon contract)",
      "type": "object"
    },
    "class_id": {
      "description": "External class identifier to register.",
      "maxLength": 128,
      "minLength": 1,
      "pattern": "^[A-Za-z0-9._~\\-]+$",
      "type": "string"
    },
    "flags": {
      "default": 0,
      "description": "Bitmask of ClassFlags (default: 0)",
      "minimum": 0,
      "type": "integer"
    },
    "idempotency_key": {
      "description": "Optional idempotency key to deduplicate retries",
      "type": "string"
    },
    "name": {
      "description": "Human-readable class name",
      "minLength": 1,
      "type": "string"
    },
    "namespace_id": {
      "description": "Required namespace identifier for all namespaced operations.",
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "class_id",
    "name",
    "namespace_id"
  ],
  "type": "object"
}

Examples

No examples are currently available for this tool.