Repository navigation
Strip liveness gate from AI Vault session delete - #13279
Conversation
Delete now requires only path validation + user confirmation — no process roster, no liveness check, no quiescence, no ownership ledger. Co-authored-by: Orca <[email protected]>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (21)
📝 WalkthroughWalkthroughAI Vault session deletion no longer checks session liveness or rejects live and unknown-liveness sessions. The liveness module, runtime method, related dependencies, and liveness rejection types were removed. IPC deletion wiring now passes only deletion data and cache invalidation dependencies. Renderer deletion blocking no longer uses live state. Related tests were updated or removed. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Session delete no longer checks process liveness, so drop the manifest entry that still referenced the deleted test files.
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
* Strip liveness gate from AI Vault session delete Delete now requires only path validation + user confirmation — no process roster, no liveness check, no quiescence, no ownership ledger. Co-authored-by: Orca <[email protected]> * Remove obsolete AI Vault liveness delete reliability gate Session delete no longer checks process liveness, so drop the manifest entry that still referenced the deleted test files. * minor fix --------- Co-authored-by: Orca <[email protected]>
Summary
getSessionLiveness,resolveAiVaultSessionLiveness,readAiVaultSessionIdentity) from the AI Vault session delete path — delete now proceeds with path validation + user confirmation onlysession-liveness.tsentirely (only consumed by the delete path)getAiVaultSessionLivenessfromOrcaRuntimeServiceand its IPC wiring throughregister-core-handlers→ai-vault.ts→ai-vault-delete.ts→session-delete.tsisSessionLivecheck inaiVaultSessionDeleteBlockedReason); kept path/host/synthetic/agent gatesAiVaultSessionLivenesstype andsession-live/session-liveness-unknownrejection codes from shared typesTest plan
npm run typecheckpasses (all three tsconfig targets)session-delete.test.tspasses (14 tests — path validation, trash, WSL, companions)ai-vault.test.tspasses (43 tests — IPC cache invalidation, multi-host leg cache)ai-vault-session-deletability.test.tspasses (7 tests — host/synthetic/agent gates)Made with Orca 🐋