Module needs

Module needs 

Source
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§

NeedsFulfillment
Tracks need fulfillment per phase and recommends repair actions.
RepairConfig
Configuration for the conversation repair system.

Enums§

RepairAction
What action the repair system recommends.

Constants§

DEFAULT_ESCALATE_AFTER
Default turns before escalation.
DEFAULT_NUDGE_AFTER
Default turns before first nudge.