feat: add continuity engine, manuscript import, and PR automation templates - #3
Merged
Merged
Conversation
…plates - New src/continuity.js: deterministic continuity checks wired into a new 'story continuity' command and folded into doctor, report, and next. Catches dead characters appearing after their died-in chapter, payoffs before plants, questions resolved before introduced, unfired Chekhov promises, POV/cast mismatches, chapter numbering gaps, completion-state contradictions, and broken continuity/state.md references. - New schema fields: optional character died-in, and chapter/scene mentions for posthumous or flashback references that should stay legal. - New src/import.js: 'story import' splits an existing manuscript (file or directory) into a new project with accurate word counts and registries, and prints recurring proper-name candidates for bible building. - New examples/the-unraveled-thread: deliberately broken project whose exact findings are asserted by check-examples.js, doubling as the README demo and a regression test. Harbor example enriched with populated continuity state, a planted promise, and an open question. - New templates/github: story-checks.yml CI for story repos and draft-next-chapter.yml for writing a book via scheduled chapter PRs. - CLI failure summaries now use a failure message instead of repeating the success message. Docs, skills, JSON schema updated; version 0.3.0. https://claude.ai/code/session_01XVwAnE2xRMVd7CZR4MrSU1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
'story continuity' command and folded into doctor, report, and next.
Catches dead characters appearing after their died-in chapter, payoffs
before plants, questions resolved before introduced, unfired Chekhov
promises, POV/cast mismatches, chapter numbering gaps, completion-state
contradictions, and broken continuity/state.md references.
for posthumous or flashback references that should stay legal.
directory) into a new project with accurate word counts and registries,
and prints recurring proper-name candidates for bible building.
exact findings are asserted by check-examples.js, doubling as the README
demo and a regression test. Harbor example enriched with populated
continuity state, a planted promise, and an open question.
draft-next-chapter.yml for writing a book via scheduled chapter PRs.
success message. Docs, skills, JSON schema updated; version 0.3.0.
https://claude.ai/code/session_01XVwAnE2xRMVd7CZR4MrSU1