i18n (Go seam): join CLI surface (cli.go) — terminal i18n mechanism (design) #2158
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#2158
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
Carved out of #2154 (the #2130 member + join i18n remainder) during triage under ADR 0174 — the join CLI surface is out of the seam pattern and needs a mechanism decided before it can be built.
The headless join (
internal/join/cli.go,printRejectionet al.) renders the same join domain to a terminal — no vue-i18n, noresolveSeamTextapp-side resolver. The key+params seam the rest of the i18n work rides on structurally does not reach a Go binary writing to stdout: "Full install — wipe → community OS", "Most reliable · hard to reverse", the role question, the no-consent line, andrej.Headline/NeedVsGotare all rendered server-side with no JS catalogue downstream.Why needs-design
There is no contract for how a Go CLI carries and resolves locale. That mechanism (the design tier) has to be decided before an agent can key
cli.go— it is a distinct mechanism question, not the established seam swap. This mirrors howinternal/idp's server-rendered HTML was routed to its own design ruling (#2138 → #2132) rather than folded into the seam remainder.Suggested direction for the design run (not a ruling): decide the locale source (a
--locale/LANGflag vs. inheriting the community'sidss/primary-language, #2122) and the catalogue mechanism (e.g.golang.org/x/text/messageprinter vs. a small in-package map), with authoreden+es/nl/fr/ptdrafts and a DDR recording the choice. Once the mechanism is decided it becomes an ordinaryready-for-agentbuild.Parent: #2121. Carved from #2154 (ADR 0174). Related: #2138 (the idp server-rendered-HTML locale design question).