gunk-dev/the-valley
the-valley:oc-a137d26outcomedone

The receiver accepts the publisher's uploads in production

State
done
Created
2026-10-26 by contributor
Source
2026-10-26, the phase 1 slice plan on qn-fefbdf1
Blocked by
Blocks

Body

Narrowed 2026-10-26: phase 1 goes live with the publisher's existing protocol (one signed manifest per pass over the whole export), so this slice builds the production receiver for that protocol rather than a per-project object store.

- HTTP handlers for the manifest, body and commit steps the publisher already speaks, over the existing validated store (`webui/export`): bounded requests, bodies, staging and concurrency; authenticated transport; private staging (as the store already does).
- A command and a NixOS-independent way to run it beside valley-web on an edge (a container image built with Nix, or a documented process), and the generic NixOS unit for hosts that run NixOS.
- The receiver and valley-web share the state directory: the receiver writes, valley-web reads (its read-only open exists).

Acceptance: run the real publisher against the real receiver with real git: a pass activates; an interrupted upload, a hash or size mismatch, an oversized body, a replayed or stale manifest, and an unauthenticated request are refused; valley-web serves the activated generation; a saturated upload doesn't stop valley-web serving.

Not here: per-project objects, policy-only passes, clones.

Comments

  1. contributor2026-10-27 01:04 UTC
    klaus run 20261027-0027-1cbcf6de failed: background work still running (valley-web); its work is on branch the-receiver-accepts-the-publisher-s-1cbcf6de (pushed).
    
    The run no longer claims the knot.
  2. contributor2026-10-27 17:46 UTC
    Landed with change slus v6 (32bd55de) on 2026-10-27.