gunk-dev/the-valley
the-valley:oc-8347700outcomeabandoned

The publisher sends partial refreshes and policy-only withdrawals

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

Body

Slice 4 of 6 of web UI phase 1 (oc-700c3b2), size L, as re-planned 2026-10-26. The design is on qn-fefbdf1 (the body, amended by the 2026-10-26 design delta in its comments); read both first.

Knots: publisher implementation of bd-3826f40.

Scope: publisher `main.go`, `state.go`, `upload.go` and a small pass-orchestration file. Persist acknowledged manifest entries and sequence reservations. Add `--policy-only` to the same executable. Separate content-work locking from the short publication lock. Reuse previous object pairs on per-project failure and recheck policy before signing.

Must not touch: grant semantics, another signing key, another access binary, receiver storage internals or browser routes.

Acceptance: run the actual publisher against the production receiver. Serve `app` and `site`; withdraw `app` while `site` collection fails, hangs or exceeds its output bound. Include an oversized private graph. Verify that no new object upload is required. Also test an empty instance grant, full content cache, simultaneous ordinary/policy-only invocations, stale computations, interrupted uploads and a replay response that must not resurrect readers.

Dependencies and parallelism: depends on 2 and 3. Can run alongside 5: it owns publisher orchestration, while 5 owns browser code.

Target: roughly 1,200 non-test lines.

Source: 2026-10-26, the revised phase 1 slice plan on qn-fefbdf1.

Comments

  1. contributor2026-10-26 23:53 UTC
    Deferred 2026-10-26 to after phase 1 goes live: the operator chose the smallest push that works now (the existing single-export manifest), and the move of the valley host to a server beside the web UI later replaces most of this design.
  2. contributor2026-11-08 22:29 UTC
    Abandoned: a slice of the edge design, which stays frozen as a temporary architecture that a later move of the host replaces (oc-ca7b903).