Credibility pass: one teleport step, one bell, one step type, and the comments that argued are gone

Since 6e49fc9. Engine: the teleport BFS in the view and the engine's
wallIgnoringDistance share teleportStep; the counter trail is weighed
between steps instead of on six arms; the bush attack takes its
adjacency from SIDES like the wall does; a dead redirected clause, a
one-member set, an identity ternary, and a stray try/catch are gone;
two tests now assert what their names promise. Server: KEEPER and
MAX_SEATS live in rooms.ts, the three Sentry bells ring through one
helper, the unread reply field is dropped, actingSeat comes from the
engine, and the protocol header names every message. Web: ReplayStep
is one type, cardName one helper, the say box and the reference section
one snippet each, the keeper's name arrives from the server rather than
the source, and the lifesaver ruling that ruled nothing is out.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jm2auWk6RP71CjaAb4FMoG
This commit is contained in:
Eric Wagoner
2026-09-22 09:56:49 -04:00
co-authored by Claude Fable 5.1
parent c4a555f8df
commit 66b5c06f17
21 changed files with 245 additions and 239 deletions
+6 -6
View File
@@ -1262,14 +1262,14 @@ describe("the common enemy and the interception", () => {
it("leaves a carrier alone whose delivery would not win", () => {
const state = tableOf(["bot", "foe"], 5);
const bot = state.players.find((p) => p.id === "bot")!;
const foe = state.players.find((p) => p.id === "foe")!;
const forGold = automatonCommand(viewFor(state, "bot"), "hunter", "archmage");
const forFoe = automatonCommand(viewFor(state, "bot"), "berserker", "archmage");
expect(forGold).not.toEqual(forFoe);
const t = state.treasures.find((t) => t.owner === "bot" && t.position && !t.carriedBy)!;
t.position = null; t.carriedBy = "foe"; foe.carriedTreasureId = t.id;
// Nothing banked: the foe is merely a thief of my gold — the chase
// rule, not the interception, decides; with no attack in hand the
// hunter goes for gold as before.
const plain = automatonCommand(viewFor(state, "bot"), "hunter", "archmage");
expect(plain?.type).toBe("move");
// Nothing banked: the foe is merely a thief of my gold, and with no
// attack in hand there is no chase — the hunter's march is the gold's.
expect(automatonCommand(viewFor(state, "bot"), "hunter", "archmage")).toEqual(forGold);
});
});