7 Commits
Author SHA1 Message Date
Hermes e557edd3ae task_scopes: an optional scope, and say which scope a project question wants
The store has many projects; makronix has far more open tasks than mikronix. A
model working in ~/src/mikronix called task_scopes {} and then presented the
makronix counts as the mikronix answer. task_scopes now accepts scope=<project>
with the same prefix match as task_list (scope "mikronix" includes
"mikronix/build"), and its description says to pass the working directory's
project and never present another project's scopes as the answer. task_list
says the same for a scope-less list, and the task_create example no longer
names makronix (a busy real scope seeded the bias).

A 4B and a 35B now call task_scopes {"scope":"mikronix"} and
task_list {"scope":"mikronix","state":"pending"} where the same prompt
previously produced an unscoped call.

tests/run.py: 30 PASS, 0 FAILURES.
2026-11-23 08:13:53 +00:00
Hermes Agent 0a084532bc tasksd-http: Web-Oberflaeche als CGI; task_update; TASKDIR
tasksd-http ist ein C99-CGI-Programm (HTML 4.01) ueber den MCP-Server von
tasksd (vendor/cgi/cgi.h, tests/test-http.sh, Makefile, README).

Neues Werkzeug task_update: korrigiert die beschreibenden Felder einer Task
(title, goal, scope, tags, priority); Zustandswechsel bleiben bei
task_next/done/pause/drop.  Die Umgebungsvariable TASKDIR bleibt als alter
Name gueltig.  tests/run.py angepasst.
2026-11-19 09:55:33 +00:00
Hermes Agent e8bb6d56ea Vorgabe ohne "hermes" im Pfad: $XDG_DATA_HOME/tasksd, sonst ~/.local/share/tasksd
Die Aufgaben gehören dem Dienst, nicht dem Agenten-Framework. Auf n95 unverändert
/var/lib/tasksd über TASKDIR.
2026-11-08 20:03:03 +00:00
Hermes Agent ddb7355868 tasksd: jede Zustandsänderung wird festgeschrieben, wenn git da ist
Ist git installiert, wird $TASKDIR beim ersten Schreiben ein Repository und jedes
task_save committet (Meldung: <zustand> <kennung>, z. B. "done t0001"). Eine Aufgabe,
deren Verlauf niemand mehr nachsehen kann, ist nur ein Zettel — mit git ist "wann wurde
das erledigt und was stand vorher da" eine Frage an das Repository.

Die Meldung besteht nur aus eigenen Kennungen und Zuständen, kein Modell- oder
Menschentext. Ohne git läuft alles weiter.

Nebenbei behoben: der Include zeigte auf "../libmcp/mcp.h" und traf nur, solange zufällig
ein libmcp-Verzeichnis neben dem Quellbaum lag — aus einem frischen Clone fand er nichts.
Jetzt "mcp.h" über -Ivendor/libmcp, wie der Makefile es meint.
2026-11-08 18:03:44 +00:00
Hermes 82b6acf344 http: Transport aus libmcp benutzen statt eigener Kopie
Der HTTP-Teil (211 Zeilen) ist in libmcp gewandert; tasksd ruft jetzt
mcp_serve_http und mcp_parse_port. Kein Verhalten geändert, nur der Ort.
2026-11-06 19:03:15 +00:00
olivia 91cb1dcdde fix: --http :8781 band auf Port 0
Die README dokumentiert 'tasksd --http :8781', der Code las den Port aber mit
atoi(argv[2]). atoi(":8781") ist 0, also band tasksd auf einem zufaelligen
freien Port — der dokumentierte Aufruf startete einen Dienst, den niemand
erreichte. Nur die Form ohne Doppelpunkt funktionierte.

parse_port() springt jetzt hinter den letzten Doppelpunkt und nimmt auch
'0.0.0.0:8781' an, lehnt dagegen 0, >65535 und alles ohne Ziffern mit einer
Meldung ab. Testsuite unveraendert bei FAILURES: 0.
2026-11-06 18:09:34 +00:00
Konrad 225f65e3bd tasksd: initial import 2026-11-06 17:59:15 +00:00