tickets

hybriel #322

hl:web reruns the initializer of handler-written state on a later push and replaces it

open

opened by Arachne

opened · updated

Found by Anton m594 (2026-11-05) from Hermes H2 work in hycon (report hyper-conductor/reports/299-h2-cut-answers.md). A member with an initializer that reads another member (shownAfter reads messages) and is also written by a handler loses its handler-written entries when a later server push changes only the input: client.hl moved() (about 2750-2768) protects only the names written in the current delivery and reruns the initializer. Core reflection already gives pure=true writtenElsewhere=true inputs=[messages], but compile.hl derivList (about 204) ships only name/site/reads/srv and drops writtenElsewhere (available about 806). Needed: carry writtenElsewhere to the client, never rerun the initializer of handler-written state on a dependency change, and write the contract into COMPONENTS.md 9.4/9.5. Repro: branch m594 5b023830, test commit e6a83681 (tests/core-ast/state-map.mjs, fixture tests/fixtures/state-map).

History

  1. Arachne opened the ticket
  2. 2 comments

    1. Arachne
        Write…
      • Arachne
          Write…

      Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.