Skip to content

docs(adr): ADR-0071 correction — matrix already shipped, refocus on multi-hop joins#2293

Merged
os-zhuang merged 1 commit into
mainfrom
docs/adr-0071-correct-matrix
Jun 24, 2026
Merged

docs(adr): ADR-0071 correction — matrix already shipped, refocus on multi-hop joins#2293
os-zhuang merged 1 commit into
mainfrom
docs/adr-0071-correct-matrix

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Why

Before building the matrix "P1" from the freshly-merged ADR-0071 (#2289), I read the latest renderer — and matrix/across pivoting is already implemented end-to-end, so that part of the ADR was based on a stale ADR-0021-era note:

  • RenderDatasetMatrixTable (plugin-report/src/DatasetReportRenderer.tsx): true cross-tab, server subtotals/grand-total, drill-down, with tests.
  • AuthorReportDefaultInspector.tsx exposes type: 'matrix' + a "columns across" editor; report.form.ts reveals columns when type == 'matrix'.

Multi-hop joins remain a real gapnative-sql-strategy.ts:250 still reads "Only the first dotted hop is supported (single-level relation)."

What

  • Adds a Correction section documenting that matrix (ADR-0021 D2) is satisfied, citing the code.
  • Refocuses the ADR title + scope on multi-hop joins only; drops the matrix decision/phase.
  • Keeps the substance: to-one-only fan-out boundary, dotted self-disambiguating paths, depth cap (3), per-hop RLS, prior-art alignment.
  • Phasing is now P1 = multi-hop (framework), P2 = objectui catalog/UI.

Integrity correction to a doc merged minutes ago — no one has built on it yet.

🤖 Generated with Claude Code

…on multi-hop

A code check before implementing the proposed matrix "P1" found matrix/across
pivoting already shipped end-to-end (DatasetMatrixTable in plugin-report +
ReportDefaultInspector type=matrix columns-across + report.form.ts), so the
ADR-0021 D2 matrix follow-up is satisfied — the first draft's "flattened" premise
was stale. Refocus ADR-0071 on the one remaining gap, multi-hop joins, which
native-sql-strategy.ts still rejects ("Only the first dotted hop is supported").
Adds a Correction section citing the matrix implementation.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Building Building Preview, Comment Jun 24, 2026 3:08pm

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation size/m labels Jun 24, 2026
@os-zhuang
os-zhuang merged commit e8246e3 into main Jun 24, 2026
14 of 15 checks passed
@os-zhuang
os-zhuang deleted the docs/adr-0071-correct-matrix branch June 24, 2026 15:15
os-zhuang added a commit that referenced this pull request Jul 5, 2026
fix(app-shell): fast-fail Studio source editors to textarea when Monaco CDN is blocked (#2293)

objectui@821500f5946fdd51d93479d0c4963d025c5b4de5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant