Skip to content

Conformance

An implementation is conformant with the Minions Specification v0.1 if it meets the following requirements.

  1. ✅ Implements all three core primitives (Minion, MinionType, Relation)
  2. ✅ Supports all 12 field types with proper validation
  3. ✅ Supports all 12 relation types
  4. ✅ Implements the complete lifecycle (create, update, soft delete, restore, hard delete)
  5. ✅ Validates minion fields against their type schema on create and update
  6. ✅ Supports the four built-in types (note, link, file, contact)
  7. ✅ Preserves legacy field values on schema evolution
  8. ✅ Generates valid UUIDs for all IDs
  9. ✅ Uses ISO 8601 for all timestamps
  10. ✅ Removes relations on hard delete of a minion
  • Schema migration via migrateMinion
  • Default value application
  • Layer types (agent, team, thought)
  • Execution contract implementation
  • Task management with status tracking

Use minions-sdk to verify your implementation:

import { TypeRegistry, validateFields, createMinion } from 'minions-sdk';
const registry = new TypeRegistry();
assert(registry.list().length >= 4);
const noteType = registry.getBySlug('note')!;
const result = validateFields({ content: 'test' }, noteType.schema);
assert(result.valid === true);

See the full Specification v0.1 for details.