Resolved conflicts in index.ts and nodeRuntimeBroker.ts:
index.ts (market update path): Union of both sides — keep main's
agent/errand slot clearing before rename (Windows EPERM fix) AND the PR's
expectedInstalledApproval receipt-token guard (required for receipt-based
authorization model).
index.ts (local .cindy install): Keep PR's lock ordering (owner lease
outside per-id install lock, per documented invariant that prevents
deadlock). Absorb main's runtime.stop + stopAndWait calls inside the
lock for safe directory replacement on Windows.
nodeRuntimeBroker.ts (child process dispatch): Union of three independent
safety gates — main's worker entry identity check (skip stale entries),
main's stoppedGhosts check (refuse fork during shutdown), and the PR's
ownerScopeUsable check (reject stale owner scope callbacks).
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Yuewei-LL <308228674+Yuewei-LL@users.noreply.github.com>