/flight-software:flightsw-fdir-time-telemetry-and-updatesfrom flight-software
Designs spacecraft operational behavior: fault detection/isolation/recovery, safe modes, time/clock management, CCSDS command/telemetry, onboard data handling, and in-flight software update with rollback.
Ships in flight-software. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Part 3 of 5 of the Flight Software reference (plugin
flight-software), covering §8–§11. Sibling skills:flightsw-architecture-languages-and-standards(§0–§3),flightsw-processors-radiation-and-real-time(§4–§7),flightsw-gnc-verification-ground-and-autonomy(§12–§16),flightsw-reference(§17–§20). Section numbers are shared across the set; a reference written as §N →skillpoints into that sibling skill.Currency: The discipline and standards are stable; flight processors and framework releases moved materially in 2025-26. See §17 →
flightsw-referencefor what is dated and what is genuinely contested.
How to read this. This is the deep treatment of flight software. It supersedes the compressed flight-software section in a robotics-software reference; spacecraft systems engineering is in a space-exploration reference, and launch physics in a rocket-science reference.
Two markers:
- [DURABLE] — the discipline, architecture, and standards. Most of this.
- [CONTESTED] — genuine disagreement.
⚠️ GOTCHA boxes mark what has actually destroyed vehicles.
The three properties that make this domain different from all other software:
- ⚠️ You cannot patch your way out. Uplink is bandwidth-limited, latency-bound, and sometimes impossible. A bug that bricks the receiver ends the mission — which is why §11's update mechanism is designed before the software it updates.
- ⚠️ The hardware is actively hostile. Radiation flips bits in RAM and registers with no warning and no error signal. Software must assume its own memory is corrupting underneath it (§4 →
flightsw-processors-radiation-and-real-time, §5 →flightsw-processors-radiation-and-real-time).- ⚠️ Correct-but-late is wrong. A control loop that misses its deadline has failed regardless of the answer it eventually produces. Determinism outranks throughput, and this inverts almost every instinct from server-side engineering (§6 →
flightsw-processors-radiation-and-real-time).
[DURABLE] Fault Detection, Isolation and Recovery — the organizing principle of flight software, not a feature of it.
DETECT limit checks, watchdogs, consistency checks, checksums,
heartbeat monitors, plausibility tests
↓
ISOLATE determine which component; ⚠️ avoid misattribution — the hardest step
↓
RECOVER retry → reconfigure to redundant unit → reset component
→ reset processor → ⚠️ SAFE MODE
⚠️ Safe mode is the design that saves missions. Power-positive, thermally stable, Sun- or Earth-pointed, minimal software, and survivable indefinitely awaiting ground instruction. Every deep-space mission enters safe mode. The design question is not whether, but whether it can sit there for a month without degrading.
Command loss timer: ⚠️ if no valid command is received for N days, assume something is wrong with the receive chain and autonomously reconfigure — swap receivers, swap antennas, reset. This has recovered missions whose primary receiver failed, and it is a mandatory feature, not a nicety.
⚠️ The hard-won lessons of FDIR design:
[DURABLE] Getting time wrong is a classic and expensive failure mode.
Time scales: TAI (atomic, continuous — ⚠️ what you want onboard), UTC (⚠️ has leap seconds; do not use it as an onboard timebase), GPS time (continuous, offset from TAI by 19 s), spacecraft elapsed time (SCET/MET) — ⚠️ a free-running onboard counter, which is the actual reference for onboard operations.
⚠️ Clock correlation is the operational task: relating the onboard counter to ground time using radiometric measurements, and tracking drift and drift rate. Every science observation timestamp depends on it.
⚠️ The specific hazards:
[DURABLE] CCSDS is the international standard set, and it is genuinely worth following rather than inventing.
The stack:
Application: ⚠️ Space Packet Protocol (CCSDS 133.0-B) — APID identifies the destination
Transfer: TM/TC Space Data Link, or AOS for higher rates
Coding: Reed-Solomon, convolutional, ⚠️ turbo/LDPC (near-Shannon)
Physical: RF, per a space-exploration reference §5
Telecommand: CLTU framing, ⚠️ COP-1 (Communications Operations Procedure) providing sequence-controlled, guaranteed-delivery command transfer — with a FARM/FOP state machine that is a genuine source of operational subtlety.
⚠️ Command design principles that matter operationally:
Telemetry: housekeeping (periodic state), event/EVR messages (⚠️ the spacecraft's log, and your only debugger), science, diagnostic dwell (⚠️ read arbitrary memory addresses — indispensable for in-flight debugging).
⚠️ Design telemetry for the anomaly you haven't had yet. The recurring operational regret is insufficient telemetry to diagnose a fault after it occurs. Budget bandwidth for diagnostics, include mode and state transitions, and make everything you'd want during a 3 a.m. anomaly call reachable without a patch.
Onboard storage: ⚠️ flash wear-levelling and radiation-induced corruption both apply; use journaling or log-structured approaches, checksum everything at rest, and plan for data prioritization — when downlink is scarce, what gets dropped is a mission decision that must be encoded.
⚠️ CFDP (CCSDS File Delivery Protocol) — reliable file transfer across a link with huge latency, intermittent connectivity, and asymmetric rates. Class 1 (unacknowledged) and Class 2 (acknowledged with retransmission). It is the right answer and it is worth using rather than rolling your own.
⚠️ In-flight software update is the highest-stakes operation in the discipline.
Design rules, each written in blood:
1. ⚠️ The bootloader must be immutable, or dual-redundant with a golden image
2. Uplink to inactive memory, verify checksum, THEN switch
3. ⚠️ Automatic rollback on failure to check in after N minutes
4. Never patch the receive chain and the patch mechanism at once
5. ⚠️ Test the exact uplink product on the exact testbed configuration (§13.3)
6. Patch granularity small enough to fit the uplink budget
⚠️ A failed update that bricks the command receiver is unrecoverable and has ended missions. This is why rule 1 exists.
⚠️ The counterexample worth knowing: Voyager received a software patch in 2023–24 to work around degraded memory 46 years after launch, on a system whose original engineers had retired or died. That is only possible because the update path was designed conservatively from the start.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/flightsw-architecture-languages-and-standardsUse when structuring a flight software project or choosing its language: what makes flight software different from ordinary embedded work, the layered architecture pattern, the two frameworks worth knowing (cFS and F Prime) and the reusable applications around them, the language landscape, Rust's actual status in flight projects, and the coding standards (MISRA, JPL, NASA rules) and what they are really for. Includes the router for the whole flight-software reference./flightsw-gnc-verification-ground-and-autonomyUse when working on guidance software, proving the system correct, or learning from what went wrong: GNC software structure and its numerical concerns, verification and validation including hardware-in-the-loop and processor-in-the-loop testing, the ground segment and operations tooling, onboard autonomy and AI and where it is actually appropriate, and the failure case studies that produced the rules./flightsw-processors-radiation-and-real-timeUse when reasoning about the hardware the software runs on and its timing: flight processors and their performance and heritage trade-offs, radiation effects expressed in software terms (single-event upsets, latch-up, scrubbing, EDAC, watchdogs), real-time discipline including determinism, priority inversion and worst-case execution time, and RTOS choice and configuration./flightsw-referenceUse when checking whether a flight processor or framework claim is still current (verified August 2026), weighing a contested question in flight software practice, finding the books and the standards, or needing the rules that map to dead vehicles, a framework picker, and a code review checklist. Companion to the other flight-software skills.npx claudepluginhub the-vibey-project/vibey --plugin flight-software