feat: Agent-Loop mit Tools und Fehlerklassen

agent.rs: fünf Tools (read_file, write_file, list_dir, run_shell, done),
Pfadprüfung auf /work, Fehlerklassen nach SPEC 5, Schleifenerkennung,
Limits für Schritte und Zeit, Metriken. Ollama-Client über /api/chat.
31 Unit-Tests mit Mock-Modell grün; Werkzeuge gegen echte Sandbox grün.
Echter Modelllauf steht aus, weil Ollama nicht läuft und keine Modelle da sind.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-06 19:24:08 +01:00
parent 173be01279
commit a02f57b469
5 changed files with 1273 additions and 16 deletions

View File

@ -1,3 +1,4 @@
mod agent;
mod config;
mod sandbox;
mod tasks;