3.3 KiB
Live application-owned fallback labels
17 November 2026. Frontend source 0bf0343c3fc033b427a5b9da5a9370cd02bc743e; integrated source fa5cc1abcc643f2800bf6fb3615f21fe1e983936 has byte-identical copies of all eight frontend files.
Dialog parameters accept strings/numbers or one explicit translation-key descriptor. Only application-owned fallback branches construct descriptors. Existing user/job/company/CV/section names remain literal, including empty strings, whitespace, key-shaped names, numeric0 and Unicode/markup-looking text. Existing interpolation and I18nProvider types are unchanged; no callbacks, recursion, reverse lookup, new locale, dependency or message engine was added. Missing I18n context resolves both outer/parameter keys through the existing English fallback.
The four caller families are custom-section deletion, built-in section removal, missing-company trash confirmation and missing-CV-name deletion. The existing twelve section-name mappings now have one owner reused by normal labels and confirmation metadata. Exact existing || versus ?? behavior is retained. One responsible-layer own-key guard prevents inherited constructor/__proto__ values from masquerading as custom section objects; those legacy names render as literal unknown-section fallbacks rather than crashing. Ordinary custom data, removal/save/version/focus callbacks and renderer ownership are unchanged.
Verification
- Initial worker selection32 fail/10 pass retained; it included stale copy, inherited-key crashes and whitespace-sensitive assertion setup. Workers then hit quota; root continued sequentially without retry.
- Final fixtures replayed against original source
38a6a27a:32 failures/13 passing controls/166 filtered.28 failures cover stale fallback/descriptor behavior; four cover inherited-key legacy crashes in both languages. Four fixed source files restored byte-for-byte in finally. No original literals were rewritten. - Final211 cases/four affected suites plus70 cases/eight disjoint shared-caller/catalogue suites PASSED:281 passing instances/12 suites. Focused45 and earlier runs overlap these counts; do not add them. Numeric/empty/literal/Unicode, English fallback, pending state, cancellation, focus and revision-safe save/selection behavior are covered.
- Non-incremental project TypeScript, eight-file scoped lint and diff check PASSED. Integrated AST update PASSED19,315 nodes/47,445 edges, including the independently tested backend alert fix.
- Source/native exact gzip bindings:
evidence/dialog-fallback-params/SOURCE_RECEIPTS.json. Git byte comparison confirms frontend identity across integration.
The missing-CV-record fallback is source-reviewed and covered through the shared descriptor contract, not a fabricated inaccessible UI target. Tests use controlled API fixtures; no actual deletion, CV import engine, model/provider, physical PDF, native browser/device, full A3/I18N/security or release acceptance. Prior Next build remains FAILED. All24 EU official languages and broader European coverage remain required; these are compatible foundation fixes, not translated language packs.
Rollback: revert the entire eight-file source commit so callers and resolver stay compatible. No data/schema migration. Already-visible toast localization, unrelated mutation lifetimes and final connected/native qualification remain separate work.