docs: Sandbox auf Podman umstellen
Entscheidung #1039: Podman (rootless) statt Docker, weil nur Podman installiert ist. SPEC, README, ROADMAP und KLICKTESTS angepasst. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
14
SPEC.md
14
SPEC.md
@ -20,7 +20,7 @@ Der Nutzer wählt 1..n Tests und 1..m Modelle. Die App lässt jedes Modell jeden
|
||||
| Frontend | Svelte oder React + TypeScript, schlicht, Tabellen und Heatmap |
|
||||
| HTTP | `reqwest` + `tokio` |
|
||||
| Modell-API | Ollama `/api/chat` mit `tools`; zusätzlich OpenAI-kompatibler Endpunkt (GPU Dispatcher) |
|
||||
| Sandbox | Docker über `bollard` oder Docker-CLI |
|
||||
| Sandbox | Podman (rootless), Aufruf über die Podman-CLI |
|
||||
| Speicher | SQLite (`rusqlite`), Artefakte als Dateien im Datenordner |
|
||||
| Config | TOML (`serde`, `toml`) |
|
||||
| Playwright-Sidecar | Kleines Node-Skript, wird von der App als Prozess gestartet (nur Demo-Tests, ab Phase 3) |
|
||||
@ -36,7 +36,7 @@ Backend (Rust)
|
||||
├─ config Modelle, Endpunkte, Pfade
|
||||
├─ tasks Laden/Validieren der Aufgabenordner
|
||||
├─ agent Agent-Loop (Modell <-> Tools)
|
||||
├─ sandbox Docker-Container pro Lauf, Tool-Ausführung
|
||||
├─ sandbox Podman-Container pro Lauf, Tool-Ausführung
|
||||
├─ runner Job-Queue, Wiederholungen, Abbruch
|
||||
├─ scoring Auswertung, Ranking, Statistik
|
||||
└─ store SQLite + Artefakte
|
||||
@ -62,7 +62,7 @@ id = "b-05-bugfix-parser"
|
||||
title = "Bug im Parser finden und fixen"
|
||||
group = "B" # A, B, C, D
|
||||
weight = 1.0 # Gewicht im Gesamtscore
|
||||
image = "cb-python:latest" # Docker-Image
|
||||
image = "cb-python:latest" # Container-Image
|
||||
max_steps = 25 # max. Modell-Antworten
|
||||
timeout_s = 600 # Gesamtzeit pro Lauf
|
||||
check_timeout_s = 120
|
||||
@ -105,9 +105,9 @@ Pfade sind auf `/work` beschränkt.
|
||||
- Ein frischer Container pro Lauf, Image aus `task.toml`.
|
||||
- `start/` wird nach `/work` kopiert.
|
||||
- Netzwerk aus (`--network none`), Speicher-/CPU-Limit konfigurierbar.
|
||||
- Tool-Ausführung per `docker exec`, `check.sh` im selben Container.
|
||||
- Tool-Ausführung per `podman exec`, `check.sh` im selben Container.
|
||||
- Nach dem Lauf wird `/work` als Artefakt nach `runs/<run_id>/work/` kopiert, dann wird der Container entfernt.
|
||||
- Mitgelieferte Images (Dockerfiles im Repo): `cb-python` (Python 3 + pytest), `cb-node` (Node + npm), `cb-rust` (Rust-Toolchain), `cb-web` (Node + Playwright, nur Phase 3).
|
||||
- Mitgelieferte Images (Containerfiles im Repo): `cb-python` (Python 3 + pytest), `cb-node` (Node + npm), `cb-rust` (Rust-Toolchain), `cb-web` (Node + Playwright, nur Phase 3).
|
||||
|
||||
---
|
||||
|
||||
@ -147,7 +147,7 @@ step(id, run_id, idx, role, content, tool_name, tool_args_json,
|
||||
|
||||
## 10. GUI
|
||||
|
||||
1. **Setup:** Modelle (Name, Endpunkt, Typ Ollama oder OpenAI-kompatibel), Docker-Status, Datenordner, Aufgabenordner mit Validierungsstatus.
|
||||
1. **Setup:** Modelle (Name, Endpunkt, Typ Ollama oder OpenAI-kompatibel), Podman-Status, Datenordner, Aufgabenordner mit Validierungsstatus.
|
||||
2. **Batch starten:** Tests und Modelle ankreuzen, Wiederholungen, Start. Live-Fortschritt mit laufendem Schritt-Log des aktuellen Laufs.
|
||||
3. **Ergebnisse:**
|
||||
- Rangliste (Rang, Modell, Gesamtscore mit Intervall, Score je Gruppe, Median-Zeit, Tokens)
|
||||
@ -192,7 +192,7 @@ Jede Anforderung hat eine feste ID.
|
||||
- F-01 Tauri-Projekt mit Rust-Backend und Frontend-Grundgerüst, Datenordner und Config
|
||||
- F-02 Aufgaben laden und validieren (Abschnitt 4)
|
||||
- F-03 Agent-Loop gegen Ollama mit allen Tools und Fehlerklassifikation (Abschnitt 5)
|
||||
- F-04 Docker-Sandbox pro Lauf (Abschnitt 6)
|
||||
- F-04 Podman-Sandbox pro Lauf (Abschnitt 6)
|
||||
- F-05 Runner mit Wiederholungen, Abbruch und Fortsetzen (Abschnitt 7)
|
||||
- F-06 SQLite-Speicherung inkl. Schritt-Log (Abschnitt 8)
|
||||
- F-07 Tests a-01 bis a-03 und b-04 bis b-06
|
||||
|
||||
Reference in New Issue
Block a user