T-2LBP-mc-typed-cell-rewire-touchpoints
Status: planning/backlog · Impact: high · Complexity: medium
Once W1 (T-2YLD-mc-structured-cells-upstream) ships typed cells and typed row read-back, the touchpoint parsers stop re-splitting raw rows and instead read typed rows straight off the contract — making the contract the single source for both the table shape AND the kind classification. Three files lose their hand-rolled splitting/casting layers:
plugin/lib/model/entities/task/ops/parse-touchpoints.ts— deletesplitTableRow(~226-232),stripBackticks(~325-331), and therawTableShapefallback (therawTableShapehelper ~153-182 plus the raw row-walk fallback insideparseTableRows~280-322) once the typed projection supplies cells with their verbatim Location backticks and a typedKind.plugin/lib/model/entities/task/ops/resolve-touchpoints.ts— remove theas unknown as { … rows: ParsedRow[] }casts on theparseToday/parseFilesToTouchresults (248-286) and the parallel:74) once the op returns typed rows.ParsedRowinterface (plugin/lib/model/entities/task/ops/gap-report.ts— collapse the separate four-way*_kindclassification it sources fromparse-touchpoints(thetoday_kind/files_to_touch_kindplumbing ~294-295, 535-536 and the classification branches ~204-216) so the contract — not a parallel classifier — is the source for both shape and kind.
Acceptance criteria
Section titled “Acceptance criteria”- AC-1: Touchpoint rows are read as typed rows (
row.Location/row.Kind) off the W1 projection; no positionalstring[]re-indexing or re-splitting remains in the three files. - AC-2:
splitTableRow,stripBackticks, and therawTableShapefallback are deleted fromparse-touchpoints.ts; theas unknown ascasts and theParsedRowinterface are removed fromresolve-touchpoints.ts; gap-report’s separate four-way*_kindclassification is collapsed onto the contract. - AC-3: Behavior preserved —
sdlc task gap-reportoutput, the four-waytable/prose/missing/bulleted-legacyclassification, and every pinned row-error message (cell-count mismatch,row before separator, invalid kind, symbol-on-glob) are byte-identical; the touchpoint op/gate tests stay green.
Out of scope
Section titled “Out of scope”- The placeholder scanners (
scan-placeholders.tsand its twin) — that is W3 (T-G93C-mc-migrate-scan-placeholders).
Depends on
Section titled “Depends on”T-2YLD-mc-structured-cells-upstream