Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

docs: explain how to recover from a checkout path conflict (#11017)

Danila Katalshovaf1acd953d97
diff --git a/apps/docs/content/docs/project-resources.fr.mdx b/apps/docs/content/docs/project-resources.fr.mdx
index f17f642a71..e8b77cec02 100644
--- a/apps/docs/content/docs/project-resources.fr.mdx
+++ b/apps/docs/content/docs/project-resources.fr.mdx
@@ -40,6 +40,8 @@ La `ref` d'une ressource définit la branche, le tag ou le commit que les checko
Pour un dépôt géré, l'agent démarre dans le dossier de travail de la tâche. En général, `multica repo checkout` crée un sous-dossier pour le dépôt et affiche son chemin. Exécutez depuis ce chemin les commandes qui exigent la racine du dépôt. Si le processus de l'agent doit lui-même démarrer à la racine et que vous contrôlez la machine du runtime, ajoutez un checkout existant comme dossier local. Les modes `in_place` et `worktree` démarrent tous deux l'agent à la racine d'un dépôt ; pour les dépôts git, privilégiez `worktree` pour isoler les exécutions et les lancer en parallèle. Voir [Comment les exécutions partagent le répertoire](#comment-les-exécutions-partagent-le-répertoire).
+Si le sous-dossier prévu contient déjà un autre dépôt ou des fichiers résiduels et que le checkout signale un conflit de chemin, exécutez `multica repo checkout` depuis un autre dossier dans le dossier de travail de la même tâche. Conservez le dossier d’origine jusqu’à ce que vous ayez vérifié si son contenu vous est encore utile.
+
## Ajouter un répertoire local
L'interface d'ajout d'un répertoire local n'existe que dans l'application de bureau, car les navigateurs ne peuvent pas sélectionner de dossiers sur votre ordinateur.
diff --git a/apps/docs/content/docs/project-resources.ja.mdx b/apps/docs/content/docs/project-resources.ja.mdx
index ee8e3dcf93..9eb76e28e3 100644
--- a/apps/docs/content/docs/project-resources.ja.mdx
+++ b/apps/docs/content/docs/project-resources.ja.mdx
@@ -40,6 +40,8 @@ GitHub のブランチ URL(`https://github.com/owner/repo/tree/branch`)を
管理対象のリポジトリでは、エージェントはタスクの作業ディレクトリで起動します。`multica repo checkout` は通常、リポジトリ用のサブディレクトリを作成してそのパスを出力します。リポジトリのルートが必要なコマンドはそのパスで実行してください。エージェント自体をルートで起動する必要があり、ランタイムのマシンを管理できる場合は、既存のチェックアウトをローカルディレクトリとして追加します。`in_place` と `worktree` のどちらでも、エージェントはリポジトリのルートで起動します。git リポジトリには、実行を隔離して並行処理できる `worktree` モードを推奨します。[実行がディレクトリを共有する方法](#実行がディレクトリを共有する方法)を参照してください。
+チェックアウト先のサブディレクトリに別のリポジトリや残存ファイルがあり、パスの競合が報告された場合は、同じタスクの作業ディレクトリ内にある別のディレクトリから `multica repo checkout` を実行してください。必要な作業内容が残っていないか確認するまでは、元のディレクトリを残してください。
+
## ローカルディレクトリの追加
ローカルディレクトリを追加する UI は Desktop でのみ提供されます。ブラウザからはコンピュータ上のフォルダを選択できないためです。
diff --git a/apps/docs/content/docs/project-resources.ko.mdx b/apps/docs/content/docs/project-resources.ko.mdx
index cbd56d9d41..b40054d3b9 100644
--- a/apps/docs/content/docs/project-resources.ko.mdx
+++ b/apps/docs/content/docs/project-resources.ko.mdx
@@ -40,6 +40,8 @@ GitHub 브랜치 URL(`https://github.com/owner/repo/tree/branch`)을 붙여 넣
관리형 저장소에서는 에이전트가 작업의 작업 디렉터리에서 시작합니다. `multica repo checkout`은 일반적으로 저장소의 하위 디렉터리를 만들고 그 경로를 출력합니다. 저장소 루트가 필요한 명령은 해당 경로에서 실행하세요. 에이전트 프로세스 자체가 루트에서 시작해야 하고 런타임 컴퓨터를 관리할 수 있다면 기존 체크아웃을 로컬 디렉터리로 추가하세요. `in_place`와 `worktree` 모드 모두 저장소 루트에서 에이전트를 시작합니다. git 저장소에는 실행을 격리하고 병렬로 처리할 수 있는 `worktree` 모드를 권장합니다. [실행이 디렉터리를 공유하는 방식](#실행이-디렉터리를-공유하는-방식)을 참고하세요.
+체크아웃 대상 하위 디렉터리에 다른 저장소나 남은 파일이 있어 경로 충돌이 발생하면, 같은 작업 디렉터리 안의 다른 디렉터리에서 `multica repo checkout`을 실행하세요. 필요한 작업 내용이 남아 있는지 확인할 때까지 원래 디렉터리를 보관하세요.
+
## 로컬 디렉터리 추가
브라우저는 컴퓨터의 폴더를 선택할 수 없으므로 로컬 디렉터리 추가 화면은 Desktop에서만 제공됩니다.
diff --git a/apps/docs/content/docs/project-resources.mdx b/apps/docs/content/docs/project-resources.mdx
index 8082e7d8ec..32b02425cb 100644
--- a/apps/docs/content/docs/project-resources.mdx
+++ b/apps/docs/content/docs/project-resources.mdx
@@ -40,6 +40,8 @@ A resource's `ref` sets the branch, tag, or commit that later checkouts use by d
For a managed repository, the agent starts in the task working directory. `multica repo checkout` normally creates a subdirectory for the repository and prints its path. Run commands that need the repository root from that path. If the agent process itself must start at the root and you control the runtime computer, attach an existing checkout as a local directory. Both `in_place` and `worktree` start the agent at a repository root; prefer `worktree` for git repositories to keep runs isolated and parallel. See [How runs share the directory](#how-runs-share-the-directory).
+If the repository's target subdirectory already contains another repository or leftover files and checkout reports a path conflict, run `multica repo checkout` from a different directory inside the same task working directory. Keep the original directory until you've checked whether it contains work you need.
+
## Add a local directory
The UI for adding a local directory is Desktop-only, because browsers cannot pick folders on your computer.
diff --git a/apps/docs/content/docs/project-resources.zh-Hant.mdx b/apps/docs/content/docs/project-resources.zh-Hant.mdx
index 9033ab6784..ce8831ae32 100644
--- a/apps/docs/content/docs/project-resources.zh-Hant.mdx
+++ b/apps/docs/content/docs/project-resources.zh-Hant.mdx
@@ -40,6 +40,8 @@ import { LocalDirModeDemo } from "@/components/demos/local-dir-mode-demo";
對於受管理的儲存庫,AI 代理會從任務工作目錄啟動。`multica repo checkout` 通常會為儲存庫建立子目錄並輸出其路徑。需要儲存庫根目錄的指令請在該路徑下執行。如果代理程序本身必須從根目錄啟動,且你能管理執行階段所在的電腦,請將現有的 checkout 新增為本機目錄。`in_place` 和 `worktree` 模式都會從儲存庫根目錄啟動 AI 代理;git 儲存庫建議使用 `worktree`,讓各次執行相互隔離並可並行。詳見[執行如何共享這個目錄](#執行如何共享這個目錄)。
+如果目標子目錄中已有其他儲存庫或殘留檔案,導致簽出時回報路徑衝突,請在同一任務工作目錄內換一個目錄執行 `multica repo checkout`。確認原目錄內是否有需要保留的工作成果之前,請保留原目錄。
+
## 新增本地目錄
新增本地目錄的介面只在 Desktop 中提供,因為瀏覽器不能選擇電腦上的資料夾。
diff --git a/apps/docs/content/docs/project-resources.zh.mdx b/apps/docs/content/docs/project-resources.zh.mdx
index 936195bd88..d1b2816e62 100644
--- a/apps/docs/content/docs/project-resources.zh.mdx
+++ b/apps/docs/content/docs/project-resources.zh.mdx
@@ -40,6 +40,8 @@ import { LocalDirModeDemo } from "@/components/demos/local-dir-mode-demo";
对于托管仓库,智能体从任务工作目录启动。`multica repo checkout` 通常会为仓库创建子目录并输出其路径。需要仓库根目录的命令应在该路径下运行。如果智能体进程本身必须从根目录启动,且你能管理运行时所在的计算机,请将已有的 checkout 添加为本地目录。`in_place` 和 `worktree` 模式都从仓库根目录启动智能体;git 仓库建议使用 `worktree`,让各次运行相互隔离并可并行。详见[运行如何共享这个目录](#运行如何共享这个目录)。
+如果目标子目录中已有其他仓库或残留文件,导致检出时报告路径冲突,请在同一任务工作目录内换一个目录运行 `multica repo checkout`。确认原目录中是否有需要保留的工作成果之前,请保留原目录。
+
## 添加本地目录
添加本地目录的界面只在 Desktop 中提供,因为浏览器不能选择电脑上的文件夹。