Kind: Interface
Source: atloria-monorepo/libs/agent-core/src/autonomous/circle-detector.ts
Circle/Loop Detector
Detects when an agent gets stuck in repetitive cycles: editing the same files without progress, running the same failing commands, or alternating between approaches.
Standalone class, consumed by AutonomousTurnHook. Called every turn with O(windowSize) cost.
Properties
| Property | Type |
|---|---|
windowSize | number |
minTurnsBeforeDetection | number |
signatureRepetitionThreshold | number |
fileRepetitionThreshold | number |
testStagnationCount | number |
Was this page helpful?