mirror of
https://github.com/stablyai/orca.git
synced 2026-10-23 08:03:39 +00:00
fix(runtime): require fresh owning PTY presence
This commit is contained in:
@@ -20704,6 +20704,9 @@ export class OrcaRuntimeService {
|
||||
if (!evidence || evidence.status !== 'live') {
|
||||
return result(evidence?.status ?? 'unverifiable')
|
||||
}
|
||||
if (!this.inventoryProvesRestoredBindingPresent(freshPtyInventory, binding)) {
|
||||
return result('unverifiable')
|
||||
}
|
||||
if (binding.source === 'persisted') {
|
||||
return result('unverifiable')
|
||||
}
|
||||
@@ -20748,6 +20751,7 @@ export class OrcaRuntimeService {
|
||||
if (
|
||||
encodedHost === 'foreign' ||
|
||||
(encodedHost !== null && encodedHost !== hook.hostKey) ||
|
||||
(controllerIdentity?.wslDistro && !hook.hostKey.startsWith('wsl:')) ||
|
||||
(hook.hostKey.startsWith('wsl:') &&
|
||||
controllerIdentity?.wslDistro?.toLowerCase() !== hook.hostKey.slice(4))
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user