ADR 0032 - Niche limits and workbook pass-through behaviors
- Status: accepted
- Date: 2026-05-09
- Spec target: XTL 0.1
- Affects: evaluation.md "Source Data Model" + "Cell Evaluation"; ADR-0021
Context
The spec audit pass surfaced four small under-specified shapes that share a theme: they're niche, but the corresponding behavior was never normatively documented. Bundling them here avoids opening four micro-ADRs for behaviors that mostly only need a paragraph.
-
String values longer than Excel's per-cell limit (32,767 chars) — what does xl3 do when source data, an evaluated expression, or a template literal produces a cell value that exceeds Excel's 32,767-char per-cell limit?
-
Source headers in merged cells —
__sources__headers in row 1 (or whereversource_tablepoints) can technically be inside merged ranges. What does xl3 read? -
Workbook / sheet properties (tab color, page setup, views, default row height) — how are these preserved from template to output?
-
Integer precision beyond 2^53 — JS numbers are IEEE 754 doubles; integers beyond 2^53 lose precision. What's the spec position?
Considered Options
Each axis has the same option shape (per existing audit-pass treatment):
A. Document existing behavior as the spec. B. Tighten with validation / fixture coverage. C. Defer entirely.