docs/plans/2026-04-10-date-contract-expansion-lane-closeout-plan.md
Executed.
The audit confirmed that Lane 3 was already effectively closed in code and most docs.
Outcome:
YYYY-MM-DD date node values stay locked<date value="YYYY-MM-DD" />Decide whether Lane 3 is still a real implementation lane or whether the repo already shipped the narrow date contract and now only needs roadmap / docs closure.
Current hypothesis: most of Lane 3 is already done. The remaining work is likely truth cleanup, not another date-schema expansion batch.
The current roadmap still says:
Lane 3: Date Contract Expansion in the active todo queue.But the current repo and parity docs already say:
YYYY-MM-DD date node values are locked<date value="...\" />That smells like a lane that is already closed in code but not closed in the roadmap.
date as canonical and rawDate as fallback in
date-node.tsx
and
date-node-static.tsxYYYY-MM-DDDate as lockedstatus: openChoose one of these two outcomes:
Use this if the audit confirms the current narrow date contract is already the intended shipped answer.
What this means:
Use this only if the audit finds a real unresolved widening decision, such as:
Current repo grounding does not point this way yet.
Pick Option A unless the audit turns up a concrete missing contract edge.
The current code, tests, and public docs already align around one narrow date contract. Keeping Lane 3 open without a real widening delta just creates fake queue pressure.
Goal:
Files to inspect:
Questions to answer:
YYYY-MM-DD the only shipped node value?Expected result:
Goal:
Files:
Work:
Goal:
Files:
Work:
If Unit 1 finds no code delta, verification is docs-only.
If a date runtime/doc contradiction is found and code changes are needed, run:
pnpm installbun test packages/markdown/src/lib/dateElement.spec.tsbun test packages/date/src/lib/**/*.spec.tsbun test apps/www/src/registry/ui/date-node.spec.tsx apps/www/src/registry/ui/date-node-static.spec.tsxpnpm turbo build --filter=./packages/date --filter=./packages/markdown --filter=./apps/wwwpnpm turbo typecheck --filter=./packages/date --filter=./packages/markdown --filter=./apps/wwwpnpm lint:fixLane 3 is ready to close when:
If Lane 3 closes under this plan, the next real queue item becomes:
Lane 4: Media / Embed Expansion