Skip to content

Commit 909c284

Browse files
UnbreakableMJclaude
andcommitted
fix(construct): resolve dangling skill cross-references in spacecraft-ada-guidelines
The skill pointed to two skills that do not exist in the repo: - spacecraft-safety-critical-rust → repointed to the real spacecraft-rust-guidelines (the Rust side of the same high-assurance posture). - spacecraft-power-of-ten → reframed as the NASA/JPL *Power of Ten* rules (a named ruleset, not a skill) so it no longer reads as a skill pointer. Touched SKILL.md (§Build, §References), references/ATTRIBUTION.md, and references/AdaCore_Safe_Secure_Rules.md. Repo-wide sweep confirms no other dangling spacecraft-* skill references remain (spacecraft-docs / spacecraft-native are a RAG collection name and a JSON enum value, not skill refs). Bundles rebuilt; drift clean. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a40eed0 commit 909c284

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

spacecraft-ada-guidelines.skill

18 Bytes
Binary file not shown.

spacecraft-ada-guidelines.zip

18 Bytes
Binary file not shown.

spacecraft-ada-guidelines/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Ada catches at compile/proof time what other languages catch at runtime — *if*
109109
- **Prove in CI, gated:**
110110
- `gnatprove -P <proj>.gpr --mode=all --level=2 --report=fail` as the default gate; raise `--level` (0..4) and add `--prover=z3,cvc5,altergo`, `--timeout`/`--steps` for stubborn checks.
111111
- Treat any unproved check as a build failure for units claiming Silver+.
112-
- **Coding standard + format:** enforce with `gnatcheck` (rules file in repo) and format with `gnatpp`; gather `gnatmetric` for complexity budgets. Cross-apply `spacecraft-power-of-ten` limits (bounded loops, no recursion in critical code, restricted scope).
112+
- **Coding standard + format:** enforce with `gnatcheck` (rules file in repo) and format with `gnatpp`; gather `gnatmetric` for complexity budgets. Cross-apply the NASA/JPL *Power of Ten* rules (bounded loops, no recursion in critical code, restricted scope).
113113
- **SPDX header on every file** (Ada comment syntax):
114114
```ada
115115
-- SPDX-FileCopyrightText: Copyright (C) 2026 Mohamed Hammad & Spacecraft Software
@@ -149,6 +149,6 @@ Ada catches at compile/proof time what other languages catch at runtime — *if*
149149
- **Rule catalogue (cite IDs from here):** `references/AdaCore_Safe_Secure_Rules.md` — all 41 DYN/RCL/CON/RPP/EXU/OOP/SWE rules with Levels and standards mappings.
150150
- Extended patterns, full worked examples, and a proof-debugging guide: `references/Spacecraft_Ada_SPARK_Guidelines.md`
151151
- Conceptual sources, the source PDF, and the SPARK Reference Manual: `CREDITS.md` and `references/ATTRIBUTION.md`
152-
- Related skills: `spacecraft-power-of-ten` (loop/recursion/scope budgets), `spacecraft-safety-critical-rust` (Rust side of the same assurance posture), `spacecraft-standard` (cross-cutting compliance).
152+
- Related skills: `spacecraft-rust-guidelines` (the Rust side of the same high-assurance posture), `spacecraft-standard` (cross-cutting compliance); cross-apply the NASA/JPL *Power of Ten* rules (loop/recursion/scope budgets).
153153

154154
When the user provides Ada/SPARK code for review or asks to write a high-assurance unit, immediately apply the rules above: strengthen the types, add and discharge contracts, declare the assurance target, and produce code that passes `gnatprove` at that level. Cite the exact rule or unproved check in any feedback. Prioritize machine-checked correctness and AoRTE above all else.

spacecraft-ada-guidelines/references/ATTRIBUTION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ themselves trigger a root `CREDITS.md` (§15.3 carve-out). AdaCore's adoption-le
1919
methodology is credited here as the conceptual basis for the assurance ladder.
2020

2121
Cross-references within the Spacecraft skill set:
22-
- `spacecraft-power-of-ten` — bounded-loop / no-recursion / restricted-scope budgets reused here.
23-
- `spacecraft-safety-critical-rust` — the Rust side of the same high-assurance posture.
22+
- The NASA/JPL *Power of Ten* rules — bounded-loop / no-recursion / restricted-scope budgets reused here.
23+
- `spacecraft-rust-guidelines` — the Rust side of the same high-assurance posture.
2424
- `spacecraft-standard` — cross-cutting compliance (licensing, SPDX, ISO 8601, naming).
2525

2626
— Spacecraft Software, 2026

spacecraft-ada-guidelines/references/AdaCore_Safe_Secure_Rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Choose the *most restrictive policy the design allows* (OOP01 is strictest).
104104

105105
## Spacecraft cross-references
106106

107-
- **DYN02-04, RPP12, RPP14** reinforce `spacecraft-power-of-ten` (no heap, no recursion, bounded everything, no magic numbers).
107+
- **DYN02-04, RPP12, RPP14** reinforce the NASA/JPL *Power of Ten* rules (no heap, no recursion, bounded everything, no magic numbers).
108108
- **EXU04 + SWE01** are the formal-verification spine; they map directly to the assurance ladder in `SKILL.md` (Silver = AoRTE proven).
109109
- **CON01/CON02/CON03** match the skill's Ravenscar/Jorvik + protected-object concurrency rules.
110110

0 commit comments

Comments
 (0)