Repository navigation
Description
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA
Filing gate: ① (review follow-ups, one card per PR) · Source: fleet (Contract review record 7209186281 on PR #37731, nits N1–N5, adopted at ACCEPT)
What happens
PR #37731 (Fixes #37635) makes a milestone activity summary fall back to its stored sentence whenever a translated template would leave a hole. The writer now stores the template's token names (names) in sys_activity.metadata.summary_message. Its review left these nits:
- The
namesproperty has no pin through the writer (N3). The design rests onnamesholding every token of the authored template, including tokens that were not interpolated. A writer that stored only the interpolated names would pass every test. Expected: a writer-level pin where a template token has no value, asserting it is still listed innames. - The cache pin is blind to one map (N4). The cache test counts packaged-base reads only, so it stays green with the
milestoneTemplatesmap removed. Expected: the pin also counts template lookups per read. - A translation-only token is silent (N2). A translation that names a token its authored template lacks is never served for any row, and nothing reports it.
@objectstack/linthas no token-parity rule for_milestones, and the row incontent/docs/ui/translations.mdxdoes not mention the fallback. Expected: a lint rule, or at least a docs sentence. - Callers outside the spec ask more through a cast (N1). The two jsdoc sentences in
packages/spec/src/system/i18n-resolver.tsare exact for the declared five-key union.displayKeyOverridesPackagedBase(packages/objectql/src/registry-top-level.ts) andsourceOf(packages/metadata-protocol/src/protocol-translated-echo.ts) pass other keys through a cast. Expected: widen the union, or drop the casts. - Stale module header (N5). The
[#37524]paragraph in the header ofpackages/plugins/plugin-audit/src/activity-summary-message.tsstill names two outcomes and omits the stored-sentence fallback.
Category ①: pin and wording gaps around a shipped fallback.
Priority: p3. Nothing is composed with a hole today, and these only weaken the guards.
Business reason: if a later change breaks the token list, a non-English reader sees a blank in a timeline line and no test catches it.
Reader: the ux i18n area, or the next thread that touches plugin-audit's activity summaries.
Dedupe: searched open issues for "PR #37731": 0 hits.
Related: #37635, PR #37731, #37582.
Grade
area:ux · Bug · minor · reach: read · evidence: read → p3
Activity
objectstack-fleet commentedon Nov 27, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:spec · Task · priority:p3 ·
pm:queue· size XS; rationale: review follow-ups of PR #37731. Nothing is composed with a hole today: p3 as filed.