Skip to content

Commit 97432a1

Browse files
committed
docs(spec): ActionSchema.outcomeMessages states the action's one translation address
The property docblock still described the retired object-scoped-then- globalActions order. It now says a bound action reads its object's _actions copy and an object-less action reads globalActions. Claude-Session: https://claude.ai/code/session_01YDt3PzwfrkuFzUBF89WPmM Co-authored-by: Claude <noreply@anthropic.com>
1 parent 272a47c commit 97432a1

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎packages/spec/src/ui/action.zod.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,9 +1346,10 @@ const actionObject = () => strictObject({
13461346
* `operation: 'update'` (no handler, so no outcome). Each would parse clean
13471347
* and never be read — the ADR-0078 shape this file refuses at authoring time.
13481348
*
1349-
* **Translation** rides beside `successMessage`:
1350-
* `objects.<object>._actions.<action>.outcomeMessages.<outcome>`, then
1351-
* `globalActions.<action>.outcomeMessages.<outcome>` (`translateAction`).
1349+
* **Translation** rides beside `successMessage`, at the action's one
1350+
* address (`translateAction`): a bound action reads
1351+
* `objects.<object>._actions.<action>.outcomeMessages.<outcome>`, and an
1352+
* object-less action reads `globalActions.<action>.outcomeMessages.<outcome>`.
13521353
*
13531354
* Liveness `planned` until the console reader lands — the ledger row names
13541355
* its carrier.

0 commit comments

Comments
 (0)