# Coordinated Publication Decision

> The v0.4.0 decision to keep SOW's native publication providers, and the earlier rclone proposal that did not ship.

---

LLMS index: [llms.txt](/llms.txt)

---

<span id="decision" data-td-print-local></span>

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 publish`](/docs/command/publish/) for the current command syntax.

<span id="why-the-executor-proposal-was-not-adopted" data-td-print-local></span>
<span id="what-040-shipped" data-td-print-local></span>

## Why keep native backends

A publication plan binds each file to an expected SHA-256 and operation. The backend must
create immutable objects without overwriting existing content and update mutable pointers
conditionally. SOW records the result so it can resume after an interruption.

A bulk-copy tool would need another identity and checkpoint model to preserve these rules.
The 0.4 work instead improved the existing backend:

- conditional multipart uploads;
- separate response-header and body-idle timeouts;
- retries for operations that can be repeated;
- verification of changed files through the public URL.

This retained the existing publication state and avoided a transport migration.

<span id="native-incremental-publication" data-td-print-local></span>
<span id="hardened-public-visibility" data-td-print-local></span>
<span id="operator-workflow" data-td-print-local></span>

## Publication workflow

The native backend uploads packages and immutable metadata before updating the repository indexes.
It then checks the public files and records a checkpoint for the target.
The next publication compares the current build with that checkpoint.

<span id="operator-confirmed-rebind" data-td-print-local></span>

## Change target settings

A binding revision records changes to the target name, public URL, or cache lifetime.
The target keeps its publication history. A different storage location requires a new target.

<span id="recovery-decision" data-td-print-local></span>

## Resume an interrupted publication

SOW saves the plan and progress for each attempt.
Before the commit decision, it can abandon the attempt after checking that the indexes have not changed.
After that decision, recovery completes the saved plan.
This gives each target one history for upload, verification, and recovery.

<span id="explicit-boundaries" data-td-print-local></span>

## Configure serving separately

The operator configures HTTP access, caching, and client trust.
SOW verifies publication through the configured public endpoint.

<span id="references" data-td-print-local></span>

See [Publication and recovery](/blog/design/publication/) for the complete sequence.
Use [`sow publish`](/docs/command/publish/) for configuration and commands.
