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 }}
Repository navigation
spec/ui: ViewMetadataSchema 的 union 无判别式且容器成员未导出——消费方做失败诊断只能按成员序索引嵌套 errors #6391
Classification — finding (observation-class), matching the filer's own framing. Nothing is broken today: the consumer side already shipped its expansion in objectui#3624 and pinned the coupling with a CANARY test, so the cost recorded here is future churn (one canary re-fit each time the union's members are reordered), not a defect a user hits. There is also no acceptance criterion a dispatch prompt could carry yet — the card offers two mutually exclusive shapes (export the members vs. give the union a discriminator) and explicitly leaves the choice to the spec lane. That is a grading decision for a findings round, not a dispatchable card.
Domain — domain:spec, not domain:spec-surface. The landing site is packages/spec (the view schema module that builds ViewMetadataSchema). Under the standing split criterion this is the protocol seat, not the text seat, on either route: exporting the container/overlay members widens the published API surface, and giving the union a discriminator changes what is rejected (a discriminated union refuses an unknown discriminant outright where the plain union today falls through all four members). The reverse red line applies — any card that can change accept/reject behaviour goes to domain:spec however small it is.
Cross-repo convergence — this is the spec-side entry point; objectui#3626 is the consumer-side residue. Both are open, neither is claimed. Cross-linked rather than merged, because they are genuinely two halves: this card is about the union's shape (root level, packages/spec), #3626 is about nested-union diagnostics (config.columns) in the metadata-admin consumer, which predates #3606 and remains partly addressable inside objectui alone. #3626 is being held as a finding with a pointer here so that one thing has exactly one dispatch entry.
Stale-premise check.origin/main re-fetched this round; the referenced upstreams (#5316 ruling, #5074) are unchanged, and objectui PR #3624 is merged, which is what makes the CANARY coupling described here the current state rather than a prediction.
Note for the spec lane when this is graded: the filer's option 1 (guarantee member [1] is identically the exported ViewSchema) is the strictly smaller change and does not touch rejection behaviour by itself — worth pricing separately from option 2 rather than treating the two as one card.
Findings sweep (maintainer-authorized one-off, 2026-08-07 — registered on #6015): promoted to the queue. A live cross-repo consumer (objectui#3624) is already paying for this with member-order indexing plus a CANARY test — export the container member and give the union a contractual diagnosis path so the coupling to spec-internal ordering can be deleted. finding → pm:queue.
Activity
claude commentedon Aug 7, 2026
Triage:
finding+domain:spec.Classification — finding (observation-class), matching the filer's own framing. Nothing is broken today: the consumer side already shipped its expansion in objectui#3624 and pinned the coupling with a CANARY test, so the cost recorded here is future churn (one canary re-fit each time the union's members are reordered), not a defect a user hits. There is also no acceptance criterion a dispatch prompt could carry yet — the card offers two mutually exclusive shapes (export the members vs. give the union a discriminator) and explicitly leaves the choice to the spec lane. That is a grading decision for a findings round, not a dispatchable card.
Domain —
domain:spec, notdomain:spec-surface. The landing site ispackages/spec(the view schema module that buildsViewMetadataSchema). Under the standing split criterion this is the protocol seat, not the text seat, on either route: exporting the container/overlay members widens the published API surface, and giving the union a discriminator changes what is rejected (a discriminated union refuses an unknown discriminant outright where the plain union today falls through all four members). The reverse red line applies — any card that can change accept/reject behaviour goes todomain:spechowever small it is.Cross-repo convergence — this is the spec-side entry point; objectui#3626 is the consumer-side residue. Both are open, neither is claimed. Cross-linked rather than merged, because they are genuinely two halves: this card is about the union's shape (root level,
packages/spec), #3626 is about nested-union diagnostics (config.columns) in the metadata-admin consumer, which predates #3606 and remains partly addressable inside objectui alone. #3626 is being held as afindingwith a pointer here so that one thing has exactly one dispatch entry.Stale-premise check.
origin/mainre-fetched this round; the referenced upstreams (#5316 ruling, #5074) are unchanged, and objectui PR #3624 is merged, which is what makes the CANARY coupling described here the current state rather than a prediction.Note for the spec lane when this is graded: the filer's option 1 (guarantee member
[1]is identically the exportedViewSchema) is the strictly smaller change and does not touch rejection behaviour by itself — worth pricing separately from option 2 rather than treating the two as one card.本评论来自分诊座位 Routine(#5474 试点),不构成认领。
Generated by Claude Code
os-project-manager commentedon Aug 8, 2026
Findings sweep (maintainer-authorized one-off, 2026-08-07 — registered on #6015): promoted to the queue. A live cross-repo consumer (objectui#3624) is already paying for this with member-order indexing plus a CANARY test — export the container member and give the union a contractual diagnosis path so the coupling to spec-internal ordering can be deleted.
finding→pm:queue.Generated by Claude Code
spec: inline view arms of the runtime write door require the object b…
fix(spec): report the claimed branch when a `view` union fails (objec…
spec: inline view arms of the runtime write door require the object b…
test(spec): the third ui/ file group's test titles state each cited d…
test(spec): the last ui/ file group's test titles state each cited de…