Skip to content

Releases

Starboard v0.6.0: flight-ready library, CCSDS CDM ingest, flock layer

Choose a tag to compare

@Tokeloshe Tokeloshe released this 25 Oct 19:58
3385c9c

Starboard is an open "rules of the road" for satellites. When two satellites are on a collision course, both run Starboard on their own, with no radio contact, and reach the exact same answer, down to the last bit, about which one moves and how. This release turns the reference design into flight software a spacecraft team can integrate and test.

No pinned bit of SB/1 changed: the v1 transcript and RULESET_ID are untouched. Everything here is a new layer, a new input path, or bit-neutral hardening.

Real-world input: CCSDS Conjunction Data Messages

  • Reads the standard CDM collision warnings (CCSDS 508.0-B-1) through two independent implementations (C and C++) that agree bit for bit.
  • Exact decimal ingest with no strtod, fuzzed against glibc over 119 M inputs.
  • Pinned frames (ITRF), GPS epochs with a leap-second table, and RTN → inertial covariance.
  • TCA anchoring: the agreed encounter geometry is the provider's own.
  • sbctl decides any CDM from the ground using the flight library itself (--json for pipelines).

Flight layer (docs/FLIGHT.md)

  • C API with no heap and no OS. Modes are SAFE, ADVISORY (shadow) and AUTONOMOUS.
  • Built-in self-test: eleven known-answer tests; any failure latches SAFE.
  • Radiation (SEU) tolerance: every decision is computed twice, with a 2-of-3 vote on mismatch and CRC-protected inputs, verified by fault injection.
  • CCSDS Space Packet telemetry.
  • Fits a CubeSat MCU: 43.2 KB code, 24.8 KB RAM, 6.4 KB worst-case stack.

Layer 4: the flock

  • Satellites share maneuver notices hop by hop, so a whole constellation sees one picture of who is moving, like birds in a murmuration.
  • Each satellite checks every mover's path against its own. The flock warns; it never decides.
  • Demo: a 72-satellite shell converges in 9 hops, and an 8-craft formation catches a burn that would sweep through its neighbours.

Evidence (docs/ASSURANCE.md)

  • Bit-identical on 11 CPU architectures (x86, ARM, RAD750-class PowerPC, RISC-V, SPARC, MIPS, s390x) and on bare-metal Cortex-M3/M4F/M7.
  • Finding: ARM soft-float __aeabi_dadd (libgcc) misrounds at an exponent gap of 33, which would split FPU-less ARM satellites. The self-test catches it and softdouble.c fixes it.
  • CBMC proofs: Theorem 1 (both craft reach the same verdict), the conjunction-id lemma, and memory safety of inter-satellite notice parsing.
  • Fuzzing: ~129 M executions under ASan/UBSan, including C-vs-C++ differential fuzzing.
  • MISRA C:2012 record, 210/210 Wycheproof Ed25519 vectors, and CI that re-runs all of it on every push.

Fixes (bit-neutral for valid input)

  • A NaN screening arc no longer hangs.
  • Non-finite propagation steps are guarded.
  • A non-finite covariance gives Pc = 1 instead of disabling the gate.
  • An embedded NUL can no longer truncate a CDM identity.

Not flight-proven or certified; see docs/ASSURANCE.md for exactly what is and isn't claimed.