* feat(approval): localize prompts and allow consent for one turn * test(approval): update cast baseline and Web PTC prompt pin * fix(approval): cover PTC language and clarify turn consent * fix(approval): group turn consent under allow menu * fix(approval): keep turn consent in memory only * test(snapshot): refresh owners for merged justification guidance * fix(approval): drop duplicate allow-once from the allow menu * refactor(approval): derive turn consent expiry from one check Replace the turn approval bookkeeping (revocation state, incremental log cursor, and turn-signal listeners) with one side-effect-free expiry check over the log and lifetime flags. Events now only withdraw open presentations early; the expiry check decides whether an answer or turn consent still applies, including for Sessions without event publication. * refactor(approval): drop one-turn consent and keep localization only Remove the allowed-turn answer, the live turn-consent state, the allow menu, and their tests, notes, and recorded Web scenario. The approval service returns to the master request path; the request keeps the localized displayReason for presentation, and the card resolves it in the active UI language. * test(snapshots): record the localized justification schema text in new scenarios --------- Co-authored-by: Turtle <[email protected]> Co-authored-by: Kaige-Gao <[email protected]>
20 lines
715 B
YAML
20 lines
715 B
YAML
# Bilingual-pair consistency record for approval.md (docs/i18n/README.md): per heading
|
|
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
|
|
# After editing either side, bring the other along and re-record with:
|
|
# pnpm run verify-translation-pairing --write docs/subsystems/approval.md
|
|
/user-approval:
|
|
en: 490b0cce7f1ceed5
|
|
zh: 1126f2d7261b490a
|
|
/user-approval/identity-and-outcome:
|
|
en: 3dd2094e3bd0f10f
|
|
zh: 0a56f3add2e1fc57
|
|
/user-approval/per-session-policy:
|
|
en: 5e51c6e37c5e30c3
|
|
zh: 84bad36357332539
|
|
/user-approval/approval-request:
|
|
en: 044ddfc382eb745c
|
|
zh: c0010b23c94ab3af
|
|
/user-approval/dispatch-and-audit:
|
|
en: bd2c2cc1eaaaf2d6
|
|
zh: 67bfbed1b7499ffb
|