5ce44496b5
CodeQL flagged go/path-injection on the localFileUploader.WriteFile sink: instanceID flows into the write path, and a malformed value would let writes escape the kandev session root and clobber arbitrary host files. Bind the uploader to its session root and reject any path that filepath.Rel resolves to a "../" escape. Production callers always pass an internally generated instanceID; the check is defense in depth against a future caller plumbing in user input.