Join live repository readiness in Mind
This commit is contained in:
parent
4127905ffd
commit
360dcb433d
9 changed files with 1552 additions and 17 deletions
|
|
@ -27,6 +27,7 @@ mod prompt_context;
|
|||
mod proposal;
|
||||
mod repo_model_gateway;
|
||||
mod repository_body_observer;
|
||||
mod repository_readiness;
|
||||
mod runtime_spine;
|
||||
mod semantic_backend;
|
||||
mod semantic_projector_service;
|
||||
|
|
@ -839,6 +840,7 @@ pub use proposal::EpiphanyMapProposalInput;
|
|||
pub use proposal::propose_map_update;
|
||||
pub use repo_model_gateway::*;
|
||||
pub use repository_body_observer::*;
|
||||
pub use repository_readiness::*;
|
||||
pub use runtime_spine::COORDINATOR_RUN_RECEIPT_SCHEMA_VERSION;
|
||||
pub use runtime_spine::COORDINATOR_RUN_RECEIPT_TYPE;
|
||||
pub use runtime_spine::EpiphanyCoordinatorRunReceipt;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ use super::{
|
|||
MEMORY_SEMANTIC_PROJECTION_ATTEMPT_SCHEMA_VERSION, MemorySemanticIndexReceipt,
|
||||
MemorySemanticProjectionAttempt, MemorySemanticProjectionObligation,
|
||||
MemorySemanticProjectionSourceHead, bind_memory_semantic_index_receipt,
|
||||
memory_semantic_projection_query_eligible, memory_semantic_projection_terminal_success,
|
||||
memory_semantic_projection_terminal_success,
|
||||
validate_memory_semantic_projection_attempt, validate_memory_semantic_projection_obligation,
|
||||
};
|
||||
use anyhow::{Result, anyhow};
|
||||
|
|
@ -406,7 +406,7 @@ mod authority_tests {
|
|||
)?;
|
||||
let readiness = load_memory_semantic_projection_readiness(&store, &input)?
|
||||
.expect("terminal empty receipt remains authenticated");
|
||||
assert!(!memory_semantic_projection_query_eligible(
|
||||
assert!(!super::super::memory_semantic_projection_query_eligible(
|
||||
&obligation,
|
||||
&input.authority.head,
|
||||
&readiness.receipt
|
||||
|
|
|
|||
1496
epiphany-core/src/repository_readiness.rs
Normal file
1496
epiphany-core/src/repository_readiness.rs
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -833,6 +833,7 @@ pub fn runtime_spine_cache(store_path: impl AsRef<Path>) -> Result<CultCache> {
|
|||
cache.register_entry_type::<crate::EpiphanyMemoryGraphEntry>()?;
|
||||
cache.register_entry_type::<RepoModelAdmissionReview>()?;
|
||||
cache.register_entry_type::<RepoModelAdmissionReceipt>()?;
|
||||
cache.register_entry_type::<crate::RepositoryReadinessProjection>()?;
|
||||
cache.register_entry_type::<RepoModelMigrationReceipt>()?;
|
||||
cache.register_entry_type::<crate::RuntimeRepositoryBodyStoreBinding>()?;
|
||||
cache.register_entry_type::<RepoModelClaimChallenge>()?;
|
||||
|
|
|
|||
Reference in a new issue