spec(control-plane): add local-first release, enrollment, and fingerprint contract family#22
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Land the first machine-readable local-first SourceOS control-plane contract family in
sourceos-spec.This draft PR adds:
docs/adr/ADR-0008-local-first-release-and-enrollment-contract-family.mdschemas/control-plane/README.mdschemas/control-plane/experience-profile.schema.jsonschemas/control-plane/isolation-profile.schema.jsonschemas/control-plane/release-set.schema.jsonschemas/control-plane/boot-release-set.schema.jsonschemas/control-plane/enrollment-token.schema.jsonschemas/control-plane/fingerprint.schema.jsonexamples/control-plane/README.mdexamples/control-plane/experience-profile.sample.jsonexamples/control-plane/isolation-profile.sample.jsonexamples/control-plane/release-set.sample.jsonexamples/control-plane/boot-release-set.sample.jsonexamples/control-plane/enrollment-token.sample.jsonexamples/control-plane/fingerprint.sample.jsonWhy
Recent upstream ADR and placement work already reserved the local-first control-node and image-promotion seam in this repo. What remained missing was the first typed object family needed to make the thin local-first lifecycle slice executable:
Boundary
This PR keeps ownership split explicit:
SourceOS-Linux/sourceos-specowns the machine-readable schemas and examplesSocioProphet/agentplaneshould consume these contracts for runtime evidence and rollback/apply semanticsSocioProphet/sociospheremay reference them where needed, but should not become a second schema authoritySocioProphet/TriTRPCshould only bind transport-safe refs after these object semantics stabilizeScope
This is intentionally a first-pass additive tranche, not the full lifecycle universe.
Not yet included:
ConfigSourcefamilyReview focus
agentplane?