Skip to content

Speak in the user's voice: name what is theirs in the first person - #2700

Merged
max-sixty merged 6 commits into
mainfrom
first-person-voice
Oct 13, 2026
Merged

max-sixty merged 6 commits into
mainfrom
first-person-voice

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Leaf addressed its user as "you" throughout, which reads like a service talking about them rather than their own space. Visible copy now names what is the user's in the first person, and what Leaf reports drops the pronoun:

  • Mine, in the first person: "Me" as a message author and in the Threads filter, "Waiting on me", "My turn to answer", "my change", "Edit my last message", "On me".
  • Reports without a pronoun: "Save failed. The edit is kept.", "retrying the change…", "not in the version shown", "Undid the latest update", "Updates are saved."
  • The agent by name: the Threads filter's Waiting on choice, its narrowed summary and empty message, the banner status's queue control title, and the "active on this page" notice now read agentName() (or the new agentLabel(), capitalized), as the floating panel and Questions panel already did ("Agent" / "the agent" before).

Text addressed to the agent (registry instructions, references) and the website's prose to visitors stays in the second person. The developer glossary records the rule so later copy follows it. Internal keys such as the Questions panel's "you" list are unchanged.

About 60 runtime and widget strings change. Tests that read them move with them, the docs and gallery examples quote the new labels, and the corpus is regenerated.

The macOS-only thread snapshot gate (tests/*/test_render_thread_snapshots.py) will differ by the "Me" author label; it already differs on main, where the pending captures show a generated title in place of "Generating title", so its references are not re-accepted here.

This was written by Claude Code on behalf of max-sixty

max-sixty and others added 4 commits October 12, 2026 17:03
Leaf addressed its user as "you" throughout, which reads like a service talking
about them rather than their own space. Visible copy now names what is the
user's in the first person (Me as a message author, Waiting on me, My turn to
answer, my change, Edit my last message), and what Leaf reports drops the
pronoun (The draft is kept, retrying the change, not in the version shown).
Text addressed to the agent, and the website's prose to a visitor, stays in
the second person. The developer glossary states the rule.

About 60 runtime and widget strings change; internal keys such as the
Questions panel's "you" list do not. Tests that read these strings move with
them, the docs and gallery examples quote the new labels, and the corpus is
regenerated.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
# Conflicts:
#	examples/corpus.page/widgets/lf-conversation-workspace.js
#	examples/developer/feature-gallery.page/widgets/lf-conversation-workspace.js
#	skills/leaf/assets/runtime/asks/view.js
#	skills/leaf/assets/runtime/floating-panel.js
#	skills/leaf/assets/runtime/queue-walk.js
The Threads filter's Waiting on choice said "Agent" and its summary "On agent",
while the floating panel, banner and Questions panel name the agent through
agentName(). The choice now reads the agent's name (capitalized, so "The agent"
before the server names it), as do the narrowed summary and the empty message.
The feature gallery's instruction for that filter names the choices the panel
actually shows.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The banner status's queue control was titled "the agent's tasks", and the
availability notice said "Agent active on this page"; both now read the agent's
name, as the Questions panel's door already did. semantic-state.js gains
agentLabel(), the name capitalized where it opens a sentence or stands as a
label, which the Threads filter also uses. Tests that read the workspace's
"asks on you" count move to "asks on me", and the gallery's thread walkthrough
quotes the labels the page shows ("My turn to answer", the "Me" filter).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
leaf-agent previously approved these changes Oct 13, 2026
# Conflicts:
#	skills/leaf/assets/runtime/floating-panel.js
leaf-agent
leaf-agent previously approved these changes Oct 13, 2026
# Conflicts:
#	skills/leaf/assets/runtime/banner-status-view.js
#	skills/leaf/assets/runtime/queue-walk.js
#	skills/leaf/assets/runtime/thread/narrowing.js
@max-sixty
max-sixty merged commit 6c8b0d8 into main Oct 13, 2026
3 checks passed
@max-sixty
max-sixty deleted the first-person-voice branch October 13, 2026 01:22
max-sixty added a commit that referenced this pull request Oct 13, 2026
main gained #2697, #2700 and #2708. The three files that conflicted
(event_contracts.py, findings.py, work.py) take main's content with the
sweep's edits re-applied by .tmp/standing/apply.py; the "not visible under the
page's standing outcomes" message moved from work.py to findings.py, and the
script now edits it there. main added no other non-glossary "standing".

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty added a commit that referenced this pull request Oct 13, 2026
#2712)

The macOS thread appearance gate
(`tests/*/test_render_thread_snapshots.py`) failed on main because two
landed changes altered what the thread journey draws. This re-accepts
the 48 images (leaf-assets `d5c8b46`) after reviewing every one against
the old references.

- #2700 labels the user's messages "Me" instead of "You": every case and
stage.
- #2663 stopped the browser predicting a thread's attention while a
reply is sending. During the send the panel title now reads the thread's
opening words, and "Generating title" appears once the server's reading
arrives (`accepted` still shows it). Affects the `pending`,
`retry-pending` and `newer-draft-pending` stages of `panel`,
`panel-dark` and `panel-narrow`.

Every other differing pixel is antialiasing of at most 6/255 on editor
borders and the check mark, which the comparison already ignores. No
geometry reading changed. `uv run pytest -n0
tests/*/test_render_thread_snapshots.py` passes on macOS against the new
pin.

> _This was written by Claude Code on behalf of max-sixty_

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty added a commit that referenced this pull request Oct 13, 2026
Skips the macOS thread appearance gate's message-delivery journey and
its acceptance test to save test time while development moves fast. The
references drifted twice unnoticed (#2663, #2700) because only a manual
macOS run compares them.

Until it resumes, nothing tests the thread's appearance across the
delivery journey, nor, in the nightly Linux run, that journey's delivery
assertions (first insertion, refusal feedback, restored draft). The
comparator's model tests and the Linux font test still run, and
`leaf-dev thread-snapshots capture` still runs the journey, since the
skip applies only without `--image-snapshot-update`.

`TODO.md`, "Resume the thread appearance gate", records how to turn it
back on, including making landing run the comparison so it cannot drift
again. `/developing-leaf` no longer asks for a snapshot run before
landing.

> _This was written by Claude Code on behalf of max-sixty_

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent added a commit that referenced this pull request Oct 13, 2026
#2700 changed the reader-facing activity labels from “You” to “Me” and
renamed the margin gallery’s “on you” sample to “my turn.” Five
assertions still used the earlier names. Three failed in [main CI run
38333313254](https://github.com/max-sixty/leaf/actions/runs/38333313254);
two were in a journey that runs daily. This PR updates those
expectations while keeping the checks on the saved record, held state,
undo, and turn marker.

The two affected activity browser tests and the margin gallery test
failed before their changes and passed after them. The exact journey
test first exposed an additional stale “You paused” expectation, then
passed with both journey labels corrected.

---------

Co-authored-by: leaf-agent <[email protected]>
max-sixty added a commit that referenced this pull request Oct 21, 2026
The glossary's voice rule (#2700) has visible copy drop the pronoun
rather than say "you" or "your"; the website's field said "Ask Agent to
revise your private copy" and its menu "this copy of it is yours
alone". The field now takes the ordinary listening line's form, "Agent
awaits — comment to revise this copy", and the menu's introduction
says "…, and this copy is private to this browser", as the examples
page does. The field names the publication's agent, since an unclaimed
copy's served agent is whoever last wrote in the example's log.

developing-leaf sent agents to the glossary only before naming
something, so writing a status sentence or placeholder skipped the
voice rule it holds; it now names writing visible words too.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants