commit 5732247749ef6e17790e580d4c569c0da5599780
parent a5180e7e4b8ca5f9858c4727530f81e9c3b47688
Author: anon <anon@example.com>
Date: Fri, 6 Nov 2026 06:33:46 +0000
Close visitor naming with distinct fixtures and regression evidence
Diffstat:
4 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/TODO.md b/TODO.md
@@ -347,7 +347,7 @@ rewriting this document does not close them.
Place the fixture's home far enough away that every sampled destination
requires movement. All three modes pass 20 repeated runs; production movement
is unchanged.
-- [ ] **Replace numbered Visitor names with short, cute random names.**
+- [x] **Replace numbered Visitor names with short, cute random names.**
Use curated beginning/middle/ending syllables to produce pronounceable names,
aiming for 6-8 letters and several million distinct usable combinations to
support hundreds of thousands of users. Validate actual distinct capacity
@@ -357,6 +357,14 @@ rewriting this document does not close them.
creation, without numeric suffixes. Completion: new visitors receive short
pronounceable names; focused tests cover collisions and concurrent creation,
and a capacity check establishes the usable name pool.
+ November 5: curated syllables and cross-boundary filtering provide 3,602,718
+ distinct 6-8 letter names. New visitors use them with case-insensitive
+ database uniqueness and collision retry, including conflicts at save time.
+ Names survive reconnect/restart and can be retained during adoption. Capacity,
+ account/creation, 32-launch concurrency, race and failed-save checks pass.
+ The full server run's fixture failures are corrected and pass focused reruns;
+ native account login also passes through the migrated browser scenarios. See
+ [name allocation and verification](docs/browser-accounts.md#account-state-and-transactions).
- [x] **Keep the custom overlay "opt" button visible after window resizing.**
Reported: the button appears to disappear after resizing the window.
Reproduce and fix the resize behavior. Completion: the button remains visible
diff --git a/docs/browser-accounts.md b/docs/browser-accounts.md
@@ -103,7 +103,16 @@ collision regression verifies rollback and retry when a name becomes unavailable
after the initial lookup: player insertion ignores only an existing ID, allowing
the name uniqueness error to reach the retry loop. The shared team fixture now
uses distinct member names; its team, chat, buddy, inspection and affected armor
-checks pass. The full server regression run is still pending.
+checks pass. The full server run recorded 2,115 passing roots, 79 failing roots
+and 171 opt-in skips. The failures came from duplicate fixture names and one
+random roaming destination inside its arrival radius. The team, copied nano
+recipient and treatment-patient fixtures now have distinct names; the roaming
+fixture guarantees a destination outside that radius. All 79 failing roots
+pass in focused reruns after those corrections, alongside the new save-time
+collision and production test-API exclusion checks. This is a full run followed
+by targeted repairs, not a second complete run. Logs are under
+`local/visitor-names/`, including `full-summary.json`, `repaired.json`,
+`recipient-fixed.log` and `patients-fixed.log`.
User-chosen names follow the original creator: remove characters other than
ASCII letters and digits, capitalize the first letter and lowercase the rest,
diff --git a/server/skill_nano_test.go b/server/skill_nano_test.go
@@ -155,6 +155,7 @@ func TestSkillNanoOmittedStatsUseOriginalConstructorDefaults(t *testing.T) {
if omitted == 287 {
recipient := *player
recipient.id, recipient.position = 2, [3]float32{17, 0, 0}
+ recipient.name = "Recipient"
recipient.inventory = playerInventory{}
world.characters[2], world.nextCharacter = &recipient, 2
world.clients[2] = &worldClient{id: 2, conn: &combatTestConn{}, ready: true, target: true}
diff --git a/server/treatment_kit_test.go b/server/treatment_kit_test.go
@@ -2,6 +2,7 @@ package main
import (
"encoding/binary"
+ "fmt"
"reflect"
"sync"
"testing"
@@ -117,7 +118,7 @@ func TestTreatmentKitStandingHealerTreatsDistinctPatientsAndRestoresLocks(t *tes
player.setSkillLock_locked(124, time.Now().Add(600*time.Second))
connections := make(map[uint32]*combatTestConn)
for _, id := range []uint32{2, 3} {
- world.characters[id] = &character{id: id, name: "Patient", playfield: player.playfield, position: [3]float32{7, 0, 0}, rotation: [4]float32{0, 0, 0, 1}, level: 1, appearance: 277, stats: testCharacterStats(), health: 1, sitting: true}
+ world.characters[id] = &character{id: id, name: fmt.Sprintf("Patient%d", id), playfield: player.playfield, position: [3]float32{7, 0, 0}, rotation: [4]float32{0, 0, 0, 1}, level: 1, appearance: 277, stats: testCharacterStats(), health: 1, sitting: true}
connections[id] = &combatTestConn{}
world.clients[id] = &worldClient{id: id, conn: connections[id], target: true, ready: true}
if err := world.saveUser_locked(world.characters[id]); err != nil {