Learning cycle for the Adaptive Intelligence Engine. Implements the Observe-Retrieve-Judge-Distill-Consolidate-Apply cycle for detecting and applying user preference patterns.
From founder-osnpx claudepluginhub thecloudtips/founder-os --plugin founder-osThis skill uses the workspace's default tool permissions.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
The learning system detects patterns in user behavior and plugin outcomes, then injects learned preferences into future plugin runs. It operates in three tiers shipped sequentially:
OBSERVE → RETRIEVE → JUDGE → DISTILL → CONSOLIDATE → APPLY
↑ │
└────────────────── feedback ─────────────────────────┘
| Stage | What Happens | When |
|---|---|---|
| Observe | Hooks capture events | During command run |
| Retrieve | Pull relevant past patterns | Before next run |
| Judge | Compare outcome to patterns | After post_command |
| Distill | Extract generalizable insight | After 3+ observations |
| Consolidate | Store with confidence score | After distillation |
| Apply | Inject as instruction | Before next matching run |
confirmations / max(1, confirmations + rejections * 2)candidate (conf < 0.5) → active (conf >= 0.5, auto-applied with notice)
→ approved (user /founder-os:intel:approve, conf locked at 1.0)
→ rejected (user rejected or conf < 0.3)
When a plugin command runs:
instruction text into the command context[Intel] Applying learned preference: "{description}"Patterns referencing a Company or Contact are promoted to the Memory Engine:
preferenceworkflowround(confidence * 100)