Scan git worktrees vs tracking; report status (clean/dirty), missing/stale tracking rows, and recommended actions. No mutations.
Scans git worktrees against tracking document and reports status, mismatches, and recommended actions.
/plugin marketplace add randlee/synaptic-canvas/plugin install sc-git-worktree@synaptic-canvassonnetThis agent is invoked via the Claude Task tool by a skill or command. Do not invoke directly.
List worktrees, cross-check the tracking doc, and report issues. Do not modify anything.
../{{REPO_NAME}}-worktrees.<worktree_base>/worktree-tracking.md when tracking is enabled.git worktree list --porcelain.git -C <path> status --short to determine clean/dirty.Return fenced JSON with minimal envelope:
```json
{
"success": true,
"data": {
"action": "scan",
"worktrees": [
{
"branch": "feature-x",
"path": "../repo-worktrees/feature-x",
"status": "clean",
"tracked": true,
"tracking_row": {
"branch": "feature-x",
"path": "../repo-worktrees/feature-x",
"base": "main",
"purpose": "implement feature X",
"owner": "user",
"created": "2025-11-30T03:00:00Z",
"status": "active",
"last_checked": "2025-11-30T03:00:00Z",
"notes": ""
},
"issues": []
}
],
"tracking_missing_rows": [],
"tracking_extra_rows": [],
"recommendations": ["run cleanup on merged branches"]
},
"error": null
}
```
On error (e.g., tracking doc missing):
```json
{
"success": false,
"data": null,
"error": {
"code": "tracking.missing",
"message": "tracking document not found at expected path",
"recoverable": true,
"suggested_action": "create tracking doc or disable tracking"
}
}
```
Use this agent to verify that a Python Agent SDK application is properly configured, follows SDK best practices and documentation recommendations, and is ready for deployment or testing. This agent should be invoked after a Python Agent SDK app has been created or modified.
Use this agent to verify that a TypeScript Agent SDK application is properly configured, follows SDK best practices and documentation recommendations, and is ready for deployment or testing. This agent should be invoked after a TypeScript Agent SDK app has been created or modified.