Skip to content

Add SCOPE-D delivery envelope validation #51

Add SCOPE-D delivery envelope validation

Add SCOPE-D delivery envelope validation #51

Workflow file for this run

name: spec-contracts
on:
pull_request:
push:
branches: [main]
jobs:
validate-spec-contracts:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Validate JSON schemas
run: |
python -m json.tool docs/spec/jsonschema/ws-pty.v1.json >/dev/null
python -m json.tool docs/spec/jsonschema/audit-event.v1.json >/dev/null
- name: Check required contract files exist
run: |
test -f docs/spec/openapi/control-api.v1.yaml
test -f docs/spec/state-machine-v0.md
test -f docs/spec/security-threat-model-v0.md
test -f docs/spec/runtime-isolation-v0.md
- name: Print success summary
run: |
echo "Spec contract validation passed."