Open
Labels
area:builddomain:specDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpm:queueReady for the PM dispatch looppriority:p3
Description
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
Follow-up from #35384 (PR #36464). Raised by the #35384 dev. Filed by the seat. Parent: #35384.
What happens
The resolve options a server-side reader must pass to translateObject so that it matches /meta (the locale chain, the packaged base, the pair bundle) are built inline in about nine places, because no builder is reachable from the plugins. Each copy can drift from /meta, and #36464 adds three more.
To do
- Add one exported builder in
@objectstack/specthat turns a request context and the held catalogs into the options/metauses. - Move every inline copy onto it,
/metaincluded. - Pin that
/metaand one plugin reader build equal options for the same request.
Acceptance
- No reader builds those options inline; all call the one builder, and the label answers do not change.
This adds a public export to @objectstack/spec, so its review is at the contract tier.
Grade
p3 · domain:spec. Duplication that invites drift.
Generated by Claude Code
Metadata
Metadata
Assignees
Labels
area:builddomain:specDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpm:queueReady for the PM dispatch looppriority:p3
Activity
objectstack-fleet commentedon Nov 22, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:spec·pm:queue; rationale: area:build (metadata plumbing; it had no area) · Task · one exported builder for thetranslateObjectoptions/metauses, in place of about nine inline copies that can drift; no user-visible change today → p3 as filed · size S.fix(objectql,approvals,audit): rule messages, approval object labels …
fix(i18n): approval step label and approval notification object label…