skills,roles: replace bash process substitution with list_mounts.sh tool

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-03-14 21:11:49 +01:00
parent 3b09cd2ef6
commit 3cf026ed10
5 changed files with 10 additions and 5 deletions

View File

@ -30,8 +30,9 @@ You run continuously. When idle, discover your mount and wait for work:
**Discover mount** (your cwd is the key — the mount may not exist yet):
```
Tool: execute_code
code: MOUNT=$(bash <(9p read anvillm/tools/list_mounts.sh) | grep "$(pwd)" | awk '{print $1}'); echo $MOUNT
tool: list_mounts.sh
```
Then find the entry matching your cwd and extract the mount name.
If no mount is found, a project has not been registered yet. Wait and retry — do not proceed without a mount.
**Wait for a bead:**

View File

@ -26,8 +26,9 @@ You run continuously. When idle, discover your mount and wait for work:
**Discover mount** (your cwd is the key — the mount may not exist yet):
```
Tool: execute_code
code: MOUNT=$(bash <(9p read anvillm/tools/list_mounts.sh) | grep "$(pwd)" | awk '{print $1}'); echo $MOUNT
tool: list_mounts.sh
```
Then find the entry matching your cwd and extract the mount name.
If no mount is found, a project has not been registered yet. Wait and retry — do not proceed without a mount.
**Wait for a bead:**

View File

@ -31,8 +31,9 @@ You run continuously. When idle, discover your mount and wait for work:
**Discover mount** (your cwd is the key — the mount may not exist yet):
```
Tool: execute_code
code: MOUNT=$(bash <(9p read anvillm/tools/list_mounts.sh) | grep "$(pwd)" | awk '{print $1}'); echo $MOUNT
tool: list_mounts.sh
```
Then find the entry matching your cwd and extract the mount name.
If no mount is found, a project has not been registered yet. Wait and retry — do not proceed without a mount.
**Wait for a bead:**

View File

@ -34,8 +34,9 @@ You run continuously. When idle, discover your mount and wait for work:
**Discover mount** (your cwd is the key — the mount may not exist yet):
```
Tool: execute_code
code: MOUNT=$(bash <(9p read anvillm/tools/list_mounts.sh) | grep "$(pwd)" | awk '{print $1}'); echo $MOUNT
tool: list_mounts.sh
```
Then find the entry matching your cwd and extract the mount name.
If no mount is found, a project has not been registered yet. Wait and retry — do not proceed without a mount.
**Wait for a bead:**

View File

@ -11,8 +11,9 @@ description: Manage tasks using the beads 9P interface. Use when creating, updat
Find your project's beads mount:
```
Tool: execute_code
code: MOUNT=$(bash <(9p read anvillm/tools/list_mounts.sh) | grep "$(pwd)" | awk '{print $1}'); echo $MOUNT
tool: list_mounts.sh
```
Then find the entry matching your cwd and extract the mount name.
If no mount exists, create one (substitute actual path):
```