#32 Autogenerated clone-from-server (public-origin)
Context: Clone URL today = flag or origin remote. Owner wants the server to offer cloning itself, autogenerated. Tasks:
- New
--public-origin URL+HU13_PUBLIC_ORIGIN(flag>env>unset). Serve serves /repo.bundle + /repo.tar.gz as static files (verify already reachable; add explicit test). - Clone block logic: if public-origin set → primary cmd
git clone <origin>/repo.bundle(+ note "exact snapshot of <branch> @ <sha>") and secondary tarball link; origin remote shown as "mirror source" if present. If unset → bundle-first presentation as today + note "served from this server: ask the host for its address". - Entrypoint passes HU13_PUBLIC_ORIGIN. Demo deploy sets it to the tailscale URL.
git clone http://host:port/repo.bundleMUST actually work (git supports bundle-over-http) — supervisor verifies live with real git clone.- Tests: block asserts for both modes; serve test GETs /repo.bundle bytes == file.
Swarm: Owl. Branch
m6/clone-origin.
Uunknown ·
Merged PR a69fa92c (m6/clone-origin): --public-origin/HU13_PUBLIC_ORIGIN, bundle-first clone cmds, serve asserts, entrypoint passthrough. Gate hit a build.rs conflict; rebased clean, re-gated green. Supervisor will verify real git-clone-over-http live. CI pass. Rubric verified.