"Learn from conversations" (memdistill) reads a session only when the
Sessions list marks it Transcript, which is HasTranscript(agent). The
WorkBuddy family had a summary reader (workbuddyLine) for the Sessions
page and the usage ledger but no transcript reader, so its sessions were
listed and never learned from.
Add wbTranscript (transcript_workbuddy.go), over the same
projects/<cwd>/<id>.jsonl lines: a message's input_text/output_text
blocks (WorkBuddy's own <system-reminder> blocks stay context and its
@scene: blocks are dropped, so the typed words still count as said), a
function_call with its arguments, and its function_call_result by callId.
workbuddy, workbuddy-ai and codebuddy join HasTranscript.
Guard: TestEveryListedAgentHasATranscriptOrIsNamed reads the agent ids
Session.Agent lists and fails for any with no transcript that is not in
noTranscriptYet, and for any in that list that now has one. Siblings still
without a transcript, named there: zcode, dsh, cline, grok, droid, hermes,
alma (issues filed).
Run (mote): go vet ./internal/sessions ./internal/memdistill; go test
./internal/sessions ./internal/memdistill ./internal/memory ./internal/gui.
The new tests fail on the old transcript.go (workbuddy, workbuddy-ai and
codebuddy named, codebuddy not marked readable). internal/gui has one red
that is also red on origin/main 99cc8fa5d, TestSettingsSaveKeepsWhatItDoesNotSend
(RedactModelDir), filed. No GUI file changed. Fixtures are the existing
testdata/workbuddy and testdata/codebuddy session files. Not tried: a real
WorkBuddy account's session through the model.