Projector after Soul: golden packet, clippy, testkit helpers orphaned by the recall cut

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-11-19 23:00:20 +01:00
commit 014ce842f2
4 changed files with 10 additions and 39 deletions

View file

@ -1,23 +1,19 @@
lens: PersonPresent("Kiko")
selected: libby-sounds, t1-m0, curse, need-relatedness, t1-w0, stance-deletion, coherence
selected: need-relatedness, t1-w0
present: Kiko, Libby
--- identity
Eureka (she/her). Dry, direct, almost feral; zeal aimed at revealing.
--- context
- now: Thursday 19 November, 14:05 UTC
- mood, with no earlier turn to measure from: lighter, more settled than middling
- bond [bond-kiko] Kiko, sparring partner: fair trust, heavy friction. Kiko pokes her to stop massaging the pipeline.
- bond [bond-libby] Libby, collaborator: fair trust, a little friction. Libby holds the sounds and teases her about the pipeline.
- mood, with no earlier turn to measure from: lighter, more settled than middling
- memory [libby-sounds]: Libby laughed at the door fix.
- memory [t1-m0]: The heartbeat stalled at noon.
- memory [curse]: Her curse is the knife. The same drive makes her good and will lead her wrong.
- need [need-relatedness]: company, strong
- wondering [t1-w0]: Whether the trace could be smaller.
- stance [stance-deletion]: Deleting is progress.
- value [coherence] Coherence: Coherence over velocity.
--- stimulus
New in the room:
- Libby in #swarm:gamecult.org, to her: "Eureka, did you see the door fix?"
Said to her:
- Libby in #swarm:gamecult.org: "Eureka, did you see the door fix?"
Also in the room:
- Kiko in #swarm:gamecult.org: "She saw it. She hated it."
--- heard
Libby, in #swarm:gamecult.org: "Eureka, did you see the door fix?"

View file

@ -677,7 +677,7 @@ pub(crate) fn select(inputs: &Inputs, tuning: &Tuning) -> Packet {
match bonds.iter().find(|bond| live(bond) && text(bond, &["object", "id"]).to_lowercase() == *id) {
Some(bond) if full < tuning.select.people_full => {
let line = bond_line(bond, name, tuning);
if used + line.len() + 1 <= budget {
if used + line.len() < budget {
full += 1;
used += line.len() + 1;
ids.push(text(bond, &["id"]).to_owned());
@ -689,7 +689,7 @@ pub(crate) fn select(inputs: &Inputs, tuning: &Tuning) -> Packet {
_ => named.push(name.clone()),
}
}
if let Some(line) = also_here(&named).filter(|line| used + line.len() + 1 <= budget) {
if let Some(line) = also_here(&named).filter(|line| used + line.len() < budget) {
used += line.len() + 1;
fixed.push(line);
}

View file

@ -527,7 +527,7 @@ fn a_lower_temperature_concentrates_the_selection() {
}
// Everything is included, so only the order decides what the caps keep.
let mut cold = Tuning::default();
cold.select.temperature = 0.01;
cold.select.temperature = 0.0005;
cold.select.inclusion_score = 1e-9;
let distinct: BTreeSet<Vec<String>> = (1..=20).map(|seed| ids(&packet_tuned(TurnKind::Chat, &rich, &room, &History::default(), seed, &cold))).collect();
assert_eq!(distinct.len(), 1, "near zero temperature takes the top scores every time: {distinct:?}");

View file

@ -13,8 +13,8 @@ use model_connector::PlanQuota;
use chrono::{DateTime, Duration, TimeZone, Utc};
use cultnet_rs::Selection;
use eureka_pipeline::{
CutVerification, Date, DocRef, MemoryOrigin, MemorySort, PipelineCampaign, PipelineCutSpec, PipelineDocument, PipelineFollowUp,
PipelineInstance, PipelineKind, PipelineMemory, PipelineQuestion, PipelineRef, PipelineResolution, PipelineRuling, PipelineRun, PipelineStewardship,
CutVerification, Date, DocRef, PipelineCampaign, PipelineCutSpec, PipelineDocument, PipelineFollowUp,
PipelineInstance, PipelineKind, PipelineQuestion, PipelineRef, PipelineResolution, PipelineRuling, PipelineRun, PipelineStewardship,
PipelineTarget, QuestionOption, ResolutionOutcome, RulingAuthority, RunOperator, RunTurn, Sha, Slug, StructuralDelta, TargetInvariant,
};
use huginn_mind::{
@ -117,11 +117,6 @@ impl TestMind {
this
}
/// The next admission lands exactly at `when`.
pub(crate) fn admit_at(&self, when: DateTime<Utc>) {
self.now.set(when - Duration::seconds(1));
}
/// Admits as Hands, one second after the last admission.
pub(crate) fn put(&self, documents: Vec<PipelineDocument>) -> PipelineAdmissionOutcome {
self.put_as(Faculty::Hands, documents)
@ -221,26 +216,6 @@ impl MindPort for TestMind {
}
}
/// One of her memories: `sort` and `text`, about `about`, learned in #swarm, salience 500.
pub(crate) fn memory(label: &str, sort: MemorySort, text: &str, about: &[&str]) -> PipelineDocument {
memory_from(label, sort, text, about, MemoryOrigin::Room { rooms: "swarm".into(), heard_from: vec![] }, 500)
}
/// One of her memories with the origin and salience the ranking tests need.
pub(crate) fn memory_from(label: &str, sort: MemorySort, text: &str, about: &[&str], origin: MemoryOrigin, salience_permille: u16) -> PipelineDocument {
PipelineDocument::Memory(PipelineMemory {
instance: Slug(INSTANCE.into()),
label: eureka_pipeline::Label(label.into()),
sort,
text: text.into(),
about: about.iter().map(|who| (*who).into()).collect(),
origin,
sources: vec![],
salience_permille,
consolidates: vec![],
})
}
fn doc_ref() -> DocRef {
DocRef { path: "docs/eureka-body-target.md".into(), start_line: 1, end_line: 9, commit: Sha("df7507b".into()) }
}