You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
multi-attach R1 / L1: local aforge chat dials the workspace host when one is up or the journal is locked #63
aforge chat / aforge resume try the workspace's session host FIRST when a host is already up for the workspace or the requested journal is locked: enginehost.Attach(workspace, spawn "engine --daemon --workspace …") gives a net.Conn; open the surface through the same road openChatV3Host uses, with a local dialer (remote.Roam over the socket) instead of an ssh child. Otherwise the in-process door runs exactly as today.
--no-host on chat/resume: force in-process (same meaning as on aforge engine).
Silent new conversation on lock is dead: openV3Agent (cmd/aforge/chatv3.go ~976) no longer starts a new session on session.ErrSessionLocked. Because the host attach is tried first, that branch is only reached for a lock held by a non-host process (an older build); refuse with a sentence that names aforge engine --stop.
Seam agreed with L2: tui3.Options.Link non-nil with Host == "" means linked, local. No via segment on the status line.
Tests in cmd/aforge and internal/enginehost; manual page for the new door and --no-host.
Acceptance: two local terminals, same workspace, one live chat — the second attaches as a watcher (dim typing from another window now · enter takes it back), enter takes the keyboard, the first becomes the watcher; no code path starts a new conversation because a journal is locked.
Drafted with CodeAF · reviewed and owned by the author
Closed: the owner's need is continue in another terminal, not two live windows. Re-homed as #71 (hand-off design). #52 stays open for the simultaneous-attach story (R2 #66).
Activity
santoshkumarradha commentedon Aug 31, 2026
Closed: the owner's need is continue in another terminal, not two live windows. Re-homed as #71 (hand-off design). #52 stays open for the simultaneous-attach story (R2 #66).