<< All versions

Skill v1.0.0

currentAutomated scan100/100
alizainx/intelligence-systems-skills/ada-high-integrity
──Details
PublishedNovember 4, 2026 at 04:35 AM
Content Hashsha256:7b11858bf44aad09...
Git SHA5d098c90c1e6
──Files
Files (1 file, 1.5 KB)
SKILL.md1.5 KBactive
SKILL.md · 27 lines · 1.5 KB

name: ada-high-integrity id: ISS-008 token_budget: 700 chain_with: [spark-gnatprove-proofs, rtos-rma-edf-schedulability, iso26262-asil-fmea-fault-watchdogs] description: "Ada 2012/2022 high-integrity systems engineering, strong range subtypes, Ravenscar deterministic tasking, and representation clauses." metadata: version: "1.0.0"


ada-high-integrity (ISS-008)

1. First-Principles Invariant

  • Ichbiah/Taft Strong Subtyping Law: Encode physical units and array indices as constrained range types (type Voltage_mV is range 0 .. 5_000;) so out-of-domain values cannot be represented.

2. Fast-Pass Low-Token Protocol (Web & Coding Agents)

  • Use discriminated records, stack-allocated bounded containers (Ada.Containers.Bounded_Vectors), and pragma Profile (Ravenscar) for zero-heap deterministic execution.

3. Zero-Bug & Zero-Vulnerability Guards

  1. Specify exact hardware bit layouts via for Reg_Type use record ... at 0 range 0 .. 31; end record; and With Size => 32.
  2. Ban unconstrained heap allocation (new) and dynamic task spawning in safety-critical profiles (pragma Restrictions (No_Allocators)).
  3. Attach Pre, Post, Type_Invariant, and Dynamic_Predicate contracts to every package specification (.ads).
  4. Use protected objects with ceiling priority locking (Priority aspect) for race-free ISR and task synchronization.
  5. Compile with -gnatwa -gnatwe -gnatVa to enable all runtime validity and overflow checks.

4. Verification Gate

  • gnatmake -gnat2022 -gnatwa -gnatwe -gnato -gnatVa -O2
All versions