Kind: Class
Source: atloria-monorepo/libs/agent-core/src/autonomous/lint-test-loop.ts
Tracks edit-then-verify cycles and generates appropriate nudges.
Methods
| Method | Signature | Returns |
|---|---|---|
recordEdit | recordEdit(filePath: string) | void |
recordVerification | recordVerification(passed: boolean, turnNumber: number) | void |
getNudge | getNudge() | `string |
getState | getState() | Readonly<LintTestState> |
reset | reset() | void |
isEditTool | isEditTool(toolName: string) | boolean |
isVerificationCommand | isVerificationCommand(command: string) | boolean |
Where it refuses work
LintTestLoopstops the work with an early return when!this.config.lintCommand && !this.config.testCommand && !this.config.typeCheckCommand.LintTestLoopstops the work with an early return whenthis.state.maxRetriesExceeded.LintTestLoopstops the work with an early return whenthis.state.editsSinceLastVerification < this.config.minEditsBeforeNudge.LintTestLoopstops the work with an early return whenthis.state.verified.LintTestLoopstops the work with an early return whenthis.state.consecutiveFailures > 0.
Was this page helpful?