Skip to content

Implement Lustre/SCADE Fly-By-Wire Signatures #81

Open

Description

@squid-protocol

Epic: #75
Target: gitgalaxy/standards/language_standards.py

Context & Strategic Value

Modern Airbus aircraft (A320, A380) utilize full-authority fly-by-wire controls. The code for these flight computers is not written manually; Airbus uses SCADE (based on the Lustre declarative language) to formally specify functional requirements, which then auto-generates DO-178C certified C code.

By mapping Lustre/SCADE directly, GitGalaxy can audit the synchronous dataflow specifications before they are translated into C, catching architectural anomalies at the source.

Implementation Tasks

  • Add lustre to LANGUAGE_DEFINITIONS.

  • Define Extensions: .lus.

  • Set lexical_family to hybrid_dash (-- for line comments, /* */ for blocks).

  • Implement class_start signature: Target the node keyword (the fundamental block of Lustre).

  • Implement state_mutation signature: Target pre (accessing previous state in synchronous dataflow) and -> (initialization).

  • Implement branch signature: Target if, then, else, with.

  • [Process check] Cross-reference the language's official spec/reference manual for this signature's full keyword vocabulary before closing -- do not rely solely on the abbreviated list above. Run the tests/extraction/languages/test_<lang>_strict.py harness and confirm coverage against gitgalaxy/standards/how_to_add_a_language.md's recurring-bug-class checklist. (Implement Ada & SPARK Structural Signatures #76's SPARK refinement-aspect gap -- found only in a manual post-merge pass, fixed in f1326f6 -- is the failure mode this guards against.)

Validation

Scan European fly-by-wire or nuclear control system snippets. Ensure that the state_mutation metric correctly spikes when the pre operator accesses historical clock-cycle states.

Activity

  1. modified the milestones: , v2.6.0 - The Aerospace Expansion on Jul 5, 2026
  2. added
    aerospace
    core-engine
    enhancement
    on Jul 11, 2026
  3. added
    scope:frontier
    on Oct 16, 2026
  4. added
    priority: low
    on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    aerospacecore-engineenhancementpriority: lowscope:frontier

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions