Skip to content

fix: fix State validator returned invalid JSON.#153

Open
nhsprite wants to merge 1 commit intoNarcooo:masterfrom
nhsprite:fix/state-validator-with-invalid-json
Open

fix: fix State validator returned invalid JSON.#153
nhsprite wants to merge 1 commit intoNarcooo:masterfrom
nhsprite:fix/state-validator-with-invalid-json

Conversation

@nhsprite
Copy link
Copy Markdown

@nhsprite nhsprite commented Apr 3, 2026

Summary

Fix the error that:
[ERROR] Failed to write chapter: Error: State validation failed for chapter xx: Error: State validator returned invalid JSON

Type of change

  • Bug fix

Motivation (optional)

Changes

File Change

Usage (optional)

Test plan

  • pnpm typecheck passes
  • pnpm test passes (all existing + new tests)
  • Manual verification:

Breaking changes (optional)

@nhsprite nhsprite force-pushed the fix/state-validator-with-invalid-json branch from 7ce87b8 to ffc4449 Compare April 3, 2026 13:03
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