Skip to content

[WIP] Add SourceOS local-first workspace operation contracts and sync semantics#102

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-sourceos-local-first-contracts
Draft

[WIP] Add SourceOS local-first workspace operation contracts and sync semantics#102
Copilot wants to merge 2 commits intomainfrom
copilot/add-sourceos-local-first-contracts

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 6, 2026

  • Create schemas/LocalOperationLog.json — operation log with replay safety, durability tiers, local-to-remote mapping
  • Create schemas/DeviceIdentity.json — device identity and trust profile
  • Create schemas/WorkspaceCapabilityProfile.json — capability profile for shell, terminal, browser, sandbox, local model, filesystem, network
  • Create schemas/LocalArtifactRef.json — provisional artifact IDs and file availability states
  • Create schemas/SyncCheckpoint.json — offline queue and sync checkpoints
  • Create schemas/SyncConflictRecord.json — conflict records with merge/fork/skip decisions
  • Create schemas/LocalEncryptionProfile.json — local encryption profile
  • Create examples/localoperationlog-terminal-command.json
  • Create examples/localoperationlog-browser-capture.json
  • Create examples/localoperationlog-agent-execution.json
  • Create examples/syncconflictrecord-offline.json
  • Create examples/deviceidentity.json
  • Create examples/workspacecapabilityprofile.json
  • Create examples/localartifactref.json
  • Create examples/synccheckpoint.json
  • Create examples/localencryptionprofile.json
  • Create tools/validate_local_operation_examples.py
  • Add validate-local-operation-examples to Makefile
  • Create docs/local-first-workspace-operation-contracts.md
  • Create docs/adr/0013-local-first-workspace-operation-contracts.md
  • Update schemas/README.md with new schema family section
  • Run make validate to confirm all pass

Agent-Logs-Url: https://github.com/SourceOS-Linux/sourceos-spec/sessions/3a930453-68f6-42ef-a26c-c7152602778a

Co-authored-by: mdheller <21163552+mdheller@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add SourceOS local-first Workspace Operation contracts and sync semantics

2 participants