Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ mst config init # プロジェクト設定を
```

**パス表示設定:**
`ui.pathDisplay` 設定は、すべてのコマンドでファイルパスがどのように表示されるかを制御します。`"relative"` に設定すると、現在の作業ディレクトリからの相対パスで表示されます。`"absolute"`(デフォルト)に設定すると、フル絶対パスで表示されます。この設定は `github`、`review`、`shell`、`exec`、`health`、`watch` などのコマンドに影響します。
`ui.pathDisplay` 設定は、すべてのコマンドでファイルパスがどのように表示されるかを制御します。`"relative"` に設定すると、現在の作業ディレクトリからの相対パスで表示されます。`"absolute"`(デフォルト)に設定すると、フル絶対パスで表示されます。この設定は `github`、`review`、`shell`、`exec`、`health` などのコマンドに影響します。

**Claude設定:**
- `markdownMode: "shared"` - メインリポジトリのCLAUDE.mdへのシンボリックリンクを作成(デフォルト)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ mst config init # Create project configuratio
```

**Path Display Configuration:**
The `ui.pathDisplay` setting controls how file paths are shown across all commands. When set to `"relative"`, paths are displayed relative to the current working directory. When set to `"absolute"` (default), full absolute paths are shown. This affects commands like `github`, `review`, `shell`, `exec`, `health`, and `watch`.
The `ui.pathDisplay` setting controls how file paths are shown across all commands. When set to `"relative"`, paths are displayed relative to the current working directory. When set to `"absolute"` (default), full absolute paths are shown. This affects commands like `github`, `review`, `shell`, `exec`, and `health`.

**Claude Configuration:**
- `markdownMode: "shared"` - Creates symlink to main repository's CLAUDE.md (default)
Expand Down
38 changes: 0 additions & 38 deletions docs/COMMANDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Detailed usage of all maestro (mst) commands.
### 📊 Advanced Features
- [health](#-health) - Health status checking
- [snapshot](#-snapshot) - Work state snapshots
- [watch](#-watch) - File watching and auto-sync

### 🛠️ Utility Commands
- [config](#-config) - Configuration management
Expand Down Expand Up @@ -634,41 +633,6 @@ mst snapshot --list
mst snapshot --restore <snapshot-id>
```

### 🔸 watch

Watch file changes and auto-sync with built-in security protection.

```bash
mst watch [options]
```

#### Options
- `--patterns <patterns...>` - File patterns to watch (comma-separated)
- `--exclude <patterns...>` - Patterns to exclude (comma-separated)
- `--all` - Watch all worktrees
- `--auto` - Auto-sync without confirmation
- `--dry` - Dry run mode

#### Security Features
- **Directory Traversal Protection**: Prevents `../` path attacks
- **Loop Detection**: Stops infinite directory creation loops
- **Path Validation**: Validates all file operations within worktree boundaries
- **Safe Sync**: Ensures file operations stay within designated worktree directories

#### Examples
```bash
# Basic watch with security protection
mst watch

# Watch specific files with automatic validation
mst watch --patterns "src/**/*.ts,*.json"

# Auto-sync mode with built-in security
mst watch --auto --all

# Dry run to preview changes safely
mst watch --dry --patterns "src/**/*.js"
```

## 🛠️ Utility Commands

Expand Down Expand Up @@ -985,7 +949,6 @@ This setting affects path display in the following commands:
- `shell` - Interactive selection screen paths
- `exec` - Command execution target paths
- `health` - Health check output paths
- `watch` - File change notification paths

Note: The `--full-path` option in the `list` command will always show absolute paths regardless of this setting.

Expand Down Expand Up @@ -1139,7 +1102,6 @@ For detailed usage of each command, see the following documentation:
### 📊 Advanced Features
- [Health Check Details](./commands/health.md)
- [Snapshot Details](./commands/snapshot.md)
- [Watch Details](./commands/watch.md)

### 🛠️ Utility Commands
- [Config Management Details](./commands/config.md)
Expand Down
1 change: 0 additions & 1 deletion docs/commands/sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,4 +408,3 @@ sync_if_tests_pass feature-branch
- [`mst list`](./list.md) - Check orchestra members needing sync
- [`mst health`](./health.md) - Check sync status health
- [`mst snapshot`](./snapshot.md) - Create snapshots before sync
- [`mst watch`](./watch.md) - Auto-sync file changes
Loading
Loading