Integration Subsystems
Subsystems planned for Annihilation, inspired by external open-source projects. All will be rewritten in Elixir/OTP.
Priority Implementation Order
Section titled “Priority Implementation Order”| # | Subsystem | Source Inspiration | Status |
|---|---|---|---|
| 1 | File Lease Manager | mcp-agent-mail | Planned |
| 2 | Command Guard | meta_skill | Planned |
| 3 | Session Search Index | cass | Planned |
| 4 | Psychonaut Messaging | mcp-agent-mail | Planned |
| 5 | Playbook Rules | cass-memory | Planned |
| 6 | Diary Entries | cass-memory | Planned |
| 7 | Skill Catalog | meta_skill | Planned |
| 8 | Trauma Guard | cass-memory | Planned |
| 9 | Reflection Pipeline | cass-memory | Planned |
| 10 | Adaptive Skill Ranking | meta_skill | Planned |
Key Ideas
Section titled “Key Ideas”From mcp-agent-mail
Section titled “From mcp-agent-mail”- 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
From coding-agent-session-search
Section titled “From coding-agent-session-search”- SQLite FTS5 index over session JSONL
- Structured search with psychonaut/bead/time filters
- Robot mode (JSON output) for psychonaut consumption
From cass-memory
Section titled “From cass-memory”- 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
From meta_skill
Section titled “From meta_skill”- 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.