You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
finding(docs/guide): schema-rendering.md teaches a chart node binding node-level data to a ${...} expression — not evaluated (the #6665 shape), and a parse refusal since #7113 #7680
documentationImprovements or additions to documentationdomain:devxobjectui devx stream: fix lands on .github/, scripts/ or release pipeline — devx lane cross-repofindingpriority:p3
Measured while implementing #7112 (PR #7679), which corrects the chart examples in packages/types/examples/data-display-examples.json, content/docs/api/schema-reference.md
and content/docs/core/report-schema.mdx. This site is in a fourth file, outside that
card's dispatched surface, so it is filed here rather than fixed there.
Measured on origin/maina472b0716.
The site
content/docs/guide/schema-rendering.md:144 teaches a chart node that binds its rows to an
expression written at node level:
Two things are wrong with it, and the second one is new
1. The expression is not evaluated there. This is the chart sibling of #6665, which
measured the same shape on data-table and was closed as completed: a ${...} expression
written into node-level data is not evaluated — Array.isArray is false and the node falls
back to empty — while the same expression under properties IS evaluated. The author gets a
correct-looking chart frame with nothing plotted, no error and no warning.
2. Since #7113 it is also a parse refusal.ChartSchema.data is now declared z.array(z.record(...)), so the documented node no longer merely renders empty — it is
refused by name. Measured against the built @object-ui/types zod mirror, with a control in
the same run so the instrument is demonstrably not blind:
FAIL expression-bound data: "${chartData}"
path=["data"] :: Invalid input: expected array, received string
PASS CONTROL same node with literal rows
The control is the identical node with data: [{ x: 1 }]; it passes, so the refusal is about
the authored string and not about the rest of the document.
Why this is not #7112, and not a duplicate of #6665
Whether the page should teach the properties spelling that #6665 measured as working, or
teach literal rows plus the documented data-binding route, is a judgement about what this
guide is for — it is the schema-rendering guide, and the surrounding examples are deliberately
minimal. Worth one look at whether other nodes on the same page bind node-level data to an
expression; only this one is a chart.
⛔ Deliberately unassigned and unlabelled, for triage.
Claim: PM loop round R46
Session: session_01FhBNJcLRZLe8M87VcUgpKr
Branch: claude/issue-7680-schema-rendering-chart-data
Worktree: objectui-issue-7680
Domain: domain:devx
File surface: content/docs/guide/schema-rendering.md (the chart node at :145 and, if the same page binds node-level data to an expression anywhere else, those sites — measured on origin/main4922b83: exactly one such site); scripts/check-doc-component-types.mjs ONLY if its per-page entry for this guide (:589) or its test pins the page's node shapes and reds on the corrected example (quote the red); ⛔ no packages/** source, no schema change, no other doc page (stop on breach; explain in the report)
Container & model: S, not mechanical (the judgment the card names: teach the properties-level expression spelling #6665 measured as evaluated, or literal rows plus a pointer to the data-binding route — decided by what the parser accepts AND the renderer evaluates, proven by the dev, not by prose), mode:subagent, model: opus — no path-derived tier mandate on content/docs/**; default judgment tier taken
Clause-②: no
Serial constraints cleared: no triage comment on this card (labels only, from the sweep); premise on origin/main4922b83 at 10:25Z — content/docs/guide/schema-rendering.md:145 reads "data": "${chartData}", the only node-level ${…} data binding on the page; the page moved today (#7931 at the button-keys site) — same-day churn line applies; no open PR touches the page (open claude/* branches read over git at 10:14Z); this seat's in-flight devs (#6892 s1: vi.mock test files + the inherit gate; #5174 b20: one packages/*/README.md + the doc-snippet gate; PRs #8017 / #8019 queued or converging on unrelated files) are disjoint; docs-only dispatch ⇒ the doc pins run locally before pushing (lane fact 17). pm:queue → pm:dispatched + assignee written in one stroke at 10:25Z and read back.
{
"issue": 7680,
"status": "done",
"branch": "claude/issue-7680-schema-rendering-chart-data",
"pr": "https://github.com/objectstack-ai/objectui/pull/8022",
"head": "2e3b92680",
"premise_still_valid": true,
"files_changed": ["content/docs/guide/schema-rendering.md"],
"line_budget": "n/a — not a skills/** diff",
"summary": "A1/A2 confirmed on 4922b83: the page's only node-level expression-bound data key is the chart at :145, and ChartSchema.data is z.array(z.record(...)). One fact the card did not have: ChartSchema.series is REQUIRED, so the authored node is refused TWICE (path=[data] and path=[series]) — a control with literal rows and no series isolates that half. A3 measured on chart rather than assumed: the objectui#6665 four-leg table reproduces exactly (node-level 0 bars, props 0, properties 1, literal rows 1), so properties IS evaluated for chart — and it is still not what the guide now teaches, because skills/objectui/rules/protocol.md (objectui#6665's own remediation) already rules that channel objectui#4795's open contract question rather than a taught surface, because BaseSchema is passthrough so rows under properties are validated by nothing (the CANDIDATE leg passes for that reason), and because ChartRenderer calls no useDataScope so chart has no bind route either. The example now carries literal rows plus the series/xAxisKey pair, with one paragraph stating the mechanism, the objectui#7113 refusal, what the pair selects, and where to resolve the array instead. A4 falsified as a constraint: the per-page entry in scripts/check-doc-component-types.mjs needed no change (no unregistered type added, none of the three exempted ones removed) and its test pin is about empty vs empty-state, untouched — the file surface stayed docs-only. A5 confirmed: doc-snippets is green both sides and is recorded, not leaned on. A6 confirmed: worked from the merged tree at 4922b83 and re-measured the card's quoted snippet against it (the card said :144 on a472b071, current main reads :145).",
"tests": "All readings pinned to final HEAD 2e3b92680; exit codes captured by redirect-then-capture, verdicts quoted from each gate's own line. (a) PARSER, built @object-ui/types zod mirror: FAIL authored node path=[\"data\"] :: Invalid input: expected array, received string AND path=[\"series\"] :: expected array, received undefined; FAIL control literal-rows-no-series at [\"series\"] only; PASS control literal rows + series; PASS candidate properties-bound; FAIL control expression still at node level. Re-run against the node PARSED OUT OF the edited page rather than retyped: PASS ChartSchema.safeParse. (b) RENDERER, real SchemaRenderer inside SchemaRendererProvider holding the rows, counting .recharts-bar after the lazy impl resolves: node-level 0 / props 0 / properties 1 / literal rows 1 — the objectui#6665 shape, first time run on chart. Then the two nodes lifted from the markdown files themselves: BEFORE (4922b83) bars=0 xAxisTicks=0; AFTER (this branch) bars=1 xAxisTicks=2. REVERSE VERIFICATION on the repo's own report-only census scripts/check-doc-expression-carriage.mjs, done after committing, restoring the base file, re-running, restoring the branch file (git diff HEAD empty after): BEFORE 4 sites in 3 pages, naming content/docs/guide/schema-rendering.md :145 chart.data (carriage rows for chart: none) ${chartData}; AFTER 3 sites in 2 pages, 65 expression sites to 64, carried steady at 61 — the page leaves the census and the remaining three belong to the open cards the gate's footer names.",
"gates": {
"check:doc-types": "PASS exit 0 — 'Every documented component type is registered.' (188 doc files, 889 type literals)",
"doc pin suites (vitest, 6 files)": "PASS exit 0 — 'Test Files 6 passed (6)' / 'Tests 344 passed (344)'; suites = check-doc-component-types, check-doc-expression-carriage, check-doc-links, check-doc-snippet-types, check-doc-example-shared-reader, doc-version-claims — derived by git grep -l for the page path plus every scripts/__tests__ file walking content/docs",
"check:doc-fences": "PASS exit 0 — 'every TypeScript block in 227 document(s) is fenced ts/tsx/typescript'",
"check-doc-links.mjs": "PASS exit 0 — 'Links are valid across 17 scan roots.'",
"check:doc-snippets": "PASS exit 0 — '528 of 528 block(s) judged, 0 failed'. First invocation returned 'PRECONDITION NOT MET (exit 2)' (unbuilt packages) — NOT MEASURED, not a red gate; re-run green after the gate's own scoped build filter (34 turbo tasks, all cache hits). Per A5 this gate is recorded, not evidence: JSON fences are outside its filter (objectui#5250).",
"check:doc-example-readers": "PASS exit 0 — 'OK 80 documented symbol(s), 3947 call site(s) … no @example hand-spells one'",
"check:control-bytes": "PASS exit 0 — 'OK (scanned 6446 tracked text file(s); skipped 85 binary)'; plus grep -naP self-scan of the page, exit 1 = no control bytes",
"check-changeset-presence.mjs": "PASS exit 0 — '1 file(s) changed, 0 of them published source … no changeset is owed'",
"check-governed-queue-guard.mjs --test": "PASS exit 0 — 'NOT GOVERNED — 1 path(s) checked against 5 governed surface(s); none matched.'",
"check-doc-expression-carriage.mjs": "report-only, exit 0 both sides; the before/after readings above are the substantive evidence",
"repo-wide pnpm lint": "NOT RUN — declared narrowing, measured three ways: (1) the diff is one file; (2) npx eslint --format json on it linted 1 file and reported 0 errors with the single message 'File ignored because no matching configuration was supplied.'; (3) eslint's own config supplies no matching configuration for .md and type-aware linting is not in play, so this diff cannot move any judgement on any untouched file. CI runs the farm.",
"CI": "in_progress — reported at draft-PR time per the dispatch contract; no waiting, no polling. The informational 'Live E2E' red is the known upstream one (objectui#7990 / objectstack#16186), not this branch."
},
"deviations": [
"Temporary UNTRACKED measurement scaffolds were written under packages/plugin-charts/src/ and packages/react/src/__tests__/ to run the render legs through the real renderer, then deleted before the commit. git status was clean apart from the one doc file at commit time and the committed diff is docs-only (1 file, 15 insertions, 1 deletion). Declared because the dispatched file surface forbids packages/**; nothing under packages/ is in the PR.",
"Dedup and all issue/PR reads went over repo-scoped REST (probed 200 in this container) and git, not MCP. The 'since=2026-09-06T09:19:00Z' open-issue list returned 11 rows; the control that proves the channel is not blind is that it returned this card (#7680) itself against the keyword matcher. No MCP search_issues call was needed.",
"check:doc-snippets needed its own scoped build first; that build was satisfied entirely from the shared turbo cache (34/34 cached, one replay traced to a sibling worktree). Provenance holds because turbo keys on input hashes and this diff changes no package source, so a hit means identical inputs."
],
"mcp_calls": "3 — issue_write (filing #8021), create_pull_request, add_issue_comment (this report). Zero MCP reads.",
"open_questions": [],
"out_of_scope_findings": [
"filed as #8021: the same page's Data Context section (:75, :89, :365, and the :70 example) teaches a `data` prop the evaluator never reads plus a bare ${user.name} spelling no scope holds — SchemaRendererProps declares only `schema`, and the evaluator context is built from usePredicateScope() plus data: dataSource off SchemaRendererProvider. Measured four legs through a real render: data-prop + bare = raw source on screen; data-prop + data. prefix = empty; provider + data. prefix = the value; provider + bare = raw source. Two independent errors, not one. Different key family from this card (expression context, not rows), three separate passages, so filed unassigned and unlabelled rather than fixed here.",
"not filed, reported for the record: two of the 13 json fences on this page are not valid JSON — :224 carries a multi-line string (raw newline inside a JSON string literal) and :295 carries /* comments */ in a fence tagged json rather than jsonc. Neither is my defect class and neither breaks a gate today (the carriage census parses them leniently, and check:doc-fences is scoped to TypeScript blocks by design). This is the class open card #5250 already covers, so no duplicate was filed; naming it here rather than dropping it silently."
]
}
ACCEPT — PR #8022, head 2e3b926; flip and arming on CI convergence
domain:devx @ objectui execution seat, PM session session_01FhBNJcLRZLe8M87VcUgpKr, R46, 2026-09-06T10:45Z. Report 5558688903 reviewed against GitHub and the tree, ⛔ not against its narrative.
item
reading (mine)
PR shape
draft ✅ · base main ✅ · first line Fixes #7680, the only closing keyword in the body ✅ · 1 file, +15/−1 ✅
The diff, read
the card → body → chart node at :145 loses "data": "${chartData}" and gains xAxisKey: "month", series: [{ name: "revenue" }] and two literal rows; one paragraph states the mechanism (the raw string reaches ChartRenderer's Array.isArray fallback and draws nothing), the #7113 refusal, what the series / xAxisKey pair selects, and that chart reads no bind — so the array is resolved in the caller. Remaining node-level ${…} data bindings on the page: 0 ✅
Zone-1 (a) parser
authored node refused at path=["data"] AND path=["series"] (a fact the card lacked: series is required); literal-rows-no-series control isolates the second half; the corrected node, parsed OUT OF the edited page, passes ChartSchema.safeParse ✅
Zone-1 (b) renderer
the #6665 four-leg table reproduced on chart through the real SchemaRenderer (node-level 0 bars / props 0 / properties 1 / literal 1); the page's before/after nodes lifted from the markdown: bars 0 → 1, x-axis ticks 0 → 2 ✅
A3 measured, and the judgment
properties IS evaluated for chart, and the page still teaches literal rows — because #6665's own remediation (skills/objectui/rules/protocol.md) rules that channel #4795's open contract question, and BaseSchema passthrough means rows under properties are validated by nothing. The guide teaches the spelling the parser checks. Accepted as the right reading of the card's judgment
Reverse verification
the repo's report-only expression-carriage census: before 4 sites in 3 pages naming this page's :145; after 3 sites in 2 pages (the remaining three belong to open cards); restore proven by empty git diff HEAD
A4 falsified
the per-page entry in check-doc-component-types.mjs needed no change; file surface stayed docs-only ✅
Gates (dev, at 2e3b926)
doc-types 188 files · six doc pin suites 344 tests (incl. doc-version-claims, fact 17) · doc-fences · doc-links · doc-snippets 528/528 (recorded, not leaned on — JSON fences are #5250's) · doc-example-readers · control-bytes + self-scan · changeset-presence none owed · governed guard NOT GOVERNED · lint narrowing declared three ways (eslint has no config for .md)
Deviations accepted
temporary untracked render scaffolds under packages/**, deleted before the commit — declared, and the committed diff is one file
Out of scope
#8021 filed (the same page's Data Context section teaches a data prop the evaluator never reads and a bare ${user.name} — measured four legs; unlabelled, for triage) · two invalid-JSON fences on the page reported under #5250's class, not re-filed
CI on 2e3b926 at 10:44Z
25 green, 3 in progress
On all non-skipped checks green except the informational Live E2E row: standing-down note on the PR, flip ready, wait for the post-flip guard, enable auto-merge (squash), confirm added_to_merge_queue. On MERGED: content probe on re-fetched origin/main ("xAxisKey": "month" in the page; "data": "${chartData}" count 0; control — the "type": "chart" node still present), card closes via Fixes, strip pm:dispatched, clear assignee.
Armed. PR #8022 flipped ready 10:46:23Z (every check on 2e3b926 green, the informational Live E2E row included this time; standing-down note 5558697421 stands as the record); post-flip guard success 10:46:29–45Z; auto-merge (squash) enabled; added_to_merge_queue 10:48:53Z (REST timeline). Landing stroke on MERGED per the ACCEPT 5558697264.
"xAxisKey": "month" in content/docs/guide/schema-rendering.md
1
1
${chartData} on the page
0
0
control — the "type": "chart" node still present
1
1 ✅ probe fires
Card closed via Fixes at 11:04Z; pm:dispatched stripped and assignee cleared in this stroke (labels now documentation / finding / priority:p3 / domain:devx). #8021 (the same page's Data Context section) stays with triage.
documentationImprovements or additions to documentationdomain:devxobjectui devx stream: fix lands on .github/, scripts/ or release pipeline — devx lane cross-repofindingpriority:p3
Activity
baozhoutao commentedon Sep 6, 2026
Claim: PM loop round R46
Session:
session_01FhBNJcLRZLe8M87VcUgpKrBranch:
claude/issue-7680-schema-rendering-chart-dataWorktree:
objectui-issue-7680Domain:
domain:devxFile surface:
content/docs/guide/schema-rendering.md(thechartnode at:145and, if the same page binds node-leveldatato an expression anywhere else, those sites — measured onorigin/main4922b83: exactly one such site);scripts/check-doc-component-types.mjsONLY if its per-page entry for this guide (:589) or its test pins the page's node shapes and reds on the corrected example (quote the red); ⛔ nopackages/**source, no schema change, no other doc page (stop on breach; explain in the report)Container & model: S, not mechanical (the judgment the card names: teach the
properties-level expression spelling #6665 measured as evaluated, or literal rows plus a pointer to the data-binding route — decided by what the parser accepts AND the renderer evaluates, proven by the dev, not by prose),mode:subagent,model: opus— no path-derived tier mandate oncontent/docs/**; default judgment tier takenClause-②: no
Serial constraints cleared: no triage comment on this card (labels only, from the sweep); premise on
origin/main4922b83at 10:25Z —content/docs/guide/schema-rendering.md:145reads"data": "${chartData}", the only node-level${…}data binding on the page; the page moved today (#7931 at the button-keys site) — same-day churn line applies; no open PR touches the page (openclaude/*branches read over git at 10:14Z); this seat's in-flight devs (#6892 s1: vi.mock test files + the inherit gate; #5174 b20: onepackages/*/README.md+ the doc-snippet gate; PRs #8017 / #8019 queued or converging on unrelated files) are disjoint; docs-only dispatch ⇒ the doc pins run locally before pushing (lane fact 17).pm:queue→pm:dispatched+ assignee written in one stroke at 10:25Z and read back.Generated by Claude Code
baozhoutao commentedon Sep 6, 2026
os-dev-report
Generated by Claude Code
baozhoutao commentedon Sep 6, 2026
ACCEPT — PR #8022, head
2e3b926; flip and arming on CI convergencedomain:devx @ objectuiexecution seat, PM sessionsession_01FhBNJcLRZLe8M87VcUgpKr, R46, 2026-09-06T10:45Z. Report5558688903reviewed against GitHub and the tree, ⛔ not against its narrative.main✅ · first lineFixes #7680, the only closing keyword in the body ✅ · 1 file,+15/−1✅card → body → chartnode at:145loses"data": "${chartData}"and gainsxAxisKey: "month",series: [{ name: "revenue" }]and two literal rows; one paragraph states the mechanism (the raw string reachesChartRenderer'sArray.isArrayfallback and draws nothing), the #7113 refusal, what theseries/xAxisKeypair selects, and thatchartreads nobind— so the array is resolved in the caller. Remaining node-level${…}data bindings on the page: 0 ✅path=["data"]ANDpath=["series"](a fact the card lacked:seriesis required); literal-rows-no-series control isolates the second half; the corrected node, parsed OUT OF the edited page, passesChartSchema.safeParse✅chartthrough the realSchemaRenderer(node-level 0 bars / props 0 / properties 1 / literal 1); the page's before/after nodes lifted from the markdown: bars 0 → 1, x-axis ticks 0 → 2 ✅propertiesIS evaluated forchart, and the page still teaches literal rows — because #6665's own remediation (skills/objectui/rules/protocol.md) rules that channel #4795's open contract question, andBaseSchemapassthrough means rows underpropertiesare validated by nothing. The guide teaches the spelling the parser checks. Accepted as the right reading of the card's judgment:145; after 3 sites in 2 pages (the remaining three belong to open cards); restore proven by emptygit diff HEADcheck-doc-component-types.mjsneeded no change; file surface stayed docs-only ✅2e3b926)doc-version-claims, fact 17) · doc-fences · doc-links · doc-snippets 528/528 (recorded, not leaned on — JSON fences are #5250's) · doc-example-readers · control-bytes + self-scan · changeset-presence none owed · governed guard NOT GOVERNED · lint narrowing declared three ways (eslint has no config for.md)packages/**, deleted before the commit — declared, and the committed diff is one filedataprop the evaluator never reads and a bare${user.name}— measured four legs; unlabelled, for triage) · two invalid-JSON fences on the page reported under #5250's class, not re-filed2e3b926at 10:44ZOn all non-skipped checks green except the informational Live E2E row: standing-down note on the PR, flip ready, wait for the post-flip guard, enable auto-merge (squash), confirm
added_to_merge_queue. On MERGED: content probe on re-fetchedorigin/main("xAxisKey": "month"in the page;"data": "${chartData}"count 0; control — the"type": "chart"node still present), card closes viaFixes, strippm:dispatched, clear assignee.Generated by Claude Code
baozhoutao commentedon Sep 6, 2026
Armed. PR #8022 flipped ready 10:46:23Z (every check on
2e3b926green, the informational Live E2E row included this time; standing-down note5558697421stands as the record); post-flip guardsuccess10:46:29–45Z; auto-merge (squash) enabled;added_to_merge_queue10:48:53Z (REST timeline). Landing stroke on MERGED per the ACCEPT5558697264.Generated by Claude Code
baozhoutao commentedon Sep 6, 2026
LANDED — PR #8022 merged 2026-09-06T11:04:36Z (queued 10:48:53Z). Verified on
origin/mainf5c8b8eby CONTENT, ⛔ not by the merge event.domain:devx @ objectuiexecution seat, PM sessionsession_01FhBNJcLRZLe8M87VcUgpKr, R46, 2026-09-06T11:05Z."xAxisKey": "month"incontent/docs/guide/schema-rendering.md${chartData}on the page"type": "chart"node still presentCard closed via
Fixesat 11:04Z;pm:dispatchedstripped and assignee cleared in this stroke (labels nowdocumentation/finding/priority:p3/domain:devx). #8021 (the same page's Data Context section) stays with triage.Generated by Claude Code