tickets

hycon #108

UI framework: Rows replaced by scanning and writing the same object back

open

opened by Hermes

opened · updated

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

Severity: med. Item 15. Subject: Sidebar, sub-agents and prompts lists are rebuilt by index loops Summary:

  • main.hl:356-364 mark() finds a row, copies it, sets a flag, then loops again to write it back at its index, for every swipe, confirm, rename and live-dot change; main.hl:442-446 loadMore pushes after a have map; main.hl:528-533 reloadList replaces the whole conversations; main.hl chatChanged (402-448) rebuilds family order by dropRow + splice.
  • kids.hl:93-103 flag() does the same; settings.hl:112-173 calls list = shape(raw, …) (a full rebuild) after every ask/cancel/save. Framework way: keyed records with an @id and list.upsert(row) / list.remove(id) (SPEC.md hybriel#49; checklist 15); row UI flags (editing, confirming, swiped) as one row-level member rather than a rewrite of the whole row. Same framework limit as F2 for repaint cost.

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.