Accidental Perspective Shift Detector
Highlight possible grammatical-person shifts with scene-aware quotations, original-source spans and local reports.
The problem it solves
Accidental Perspective Shift Detector Highlight possible unintended changes in grammatical person across manuscript paragraphs. The command runs locally, uses explicit UTF-8 JSON input, and produces deterministic JSON or Markdown reports without modifying the supplied source material.
Who Accidental Perspective Shift Detector is for
- People who need a small, purpose-built utility instead of a broad platform.
- Users working with writing, perspective, viewpoint who want the documented v1.2.1 behavior.
- People who prefer an open-source release with visible limitations, source, and license terms.
Intended result
Highlight possible grammatical-person shifts with scene-aware quotations, original-source spans and local reports.
This summary is reconciled from the current catalog and repository documentation.
Features in v1.2.1
Capabilities below come from the current project README and release documentation.
Highlight possible unintended changes in grammatical person across manuscript paragraphs. The command runs locally, uses explicit UTF-8 JSON input, and produces deterministic JSON or Markdown reports without modifying the supplied source material.
Verified examples
Screenshots are shown only when the current README references a local source image. Otherwise, repository example files are linked directly.
Platforms and implementation
The public release claims only the cataloged platforms and technologies.
Supported platforms
- Windows
- macOS
- Linux
Built with
- Python
What changed in v1.2.1
- Exclude quoted dialogue across paragraph boundaries within each scene while retaining exact source spans.
- Render authored Markdown and HTML literally, with protected JSON fences and generated pronoun emphasis.
- Refuse existing files and dangling output links using explicit link checks and exclusive creation.
Changelog
Release notes from the canonical v1.2.1 source tag.
- Keep quoted dialogue excluded across paragraph boundaries within each scene.
- Render manuscript Markdown and HTML literally and protect embedded JSON fences.
- Refuse output path races and dangling symbolic links through exclusive creation.
- Added original-source spans.
- Preserved legacy defaults and added synthetic boundary and compatibility tests.
- Add explicit scene contracts, viewpoint intent, suppression notes and configurable quote-aware pronoun evidence.
- Added regression coverage for the audited behavior and invalid inputs.
- Released the first complete Accidental Perspective Shift Detector command-line workflow.
- Added deterministic JSON and Markdown reporting, representative examples, and cross-platform tests.
Quick start
The shortest documented path into the current release.
Before running these source commands, download the v1.2.1 source archive, extract it, and open a terminal in the extracted project folder containing README.md. Follow the tagged README for required runtimes and any platform-specific setup.
python -m pip install .
perspective-shifts examples/sample.json
perspective-shifts examples/sample.json --format json --output report.jsonThe example documents the complete v1 input shape. Markdown is intended for immediate review; JSON preserves structured evidence for scripts and later comparison. An existing output file is never overwritten.
Current limitations
These boundaries are part of the product and prevent the page from implying unverified capability.
Quotation spans are recognized across blank lines within each scene, so multi-paragraph dialogue does not become narrative pronoun evidence. Scene boundaries remain independent; unmatched quotes remain a documented heuristic limitation. Original source spans still slice the supplied text exactly. Markdown renders authored HTML and formatting as literal text while retaining generated pronoun emphasis, and JSON sections use fences that cannot be closed by manuscript backticks. Output creation uses exclusive file creation, including refusal of dangling symbolic links.
Run the full test suite, including tests/test_gold.py, and both packaged examples from an installed wheel and a source distribution before release.
Privacy and licensing
Review the actual data boundary before using a tool with sensitive inputs.
Privacy and safety
All manuscript text stays local.
Python 3.10 or newer is supported on Windows, macOS, and Linux. The package has no runtime dependencies, telemetry, account, or hosted service.
License and release
Accidental Perspective Shift Detector is published under MIT. The current cataloged release is v1.2.1, published 2026-10-20.
Related projects
Related projects are selected deterministically from shared catalog tags, category, and implementation technologies—not popularity or paid placement.
Accidental Perspective Shift Detector v1.2.1
Use the tagged release for downloads and release notes. Use the repository for source, issues, contribution guidance, security reporting, and complete documentation.
Page source: current Forge catalog plus README and CHANGELOG from the canonical GitHub release tag. Fingerprint: 5fe0167a8e79e558.