aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-19 20:00:33 +0200
committerDanilo M. <danix@danix.xyz>2026-10-19 20:00:33 +0200
commit2d58a44858417510f31ab31bc6f6c54abdbc5503 (patch)
treee3c264bc74bcfd4f42c7754c94ddaede71539826
parentb6965ac87bfffb610bf099812562951cc154738e (diff)
downloaddesktop-assistant-2d58a44858417510f31ab31bc6f6c54abdbc5503.tar.gz
desktop-assistant-2d58a44858417510f31ab31bc6f6c54abdbc5503.zip
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.
-rw-r--r--AGENTS.md8
1 files changed, 8 insertions, 0 deletions
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.