i18n: change the community's primary language after founding — a control-plane setting + a Language control on panel Settings #2123
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Depends on
Reference
Matou/idss#2123
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
A community's primary language can only be set during founding (ADR 0232 decision 7). DDR 0300 decision 6 recorded the gap: changing it afterwards needs a control-plane setting that doesn't exist yet. The header language picker only changes a person's display language, never the community's (DDR 0300 decision 5).
Scope
idss.locale).Design (done — #2146, on main at
6d9df353)Build against these. They are the contract:
docs/adr/0301-design-settings-changes-the-communitys-language-and-re-applies-the-services.md: placement, ask-first, record + re-apply in one act, failure puts the fact back,enremoves the doc, the wire, who can change it, the element contract.docs/ux/wireframes/shell/shell-ds-settings.html(COMMUNITY LANGUAGE under the size band).docs/ux/wireframes/shell/shell-ds-language-change.html(DSL1 confirm, DSL2 switching, DSL3 done, DSL4 nothing changed).docs/ux/flows/shell.mermaid(DS → DSL1…DSL4).Builds on #2122's keystone (
clan.WriteCommunityLanguage/ReadCommunityLanguage,provision.WithCommunityLanguage, already on main). The DDR replaces this body's "Administrator-only" with whoever the panel's door admits, the same rule as every other Settings write (DDR 0301 d.9).Acceptance
entopt: DSL1 asks, DSL2 runs, and DSL3 shows. The control API reportspt, Nextcloud's default follows after the re-apply, and the operator's own header language (idss.locale) is untouched.ptback toenremovesidss/community-language, and the services render as an English community did before.panel.shell.settings.language.*in all five locales (parity guard green); option names are in their own language withlangset.Category: enhancement. State:
needs-design.Why
needs-design(missing-design gate). The body asks for a Language control on the control panel's Settings tab, and notes a wireframe doesn't exist yet. Confirmed:docs/ux/wireframes/has a shell (operator-app) settings frame and a language-picker (shell/shell-ds-settings.html,shell/shell-lp-language-picker.html) — but those are the operator app and the person's display language (DDR 0300 d.5). There is no control-panel Settings-tab wireframe at all, and none for changing the community's primary language. The design contract an agent would build against is not ready, so this routes back to/wireframeplus a DDR amending DDR 0300 decision 6 before build — exactly as the body's Design section says.Dependency. This re-applies the services' default language, so it is blocked by #2122 (the services ticket); wiring that as a native dependency.
Not an ADR 0174 judgment call — the gate is mechanical: a referenced wireframe file does not exist.
Design landed in
6d9df353(#2146, DDR 0301). Relabelledneeds-design→ready-for-agent.Dropped the #2122 dependency. The keystone this build needs landed on main in
a8987221:clan.WriteCommunityLanguage/ReadCommunityLanguageprovision.WithCommunityLanguage#2122 only stays open for its per-service follow-ups.
Two calls in DDR 0301 to veto if wrong:
⏩ independent reviewer for #2123 — verdict
unauthenticatedreview JSON
close-report for #2123 — status
success✅ close-report gates passed — every claim verified against the pushed worker branch
sandcastle/worker/20261104-000140-a072c5(pre-land — the host promotes it tomainonly after its post-run verify, #193/#283); issue closed.envelope
🚨 Reopened — a push-mode close did NOT land on
main(#283). close-report closed this issue against the pushed worker branch, but the host's post-run verify rolled the land back (the promote did not advance main (a no-op push to main)), soorigin/mainnever carried the commits (03ba7fc3df955a84cfb30b5f9fa252996aaa9615). The gates-passed comment above is therefore NOT true ofmain. Reopening and relabellingready-for-sessionso the work is redone where it can land; the commits are parked on a rescue branch for triage (see this run's alarm).close-report for #2123 — status
success· landed onmainat67741016Changing the community's primary language after founding is live, from control-panel Settings (DDR 0301). This re-lands the swarm worker's complete, test-passing implementation (
03ba7fc3) that the earlier run left offmainwhen its post-run promote was a no-op (#283). I cherry-picked that commit onto currentmain, re-verified the whole thing here, fixed a STATUS.md merge artifact, and pushed — this time the push advancedmain(e9dbf702..67741016, confirmed againstorigin/main).What landed
clan.WriteCommunityLanguagegains theen-removal path (DDR 0301 d.7): landing back on English removesidss/community-languagethrough the one writer; a pure no-op on anenfounding, so founding callers are unchanged.controlapi:CommunityDetailsgainslanguage(always present,enby absence) andlanguage_change(switching/failed+reason+log_ref); newPOST /api/v1/settings/community/language→ 202 accepted · 204 no-op · 400 unsupported · 409 in-flight (d.8).configRepoSettingsruns the record-and-re-apply off the request path through a sharedcommunityLanguageController; a failed re-apply puts the fact back (d.6) and tees the gateway deploy into theoplogstore so DSL4's "See what happened" replays the run (P10 viewer).SettingsScreen.vuerenders the COMMUNITY LANGUAGE row + DSL1–DSL4 to the DDR 0301 d.10 element contract;SettingsSurfacepolls switching→done. Copy underpanel.shell.settings.language.*in all five locales (parity guard green; option names un-translated, each withlangset). OpenAPI spec + generated client regenerated.Acceptance (all met, re-proven on this checkout)
pt; operator'sidss.localeuntouched —settings_community_language_test.go+ dashboardsettings.test.ts.community_test.goen-removal +TestConfigRepoSettings_LanguageBackToEnglishRemovesTheDoc.TestConfigRepoSettings_FailedReApplyPutsTheFactBack+ the DSL4 panel test.controlapistatus contract + control-plane rulings test.panel.shell.settings.language.*across five locales, parity green —i18n.test.ts.Proof run here (not just the sandbox's)
go build ./...·go vet ./...·gofmt -l(clean) — green.go test ./internal/clan/ ./internal/controlapi/ ./internal/founding/ ./control-plane/cmd/control-plane/— green.vitestsuite 175 files / 2266 tests green;vue-tsc --noEmitclean;eslinton changed files clean;generate-client.mjs --check→ in sync.main.Ruled by agent under ADR 0174 — veto anytime. Two-way door: a change is undone by changing it back, and the failure path puts the fact back on its own; not on the one-way list (no credentials, member trust, data destruction or spend). The two calls Ben flagged (d.9 door-admits-not-admin-only, d.5 re-apply-immediately) are built as the DDR records them.
OWED (unchanged from the design): the per-service live follow-ups #2122 still tracks — the seam proves the gateway is driven at the committed revision and that provision reads the community language live, not the rendered output; a clan-lab drive proving a
ptcommunity serves Português/Español end to end is the #2122 debt, not this ticket's.Commit:
67741016(re-lands03ba7fc3).