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#1384
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?
Parent
Follow-up to #1379 (CLOSED,
a0f39a4a) and #1376. Contract: ADR 0232 decision 5 + acceptance #2 ("a Spanish validation error + Spanish S4a offer text; the picker switches it live").Symptom — the seam resolver ships but no screen calls it
#1379 landed the Go key+params (
brandkit.Issue/AccessOption/GatewayOffer/BrokerErrorgrowKey/Args), thefounding.validation.*/founding.offer.*/founding.brokerError.*catalogue (+founding.access.<kind>.*in g6), and a resolver + typed wrappers inapp/src/lib/founding.ts(resolveSeamText,accessOptionLabel/accessOptionDetail,gatewayOfferTerms/gatewayOfferNote,issueMessage). But it wired no component and no bridge, so onorigin/maintoday:FoundingAccess.vuestill renders{{ opt.label }}/{{ opt.detail }}/{{ offer?.terms }}/{{ offer.note }}/{{ rentError }}— raw Go prose, locale-independent.FoundingBrandKit.vuestill renders{{ warning.Message }}raw.internal/founding/stdio.gowas not touched:BrokerError.Key/Argsare set on the Go struct but there is noResponse.ErrorKey/ErrorArgs, so the key never crosses the string-only bridge — the app'srentErroris stille instanceof Error ? e.message. The keyedfounding.validation.slugTakenerror can never reach the S4a card.Net: acceptance #2's live proof (a Spanish access card / offer / broker error on the screen, switching live with the picker) is not met in the running UI — only the isolated
foundingSeamI18n.test.ts(which callsresolveSeamTextdirectly) proves the mechanism. The seam is inert until the screens call it.Scope (the wiring #1379 deferred)
Response.ErrorKey string+ErrorArgs map[string]any(internal/founding/stdio.go);fail()lifts them from a keyed*BrokerError(errors.As). App-side:BridgeFoundingClient.call()throws a keyed error (e.g. aKeyedError extends Errorcarryingkey/args) whenresp.errorKeyis set; extendFoundingResponsewitherrorKey?/errorArgs?.resolveSeamTextwrappers (key wins, prose falls back), and hold the rent error as its key+args+prose (not a pre-resolved string) so a live locale flip re-renders it:FoundingAccess.vue:accessOptionLabel/accessOptionDetail(opt),gatewayOfferTerms/gatewayOfferNote(offer), and the keyedrentError.FoundingBrandKit.vue:issueMessage(warning)for the diagnostic callout.FoundingStandup.vue's drill-in log rides #1383.)SeamTranslatorbound to the activeuseI18n()scope for the components (the landed wrappers take a{t, te}translator).Proof
go test ./...green (a bridge test asserting a keyed*BrokerErrorsetsResponse.ErrorKey/ErrorArgs, plus a plain error leaving them empty);pnpm --filter @idss/app testgreen — a component test mounting the founding wizard, flippingen→eslive, and asserting the access card / offer note / broker-error fault-line render Spanish (the true acceptance-#2 proof), and prose-fallback for an un-keyed value; eslint (incl.oc-i18n/no-bare-literal) + vue-tsc green.Note
A complete reference implementation of exactly this wiring + bridge was built in parallel under run 21495 (the duplicate that lost the claim race to
a0f39a4a; see #1379's thread) — the approach above mirrors it. ready-for-agent.swarm-claim host=matou-dev-server-01 run=21505
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1384 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope