Skip to content

Tell other plugins who may know whose grave it is (0.7.0) - #13

Merged
mgilardi merged 4 commits into
mainfrom
may-know
Nov 23, 2026
Merged

mgilardi merged 4 commits into
mainfrom
may-know

Conversation

@mgilardi

Copy link
Copy Markdown
Contributor

D231 (K680): ReachService.mayKnow(viewer, owner, world) follows the chat rules and works while the owner is offline from a small known-players.yml (circle names and bypass only). Unknown owners fail closed. 12 new unit tests; not run on a live server.

🤖 Generated with Claude Code

mgilardi and others added 4 commits November 21, 2026 13:31
D231: LanternGraves should show an owner's name only to players the
server's groups allow. ReachService.mayKnow answers that with the chat
rules, and a small known-players.yml keeps each player's circles so the
answer works while the owner is offline. Unknown owners fail closed.
Unit tests only; not run on a live server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Offline owners count only through a shared circle or bypass, the
same-world clause needs both players in that world group now, and no
circles means nobody but the owner. Documents the offline delay and
drops the any-thread claim. Unit tests updated and extended.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
D231 (K680): with MAYOR_LG_JAR set, the live suite makes real graves and
checks which bots see the owner's name or "Grave" against a model of
mayKnow. Passed 94/94 on a throwaway Paper 26.3 server with LanternGraves
0.2.0 (PR #8), 2 skipped (sign and anvil need a real client). How the
labels look in a real client is still untested.

Task: K680
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Task: K680
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mgilardi
mgilardi merged commit 9fc2bcb into main Nov 23, 2026
2 checks passed
@mgilardi
mgilardi deleted the may-know branch November 23, 2026 06:32
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