Skip to content

feat(mystery): build cases that mislead instead of pointing straight at the culprit - #61

Merged
antiv merged 3 commits into
mainfrom
claude/mystery-game-complex-plot-g018p6
Aug 9, 2026
Merged

feat(mystery): build cases that mislead instead of pointing straight at the culprit#61
antiv merged 3 commits into
mainfrom
claude/mystery-game-complex-plot-g018p6

Conversation

@antiv

@antiv antiv commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Generated cases were solvable in one move: every clue pointed the same way,
no witness ever said anything untrue, and the murder method named the
killer's profession outright. The inspector then closed what little gap was
left by interpreting each piece of evidence out loud.

Generation now demands misdirection: no single clue may identify the killer,
the means must be available to at least three suspects, one innocent is
framed hard enough to be accused mid-game, and every suspect carries a
false_lead — a claim they state as fact but which is wrong — with at least
one of them appearing to clear the real killer. The solution gained
red_herring and turning_point so the reveal explains the trail the player
was meant to follow. Rejected generations now retry with the validation
error attached rather than blindly repeating the prompt.

The featured villa case was rewritten to the same standard: the poison comes
from the victim's own missing heart drops (anyone could take them), a fourth
piece of evidence puts the victim alive on the phone describing his own
symptoms, and the culprit is reachable only by intersecting the glass, the
onset window and the butler's testimony. Viktor now looks guilty for most of
the game.

The inspector is barred from ranking suspects, confirming theories, or
saying what a clue means — he keeps the file, the player runs the case.

Co-Authored-By: Claude Opus 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01ToCUNy2SqwvfTq4a6xfSk1

claude added 3 commits August 9, 2026 15:06
…at the culprit

Generated cases were solvable in one move: every clue pointed the same way,
no witness ever said anything untrue, and the murder method named the
killer's profession outright. The inspector then closed what little gap was
left by interpreting each piece of evidence out loud.

Generation now demands misdirection: no single clue may identify the killer,
the means must be available to at least three suspects, one innocent is
framed hard enough to be accused mid-game, and every suspect carries a
false_lead — a claim they state as fact but which is wrong — with at least
one of them appearing to clear the real killer. The solution gained
red_herring and turning_point so the reveal explains the trail the player
was meant to follow. Rejected generations now retry with the validation
error attached rather than blindly repeating the prompt.

The featured villa case was rewritten to the same standard: the poison comes
from the victim's own missing heart drops (anyone could take them), a fourth
piece of evidence puts the victim alive on the phone describing his own
symptoms, and the culprit is reachable only by intersecting the glass, the
onset window and the butler's testimony. Viktor now looks guilty for most of
the game.

The inspector is barred from ranking suspects, confirming theories, or
saying what a clue means — he keeps the file, the player runs the case.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ToCUNy2SqwvfTq4a6xfSk1
…ching them

check_accusation answered a wrong accusation with the innocent's full
not_killer_note, which reasons from the very facts that solve the case — the
poisoning window, the phone call, the discarded pen. Guessing therefore paid
better than investigating: one bad accusation handed over more of the chain
than a careful interrogation.

Innocents now carry a separate one-line rebuttal: a single verified fact that
blocks the accusation and explains nothing. That is all a wrong accusation
returns. The full not_killer_note moves to the debrief after a correct
accusation, where check_accusation now also returns cleared_suspects so the
inspector can close every thread at once.

Generated cases must supply both fields, and the rebuttal is required to
avoid any fact appearing in turning_point or evidence_chain — a criterion the
tests check against the villa case.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ToCUNy2SqwvfTq4a6xfSk1
The instructions changed in this branch, so a project imported at 1.0 should
show a version delta in the template sync view rather than only a field diff.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ToCUNy2SqwvfTq4a6xfSk1
@antiv
antiv merged commit 627b6c5 into main Aug 9, 2026
1 check passed
@antiv
antiv deleted the claude/mystery-game-complex-plot-g018p6 branch August 9, 2026 15:40
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.

2 participants