fix(review round 2): daemon symlink tars, orphan-safe removes, unique seed names, git ctx, IsErrNotFound, collision-free slugs, branch validation; web first-run WS, draft reset, IME guard, churn fix, test swap repair; 106 daemon + 190 web tests green

This commit is contained in:
Raphael Westphal
2026-08-18 19:13:51 +02:00
parent 95d2b5da4b
commit 66c90e48bb
22 changed files with 1476 additions and 964 deletions
+4 -3
View File
@@ -173,9 +173,10 @@ Errors: `{"error": "message"}` with appropriate status.
`POST /api/spawn` semantics:
1. Clone/pull repo into volume `lvmh-repo-<slug>` (slug = repo path with `/`
`-`), default branch unless `branch` given. Concurrent spawns on same
volume serialize.
1. Clone/pull repo into volume `lvmh-repo-<slug>` (slug = repo path with
`/``--`, plus `-` + first 6 hex of sha256(repo path) so distinct
paths can never collide), default branch unless `branch` given.
Concurrent spawns on same volume serialize.
2. Create container from image `lvmh-worker:latest` (build from repo's
`docker/worker.Dockerfile` if missing), env: `ZAI_RENAUD_API_KEY`,
`LVMH_TOKEN`, `LVMH_URL`, provider/models.json mounted read-only,