Skip to content

Design Records

Design records explain the choices behind SOW’s repository layout, state model, and publication workflow. Article dates record when we documented a decision; modification dates record later revisions.

Start with these current design explanations:

The historical series follows the v0.1 program, its design decisions and tests, the v0.2 reset, and later releases. It links to dated source snapshots. Use SOW Docs for current commands and release notes for version-specific changes.

Design Records
Coordinated Publication Decision publishtransactionobject-storagedecision
SOW Design Evolution: From Route Graphs to the Repository Core architecturerepositorymigrationdecision
Design Principles plainmanagedrepository
System Model repositorydistpoolgeneration
Publication & Recovery publishtransactionobject-storage
Why SOW Uses One Payload Tree per Repository repositorypoolrpmaptcompatibilitydecision
What SOW v0.1 Actually Proved historyv0.1evidencecompatibilityverification
The v0.2 Reset: Plain and Managed Instead of a Universal Control Plane historyv0.2plainmanagedarchitecturedecision
SOW v0.1 Decision Ledger: What Survived and What Was Retired historyv0.1adrdecisionmigration
The Original SOW v0.1 Program: A Git for Package Repositories historyv0.1gitcaspublicationmigration
  • Coordinated Publication Decision

    By Vonng In Design 297 words 2 min

    VonngDesignpublishtransactionobject-storagedecision

    Coordinated Publication Decision

    SOW 0.4.0 kept the native filesystem and r2 publication backends. An earlier proposal used rclone and added remote audit and preview commands. SOW kept the native design because it needs to track each conditional write and its result. See sow …

    SOW 0.4.0 kept the native filesystem and r2 publication backends. An earlier proposal used rclone and added remote audit and preview commands. SOW kept the native design because it needs to track each conditional write and its result. See sow …

  • SOW Design Evolution: From Route Graphs to the Repository Core

    By Vonng In Design 1441 words 7 min

    VonngDesignarchitecturerepositorymigrationdecision

    SOW Design Evolution: From Route Graphs to the Repository Core

    SOW moved from a Git-based distribution control plane in v0.1 to a repository engine in v0.2. This article traces that change and the refinements through v0.9.0. The versions below refer to released Git tags, including v0.9.0. Some archived plans …

    SOW moved from a Git-based distribution control plane in v0.1 to a repository engine in v0.2. This article traces that change and the refinements through v0.9.0. The versions below refer to released Git tags, including v0.9.0. Some archived plans …

  • Design Principles

    By Vonng In Design 471 words 3 min

    VonngDesignplainmanagedrepository

    Design Principles

    SOW separates package storage, repository builds, and publication. These principles explain where each kind of state belongs and how operations use it. One owner for each record Record Owner Package bytes and identity Repository Desired membership …

    SOW separates package storage, repository builds, and publication. These principles explain where each kind of state belongs and how operations use it. One owner for each record Record Owner Package bytes and identity Repository Desired membership …

  • System Model

    By Vonng In Design 512 words 3 min

    VonngDesignrepositorydistpoolgeneration

    System Model

    SOW uses configuration for repository settings, SQLite for managed state, and a public directory for client access. The model separates the packages you select from the files that SOW builds and publishes. Objects Workspace ├── Repository │ ├── Pool: …

    SOW uses configuration for repository settings, SQLite for managed state, and a public directory for client access. The model separates the packages you select from the files that SOW builds and publishes. Objects Workspace ├── Repository │ ├── Pool: …

  • Publication & Recovery

    By Vonng In Design 760 words 4 min

    VonngDesignpublishtransactionobject-storage

    Publication & Recovery

    A build creates a local snapshot (Generation). Publication uploads its files to a target and records progress for recovery. Each target keeps a checkpoint that identifies its last completed publication. State ownership Repository records Target …

    A build creates a local snapshot (Generation). Publication uploads its files to a target and records progress for recovery. Each target keeps a checkpoint that identifies its last completed publication. State ownership Repository records Target …

  • Why SOW Uses One Payload Tree per Repository

    By Vonng In Design 698 words 4 min

    VonngDesignrepositorypoolrpmaptcompatibilitydecision

    Why SOW Uses One Payload Tree per Repository

    We drafted this decision on 2026-08-05 and shipped it in SOW v0.2.0 on 2026-08-08. SOW 0.9.0 still uses this layout. Each Repository stores one package tree and lets its distribution views reference that tree. Decision Each SOW Repository owns one …

    We drafted this decision on 2026-08-05 and shipped it in SOW v0.2.0 on 2026-08-08. SOW 0.9.0 still uses this layout. Each Repository stores one package tree and lets its distribution views reference that tree. Decision Each SOW Repository owns one …

  • What SOW v0.1 Actually Proved

    By Vonng In Design 645 words 4 min

    VonngDesignhistoryv0.1evidencecompatibilityverification

    What SOW v0.1 Actually Proved

    The v0.1 archive contains 112 dated reports from 2026-07-11 through July 31. They record client tests, scale measurements, failure recovery, migration, and cloud-provider experiments. This article summarizes the main results and links to …

    The v0.1 archive contains 112 dated reports from 2026-07-11 through July 31. They record client tests, scale measurements, failure recovery, migration, and cloud-provider experiments. This article summarizes the main results and links to …

  • The v0.2 Reset: Plain and Managed Instead of a Universal Control Plane

    By Vonng In Design 1205 words 6 min

    VonngDesignhistoryv0.2plainmanagedarchitecturedecision

    The v0.2 Reset: Plain and Managed Instead of a Universal Control Plane

    On 2026-07-31, after sealing the v0.1 source baseline, SOW began a product reset. The goal was a small repository engine that could replace Pigsty’s daily package-build workflow. It kept the earlier lessons about integrity and recovery while removing …

    On 2026-07-31, after sealing the v0.1 source baseline, SOW began a product reset. The goal was a small repository engine that could replace Pigsty’s daily package-build workflow. It kept the earlier lessons about integrity and recovery while removing …

  • SOW v0.1 Decision Ledger: What Survived and What Was Retired

    By Vonng In Design 1394 words 7 min

    VonngDesignhistoryv0.1adrdecisionmigration

    SOW v0.1 Decision Ledger: What Survived and What Was Retired

    The v0.1.0 tag contains 44 architecture decision records (ADRs), numbered 0001 through 0045; 0006 is absent. Each ADR records a problem, the decision made at the time, and the conditions that implementation had to meet. This table shows what happened …

    The v0.1.0 tag contains 44 architecture decision records (ADRs), numbered 0001 through 0045; 0006 is absent. Each ADR records a problem, the decision made at the time, and the conditions that implementation had to meet. This table shows what happened …

  • The Original SOW v0.1 Program: A Git for Package Repositories

    By Vonng In Design 1243 words 6 min

    VonngDesignhistoryv0.1gitcaspublicationmigration

    The Original SOW v0.1 Program: A Git for Package Repositories

    The v0.1 program began on 2026-07-11 and was sealed as v0.1.0 on July 31. It aimed to replace Pigsty’s Makefile-and-rclone workflow with one Go control plane for APT, YUM, and static assets. That control plane covered local state, package history, …

    The v0.1 program began on 2026-07-11 and was sealed as v0.1.0 on July 31. It aimed to replace Pigsty’s Makefile-and-rclone workflow with one Go control plane for APT, YUM, and static assets. That control plane covered local state, package history, …