Skip to content

tasks: a conversation with no title is called by the word, not its raw session id - #939

Merged
santoshkumarradha merged 1 commit into
devfrom
af/issue-915
Sep 11, 2026
Merged

santoshkumarradha merged 1 commit into
devfrom
af/issue-915

Conversation

@santoshkumarradha

Copy link
Copy Markdown
Member

Closes #915.

The tasks place drew a titleless conversation as de9ea39e6f4c18c3 — a machine's word in the one column whose whole job is matching names. Home already solved this for its own lists with one spelling of the word, and the tasks place draws the same row, so it reads the name from there rather than spelling a second one.

Why the check is case-insensitive

A titleless row's Title is never empty. tasksConversationRows fills it through homeName, whose title case has already raised the id's first letter, so the composer sees De9ea39e6f4c18c3 where the id is de9ea39e6f4c18c3. A byte-exact comparison never fires. EqualFold is the one comparison that does, and the lane found that by reading the path rather than by guessing.

Only the name changes

The row keeps its place. Its age stays empty, because lastUserAt is the zero time and the emptiness law draws nothing. And chatProjectWord still sees the row, so a project that is not this name does not echo the word back as a project tag beside it.

Where this came from

An aforge lane wrote this — ~/af-lane.sh 915, aforge do on z-ai/glm-5.3 through OpenRouter, unattended on the Spark. It reused the existing unnamedConversationWord rather than adding a second spelling, wrote the change entry, the manual page, the unit tests and the end-to-end words row. I read the diff and rebased it; nothing needed correcting.

Proof

Spark, rebased on 52af732bb:

ok  github.com/Agent-Field/aforge-v2/internal/tui3    306.758s
ok  github.com/Agent-Field/aforge-v2/internal/e2e       0.280s
ok  github.com/Agent-Field/aforge-v2/internal/manual    1.554s

🤖 Generated with Claude Code

The row composer read row.Title directly, and a conversation that has said
nothing has an id for its title — sessionStem's fill, title-cased by homeName —
so the launch's own first session drew De9ea39e6f4c18c3 on the place: a
machine's word in the column whose whole job is matching names, and raised into
the shape of a name somebody chose. #905's rewrite lost the fallback the list
had before it.

The composer now keys on the trimmed title equal to the row's own id, folded —
a titleless row's Title is never empty, so an emptiness check never fires and
a byte-exact one misses the title case. Only the name changes: the row keeps
its place, the empty age stays, and chatProjectWord still sees the row, so
the project tag does not echo the word. The word is home's own constant,
unnamedConversationWord, read rather than spelled a second time.

Co-Authored-By: aforge <[email protected]>
@santoshkumarradha
santoshkumarradha merged commit 8ff96b3 into dev Sep 11, 2026
3 checks passed
@santoshkumarradha
santoshkumarradha deleted the af/issue-915 branch September 11, 2026 20:44
@santoshkumarradha santoshkumarradha added the area:session The engine — turns, tasks, the toolbelt, checkpoints label Oct 3, 2026
@santoshkumarradha santoshkumarradha added this to the Reliable agent milestone Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:session The engine — turns, tasks, the toolbelt, checkpoints

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tasks: a conversation with no title is drawn as its raw session id

1 participant