docs/execution/briefs/implement-plan-19.md
Read approved plan 19 from local planning checkout only when HEAD equals
a2557b2ad40e06e1e63eb655f286e6a78fe6bf0d; otherwise use
git show a2557b2ad40e06e1e63eb655f286e6a78fe6bf0d:plans/19-literal-rich-text-whitespace.md. Read current AGENTS.md,
RTK, issue/domain guidance, ADRs, applicable TDD skills, and completed Plan 16 implementation/review reports. This unit must
start from or rebase onto reviewed Plan 16 head because both own rich editor/HTML seams; never implement concurrently. Run
root Intent inventory and load matching local skill before edits. Do not spawn subagents, touch ledger, mutate issues, merge,
push, or create PR.
Require clean dependent worktree, revalidate issue 3397/open PRs/current main and Plan 16 head, rename branch
codex/issue-3397-literal-whitespace, and record exact stacked base. Preserve paragraph indentation, Unicode-space fixes, and
table-cell support. Approved persisted marker is data-resume-whitespace="preserve"; unmarked legacy HTML must remain
unchanged. No global whitespace mode, NBSP substitution, code-block feature, or tab-key redesign.
Strict TDD, atomic web/PDF/DOCX contract:
Run focused web/PDF/DOCX tests including Plan 16 table regressions, affected typechecks, boundaries, full build, E2E against
dedicated DB, narrow non-writing Biome, and diff/scope gates. Disclose/inspect any write-capable pnpm check. Commit locally;
no push/PR before independent review.
Write .orchestration/plan-19-implementation.md: exact dependency/base, live/drift state, facts vs uncertainty, RED/GREEN,
commit/files, tests/results, skipped visual/E2E gates, risks, issue coverage, PR not created. Final response at most ten lines.