Skip to content

Integration Subsystems

Subsystems planned for Annihilation, inspired by external open-source projects. All will be rewritten in Elixir/OTP.

#SubsystemSource InspirationStatus
1File Lease Managermcp-agent-mailPlanned
2Command Guardmeta_skillPlanned
3Session Search IndexcassPlanned
4Psychonaut Messagingmcp-agent-mailPlanned
5Playbook Rulescass-memoryPlanned
6Diary Entriescass-memoryPlanned
7Skill Catalogmeta_skillPlanned
8Trauma Guardcass-memoryPlanned
9Reflection Pipelinecass-memoryPlanned
10Adaptive Skill Rankingmeta_skillPlanned
  • Psychonaut identities with stable IDs and metadata
  • Inter-psychonaut messaging via a GenServer mailbox
  • File leases to prevent edit conflicts during bursts
  • Directory services for psychonaut discovery
  • SQLite FTS5 index over session JSONL
  • Structured search with psychonaut/bead/time filters
  • Robot mode (JSON output) for psychonaut consumption
  • Three-layer memory: episodic → working (diaries) → procedural (playbook)
  • Confidence scoring with 90-day half-life decay
  • Harmful feedback weighted 4x
  • Anti-pattern detection and inversion
  • Evidence-gated rule validation
  • Skill catalog with adaptive ranking (Thompson sampling)
  • Command classification (safe/caution/danger)
  • Prompt injection defense heuristics
  • Provenance tracking for all knowledge

See spec/integrations.md for full implementation details.