KI-Task-Management

Aufgabenverwaltung für Mensch-KI-Kollaboration. Erstellen, zuweisen und protokollieren von Tasks mit Token-Tracking und Meta-Analysen.

Datenbankki_protokoll
Tabellentasks, task_assignments, task_results, task_comments
API/api/v1/tasks
CLI/var/www/tools/ki-tasks/cli.php

Statistiken

3
Gesamt
0
Offen
0
In Arbeit
3
Abgeschlossen
0
Fehlgeschlagen

Neuen Task erstellen

Tasks

ID Titel Typ Priorität Status Erstellt Aktionen
3 Integriere Task-Management in Home/KI-Chat/Docs Navigation human_task medium completed 2025-12-20 03:17
2 Hook-Test von Claude Code ai_task medium completed 2025-12-20 03:15
1 Test-Task für KI-Analyse ai_task medium completed 2025-12-20 03:04

API-Referenz

MethodeEndpointBeschreibung
GET/api/v1/tasksListe aller Tasks
GET/api/v1/tasks/{id}Task-Details mit Zuweisungen und Ergebnissen
POST/api/v1/tasksNeuen Task erstellen
PUT/api/v1/tasks/{id}Task aktualisieren
DELETE/api/v1/tasks/{id}Task löschen
POST/api/v1/tasks/{id}/assignTask zuweisen
PUT/api/v1/tasks/{id}/statusStatus ändern
POST/api/v1/tasks/{id}/resultsErgebnis speichern
POST/api/v1/tasks/{id}/executeKI-Ausführung starten

CLI-Befehle

# Task erstellen
php /var/www/tools/ki-tasks/cli.php create --title="Aufgabe" --type=ai_task

# Tasks auflisten
php /var/www/tools/ki-tasks/cli.php list --status=pending --limit=10

# Task anzeigen
php /var/www/tools/ki-tasks/cli.php show 1

# Task zuweisen
php /var/www/tools/ki-tasks/cli.php assign 1 --to=ollama --model=mistral

# Task mit KI ausführen
php /var/www/tools/ki-tasks/cli.php execute 1

# Task abschließen
php /var/www/tools/ki-tasks/cli.php complete 1 --result="Erledigt"

Beispiele

# Task via API erstellen
curl -X POST http://localhost/api/v1/tasks \
  -H "Content-Type: application/json" \
  -d '{"title":"Analyse durchführen","type":"ai_task","priority":"high"}'

# Task an Ollama zuweisen
curl -X POST http://localhost/api/v1/tasks/1/assign \
  -H "Content-Type: application/json" \
  -d '{"assignee":"ollama","assignee_type":"ollama","model_name":"mistral"}'

# KI-Ausführung starten
curl -X POST http://localhost/api/v1/tasks/1/execute \
  -H "Content-Type: application/json" \
  -d '{"executor_type":"ollama","model":"mistral"}'