5 Commits

Author SHA1 Message Date
dutchpsycho e8bb4f0841 ui/shell: rebuild main window backend flow 2026-05-06 09:11:24 +10:00
dutchpsycho ab225ab3a7 ui/analysis: add deferred launch-gate resume and teardown disarm to session startup
_pendingDeferredLaunchGateResume tracks whether the interface should signal the
launch gate after hook-ready notification. When set, the session startup flow
sends the gate release after confirming hook ready state rather than leaving the
gate decision to the controller.

DisarmTeardownProtectionBestEffort is called on window close to ensure the
controller releases any held gate before the interface exits, preventing the
target process from hanging indefinitely on a closed interface session. Refs #16.
2026-04-18 13:00:00 +00:00
dutchpsycho d3562752ff ui/analysis: stop API graph churn and expose hook origin validation
The API graph view was republishing the entire snapshot on every timer tick
when rows already existed, even if no new hook data had arrived. Because the
view model resets the backing observable collection during publish, that caused
constant UI churn, repeated allocations, and self-noise that obscured the real
call stream.

At the same time, memory action details were not surfacing the captured hook
origin chain well enough to answer where an allocation originated from. The UI
only considered a small fixed set of symbol tokens and had no fallback to raw
IPs or any visible validation around the return address.

Tighten the analysis surface in two ways:
- only republish the API graph when the snapshot is marked dirty
- expose the shared IPC stack-frame constant to the analysis formatter
- build hook frame lists from all available symbol slots and fall back to raw
  stack IPs when symbols are not yet resolved
- derive origin-module text from either OriginPath or originSymbol
- append hook frame summaries directly into memory action details
- surface return-address resolved/in-stack checks so the operator can judge
  whether the caller origin is backed by the captured stack

This cuts the constant redraw pressure and makes memory.alloc style events far
more actionable when tracing module origin and caller flow.
2026-04-13 19:08:00 +10:00
dutchpsycho 6797ac6e8e ui/analysis: surface module hook lanes and loader fields 2026-04-03 17:47:55 +10:00
dutchpsycho b5a1526529 Fix project paths after source tree rename 2026-04-03 14:23:15 +10:00