﻿# Cline Kanban worktrees can share ignored files

Understand the boundary of Cline Kanban isolation: tracked edits have task worktrees, but symlinked ignored files can affect the main repository and cleanup can start linked work.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/guide-cline-kanban-shared-ignored-files/
Language: en

## Read the board as an execution interface

Cline Kanban is documented as a research preview for running coding tasks through cards. Starting a card creates a task worktree and terminal; the board exposes progress and a review path. The [overview](https://docs.cline.bot/usage/kanban) is useful for understanding this workflow, but the term “isolated” needs the more specific filesystem contract below. A task board can coordinate execution while still sharing selected resources with the main checkout.

## Inspect ignored paths before assigning edits

The [core workflow](https://docs.cline.bot/kanban/core-workflow) says ignored files, such as dependency directories, are symlinked from the main repository to avoid repeated setup. Changes through those links affect the original target. A task that only reads dependencies benefits from reuse; a task that rewrites a gitignored generated asset or local configuration can affect another checkout. Identify the actual target of relevant ignored paths before concluding that the task has a private copy.

## Keep tracked-file separation in perspective

Separate worktrees provide distinct tracked working files. They do not establish that every resource reachable by a command is private. Nor do they prove that independently developed changes will integrate without semantic conflict later. Compare the card's diff with its task and base revision, and consider effects outside that diff. The [CLI reference](https://docs.cline.bot/cli/cli-reference) helps distinguish an ordinary CLI or worktree launch from the board's additional task orchestration.

## Treat cleanup as a workflow transition

The documented dependency chain can start the next linked task when a completed card is moved to trash. Trash also removes the ephemeral worktree. Therefore cleanup may both remove local working state and advance execution. Before cleaning a card, inspect links and preserve the reviewed result through the intended shipping operation. Do not use trash as a casual visual tidy-up when dependent work should remain stopped.

## Review before shipping the result

Card details expose diffs and inline comments for feedback. Commit and Open PR are shipping actions handled through the agent, rather than evidence that review already happened. Define completion and integration separately using a [task contract](/journal/learn-codex-task-contract/), and use [tool observations](/journal/learn-codex-tool-observation/) to record what actually executed. For a shared ignored-file change, the evidence should include the affected target; a clean tracked diff alone would miss precisely that side effect.
