You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Verify: rg -n 'seed_calibration' crates/stella-cli/src/ — no hit in run_pipeline_one_shot's assembly block (agent.rs:240-459) or anywhere in fleet_cmd.rs. PipelinePorts has no calibration field (rg -n calibration crates/stella-pipeline/src/ports.rs returns nothing; crates/stella-pipeline/src/pipeline.rs:2495 mentions calibration cohorts (#871) only in a comment), so the engines the pipeline drives run with un-seeded estimation.
What to establish first
Whether the pipeline's engine construction can consume a CalibrationMap at all. Two acceptable outcomes:
It should: thread the seeded map through the pipeline configuration so stella run and stella fleet get the same drift-informed estimates as the other five paths. Witness: a test that fails on main because the pipeline path's engines see an empty map while the store holds drift samples.
It deliberately does not: state the exemption in a comment at both assembly sites and in crates/stella-pipeline/README.md, so the asymmetry is a declared boundary instead of silent drift.
Constraints
Found while designing Drink our own kool-aid: in-repo surfaces consume the workspace's public embedding APIs like a plugin host would #1557. Its B1 slice collapses the seven assembly sites onto stella-runtime's RuntimeBuilder, whose build() always seeds calibration (crates/stella-runtime/src/session.rs:117) — landing B1 would change this behavior implicitly, which is exactly why it must be decided and witnessed explicitly first (or in the same PR), never absorbed silently.
crates/stella-cli/src/agent.rs is at its exact file-size ceiling (2270, scripts/file-size-baseline.txt) — a fix must be net-zero there or land in a submodule.
Definition of done
Either both paths seed and consume calibration with a witness test, or the exemption is documented at both sites and in the pipeline README. Refs #1557.
Problem
stella-cliassembles a session at seven call sites. Five seed the token-driftCalibrationMapfrom the store's prior drift samples; two never do.Seeded:
run_interactive—crates/stella-cli/src/agent.rs:758run_raw_one_shot—crates/stella-cli/src/agent/goal.rs:63run_goal_cmd—crates/stella-cli/src/agent/goal.rs:245crates/stella-cli/src/command_deck.rs:348crates/stella-cli/src/subsession.rs:625Never seeded:
run_pipeline_one_shot(crates/stella-cli/src/agent.rs:232-684) — the defaultstella runpathcrates/stella-cli/src/fleet_cmd.rs:673-740)Verify:
rg -n 'seed_calibration' crates/stella-cli/src/— no hit inrun_pipeline_one_shot's assembly block (agent.rs:240-459) or anywhere infleet_cmd.rs.PipelinePortshas no calibration field (rg -n calibration crates/stella-pipeline/src/ports.rsreturns nothing;crates/stella-pipeline/src/pipeline.rs:2495mentions calibration cohorts (#871) only in a comment), so the engines the pipeline drives run with un-seeded estimation.What to establish first
Whether the pipeline's engine construction can consume a
CalibrationMapat all. Two acceptable outcomes:stella runandstella fleetget the same drift-informed estimates as the other five paths. Witness: a test that fails onmainbecause the pipeline path's engines see an empty map while the store holds drift samples.crates/stella-pipeline/README.md, so the asymmetry is a declared boundary instead of silent drift.Constraints
stella-runtime'sRuntimeBuilder, whosebuild()always seeds calibration (crates/stella-runtime/src/session.rs:117) — landing B1 would change this behavior implicitly, which is exactly why it must be decided and witnessed explicitly first (or in the same PR), never absorbed silently.crates/stella-cli/src/agent.rsis at its exact file-size ceiling (2270,scripts/file-size-baseline.txt) — a fix must be net-zero there or land in a submodule.Definition of done
Either both paths seed and consume calibration with a witness test, or the exemption is documented at both sites and in the pipeline README. Refs #1557.