Fountain Coach Gitowner-controlled · read only

FountainEditorKit.git · AGENTS.md

FountainEditorKit.git / AGENTS.md

revision 02bb5ddf56beec015d5c3fe77253441c03b5e3a8 · complete file

# FountainEditorKit — Agent Guide

Scope: Swift Package that provides a reusable Fountain screenplay editor surface (`FountainEditor`) plus deterministic parsing/highlighting utilities.

Invariants
- No external runtime dependencies (SwiftUI/AppKit only).
- Deterministic parsing/highlighting: same input text → same tokens/outlines.
- Editor must never truncate user text and must preserve exact content (no “smart” rewrites).
- Tests must be deterministic and run offline.
- MCP is optional capability only; repo correctness must not depend on MCP.

Routing
- For multi-step or high-risk changes, create or update `PLANS.md` before edits.
- Keep AGENTS declarative; put procedures/runbooks in skills under `.codex/skills/*/SKILL.md`.