Skip to content

Define SourceOS State Integrity implementation program and sourceos-syncd repo cut #83

@mdheller

Description

@mdheller

Purpose

Turn the SourceOS State Integrity architecture into an executable implementation program.

Canonical spec: docs/architecture/sourceos-state-integrity-layer.md

Required outcomes

  • Decide whether to create SourceOS-Linux/sourceos-syncd as the implementation home.
  • Define the MVP cut as a concrete milestone.
  • Lock the first object model, actor model, schema model, sync plan model, and repair report model.
  • Define repo ownership across boot, devtools, workspace, agent plane, policy, memory, cloud/fog shell, terminal, observability, and model artifact lanes.

MVP scope

  • local object registry
  • actor registry
  • schema registry
  • append-only local event log
  • status and doctor CLI
  • one file/workspace object adapter
  • one agent actor path
  • one policy decision hook
  • one conflict type
  • one repair path for derived index corruption
  • structured observability events
  • basic SourceOS Workspace and TurtleTerm status surfaces

Acceptance criteria

The program is ready to implement when the MVP can answer from structured state:

  • What is this object?
  • Which schema governs it?
  • Who or what last changed it?
  • Which device and profile own it?
  • Is it safe to sync?
  • Why is it blocked?
  • What conflicts exist?
  • What can be repaired automatically?
  • What requires human review?
  • What data is durable vs rebuildable?
  • Can we prove restore integrity?

Integration targets

  • SourceOS-Linux/sourceos-boot
  • SourceOS-Linux/sourceos-devtools
  • SourceOS-Linux/sourceos-shell
  • SourceOS-Linux/TurtleTerm
  • SocioProphet/sourceos-workspace
  • SocioProphet/sociosphere
  • SocioProphet/cloudshell-fog
  • SocioProphet/agentplane
  • SocioProphet/agent-registry
  • SourceOS-Linux/agent-machine
  • SourceOS-Linux/agent-term
  • SocioProphet/policy-fabric
  • SocioProphet/guardrail-fabric
  • SocioProphet/memory-mesh
  • SocioProphet/sherlock
  • SocioProphet/holmes
  • SocioProphet/lampstand
  • SourceOS-Linux/sourceos-model-carry
  • SocioProphet/model-router
  • SocioProphet/hermes-agent

Notes

This is not commodity file sync. This is the SourceOS local-first state integrity layer: provenance, repair, profile isolation, policy-governed replication, and agent-operable state.

Metadata

Metadata

Assignees

No one assigned

    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