Practical guide

Build and validate a package

Follow the complete package path from manifest identity to bounded live composition and recovery proof.

Procedure

  1. Create one directory under the runtime plugins root with manifest.json and its declared Lua entry file.
  2. Choose a stable package ID, origin, API major range, dependencies, lifecycle callbacks, settings schema, and UI contributions.
  3. Use only registered symbols available to that origin; filesystem, process, dynamic loading, and unrestricted standard libraries are absent.
  4. Validate callback balance, action registration, semantic metadata, query and command budgets, and memory limits.
  5. Reload transactionally, inspect diagnostics, and prove standard restoration and Safe Mode before distribution.

Example

{
  "schema_version": 1,
  "id": "example.status-panel",
  "version": "1.0.0",
  "origin": "development",
  "entry": "main.lua",
  "api": {"minimum_major": 1, "maximum_major": 1},
  "dependencies": ["worldforge.standard-core"]
}

Constraints and recovery

Related symbols

Project references