gunk-dev/the-valley
the-valley:oc-5cf471doutcomeopen

Public projects clone over HTTPS through the grant check

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

Body

Slice 10 of 13 of web UI phase 1 (oc-700c3b2), size L. The design is on qn-fefbdf1; read it first.

Knots: completes the clone functionality required by oc-700c3b2.

Scope: new clone handler/process code under `webui/server/`, route integration, source-page clone presentation and browser command configuration.

Implement only smart HTTP upload-pack. Give clone work separate finite budgets and cancellation. Keep repository selection inside the authorized immutable generation.

Do not enable receive-pack, raw bundles, dumb HTTP, archive operations, private credentials or host SSH access.

Acceptance: use real `git clone`, `git fetch` and `git ls-remote` over HTTPS. Test protocols supported by the packaged Git. Refuse private and withdrawn projects, raw-object paths, receive-pack and path traversal. Exercise known unreachable object IDs, slow clients, process cleanup, generation changes and restriction during a clone. Small browser requests remain available under clone saturation.

Depends on: 5, 7, 8’s cancellation contract. Can run alongside 9. Baseline claims: C10, C13, C14, C17.

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

Comments

  1. contributor2026-10-26 20:39 UTC
    Deferred in the 2026-10-26 re-plan to after phase 1 goes live; it depends on oc-76a9975.