DepthGovernor
Entropy-based stopping condition for recursion
Mechanism
Entropy-Bounded Recursion: Decomposition depth is not fixed but governed by informational entropy. Agent measures uncertainty of current Plan. If entropy exceeds `entropy_threshold`, Decompose further; below it, execute. Stop thinking when uncertainty drops below action cost. Depth is a function of ambiguity, bounded by `max_depth` only as a backstop. It acts as the termination Condition for RecursionDive, halting descent when informational entropy drops below the threshold.
Invariants
- The governor cannot be bypassed.
- Descends only while entropy exceeds `entropy_threshold`.
- Never descends past `max_depth`, whatever the entropy.
Parameters
- entropy_threshold: type=Float, range=[0.1, 0.5], description=Stop when uncertainty below this
- max_depth: type=Integer, range=[3, 20], description=Hard limit on recursion
Failure modes
- Ambiguity Loop: entropy never drops because the Problem is inherently subjective, so descent runs to `max_depth` and acts on an unresolved plan.
- Miscalculated entropy leads to premature action.
- Estimation overhead: measuring entropy costs more than the decomposition it avoids.
Where this came from
—
Builds on
- Loop references
- Plan references
- Agent references
- RecursionDive references
- Problem references
- Decompose references
- Condition references
Used by
- Taper references
Identity
- Ref:
DepthGovernor#5b24 - Hash: sema:DepthGovernor#mh:SHA-256:5b24d810ede53e7e6716e3e20e7c28cf578f171845af2358344c25f0c56b7b75
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository