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:
+4
-3
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user