Skip to content

docs(audit): re-validate the #2901 audit against spec 17, with three corrections - #2975

Merged
os-zhuang merged 1 commit into
mainfrom
docs/audit-2901-revalidate-spec17
Jul 30, 2026
Merged

docs(audit): re-validate the #2901 audit against spec 17, with three corrections#2975
os-zhuang merged 1 commit into
mainfrom
docs/audit-2901-revalidate-spec17

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

The audit in #2937 was run against @objectstack/spec@16.0.0-rc.0. objectui has since moved to 17.0.0-rc.0 (#2950), so a reader would be applying its findings to a different spec than it examined. Re-extracted and re-diffed everything.

The enum-value findings all hold. Of the 30 named ui/ enum exports, zero changed values between 16 and 17. Only movement: DensityModeSchema and WcagContrastLevelSchema removed (which resolves a Tier 4 row upstream — enforce-or-remove was applied), ChartAggregateFunctionSchema added.

Three corrections, though, and the first reverses something the doc asserted:

  1. before/after are spec vocabulary, not renderer dialect. The Direction B table called them objectui-local with "no spec vocabulary defining them". They are canonical VIEW_FILTER_OPERATORS members (ui/view.zod.ts:90). The actual defect is worse: the spec's view-authoring vocabulary and its query-layer AST vocabulary disagree on 8 of 19 members, including equals. Six were masked only because objectui's adapter happened to translate them; the two it missed returned unfiltered result sets silently. Fixed in fix(list,data): bridge every spec view operator onto the filter AST (#2901) #2974; server side at A filter with an operator outside VALID_AST_OPERATORS is silently dropped, not rejected — single-condition views return unfiltered results objectstack#3948.

  2. "Cheap while spec 16 is still RC" was wrong twice — no version window exists, and RC status isn't what makes narrowing risky. Narrowing is loud for new authoring and silent for stored data, and saveMeta persists the authored body verbatim so the schema's own normalization never reaches the row.

  3. The Tier 1/Tier 2 split missed a third outcome: a filter not applied at all, returning a superset. Ranks with Tier 1, not Tier 2.

Also records — so nobody re-derives it — that the "objectui resolves two spec versions simultaneously" finding was a stale-checkout artifact rather than a defect.

Docs-only. Appended as an addendum rather than rewriting the body, so the original point-in-time audit stays readable and the corrections are attributable.

🤖 Generated with Claude Code

…corrections

The audit was run against 16.0.0-rc.0; objectui has since moved to 17.0.0-rc.0
(#2950). Re-extracted every enum: of the 30 named `ui/` exports, **zero changed
values**. `DensityModeSchema`/`WcagContrastLevelSchema` were removed (resolving a
Tier 4 row upstream) and `ChartAggregateFunctionSchema` added.

Three corrections, one of them reversing an attribution:

1. `before`/`after` were listed as objectui-local dialect. They are canonical
   `VIEW_FILTER_OPERATORS` members. The real defect is that the spec's view
   vocabulary and its AST vocabulary disagree on 8 of 19 members — six masked
   only by an adapter alias table that happened to be complete for them.
2. "Cheap while spec 16 is still RC" was wrong twice: there is no version window,
   and RC status is not what makes narrowing risky. Narrowing is loud for new
   authoring and silent for stored data, and `saveMeta` persists verbatim so the
   schema's own normalization never reaches the row.
3. The Tier 1/Tier 2 split missed a third outcome — a filter not applied at all,
   returning a superset. Ranks with Tier 1.

Also records that the "objectui resolves two spec versions" finding was a
stale-checkout artifact, not a defect, so nobody re-derives it.

Refs #2901, objectstack#3948

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

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
objectui Ignored Ignored Jul 30, 2026 2:53am

Request Review

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jul 30, 2026
@os-zhuang
os-zhuang merged commit ff32e38 into main Jul 30, 2026
4 checks passed
@os-zhuang
os-zhuang deleted the docs/audit-2901-revalidate-spec17 branch July 30, 2026 04:46
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant