NOTE: THIS IS FOR AIs TO READ. If you are human, head to README_FOR_APES.md
Universal Apple-platform Markdown viewer for macOS, iPhone, and iPad.
The repository is being bootstrapped from an empty Xcode template into a Codex-friendly control plane plus a native rendering shell. The durable workflow lives in the files below:
AGENTS.mdARCHITECTURE.md.agents/PLANS.mddocs/PLANS.mddocs/exec-plans/active/2026-03-19-swift-codex-cli-harness.mddocs/harness.mddocs/debug-contracts.md
Prerequisites:
- full Xcode installed
xcodebuild,swift, andpython3available in Terminal- iPhone and iPad simulators installed if you want simulator smoke coverage
Bootstrap and inspect the environment:
./scripts/bootstrap-appleBuild the app:
./scripts/build --platform allRun narrow validation:
./scripts/test-unit
./scripts/test-ui-macos --smoke
./scripts/test-ui-ios --device iphone --smoke
./scripts/test-ui-ios --device ipad --smokeRun the fast Codex loop:
./scripts/agent-loopCapture a deterministic checkpoint:
./scripts/capture-checkpoint \
--fixture basic_typography.md \
--platform-target macos \
--checkpoint shell-smoke-macosQuick Markdown Viewer/- Xcode project, app target, unit tests, and UI testsQuick Markdown Viewer/Quick Markdown Viewer QuickLook/- bundled macOS Quick Look preview extension sourceFixtures/- deterministic markdown/media fixtures and expected outputsscripts/- build, test, capture, docs, and knowledge toolingdocs/- durable planning, harness contracts, and internal reliability/security docs.agents/- ExecPlan standard, execution runbook, and implementation notes.codex/- local Codex environment configuration
- The renderer stays native. No
WKWebView, HTML, CSS, or JavaScript rendering belongs in this repository. - Shared core logic must remain platform-neutral. AppKit and UIKit belong only in thin host adapters.
- The macOS Quick Look extension is bundled with the app and enabled by default through app-extension registration; users disable it through System Settings if needed.
artifacts/is runtime-only and ignored by git.