Skip to content

API Surface

github-actions[bot] edited this page Mar 1, 2026 · 1 revision

API Surface

Types marked API-SURFACE in the codebase will form the public spp-lib module. These types are considered stable — their signatures will not change without a major version bump.

Stable Types (v1)

Interfaces

Type Package Description
PersonaModule persona.module Core module interface
BattleCapabilityProvider api Battle readiness check

Abstract Classes

Type Package Description
AbstractModule persona.module Base class with defaults

Records

Type Package Description
ModuleContext persona.module Evaluation context
WorldSnapshot persona.module World state snapshot
ActionDecision persona Decision output

Enums

Type Package Description
ActionPriority persona.module 5-level priority stack
TickResult persona.module Tick execution status

Wrappers

Type Package Description
PersonaInventory persona.module Read-only inventory

Internal Types (not stable)

These types are used internally by spp-core and should not be relied upon by addons:

  • PersonaManager, PersonaEntity, ActionEngine
  • SppPathfinder, SppMovements, SppNavigationConfig
  • ControlSurface, ControlSurfaceRouter, ControlTask
  • AgentRuntime, AgentContext, AgentType
  • Maestro, DirectiveRegistry
  • RctIntegrationManager, RctArchetypeConfig

Versioning Policy

  • spp-lib follows semantic versioning
  • Patch: bug fixes, no API changes
  • Minor: new types or fields added, backwards compatible
  • Major: breaking changes to existing API

Clone this wiki locally