998 B
998 B
SpaceSafeML — SB-DSL Seed
This repository contains a seed implementation of the SpaceSafeML Safety-Benchmark DSL (SB-DSL).
Contents added in this change:
- A small Python package (src/spacesafeml_certification_benchmark_and_) with a
dsl.pymodule that defines core DSL models:- AgentCapabilities
- SafetyPreCondition / SafetyPostCondition
- ResourceBudgets
- DataSharingPolicy
- TelemetrySchema
- Scenario
- A minimal in-repo SchemaRegistry for versioning DSL payloads
- Utilities to serialize/deserialize and compute deterministic manifest fingerprints
- Tests that validate round-trip JSON and fingerprint behavior
pyproject.tomlso the package builds cleanlytest.shwhich runs the test-suite andpython3 -m build
This is intentionally a small, well-tested chunk (MVP step 1) to bootstrap the project. Follow-on work includes the verifier, simulation templates, ledger, and adapters.
Quick commands:
- Run tests:
bash test.sh - Build package:
python3 -m build