mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
Checkpoint: File edits
Automatic checkpoint created by Claude Code - Branch: claude/guidance-control-plane-uhmR3 - Timestamp: 2026-02-02T03:48:42Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c9b35d3574
commit
4af75bec42
1 file changed
+7
-1
@@ -213,8 +213,14 @@ export class DiffQualityEvaluator implements IEvaluator {
|
||||
export class RunLedger {
|
||||
private events: RunEvent[] = [];
|
||||
private evaluators: IEvaluator[] = [];
|
||||
private readonly maxEvents: number;
|
||||
|
||||
constructor() {
|
||||
/**
|
||||
* @param maxEvents - Maximum events to retain in memory (0 = unlimited).
|
||||
* When the limit is exceeded the oldest events are evicted.
|
||||
*/
|
||||
constructor(maxEvents = 0) {
|
||||
this.maxEvents = maxEvents;
|
||||
// Register default evaluators
|
||||
this.evaluators = [
|
||||
new TestsPassEvaluator(),
|
||||
|
||||
Reference in new issue
Block a user