Skip to content

Commit 649965d

Browse files
authored
Merge pull request #43 from SourceOS-Linux/spec/hygiene-changelog-ci-wrapper-20260419
2 parents aabb627 + 4381c13 commit 649965d

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). Thi
1111
### Added
1212
- Truth Plane: `TruthSurface` and `DeltaSurface` schemas + canonical examples (`examples/truth_surface.json`, `examples/delta_surface.json`)
1313
- Control-plane: `IncidentEvent` schema for incident lifecycle events
14+
- Control-plane: canonical wrapper `$id` model for legacy schemas (`schemas/control-plane/*.json` wrappers)
1415
- Truth Plane: OpenAPI/AsyncAPI patch fragments (`openapi.truth-plane.patch.yaml`, `asyncapi.truth-plane.patch.yaml`)
16+
- CI/spec integrity: schema identity guardrails (duplicate `$id` detection + control-plane wrapper `$id` resolution tests)
1517
- `description` fields on all 54 schemas and all properties (non-breaking documentation improvement)
1618
- `ARCHITECTURE.md` — two-plane architecture, schema families, governance lifecycle, URN table
1719
- `CONTRIBUTING.md` — schema authoring conventions, URN naming guide, PR checklist

docs/adr/0009-truth-surfaces-b11-delta-appendix-a-reuse-map.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This appendix makes ADR-0009 actionable by:
2020
|---|---|---|
2121
| Signed “truth summary” per plane | Reuse **URN + `type` discriminator + `specVersion`** conventions (e.g., `TelemetryEvent`). Reuse existing evidence references (PolicyDecision/CapabilityToken/RunRecord/ProvenanceRecord) as *refs*, not embedded duplicates. | `schemas/TruthSurface.json` + `examples/truth_surface.json` |
2222
| Typed diff between two truth summaries | Reuse existing “risk + evidence + human approval” posture expressed in `policies/skills/default-policy-pack.rego` as the canonical gate style; DeltaSurface records the gate results, it does not *re-decide* policy. | `schemas/DeltaSurface.json` + `examples/delta_surface.json` |
23-
| Incident semantics (Freeze/Fork/Kill) | Reuse control-plane event structure conventions: `event_id`, `event_name`, `occurred_at`, `actor`, `run`, `refs`, `payload` as in the existing skill execution lifecycle schema and samples. | `schemas/control-plane/incident-events.schema.json` + `examples/control-plane/incident.freeze.sample.json` |
23+
| Incident semantics (Freeze/Fork/Kill) | Reuse control-plane event structure conventions: `event_id`, `event_name`, `occurred_at`, `actor`, `run`, `refs`, `payload` as in the existing skill execution lifecycle schema and samples. | `schemas/control-plane/IncidentEvent.json` (canonical wrapper) + `schemas/control-plane/incident-events.schema.json` (legacy) + `examples/control-plane/incident.freeze.sample.json` |
2424

2525
---
2626

@@ -30,7 +30,11 @@ New schema files:
3030

3131
1) `schemas/TruthSurface.json`
3232
2) `schemas/DeltaSurface.json`
33-
3) `schemas/control-plane/incident-events.schema.json`
33+
3) `schemas/control-plane/IncidentEvent.json` (canonical wrapper)
34+
35+
Legacy schema retained for compatibility:
36+
37+
- `schemas/control-plane/incident-events.schema.json`
3438

3539
New example payloads:
3640

0 commit comments

Comments
 (0)