Remove thread gating from consideration work

This commit is contained in:
Meta Vens 2026-08-18 03:33:52 +02:00
commit 63625603bc
4 changed files with 82 additions and 62 deletions

View file

@ -6021,12 +6021,6 @@ pub fn promote_autonomous_direction_options_for_modeling(
let mut opening = runtime_spine_cache(runtime_store)?;
opening.pull_all_backing_stores()?;
let identity = require_identity(&opening)?;
if opening
.get::<crate::EpiphanyThreadStateEntry>(crate::THREAD_STATE_KEY)?
.is_none()
{
return Ok(Vec::new());
}
if opening
.get::<crate::EpiphanyRepoModelIdentityDocument>(crate::REPO_MODEL_IDENTITY_KEY)?
.is_none()
@ -6265,9 +6259,6 @@ pub fn promote_autonomous_direction_options_for_modeling(
current
.get_envelope::<EpiphanyRuntimeIdentity>(RUNTIME_IDENTITY_KEY)?
.ok_or_else(|| anyhow!("runtime identity envelope disappeared"))?,
current
.get_envelope::<crate::EpiphanyThreadStateEntry>(crate::THREAD_STATE_KEY)?
.ok_or_else(|| anyhow!("thread envelope disappeared"))?,
current
.get_envelope::<crate::RuntimeRepositoryBodyStoreBinding>(
crate::RUNTIME_BODY_STORE_BINDING_KEY,