Fountain Coach Gitowner-controlled · read only

FountainTextLayoutKit.git · AGENTS.md

FountainTextLayoutKit.git / AGENTS.md

revision 8fcc9e06129c5b4534b20d140428406b9fe8e3ad · complete file

# FountainTextLayoutKit — Agent Guide

- This package is a rendering-neutral text-layout boundary. Keep Reframe mediation, Composer state, FountainStore,
  AX identifiers, provider/lane policy, MIDI2 operations, and publication decisions outside the package.
- `FountainMarkdownPresentationKit` owns Markdown/Fountain parsing and source preservation. Do not add a second parser
  here.
- Apple text is rendered by native SwiftUI/AppKit consumers. The Apple target supplies semantic tokens and native font
  mapping; it does not draw glyphs or infer content from pixels.
- ScoreKit/RulesKit and Teatro are separate domain projections. Do not import them into this package.
- Do not truncate by byte, token, or numeric budget. Long content remains visible and is diagnosed as overfull.
- Run `swift test` before claiming implementation. Release claims require the tagged artifact, changelog, and
  provenance recorded in the release notes.