ee/instinct/ — Decision pipeline (actions + audit):
- Async SQLite-backed store with propose/approve/reject/query
- 7 REST endpoints at /api/v1/instinct/
- Singleton via ee/api.py (used by instinct_tools.py)
ee/automations/ — Rule engine:
- JSON file-based store at ~/.pocketpaw/automations/
- CRUD + toggle + fire recording
- 6 REST endpoints at /api/v1/automations/
- Three rule types: threshold, schedule, data_change
Both modules auto-register via _EE_ROUTERS in api/v1/__init__.py
(silently skipped if ee/ package is absent for open-source builds)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>