<< All versions
Skill v1.0.0
currentAutomated scan100/100alizainx/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), andpragma Profile (Ravenscar)for zero-heap deterministic execution.
3. Zero-Bug & Zero-Vulnerability Guards
- Specify exact hardware bit layouts via
for Reg_Type use record ... at 0 range 0 .. 31; end record;andWith Size => 32. - Ban unconstrained heap allocation (
new) and dynamic task spawning in safety-critical profiles (pragma Restrictions (No_Allocators)). - Attach
Pre,Post,Type_Invariant, andDynamic_Predicatecontracts to every package specification (.ads). - Use
protectedobjects with ceiling priority locking (Priorityaspect) for race-free ISR and task synchronization. - Compile with
-gnatwa -gnatwe -gnatVato enable all runtime validity and overflow checks.
4. Verification Gate
gnatmake -gnat2022 -gnatwa -gnatwe -gnato -gnatVa -O2