You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d2273ab
Browse filesBrowse the repository at this point in the historyBrowse files
docs(changeset): the third bullet states the reader-facing change, and a second ADR-0087 semantic entry carries it
- The third BREAKING bullet's FROM and TO name the readers only: a text
hole and $record.
- New semantic ledger entry flow-dotted-write-read-by-run-expressions-only
states the rule; the changeset's registered marker names both entries.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017xRBcW9L8Noz9BxEwjwiov
-**BREAKING: a flow variable key may not use `__proto__`, `constructor` or `prototype` as its name or as any dot-separated part of it.** Registration (and `os migrate meta --stored`, which previews it) judges every key a flow names, in every graph it holds: each node's `id` (it heads every key the node's output is stored under), each declared variable's `name`, each `assignment` node's targets in every shape, each node's `outputVariable`, `iteratorVariable`, `indexVariable`, `errorVariable` and `idVariable`, and each `screen` field's `name`. A name is judged with surrounding whitespace trimmed.
15
15
- FROM: a flow naming such a key registered.
@@ -20,6 +20,6 @@ Metadata-protocol: narrowed
20
20
- TO: the resume answers `INVALID_SIGNAL` before anything reads the submitted values; nothing is applied, and the run stays paused for a valid submission.
21
21
- The fix: send the screen's declared field names, and `output` keys without those segments.
22
22
-**BREAKING: one run's writes never change a flow's defaults, another run's values, or the record the run was handed.** Each run binds its own copy of a declared variable's object or list default, and of the trigger record (`record` and `$record`). A dotted write whose head names a value the run holds (`cfg.mode` over a declared `cfg`, `record.x` over the trigger record) is read back by the run's expressions (conditions and CEL values); the value itself keeps what it was, and a text hole (`{{ cfg.mode }}`) and `$record` read the value. With no durable suspended-run store, a resumed run works on its own copy of its variables, as a stored run does.
23
-
- FROM: such a write also changed the value it named: a text hole and `$record` read the write, the next run of the flow started from the changed default, and a node that changed the record in place changed the trigger's object.
24
-
- TO: only the run's expressions read the write; text holes, `$record`, the flow's default, the next run and the trigger's object do not.
23
+
- FROM: a text hole and `$record` read a dotted write.
24
+
- TO: only the run's expressions read the write; a text hole and `$record` read the value.
25
25
- The fix: to show or keep a value a run computed, assign it to a variable of its own (`assignments: { mode_now: { dialect: 'cel', source: 'cfg.mode' } }`) and read that variable in the text hole or the later step.
0 commit comments