Executions were being created with no outgoing edges to what they acted on or which task/session drove them, silently starving the graph of new data going forward — found during this session's DB audit, which had to backfill 245+25 missing targets/involves edges for existing executions. This closes the gap at the source: every execution now gets a target-->targets-->execution edge, and (when the caller supplies a session/task) a task-->involves-->execution edge, both idempotent (NOT EXISTS guards) so retries/backfills don't duplicate. Two call sites: the deduped systemctl/apt_upgrade/pct_create fast path and the general classifyAndGate path. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
78 KiB
78 KiB