746
// marker itself is owned/persisted centrally by the AH service.
747
const workingDirectory = config.workingDirectory ?? await ensureWorkspacelessScratchDir(this._environmentService.userHome, sessionId);
749
>
// Only probe for a project when the caller supplied a real folder; a
750
>
// scratch dir is never a code project.
751
>
const project = config.workingDirectory
752
? await projectFromCopilotContext({ cwd: config.workingDirectory.fsPath }, this._gitService)
754
755
const permissionMode = this._resolvePermissionMode(config.config);