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
A continued chat with --no-host labels its project as codeaf #2535
On 2026-11-09 on dev@b5b7dead1, the receiving chat's rendered frame says:
project: codeaf
The expected label for a chat arriving from proj-a is:
project: proj-a (copy from another machine)
Replication
Deterministic (no model).
GOFLAGS=-buildvcs=false go test -p=2 ./internal/tui3 \
-run '^TestAnOwnedMovedChatNamesItsOriginalProjectInTheFrame$' \
-count=1 -timeout=15m
This builds the real chat frame using the owned workspace and recorded origin returned by continuation. With the production fix removed, the frame assertion prints project: codeaf. The same wrong label was hand-checked by reopening a freshly continued chat with --no-host using a binary with only internal/tui3/host.go restored to its HEAD bytes; the fixed binary shows the original folder and copy suffix in all six Go relay trials.
Field (real models).
Pair two computers with sync storage enabled. In a project called proj-a on the first computer, run codeaf chat --no-host --one-model --model <configured-model>, exchange a message and /quit. Continue that chat on the second computer with the same flags. Read the project label below the input box. A keyless model stub can replace the configured provider.
Where
movedWord in internal/tui3/host.go, called by newApp and app.takeUp in internal/tui3/app.go. Continuation correctly marks its private working folder as owned, but the early owned check discarded its recorded origin before the frame could name it.
The fix
Use the recorded origin to label an owned moved copy. Ordinary owned chats without an origin retain their existing label.
Acceptance
e2e: a real rendered frame for an owned moved chat contains project: proj-a (copy from another machine).
e2e: an actual --no-host continuation shows the original folder with (copy from another machine) below its input.
Unit: existing moved, returned and ordinary owned project-label cases still pass.
The chat manual quotes the --no-host copy label, and the change entry's invalidates names the old footer behavior.
Activity
Follow-ups to hosted storage opt-in: tools stop when a chat moves, cl…