brain_predict
Predict likely failures and return high-confidence fixes by analyzing your causal knowledge graph. Call at session start to pre-empt problems based on your current context.
Instructions
READ-ONLY — no side effects, no writes, no external network calls. Predictive Pre-fetch Engine (PPE): given your current context, reads the CKG in your Redis instance to predict likely failures and return the highest-confidence fixes. "Pre-load" means results are returned inline — nothing is cached or persisted. Requires a valid instance_id (your Redis brain). No rate limits. Call at session start when working on a specific feature or debugging area.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | Yes | Brain instance ID | |
| context | Yes | What you're working on, e.g. "upgrading Keycloak from 21 to 24" | |
| top_k | No | Max predictions to return (default: 5) |