fix: walls r1 review — server (ref #52)

This commit is contained in:
2026-11-20 08:42:50 +01:00
parent f9f26a4a01
commit e1a5b297e4
11 changed files with 198 additions and 167 deletions
+2 -1
View File
@@ -299,7 +299,8 @@ proc playerView*(ctx: Context, playerId: int): PlayerView =
result.encountered.add EncounteredView(id: eid, name: e.entryName, grey: eid notin visible)
when defined(leakfault):
# Negative controls (DESIGN 10.3): add what the honest rule just refused, so the harness proves
# it would notice. Never a second copy of the visibility rule. # The two "add a token the honest rule refused" controls build the frame exactly as the honest
# it would notice. Never a second copy of the visibility rule.
# The two "add a token the honest rule refused" controls build the frame exactly as the honest
# path would, so the class they report stays the one they were built for (a bucket mismatch here
# would add an OWNER_PROP/CHAR_OWNER_PROP class and blunt the assertion).
proc leakedView(t: TokenRec): PlayerTokenView =