spacesafeml-certification-b.../README.md

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.py module 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.toml so the package builds cleanly
  • test.sh which runs the test-suite and python3 -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