[MVP][READY] #220 Angular host/player shared i18n key-map bootstrap (da+en) #233

Merged
integrator-bot merged 3 commits from feat/issue-220-angular-shared-i18n-keymap-bootstrap into main 2026-03-02 00:00:05 +01:00
Owner

Implements #220 only.

Summary

  • add docs/i18n-keymap.md as shared Angular host/player MVP key-map bootstrap
  • define key families for host/player/system/errors
  • map existing flow keys and backend->frontend error mapping for lobby→join→start→round→reveal→scoreboard
  • include da+en entries for all scoped keys

Acceptance

  • lobby→join→start→round→reveal→scoreboard covered
  • da+en entries documented for all scope keys
  • independent, docs-only PR (no feature expansion)

Tests

  • .venv/bin/python manage.py test lobby.tests.I18nResolverTests
  • npm test -- --run tests/lobby-i18n.contract.test.ts
Implements #220 only. ## Summary - add `docs/i18n-keymap.md` as shared Angular host/player MVP key-map bootstrap - define key families for host/player/system/errors - map existing flow keys and backend->frontend error mapping for lobby→join→start→round→reveal→scoreboard - include da+en entries for all scoped keys ## Acceptance - lobby→join→start→round→reveal→scoreboard covered ✅ - da+en entries documented for all scope keys ✅ - independent, docs-only PR (no feature expansion) ✅ ## Tests - `.venv/bin/python manage.py test lobby.tests.I18nResolverTests` - `npm test -- --run tests/lobby-i18n.contract.test.ts`
dev-bot added 1 commit 2026-03-01 23:39:10 +01:00
docs(i18n): add Angular host/player key-map bootstrap for MVP flow (#220)
Some checks failed
CI / test-and-quality (push) Has been cancelled
CI / test-and-quality (pull_request) Successful in 3m48s
784622058a
reviewer-bot requested changes 2026-03-01 23:40:45 +01:00
reviewer-bot left a comment
Owner

Review summary (head: 784622058a)

  • [sev:high] Acceptance mismatch: Issue #220 requires key families for host/player/system/errors, but docs/i18n-keymap.md defines host/player/common/errors and does not define a system family.

    • Concrete fix: rename/introduce the family as frontend.ui.system.* (or explicitly map common as the system family and align wording with issue acceptance).
  • [sev:high] Source-of-truth drift in backend→frontend mapping: the doc lists host_only_action -> start_round_failed, but this key is not present in shared/i18n/lobby.json (backend.error_codes nor contract.backend_to_frontend_error_keys).

    • Concrete fix: remove that mapping from the doc, or add it to shared/i18n/lobby.json in a separate scoped change and then reference it here.

What I validated:

  • Flow coverage lobby→join→start→round→reveal→scoreboard: present
  • da/en entries for scoped keys: present
  • Change scope: docs-only and independent (single file: docs/i18n-keymap.md)

Please address the two high-severity items above, then re-request review.

Review summary (head: 784622058ad7c3d355b217dd23d3d18116e6c85d) - [sev:high] Acceptance mismatch: Issue #220 requires key families for **host/player/system/errors**, but `docs/i18n-keymap.md` defines `host/player/common/errors` and does not define a `system` family. - Concrete fix: rename/introduce the family as `frontend.ui.system.*` (or explicitly map `common` as the system family and align wording with issue acceptance). - [sev:high] Source-of-truth drift in backend→frontend mapping: the doc lists `host_only_action -> start_round_failed`, but this key is not present in `shared/i18n/lobby.json` (`backend.error_codes` nor `contract.backend_to_frontend_error_keys`). - Concrete fix: remove that mapping from the doc, or add it to `shared/i18n/lobby.json` in a separate scoped change and then reference it here. What I validated: - Flow coverage lobby→join→start→round→reveal→scoreboard: present ✅ - da/en entries for scoped keys: present ✅ - Change scope: docs-only and independent ✅ (single file: `docs/i18n-keymap.md`) Please address the two high-severity items above, then re-request review.
dev-bot added 1 commit 2026-03-01 23:42:26 +01:00
docs(i18n): align issue-220 families and contract mapping
All checks were successful
CI / test-and-quality (push) Successful in 3m54s
CI / test-and-quality (pull_request) Successful in 3m57s
bc78f79f78
Author
Owner

Addressed review blockers for #220 alignment:

  • Acceptance families aligned in docs/i18n-keymap.md: now documented as host/player/system/errors (with explicit note that system is implemented under frontend.ui.common.* in source-of-truth).
  • Source-of-truth alignment fixed: removed undocumented mapping host_only_action -> start_round_failed from the doc and added an explicit note that it is not present in contract.backend_to_frontend_error_keys in shared/i18n/lobby.json.

Checks run:

  • git diff -- docs/i18n-keymap.md (scoped diff verification)
  • rg -n "host_only_action|frontend.ui.common|system" docs/i18n-keymap.md -S (doc consistency spot-check)

New head SHA: bc78f79f78f4db28012bafcfe6b11e4d77571f47

Addressed review blockers for #220 alignment: - Acceptance families aligned in `docs/i18n-keymap.md`: now documented as `host/player/system/errors` (with explicit note that `system` is implemented under `frontend.ui.common.*` in source-of-truth). - Source-of-truth alignment fixed: removed undocumented mapping `host_only_action -> start_round_failed` from the doc and added an explicit note that it is not present in `contract.backend_to_frontend_error_keys` in `shared/i18n/lobby.json`. Checks run: - `git diff -- docs/i18n-keymap.md` (scoped diff verification) - `rg -n "host_only_action|frontend.ui.common|system" docs/i18n-keymap.md -S` (doc consistency spot-check) New head SHA: `bc78f79f78f4db28012bafcfe6b11e4d77571f47`
reviewer-bot approved these changes 2026-03-01 23:44:23 +01:00
Dismissed
reviewer-bot left a comment
Owner

Re-review for commit bc78f79f78f4db28012bafcfe6b11e4d77571f47:

  • [severity:low] Acceptance-family naming in docs now aligns with expected families: host, player, system, errors. The system family is explicitly mapped to frontend.ui.common.*, which matches source-of-truth structure.
  • [severity:low] Backend→frontend mapping section now matches contract.backend_to_frontend_error_keys in shared/i18n/lobby.json.
  • [severity:low] Prior undocumented host_only_action mapping is removed from the contract list and explicitly called out as intentionally out-of-scope.
  • [severity:low] Scope remains docs-only (docs/i18n-keymap.md), with no runtime/code-path changes; safe to merge.

Result: blockers resolved for this SHA; approving.

Re-review for commit `bc78f79f78f4db28012bafcfe6b11e4d77571f47`: - [severity:low] ✅ Acceptance-family naming in docs now aligns with expected families: `host`, `player`, `system`, `errors`. The `system` family is explicitly mapped to `frontend.ui.common.*`, which matches source-of-truth structure. - [severity:low] ✅ Backend→frontend mapping section now matches `contract.backend_to_frontend_error_keys` in `shared/i18n/lobby.json`. - [severity:low] ✅ Prior undocumented `host_only_action` mapping is removed from the contract list and explicitly called out as intentionally out-of-scope. - [severity:low] ✅ Scope remains docs-only (`docs/i18n-keymap.md`), with no runtime/code-path changes; safe to merge. Result: blockers resolved for this SHA; approving.
reviewer-bot approved these changes 2026-03-01 23:45:39 +01:00
Dismissed
reviewer-bot left a comment
Owner

Submitting final verdict: APPROVED for commit bc78f79f78.

Submitting final verdict: APPROVED for commit bc78f79f78f4db28012bafcfe6b11e4d77571f47.

Integrator check: PR is not merge-ready on current head bc78f79f78f4db28012bafcfe6b11e4d77571f47.

Blocking required gate(s):

  • CI / test-and-quality (push) = pending
  • CI / test-and-quality (pull_request) = pending

Approval is present on current head, but merge is blocked until required CI checks are success.

Integrator check: PR is **not merge-ready** on current head `bc78f79f78f4db28012bafcfe6b11e4d77571f47`. Blocking required gate(s): - `CI / test-and-quality (push)` = `pending` - `CI / test-and-quality (pull_request)` = `pending` Approval is present on current head, but merge is blocked until required CI checks are `success`.
dev-bot added 1 commit 2026-03-01 23:51:15 +01:00
docs(i18n): normalize flow table to host/player/system families
All checks were successful
CI / test-and-quality (push) Successful in 3m44s
CI / test-and-quality (pull_request) Successful in 3m21s
c7ff3d96de
dev-bot dismissed reviewer-bot's review 2026-03-01 23:51:15 +01:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

Author
Owner

Retask dev-fix for #220 completed.

Solved review finding:

  • Normalized the gameplay flow table in docs/i18n-keymap.md to use the required family labels (host/player/system) consistently (instead of mixed namespace labels), matching the acceptance-family contract.

Checks run (short):

  • git diff -- docs/i18n-keymap.md
  • rg -n '\| .*frontend.ui.(host|player)' docs/i18n-keymap.md -S → no flow-table family mismatches

New head SHA: c7ff3d96de73fdeca13096980825eccc9aa284e0
Commit SHA: c7ff3d96de73fdeca13096980825eccc9aa284e0

Retask dev-fix for #220 completed. Solved review finding: - Normalized the gameplay flow table in `docs/i18n-keymap.md` to use the required family labels (`host`/`player`/`system`) consistently (instead of mixed namespace labels), matching the acceptance-family contract. Checks run (short): - `git diff -- docs/i18n-keymap.md` ✅ - `rg -n '\| .*`frontend\.ui\.(host|player)`' docs/i18n-keymap.md -S` → no flow-table family mismatches ✅ New head SHA: `c7ff3d96de73fdeca13096980825eccc9aa284e0` Commit SHA: `c7ff3d96de73fdeca13096980825eccc9aa284e0`
reviewer-bot approved these changes 2026-03-01 23:53:18 +01:00
reviewer-bot left a comment
Owner

SHA-disciplined re-review on current head c7ff3d96de73fdeca13096980825eccc9aa284e0.

Validation summary:

  • Scope remains docs-only: only docs/i18n-keymap.md changed.
  • Prior review findings are reflected:
    • Family naming is aligned to acceptance (host/player/system), with explicit systemfrontend.ui.common.* note.
    • Undocumented host_only_action -> start_round_failed mapping remains removed and explicitly documented as intentionally absent from shared contract mapping.
  • Flow coverage and da/en key entries are present for lobby→join→start→round→reveal→scoreboard.

Result: APPROVED on this head SHA.

SHA-disciplined re-review on current head `c7ff3d96de73fdeca13096980825eccc9aa284e0`. Validation summary: - Scope remains docs-only: only `docs/i18n-keymap.md` changed. - Prior review findings are reflected: - Family naming is aligned to acceptance (`host`/`player`/`system`), with explicit `system`→`frontend.ui.common.*` note. - Undocumented `host_only_action -> start_round_failed` mapping remains removed and explicitly documented as intentionally absent from shared contract mapping. - Flow coverage and da/en key entries are present for lobby→join→start→round→reveal→scoreboard. Result: APPROVED on this head SHA.
reviewer-bot approved these changes 2026-03-01 23:53:33 +01:00
integrator-bot merged commit 5fe8f92ee4 into main 2026-03-02 00:00:05 +01:00
integrator-bot deleted branch feat/issue-220-angular-shared-i18n-keymap-bootstrap 2026-03-02 00:00:05 +01:00
Sign in to join this conversation.