Skip to content

feat: enforce narrative fair-play checks - #307

Merged
caoergou merged 1 commit into
mainfrom
agent/issue-267-narrative-lint-patterns
Jul 29, 2026
Merged

caoergou merged 1 commit into
mainfrom
agent/issue-267-narrative-lint-patterns

Conversation

@caoergou

Copy link
Copy Markdown
Owner

Summary

  • add opt-in required / optional PuzzleGraph clue layers, required-node solve proofs, and warning-only diagnostics for incomplete layers, silent progress, and timer-delivered clues
  • add explicit content-pack narrative metadata with Chekhov's-gun and red-herring validation, including stable warning codes and real payoff-location checks
  • mirror player file:update and file:unlock events into the headless solver filesystem before trigger evaluation
  • add lint-clean Patterns 19–24 for truth archives, challenge-the-reader checkpoints, false-to-true solutions, unreliable narration, clue-in-noise newspapers, and midpoint injections

Validation

  • npm run scenario:ci (24 pattern fixtures, zero errors and zero warnings)
  • npm run schema:check
  • npm run typecheck:strict
  • npm run lint
  • npm run knip
  • npm run scenario:build
  • npm run build:lib
  • npm run size:check
  • focused Vitest regression suites: 61 tests passed

Closes #267

@caoergou
caoergou merged commit f503d35 into main Jul 29, 2026
4 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.

[P2] 叙事守则机器化 + 模式库第三批:把 MYSTERY-DESIGN-RESEARCH 的 ⚙/🧩 结论落进工具链与模式库

1 participant