Files
jobtrackingapp/docs/i18n/00/BACKEND_MESSAGE_CENSUS_B01.md
T

8.9 KiB
Raw Blame History

B01: backend and processing message census

17 November 2026. Research-only checkpoint on codex/i18n-message-census, based on immutable A3 source 07fbd5f72c3605d6b2b5b31332ba5786f9446309. The inventory binds seven exact Git blobs by SHA-256 and 110 individually reviewed source loci by line, exact expression and line hash. Its unit is a source locus, not a unique sentence, translated key, test pass or defect. A locus can contain multiple literals; related duplicate/caller lines do not add records. sourceLiteralSegments are raw lexical captures preserving source escapes, including protocol identifiers and fragments; they are not a translation list. The complete expression is authoritative where interpolation contains nested quotes.

Each record partitions those raw captures into translationCandidateSegments, nonTranslatableSegments and unresolvedSegments: 155 segment occurrences = 102 prose/template candidates + 47 non-translatable segments + six unresolved segments. These are occurrence counts, not unique messages or accepted translations. Action/error/dictionary/status identifiers (including login, parser codes and Applied/Waiting/Offer), separators, the product signature and the date-format pattern are excluded from translator candidates. Date formatting remains a formatter contract rather than a translated sentence. embeddedProtocolTokens separately protects en/nb-NO and min_length/max_length inside prose; placeholders and proper names retain the documented context and private/runtime exclusions.

Four diagnostic segments remain unresolved pending display/exposure/owner decisions. Two greeting fragments at reminder L84 remain unresolved because the lexical extraction cannot parse nested C# interpolation; its there fallback is present in the exact expression but is not separately captured. No inferred replacement segment or translation guidance was invented. A partition of the captured segments does not establish complete language parsing or message extraction.

The scope remains all 24 EU official languages plus broader European national/official, script and regional/minority candidates in the existing country/language matrix. This batch identifies source-language contracts those locales will need; it adds no language pack or country relationship and changes no catalogue/schema or release status.

Reviewed owner batch

Owner Loci Reviewed scope
AuthController.cs 24 Selected login/registration validation, language preference, security mail, delivery errors and avatar failures
SmtpEmailSender.cs 4 Plaintext transport boundary, suppressed-send diagnostic and configuration exceptions
FollowUpReminderHostedService.cs 15 Subject/body fragments, date/missing-value formatting, reason/status boundaries
UserNotificationStore.cs 1 Owner-scope diagnostic; the store does not construct notification prose
AiOperationQueue.cs 7 Admission, timeout and upstream message propagation
CvProcessingQueue.cs 5 Disabled worker, invalid/missing run, cancellation/timeout and failure fallback
tools/summarizer/app.py 54 Selected routing errors, all 24 entries in _PARSER_ERRORS, parser/upload errors and generated-summary headings/frames
Total 110 Partial contextual census, not exhaustive even within these files

Categories reconcile exactly: 86 controlled-message loci; eight controlled-output headings; four controlled-output templates; six upstream-message boundaries; four diagnostic templates; one private-content boundary; one machine-code locus. Machine codes also appear beside prose in mixed loci; the category counts do not count every code token. Every record has proposed namespace, owner, context, source binding, typed parameter/sensitivity notes where present and separate unperformed native/runtime review states. No actual private values were read or exported.

Source findings

ID Evidence Required future handling
B01-F01 AuthController L124–178, L608/L611 Literal English validation coexists with invariant codes and upstream Identity descriptions. Preserve authentication semantics; map controlled display separately from codes. en/nb-NO is the present endpoint limitation, not the target language scope.
B01-F02 AuthController L343–344, L655/L667/L725, L1065–1066, L1176–1177; SMTP L22/L47–49 Security email templates have no locale argument in the inspected send contract. Preserve token-bearing URLs as opaque runtime parameters, proper names and security meaning; inspect all template callers and recipient-language ownership before implementation.
B01-F03 Reminder L79–109 English frames, long dates without explicit recipient culture, raw stored status and rules-engine reason are composed together. Separate controlled labels/formatting from original job/company/name content and stable status identities. Rules-engine producer remains unreviewed.
B01-F04 Auth L178/L611/L1184; AI queue L80/L203–210; CV L98/L105/L114 Identity, usage, handler and CV outcome messages cross owner boundaries. This batch does not establish their complete value domains, parameter safety or client display consumers. Trace producers and consumers before cataloguing arbitrary exception text.
B01-F05 SMTP L37/L41/L42; NotificationStore L54 Diagnostic text is distinct from user notifications and mail. SMTP suppression log parameters include email/subject metadata; exclude their runtime values from translation exports. Preserve owner-scope validation. This is classification, not a security acceptance finding.
B01-F06 AI queue L51–70/L218; CV queue L37/L67/L84/L88/L98 Queue messages require stable category/status/retry metadata independent of translated display. Cancellation and timeout are distinct outcomes; persisted messages need an explicit locale policy.
B01-F07 Python L759–767/L1210–1235/L1309/L1348/L1400–1405 Provider/parser codes select English HTTP detail. Keep codes/statuses invariant; translate controlled text at an approved owner boundary. Duplicate direct parser validations still need reconciliation and full caller review.
B01-F08 Python L1103–1153 Generated summaries combine English headings/suggestion frames and source-derived advertisement/skill content. Output language is an independent contract; changing interface locale must not rewrite source facts. Prompts and generated-content semantic quality are unqualified.

Validation and limits

Root review independently repeated all117 immutable file/record checks and110 disjoint segment-partition checks; the validation receipt records155 raw literal occurrences:102 translation candidates,47 non-translatable and6 unresolved. These are occurrence classifications, not approved messages, translations or product tests. Application, locale catalogue and schema diffs are empty. The six unresolved captures remain excluded from translation-ready guidance.

Read exact bytes with git show 07fbd5f72c3605d6b2b5b31332ba5786f9446309:<path>; source SHA-256 covers raw Git bytes. An inline Python standard-library assertion check re-read all seven blobs, compared every selected expression and UTF-8 line hash, checked all related line ranges, unique record IDs/source loci and reconciled counts: 117 file/record binding checks passed (seven files plus 110 records). After segment refinement, all 117 bindings passed again; all 110 record partitions were checked as disjoint multiset partitions/subsets of their raw captures, and the 155/102/47/6 segment totals reconciled. Source expressions, record IDs and hashes were unchanged from the original B01 artifact. Embedded protocol tokens were verified against exact source expressions. These are inventory-integrity checks, not product tests. JSON parsed successfully. No new runner/dependency was added; temporary preparation files live outside the repository on E:.

Caller coverage is deliberately bounded to the producing owner and explicitly recorded same-file related lines. External response consumers, notification producers, Identity/usage/rules-engine producers, full auth/provider/upload validation, model prompts, lexical dictionaries, document renderer/font/PDF output, email HTML/preheaders and broader frontend visible/ARIA states remain open. No runtime route, queue, email delivery, provider, parser process, model, database, build or browser was invoked. Graph navigation located owners before source inspection; no graph rebuild ran.

The historical 188 dynamic frontend call domains are already accounted for at 4172c23d7ce13e8327a5e51bbb09f296c24fb9b8 (central tracker); they were not re-reviewed or counted in these 110 loci. Neither count establishes full visible-text coverage. I18N-00 remains partial; formal I18N-01–08 entry, Phase10/Product Review, human/native/legal/device and locale publication/release gates remain unchanged. Production NO-GO.