refactor: rename inner-loop-tracker to ralph-tracker with API improvements

- Rename inner-loop-tracker.ts → ralph-tracker.ts throughout codebase
- Add ralph-config.ts for parsing .claude/ralph-loop.local.md config
- Standardize API error responses using createErrorResponse()
- Add input validation for auto-compact/auto-clear thresholds
- Update UI labels to "Ralph / Todo Tracker" consistently
- Add 46 integration tests for Ralph tracking functionality
- Update test badge to 438 total tests

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-21 22:36:45 +01:00
co-authored by Claude Opus 4.5
parent 5be0babf01
commit 0d1ca37b6e
21 changed files with 2151 additions and 451 deletions
+4 -3
View File
@@ -125,9 +125,10 @@ describe('Interactive Session Lifecycle', () => {
const response = await fetch(`${baseUrl}/api/sessions/${sessionId}/output`);
const data = await response.json();
expect(data).toHaveProperty('textOutput');
expect(data).toHaveProperty('messages');
expect(data).toHaveProperty('errorBuffer');
expect(data.success).toBe(true);
expect(data.data).toHaveProperty('textOutput');
expect(data.data).toHaveProperty('messages');
expect(data.data).toHaveProperty('errorBuffer');
});
});