You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`sourceos-syncd` is the reference substrate for SourceOS local-first state integrity. It should make state observable, explainable, policy-governed, repairable, attestable, and safe for agent use.
8
8
9
-
This repository is the canonical home for the SourceOS State Integrity Report, Index Lane model, and telemetry signal-control doctrine.
9
+
This repository is the canonical home for the SourceOS State Integrity Report, Index Lane model, telemetry signal-control doctrine, and the first SourceOS control-plane contract spine.
10
10
11
11
## Core concepts
12
12
@@ -18,28 +18,62 @@ This repository is the canonical home for the SourceOS State Integrity Report, I
18
18
-**Attested operations**: Lampstand preserves important state reports and repair actions as signed evidence.
19
19
-**Telemetry signal control**: raw logs are evidence, not the product; expected policy blocks are classified correctly and duplicate noise is coalesced.
20
20
-**Operator narrative**: SourceOS explains what happened, why policy acted, what risk remains, and what action is required.
21
+
-**Control-plane receipts**: events, services, capabilities, launch manifests, and incident bundles share one typed vocabulary.
The runtime validator is standard-library-only today; the schemas are the canonical external contract for downstream validators, SDKs, dashboards, and cross-repo integrations.
Bootstrap control-plane validation uses only Python standard-library checks:
70
+
71
+
```bash
72
+
python3 tools/validate_control_plane_examples.py
73
+
```
74
+
75
+
This validator is intentionally narrower than a full JSON Schema validator. It enforces schema-version alignment, controlled vocabulary basics, required operator narrative fields, causality fields, service capability lists, and the invariant that expected policy blocks do not render as warning/error by default.
76
+
43
77
## Intended CLI contract
44
78
45
79
```bash
@@ -66,6 +100,9 @@ sourceos repair rollback
66
100
sourceos events explain
67
101
sourceos events coalesce
68
102
sourceos events verify
103
+
sourceos control-plane validate
104
+
sourceos services graph
105
+
sourceos incidents explain
69
106
```
70
107
71
108
## Intended local HTTP contract
@@ -78,6 +115,10 @@ Local-only by default:
78
115
-`/events` canonical event stream, privacy-tiered by caller capability
79
116
-`/events/{id}` canonical event with evidence references
80
117
-`/events/{id}/explain` human operator narrative
118
+
-`/services` local service graph
119
+
-`/services/{id}` service manifest and health state
- SocioSphere dashboarding: operator cards for process, policy, trust, sync, repair, incident, wake, identity, and narrative events.
104
163
- DeliveryExcellence stack: estate-wide health scoring, signal-to-noise metrics, SLOs, release readiness, and regression tracking.
105
164
106
165
## First implementation target
107
166
108
167
The first implementation should produce and validate the golden examples, then expose `health snapshot`, `health explain`, `repair plan`, `events explain`, `events coalesce`, and `events verify` without destructive `repair apply`.
168
+
169
+
The control-plane extension adds one immediate next target: turn `tools/validate_control_plane_examples.py` into a CI gate, then replace the bootstrap checks with full JSON Schema validation once a dependency policy is selected.
0 commit comments