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
Commit 4a22422
Browse filesBrowse the repository at this point in the historyBrowse files
fix(plugin-audit): judge a milestone rewording through the resolver's one predicate
The feed's milestone translator carried its own copy of the ADR-0029 D9.2a
"tenant reworded the packaged value" comparison, which disagreed with the
shared predicate on an empty served summary. scalarOverridesPackagedBase now
takes 'summary', and the feed asks it with the packaged milestone as base.
Also corrects the changeset's alias sentence (the aliases are refused, naming
_milestones) and two audit-writers comments that predate the translation key.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgUpnvPnJ1hR74pUrVj
Copy file name to clipboardExpand all lines: .changeset/37524-milestone-summary-translations.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Clause-②: yes (widening)
10
10
Metadata-protocol: added
11
11
Skills-docs: follow-up #37585
12
12
13
-
-**Translation slot.** An object translation accepts `_milestones`, keyed by an `activityMilestones` entry's watched `field` and then the `value` it fires on, each carrying `summary`: the milestone's template in that language, with the same `{field}` tokens. `milestones` and `activityMilestones` are accepted as aliases of the group. `resolveObjectMilestoneSummary` (`@objectstack/spec/system`) reads it along the locale chain.
13
+
-**Translation slot.** An object translation accepts `_milestones`, keyed by an `activityMilestones` entry's watched `field` and then the `value` it fires on, each carrying `summary`: the milestone's template in that language, with the same `{field}` tokens. `milestones` and `activityMilestones` are refused, and the refusal names `_milestones` as the key to write. `resolveObjectMilestoneSummary` (`@objectstack/spec/system`) reads it along the locale chain.
14
14
-**Timeline rows.** A fired milestone's `sys_activity` row now stores a summary code (`metadata.summary_message`, `key: 'activityMilestone'`): the pair, and each interpolated token's value with the select option it matched. On a read whose caller has a locale, a language that translates the milestone serves the row's `summary` composed from its template, a select token named by the option label in that language. The stored `summary` is unchanged — the authored sentence — and a language with no entry, a read with no locale, and every row written before this change read it as stored. A tenant that reworded a packaged milestone's `summary` keeps its words. The field redaction still judges the composed text by the fields the row was composed from.
15
15
-**Extraction and references.**`os i18n extract` scaffolds the key for each milestone pair (the first entry of a repeated pair, the one that fires), and the translation-reference rule flags a `_milestones` key over a pair no milestone of the object declares.
16
16
-**Docs.**`content/docs/ui/translations.mdx` and the i18n standard's reference table name the key.
0 commit comments