Skip to content

Commit 26a4702

Browse files
committed
test(platform-objects): the three objects-locale echo ledgers lose the retired sys_view_definition ID leaf
es-ES 46 -> 45, ja-JP 36 -> 35, zh-CN 35 -> 34 declared echoes: the regenerated bundles no longer carry the object, so its bare ID leaf left each ledger. Claude-Session: https://claude.ai/code/session_01EUBvqtauTDmHi2ZgY759p2 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 442e585 commit 26a4702

3 files changed

Lines changed: 15 additions & 11 deletions

File tree

‎packages/platform-objects/src/apps/translations/objects-es-es-echo-decisions.test.ts‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,12 @@ describe('#20493 es-ES — the ledger itself (controls before verdicts)', () =>
240240
// [ADR-0131 D7] 47 → 46 echoes: `sys_setting.scope` no longer declares the
241241
// `global` option (the rung moved to `sys_platform_setting`), so its leaf left
242242
// the catalog with it. `sys_setting_audit.scope`'s `global` option stays.
243-
it('is the size it claims: 3 pinned translations and 46 declared echoes, no path twice', () => {
244-
expect(DECISIONS.length).toBe(49);
243+
// [ADR-0131 D13] 46 → 45: `sys_view_definition` retired as inert, and its
244+
// bare `ID` leaf left the catalog with the object.
245+
it('is the size it claims: 3 pinned translations and 45 declared echoes, no path twice', () => {
246+
expect(DECISIONS.length).toBe(48);
245247
expect(DECISIONS.filter((d) => d.verdict === 'translate').length).toBe(3);
246-
expect(DECISIONS.filter((d) => d.verdict === 'echo').length).toBe(46);
248+
expect(DECISIONS.filter((d) => d.verdict === 'echo').length).toBe(45);
247249
expect(new Set(DECISIONS.map((d) => d.path)).size).toBe(DECISIONS.length);
248250
});
249251

‎packages/platform-objects/src/apps/translations/objects-ja-jp-echo-decisions.test.ts‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
// Since that walk, the seven `sys_account._actions.link_social` provider-brand
4949
// rows (Google through Discord) left this ledger together with the action,
5050
// retired under ADR-0049 enforce-or-remove (#21849): the bundle no longer
51-
// carries those leaves, so the ledger below holds 36 echoes.
51+
// carries those leaves, so the ledger held 36 echoes. Then `sys_view_definition`
52+
// retired as inert (ADR-0131 D13) and took its bare `ID` leaf with it: 35.
5253
//
5354
// ## What this file deliberately does NOT assert
5455
//
@@ -215,10 +216,10 @@ function undeclaredEchoes(rows: readonly Decision[]): string[] {
215216
}
216217

217218
describe('#20493 ja-JP — the ledger itself (controls before verdicts)', () => {
218-
it('is the size it claims: 3 pinned translations and 36 declared echoes, no path twice', () => {
219-
expect(DECISIONS.length).toBe(39);
219+
it('is the size it claims: 3 pinned translations and 35 declared echoes, no path twice', () => {
220+
expect(DECISIONS.length).toBe(38);
220221
expect(DECISIONS.filter((d) => d.verdict === 'translate').length).toBe(3);
221-
expect(DECISIONS.filter((d) => d.verdict === 'echo').length).toBe(36);
222+
expect(DECISIONS.filter((d) => d.verdict === 'echo').length).toBe(35);
222223
expect(new Set(DECISIONS.map((d) => d.path)).size).toBe(DECISIONS.length);
223224
});
224225

‎packages/platform-objects/src/apps/translations/objects-zh-cn-echo-decisions.test.ts‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
// Since that walk, the seven `sys_account._actions.link_social` provider-brand
4040
// rows (Google through Discord) left this ledger together with the action,
4141
// retired under ADR-0049 enforce-or-remove (#21849): the bundle no longer
42-
// carries those leaves, so the ledger below holds 35 echoes.
42+
// carries those leaves, so the ledger held 35 echoes. Then `sys_view_definition`
43+
// retired as inert (ADR-0131 D13) and took its bare `ID` leaf with it: 34.
4344
//
4445
// ## What this file deliberately does NOT assert
4546
//
@@ -211,10 +212,10 @@ function undeclaredEchoes(rows: readonly Decision[]): string[] {
211212
}
212213

213214
describe('#20462 — the ledger itself (controls before verdicts)', () => {
214-
it('is the size it claims: 3 pinned translations and 35 declared echoes, no path twice', () => {
215-
expect(DECISIONS.length).toBe(38);
215+
it('is the size it claims: 3 pinned translations and 34 declared echoes, no path twice', () => {
216+
expect(DECISIONS.length).toBe(37);
216217
expect(DECISIONS.filter((d) => d.verdict === 'translate').length).toBe(3);
217-
expect(DECISIONS.filter((d) => d.verdict === 'echo').length).toBe(35);
218+
expect(DECISIONS.filter((d) => d.verdict === 'echo').length).toBe(34);
218219
expect(new Set(DECISIONS.map((d) => d.path)).size).toBe(DECISIONS.length);
219220
});
220221

0 commit comments

Comments
 (0)