Expand description
Conversation repair protocol — tracks need fulfillment and nudges.
When a phase declares needs (state keys that must be gathered), this
module tracks whether the conversation is making progress. After N turns
without progress, it nudges the model via context injection. After M turns,
it sets an escalation flag for phase guards to pick up.
Structs§
- Needs
Fulfillment - Tracks need fulfillment per phase and recommends repair actions.
- Repair
Config - Configuration for the conversation repair system.
Enums§
- Repair
Action - What action the repair system recommends.
Constants§
- DEFAULT_
ESCALATE_ AFTER - Default turns before escalation.
- DEFAULT_
NUDGE_ AFTER - Default turns before first nudge.