Build canonical simulation without Horizon SDK and remove hidden launch fixes (#87 #107)

Preserve the adapter facade and move adapter-only checks out of domain tests. Late tracks do not reveal an unseen launch origin or its timestamp.

Co-Authored-By: Codex GPT-6.1 Terra <noreply@openai.com>
This commit is contained in:
2026-11-02 01:17:03 +03:00
parent 4761ae7d70
commit 5f07027faa
27 changed files with 371 additions and 194 deletions
+3 -3
View File
@@ -101,10 +101,10 @@ impl SamTrack {
}
}
#[cfg(test)]
#[cfg(any(test, feature = "test-fixtures"))]
impl Recording {
/// A recording of `len` ticks with nothing in it (for the planner's tests).
pub(crate) fn blank(len: u32) -> Self {
pub fn blank(len: u32) -> Self {
Recording {
number: 1,
origin: DVec3::ZERO,
@@ -123,7 +123,7 @@ impl Recording {
}
}
/// A straight track from `from` to `to` over the ticks `first..=last` (every `STEP`).
pub(crate) fn straight(&mut self, id: u32, what: What, first: u32, last: u32, from: DVec3, to: DVec3) {
pub fn straight(&mut self, id: u32, what: What, first: u32, last: u32, from: DVec3, to: DVec3) {
let n = ((last - first) / STEP).max(1) as usize;
let points = (0..=n).map(|k| {
let p = from.lerp(to, k as f64 / n as f64);