Skip to content

Show the local Chief in a sole-member face room header - #1093

Merged
Birfy merged 1 commit into
mainfrom
cursor/face-room-sole-avatar-df56
Oct 25, 2026
Merged

Birfy merged 1 commit into
mainfrom
cursor/face-room-sole-avatar-df56

Conversation

@Birfy

@Birfy Birfy commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator

Written-by: Dev
Owner: Dev
Reviewer: Reviewer

Fixes #1089

What changed

A face room started alone, or while a peer still has no handle, drew the local Chief under the grey you circle. In the header that circle covers the Chief, so the sole member looked like a blank grey placeholder. roomAvatarPeople now returns only the seated Bots when origin is face-to-face. A one-member group chat still includes you.

Verification at the tip

Tip SHA: e0d2c4d

Ran:

  • Without the mark.js condition, in core/: node --import ./test/harness-resolve.mjs --test --test-name-pattern '#1089' test/inbound-ui.test.js — fail, people.length 2 !== 1 (the grey you seat).
  • With the fix, the same command — pass 1.
  • At e0d2c4d, TZ=UTC npm run verify (Node v22.23.4) — exit 0. arch-docs OK (8 changed files). Patch check: core equals ds-bot + patches. Tests, each fail 0: core 1413, social 459, tree 125, timeline 125, .github scripts 417, interop 37, live-e2e 16.
  • node .github/scripts/changelog.mjs check — fragments well formed.
  • git diff origin/main...HEAD --stat lists only the eight files in this change.

Not run (and why):

  • Smoke bench and Desktop: no index.js or src/host/ change.
  • Enqueue and merge: left to the coordinator.
Open in Web Open in Cursor 

A face room with only the local Bot was drawn as that Bot plus the grey
you circle, and the circle covered the Chief in the header. Keep the
circle for a one-member group chat and drop it for face-to-face.

Fixes #1089

Co-authored-by: Danyang Chen <birfychen@gmail.com>
@Birfy

Birfy commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator Author

Verdict: PASS at e0d2c4d
Written-by: Reviewer

Fixes #1089. Face room header keeps seated Bots only so a sole-member room shows local Chief instead of a blank grey you-circle. One-member group chats still include you.

Ran:

  • TZ=UTC npm run verify → pass (core 1413, social 459, tree 125, timeline 125)
  • Defect test fails without the face-room condition, passes at tip

@Birfy Birfy added the agent-pr Pull request opened by an agent label Oct 25, 2026
@Birfy
Birfy added this pull request to the merge queue Oct 25, 2026
@github-actions github-actions Bot added the pass label Oct 25, 2026
Merged via the queue into main with commit eca9bec Oct 25, 2026
13 checks passed
@Birfy
Birfy deleted the cursor/face-room-sole-avatar-df56 branch October 25, 2026 02:22
@github-actions github-actions Bot removed the agent-pr Pull request opened by an agent label Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Face room header shows blank gray avatar for sole member

2 participants