Skip to content

Let player dots follow Posse's circles (0.5.3) - #14

Merged
mgilardi merged 4 commits into
mainfrom
safety/player-dots-posse
Dec 1, 2026
Merged

mgilardi merged 4 commits into
mainfrom
safety/player-dots-posse

Conversation

@mgilardi

@mgilardi mgilardi commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

BlueMapMini 0.5.3 can limit player dots to the people Posse's circles allow (players.audience: posse). The default stays world. A mistyped or misplaced audience key, or a config that can't be read, counts as posse. With Posse missing, too old, paused or failing, no dots show. Needs Posse 0.11.3.

Tested: clean build with 113 unit tests and no failures, rerun by a second session, and the leak check. In the building session, the live Posse suite passed 46/46 and the rest of the live suite 341/341 (one skipped) on throwaway 26.1.2, 26.2 and 26.3 servers.

Not tested on a server: a repeated key, a broken config.yml or an older Posse. No real game client.

🤖 Generated with Claude Code

mgilardi and others added 4 commits November 30, 2026 10:12
Dots showed everyone nearby in the same world, which isn't safe in a
world that players from different groups share. players.audience: posse
keeps a dot only when Posse's reach check allows it, and shows no dots
when Posse is missing, paused or failing. A bad value or a config.yml
that can't be read counts as posse. The default stays world.

Tested: unit tests (99, 22 new). Not tested: nothing has run on a
server. The new live checks in test/live/posse.js haven't been run.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A safety review found that dots used the rule chat follows, which allows
anyone in the same world unless it's circle-only, so players in different
circles saw each other's dots in a shared world. Dots now ask Posse's
circles-only check, added in Posse 0.11.3. A Posse without it means no
dots, logged once with no names. Chat's check is never used as a fallback.

The live Posse suite now tests dots in a world that isn't circle-only,
includes a same-world refusal, and gives posse.bypass to the bots that
join a paused server. The HUD's filtering has unit tests of its own.

Tested: 104 unit tests, node --check on the live script, leak check.
Not tested: nothing has run on a server. The live checks and the new
helper command are written and not run.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A typo or a misplaced line left players.audience unset, which means world. A key that looks like audience anywhere but players.audience and share.audience, and a repeated key, now count as posse. Other unknown keys under players are warned about.

113 unit tests pass, and the build and leak check pass. Nothing has run on a server, and no test covers the plugin writing these warnings to the console.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The live posse test now covers two mistyped audience keys, posse.bypass both
ways and a Posse with no circles. The docs record the server results.

On 26.1.2, 26.2 and 26.3 the posse test passed 46/46 and the rest of the live
suite 341/341, with the client font check skipped. Not tested: a repeated key,
a broken config.yml or an older Posse on a server, or a real game client.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@mgilardi
mgilardi merged commit 837538a into main Dec 1, 2026
2 checks passed
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.

1 participant