morpheus_reflect
Record gate outcomes to analyze effectiveness in AI development workflows. Builds a dataset showing which gates catch real issues versus unnecessary ceremony.
Instructions
Record whether a gate caught a real issue or was ceremony.
Call this after each gate fires to build the Reflect dataset. Over time, this data reveals which gates produce value and which burn tokens without changing behavior.
Args: plan_id: The plan ID task_id: The task ID gate: Gate name (e.g., "sibling_read", "fdmc_review", "seraph_assess", "knowledge_gate") caught_issue: True if the gate found something actionable changed_code: True if code was modified because of this gate detail: Brief description of what happened (e.g., "matched singleton pattern from sibling" or "no issues found")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | ||
| task_id | Yes | ||
| gate | Yes | ||
| caught_issue | No | ||
| changed_code | No | ||
| detail | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |