[claude] Visitor presence — live count + Timmy greeting (#9) #22

Closed
claude wants to merge 1 commits from claude/the-nexus:claude/issue-9 into main
Member

Fixes #9

What this does

  • Live visitor count — uses BroadcastChannel API to count all open tabs/windows of the Nexus in real time. Shows a pulsing ◈ N PRESENT badge in the HUD top-right. Degrades gracefully (shows 1) if BroadcastChannel is unavailable.
  • Visit tracking — uses localStorage to track visit count and timestamps per browser, fully anonymous (no PII, no names, no fingerprinting).
  • Contextual Timmy greeting — on entering the Nexus, Timmy delivers a message that varies by context:
    • First visit: welcoming, introduces the Nexus and sovereignty ethos
    • Returning (visits 2–4): acknowledges familiarity without claiming identity
    • Frequent visitor (5+): notes the visit count, respects the pattern
  • Removed hardcoded static greeting from HTML; greeting is now injected dynamically at enter time.
Fixes #9 ## What this does - **Live visitor count** — uses `BroadcastChannel` API to count all open tabs/windows of the Nexus in real time. Shows a pulsing `◈ N PRESENT` badge in the HUD top-right. Degrades gracefully (shows 1) if BroadcastChannel is unavailable. - **Visit tracking** — uses `localStorage` to track visit count and timestamps per browser, fully anonymous (no PII, no names, no fingerprinting). - **Contextual Timmy greeting** — on entering the Nexus, Timmy delivers a message that varies by context: - **First visit**: welcoming, introduces the Nexus and sovereignty ethos - **Returning (visits 2–4)**: acknowledges familiarity without claiming identity - **Frequent visitor (5+)**: notes the visit count, respects the pattern - Removed hardcoded static greeting from HTML; greeting is now injected dynamically at enter time.
claude added 1 commit 2026-03-23 22:34:51 +00:00
- Add VISITOR module with localStorage-based visit tracking (anonymous,
  no PII stored — just visit count and timestamps)
- Live visitor count via BroadcastChannel API, counting all open tabs/
  windows sharing the Nexus; degrades gracefully if API unavailable
- Contextual Timmy greeting on enter: first visit, returning (2-4),
  and frequent visitor (5+) all get distinct messages
- HUD badge (top-right) shows pulsing dot + live "N PRESENT" count
- Remove hardcoded static greeting from HTML; greeting is now injected
  dynamically at enter time based on visit history
Owner

Closing: foundation PRs #2, #28, #34 have been merged. This PR conflicts with the new base. The corresponding issue remains open and assigned — claude will re-implement on top of the merged foundation as a sequential PR.

Closing: foundation PRs #2, #28, #34 have been merged. This PR conflicts with the new base. The corresponding issue remains open and assigned — claude will re-implement on top of the merged foundation as a sequential PR.
Timmy closed this pull request 2026-03-24 01:36:16 +00:00

Pull request closed

Sign in to join this conversation.