FrameError
Typed failure signaling that lateral reframing, not retry, is required
Mechanism
A typed failure signaling that an acceptance gate rejection requires lateral reframing of the problem rather than retry. Produced by an AcceptSpec when a non-compensatory gate fails, the FrameError carries the specific gate that rejected and a reframing hint pointing the upstream planner toward a different frame. Distinct from transient failures (which warrant Retry) and from compensable failures (which warrant Compensate): a FrameError asserts that the current frame is wrong, not that execution went wrong.
Invariants
- A FrameError from a child forces the parent to restructure its approach, not re-execute.
- Must carry identification of the rejecting gate and a reframing hint — a bare FrameError without context is actionable only as 'halt'.
Failure modes
- Receiving Solver treats FrameError as a generic failure and retries, wasting budget on the wrong frame.
- Missing reframing hint leaves the parent Solver unable to select a new approach — degenerates to halt.
- Cascaded FrameErrors without dampening cause thrash between frames.
Where this came from
—
Builds on
- Compensate references
- AcceptSpec references
- Retry references
Used by
- DecompositionGate references
- PerformanceSignal references
- RootSolver references
Identity
- Ref:
FrameError#1d0a - Hash: sema:FrameError#mh:SHA-256:1d0ac501f011a053fde50bef6bc2a781c2f916014f4b2b74de955f6d84db9c5d
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository