From 2d58a44858417510f31ab31bc6f6c54abdbc5503 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 19 Oct 2026 20:00:33 +0200 Subject: docs: clone tool, tested through the model Known host clone, repeat asking to update plus update=1, unknown host asking to create the folder, to= cloning and the map append, and a remembered host cloning with no question, all driven through a second daemon on scratch dirs. --- AGENTS.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index efcec80..8a09ae0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -257,6 +257,14 @@ must not decide alone (unknown host, already cloned) are asked. Spec: origin in a scratch `CLONE_ROOT`: cloned into `LOCAL/repo`, the second run said already cloned, `update=1` ran `git pull --ff-only` ("Already up to date"). +- **Through the model** (a second daemon on a scratch socket, runtime and + data dirs, plus `CLONE_ROOT`/`CLONE_MAP`; the real tree, history and map + were untouched): a known host cloned `octocat/Hello-World`; asking + again got "already cloned… update?", and "Yes, update it" called `clone` + with `update=1` and pulled; a `file://localhost` URL (unknown host) got + "create LOCALHOST/…?", and "Yes" called it with `to=LOCALHOST`, cloned, + and appended `localhost→LOCALHOST`; a second repository on that host + then cloned with no question. - A tool added to `~/.config/desktop-assistant/tools/` needs a daemon restart: `TOOLS` is loaded once at import, not per request. -- cgit v1.2.3