tickets

hycon #107

UI framework: Cross-file emit to a server face

open

opened by Hermes

opened · updated

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

Severity: med. Item 10. Subject: chat.hl emits rename, whose handler is only in main.hl Summary:

  • chat.hl (title blur, ~line 297) calls emit server rename(id, title); on server rename is main.hl:586 (the shell's sidebar rename). Checklist 10: "a name whose on is only in another file" (ARCHITECTURE §3, #205).
  • The same face is also used by the sidebar, so a rename from the chat page depends on the shell being mounted. Framework way: $parent.rename(id, title) (COMPONENTS.md §12 "$parent") or one function in lib/ called from each page's own face. (All emit client fan-outs such as chatChanged are the push model and are correct.)

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.