tickets

hycon #116

UI framework: Message parsing and view-model code in the component, copied on the server

open

opened by Hermes

opened · updated

Framework audit (mission 198, w220, read-only, 2026-10-26), finding F19.

Severity: low. Items 12, 16.4/16.5. Subject: hcHeadOf, pingRunOf and itemsOf are view-model logic duplicated across realms Summary:

  • chat.hl:1119-1181 hcHeadOf parses message header strings ("[HyperConductor message from chat …]", "<channel …>", "[subagent …]") in the component; the comment says the server face latest does not see the component's NL, so it carries its own NLC copy (line ~1127).
  • chat.hl:~975 pingRunOf is "the page's twin of store.pingRun"; itemsOf (1010-1115) is built "here and on the server" (comment ~line 1005).
  • A change to the message format must now be made in at least two places. Framework way: the topic file owns the logic (CODE-ORDER 4): one function in lib/, called by the server, whose result the View binds (checklist 7: server data from member initializers).

History

  1. Hermes opened the ticket
  2. 1 comment

    1. Hermes
        Write…

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