summaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-01 19:19:49 +0100
committersalmonik <salmonik@tuta.io>2026-11-01 19:19:49 +0100
commit24e3bb54db579fb9aad8df2a591527dc77fe4cb4 (patch)
treeaf9a0c290f2675068e8396823f641f24bbe4d308 /AGENTS.md
parentv4.0.6: move the prompt editor and key mapping out of the core (diff)
downloadzagan-bet-24e3bb54db579fb9aad8df2a591527dc77fe4cb4.tar.gz
zagan-bet-24e3bb54db579fb9aad8df2a591527dc77fe4cb4.zip
v4.0.7: finish the Phase 1 boundary with a command shell
The terminal command line moves to client::shell: a typed line becomes a core Command or an adapter action (connect, login, register, set-credential, host maintenance). ClientCore loses submit_line and the last TUI-shaped effects (Interactive, SetPrompt, ListHosts, ForgetHost, AnimateRoulette); the adapter animates roulette from the Result view. Adds forget-login, which drops the stored credential for the pinned key and keeps trust, distinct from logout (session only) and forget-host (trust too).
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/AGENTS.md b/AGENTS.md
index efa8b74..3908c2d 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -103,7 +103,8 @@
103 by host. 103 by host.
104- `forget_host` removes one address. Drop the credential only when no address 104- `forget_host` removes one address. Drop the credential only when no address
105 with that fingerprint remains, or two addresses for one server would stop 105 with that fingerprint remains, or two addresses for one server would stop
106 sharing a login. 106 sharing a login. `forget-login` is the narrower action: it drops the
107 credential and keeps the pinned key.
107- `save_host` must not wipe the fingerprint column. Use `ON CONFLICT ... 108- `save_host` must not wipe the fingerprint column. Use `ON CONFLICT ...
108 DO UPDATE SET last_used` — never `INSERT OR REPLACE`. 109 DO UPDATE SET last_used` — never `INSERT OR REPLACE`.
109- The client transport lives in `client::transport`. It records the key during 110- The client transport lives in `client::transport`. It records the key during