# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.1.0] - 2026-06-09

### Added

**Core infrastructure**
- MCP SQLite server integration — all DB access via `MCPClient` interface
- 19-table schema with full migration system (`runMigrations`, `getMigrationTables`)
- `NovelWriterExtension` facade with lazy-loaded subsystems
- `CommandRegistry` with Levenshtein "did you mean" suggestions
- `CommandParser` with quoted-string tokenisation and short-flag support

**Content creation & sync**
- `CharacterSync`, `ChapterSync`, `SceneSync`, `LocationSync`, `PlotSync`
- `PlotThreadSync`, `WorldRulesSync`, `TimelineSync` — YAML/Markdown → DB upsert
- Interactive builders for characters, chapters, scenes, locations, plots, world rules
- `ManuscriptAssembler` with pandoc export (Markdown, DOCX, EPUB, PDF)

**Analysis layer**
- `ProseAnalyzer` — economy score, show/tell ratio, sensory balance, character voice analysis
- `PacingAnalyzer` — tension arc, POV balance, chapter lengths, ASCII chart
- `ConsistencyChecker` — attribute contradictions, timeline violations, unresolved promises
- `DraftScanner` — [TK], [TODO], [FIXME], [CHECK] marker detection with code-fence skip
- `CopyEditor` — POV slip, tense shift, name variant detection
- `DevelopmentalAnalyzer` — scene purpose audit, subplot balance, plot hole detection
- `ReadAloudPreparer` — rhythm analysis, rhyme detection, markup stripping

**Intelligence layer**
- `KnowledgeService` — narrative knowledge objects with tag and relevance queries
- `CanonService` — canon items, conflict detection and resolution
- `NarrativePromiseService` — promise/payoff tracking with fulfillment status
- `ContextPolicyEngine` — deterministic context fingerprinting (SHA-256)
- `NarrativeGraphService` — scene-level narrative graph with edge traversal

**Extended features**
- `ResearchService` — research notes with tag filtering and `[VERIFY:]` marker scanning
- `CharacterArcService` — arc milestone tracking with static-run detection
- `BetaReaderService` — reader management with feedback aggregation
- `ForeshadowingService` — foreshadowing note tracking with chapter payoff linking
- `SeriesManager` — multi-book series with shared bible and cross-book thread tracking
- `QueryTrackerService` — AI query log with tag-based retrieval
- `SnapshotManager` — LCS-based revision snapshots
- `SyncStateRepository` — conflict detection for external file edits

**AI generation**
- Scene continuation with 3 alternatives and configurable count
- Character profile, location description, dialogue enhancement
- Plot thread development suggestions
- Synopsis, query letter, pitch, and comp title generation
- POV-anchored generation with character voice loading
- Hemingway one-true-sentence mode (`generateNextSentence`)
- Name generation, premise workshopping, character sketch generation
- Opening-line workshop (`workshopOpeningLines`)

**CLI commands**
- `init`, `create`, `list`, `sync`, `chapter`, `scene`, `character`, `location`
- `plot`, `world-rule`, `timeline`, `session`, `progress`, `check`, `export`
- `generate`, `idea`, `knowledge`, `canon`, `promise`, `context`, `graph`
- `revision`, `draft`, `analyze`, `research`, `beta`, `query`, `series`, `help`

[Unreleased]: https://github.com/mrskwiw/claude-novel-writer/compare/v0.1.0...HEAD
[0.1.0]: https://github.com/mrskwiw/claude-novel-writer/releases/tag/v0.1.0
