epistemic_route
Inspects query signals (intent, belief coverage, freshness, risk) to route to the appropriate epistemic flow for context optimization.
Instructions
Route a query through the CogOps Epistemic Ingress Controller.
Inspects 4 signals (intent, belief coverage, freshness, risk) and selects one of 5 canonical flows:
① Fast Answer: Belief → Action (fresh, verified, low-risk) ② Verify Before Answer: Belief → Verification → Action (stale/risky) ③ Compile On Demand: Truth → Belief → Verification → Action (no beliefs) ④ Change-Driven: Event → Truth → Belief → ... (PR/commit/incident) ⑤ Self-Improvement: Misses → Evolution → Belief (repeated failures)
Call this BEFORE optimize_context to understand how the system should approach your query. Existing tools work exactly as before.
Args: query: The user query or event description is_event: True if this is a change-driven event (PR, commit, etc.) event_type: Type of event (pr, commit, release, incident, scheduled)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| is_event | No | ||
| event_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |