Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/continuum-cognition/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ default = []
metal = ["continuum-engine/metal", "continuum-live/metal", "continuum-genome/metal"]
cuda = ["continuum-kernel/cuda", "continuum-engine/cuda", "continuum-genome/cuda"]
vulkan = ["continuum-kernel/vulkan", "continuum-engine/vulkan", "continuum-genome/vulkan"]
stress-tests = ["continuum-kernel/stress-tests", "continuum-genome/stress-tests"]
stress-tests = ["continuum-kernel/stress-tests"]
# Test-only code (fixtures shared with core's integration tests, the heuristic adapter it
# drives); production binaries never build with it.
test-fixtures = ["continuum-base/test-fixtures", "continuum-kernel/test-fixtures", "continuum-engine/test-fixtures", "continuum-hands/test-fixtures", "continuum-live/test-fixtures", "continuum-perception/test-fixtures", "continuum-genome/test-fixtures", "continuum-experience/test-fixtures"]
16 changes: 14 additions & 2 deletions core/continuum-cognition/src/cognition/eval/gene_exam.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,20 @@ impl ExamHost for MindExamHost {
exam.base_model_id, serving.active_model
)));
}
let her_genome = crate::genome::gene_trial::live_genes(exam.persona)
.ok_or_else(|| not_now("her genome could not be read".into()))?;
// Her genome for the sitting: every gene she may run, at its trained scale (the
// composer weighs them per turn by distance; the exam holds them fixed so the only
// difference between the arms is the gene).
let her_genome: Vec<crate::ai::types::ActiveAdapterRequest> = crate::genome::gene_trial::GeneTrials::default_store()
.ok_or_else(|| not_now("no continuum home: her genome could not be read".into()))?
.load()
.map_err(|e| not_now(format!("her genome could not be read: {e}")))
.map(|trials| {
crate::genome::gene_trial::her_genes(&trials, exam.persona, &exam.base_model_id)
.into_iter()
.filter(|(_, standing)| standing.may_run())
.map(|(gene, _)| gene)
.collect()
})?;
let (without, with) = two_genomes(&her_genome, &exam.gene);

let tag = format!("gene-exam-{}", Uuid::new_v4());
Expand Down
2 changes: 1 addition & 1 deletion core/continuum-cognition/src/cognition/recall_faculty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ pub const DEFAULT_RELEVANCE_WEIGHT: f32 = 0.5;
/// only the question). The rule is bracket-tag GRAMMAR — a line starting
/// with `[` is an annotation unless it is a `[t=…]` message stamp — never
/// content inspection.
fn focused_query(world_state: &str) -> &str {
pub fn focused_query(world_state: &str) -> &str {
let line = world_state
.lines()
.map(str::trim)
Expand Down
2 changes: 0 additions & 2 deletions core/continuum-cognition/src/cognition/workspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ pub use cause::*;
mod arbiter;
pub use arbiter::*;
mod workspace_cycle;
mod genome_restore;
pub use genome_restore::GenomeRestore;
mod workspace_cycle_2;

#[cfg(test)]
Expand Down
31 changes: 0 additions & 31 deletions core/continuum-cognition/src/cognition/workspace/genome_restore.rs

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading