Repository navigation
docs: a cube member's sql is a column reference, in ADR-0021, the dashboards skill and the cube checklist item - #21071
Conversation
… note, dashboards skill, cube checklist item) The governed half of ruling D. ADR-0021 gets a dated note under D1 naming MetricSchema / DimensionSchema sql in data/analytics.zod.ts. The objectstack-ui dashboards rules stop escalating past a dataset to a hand-authored Cube with raw SQL, and stop naming a formula field as a stored escape. The dashboards.cube-query checklist item drops the showcase cube's done_rate, which now lives on its dataset. Claude-Session: https://claude.ai/code/session_01Sfe5YjBLwB9J3y8fvm2xq1 Co-authored-by: Claude <noreply@anthropic.com>
Contract reviewServed-tier: Inputs read: card #20943 (body and all 10 comments: the seat analysis ① Derived judgmentsAccept set and public surface. The diff touches A. ADR-0021 note (D1, after the RLS paragraph) — every sentence tested against the tree at the head, verdict RIGHT.
B.
C.
D. PR body, as text the maintainer acts on. "Part of #20943", "Clause-②: no", three files, no package source, "No changeset: none of the three paths ships in a package's files[]" (verified: no E. BLOCKING — the same published skill still teaches the retired escalation, outside the three files.
② Semver levelRight. The diff publishes nothing from any package: ③ Boundary flags
Check-runs on Implemented-by: VERDICT: FAIL Adopted and posted by
Generated by Claude Code |
Eval 2's expected output escalates a rolling window to a stored or materialized rolling field or app code, not a Cube: a cube member's sql is a column reference. Its must_contain drops "Cube", which a correct answer no longer needs to name. The evals README names the same escalation: a stored field or app code. Both files shrink. Claude-Session: https://claude.ai/code/session_01Sfe5YjBLwB9J3y8fvm2xq1 Co-authored-by: Claude <noreply@anthropic.com>
Contract reviewServed-tier: Delta re-review of a docs-only Tier H PR, on the one commit appended since the FAIL record ① Derived judgmentsAccept set and public surface. The delta touches two files under A. The delta — the two re-spelled sentences, verdict RIGHT.
B. Eval 2's assertions still grade the behaviour its expected output describes, verdict RIGHT.
C. Nothing else under D. Nothing else changed, verdict RIGHT. E. The prior record's judgments, re-read at this head against current
F. The PR body at this head, as text the maintainer acts on. "Part of #20943" (the card is reopened for this half;
② Semver levelRight. The diff publishes nothing from any package: the five paths are ③ Boundary flags
Check-runs on Implemented-by: VERDICT: PASS Adopted and posted by
Generated by Claude Code |
维护者速读(终稿)· 2026-10-01T05:44Z
改了什么:
为什么改:
风险与代价(含回滚):
席位意见:
你要做的:
Generated by Claude Code |
Part of #20943
Clause-②: no
Ruling D's governed half (Tier H, docs only). The code half landed as #20998 (
5d5e679873). Five files, no package source:docs/adr/0021-analytics-dataset-semantic-layer.md: a dated note at the end of D1 namingMetricSchema/DimensionSchemasqlinpackages/spec/src/data/analytics.zod.ts.skills/objectstack-ui/rules/dashboards.md: the iron rule no longer escalates to a hand-authored Cube with raw SQL, or to aformulafield (virtual, no stored column); the Level A table drops "any custom-SQL metric". File: 468 lines and 6211 tokens before and after. Package: everyskills/**/SKILL.mdtogether is 4395 lines before and after (none is touched).skills/objectstack-ui/evals/analytics-inline-vs-dataset.json(eval 2) andskills/objectstack-ui/evals/README.md: the same skill's eval fixture and its index no longer name a Cube as an escalation. Eval 2'smust_containdrops"Cube", which a correct answer need no longer say. Tokens: the eval file goes from 1102 to 1097 (ceiling 1102), and the README from 287 to 286 (ceiling 289). Lines: 57 and 31, unchanged.docs/qa/platform-checklist/areas/dashboards.json:dashboards.cube-queryrevision 3 drops the showcase cube'sdone_rate, which now lives on its dataset.No changeset: none of the five paths ships in a package's
files[].维护者速读(草稿)
sql只能写列引用;写表达式,解析时就会被拒。这是裁决 D,代码已随 feat(spec)!: an analytics cube member's sql is a column reference, and the showcase done rate moves to its dataset (#20943) #20998 落地。done_rate,它已经搬到 dataset 上了。Generated by Claude Code