Skip to content

Add SourceOS local-first Workspace Operation contracts and sync semantics #87

@mdheller

Description

@mdheller

Purpose

Extend SourceOS specification work with local-first Workspace Operation Plane contracts for terminal, browser, agent-machine, sync, device identity, and offline/replay behavior.

Required spec additions

  • LocalOperationLog and replay safety.
  • DeviceIdentity and DeviceTrustProfile.
  • CapabilityProfile for shell, terminal, browser, sandbox, local model, filesystem, and network state.
  • Provisional artifact IDs and local-to-remote operation mapping.
  • Offline queue and sync checkpoints.
  • Conflict records with merge/fork/skip decisions.
  • Tombstones for deletes.
  • Local encryption profile.
  • File availability states.
  • Operation durability tiers.
  • Redacted diagnostic export requirements.

SourceOS product surfaces to cover

  • SourceOS-Linux/TurtleTerm
  • SourceOS-Linux/BearBrowser
  • SourceOS-Linux/sourceos-devtools
  • SourceOS-Linux/agent-machine
  • SourceOS-Linux/sourceos-shell
  • SociOS-Linux/workstation-contracts

Acceptance criteria

  • SourceOS local contracts map to WorkspaceOperation, OperationTask, OperationEvent, Artifact, and PolicyGateRecord from SocioProphet/prophet-core-contracts#1.
  • Local-first behavior is compatible with policy, audit, admission, and redaction.
  • Spec includes examples for terminal command, browser capture, local agent execution, and offline sync conflict.

References

  • SocioProphet/workspace-inventory#3
  • SocioProphet/workspace-inventory#4
  • SociOS-Linux/workstation-contracts#28
  • SocioProphet/prophet-core-contracts#1

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions