Commit Graph

3 Commits

Author SHA1 Message Date
Prakash
fbaea85950 Reapply "Merge pull request #778 from pocketpaw/feat/close-critical-gaps"
This reverts commit 2b76f2acc6.
2026-04-10 17:42:15 +05:30
Prakash
2b76f2acc6 Revert "Merge pull request #778 from pocketpaw/feat/close-critical-gaps"
This reverts commit 5d16110ac3, reversing
changes made to 52ac737e1e.
2026-04-10 17:36:02 +05:30
Prakash
368374e3ac feat: add enterprise Instinct + Automations backend modules
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>
2026-03-30 16:21:55 +05:30