diff --git a/roles/author.md b/roles/author.md index 9240390..a230e5c 100644 --- a/roles/author.md +++ b/roles/author.md @@ -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:** diff --git a/roles/developer.md b/roles/developer.md index 3d759ec..dc03d74 100644 --- a/roles/developer.md +++ b/roles/developer.md @@ -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:** diff --git a/roles/devops.md b/roles/devops.md index 2918c1e..b49912a 100644 --- a/roles/devops.md +++ b/roles/devops.md @@ -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:** diff --git a/roles/pkgmgr.md b/roles/pkgmgr.md index aeb5bd3..d6f8571 100644 --- a/roles/pkgmgr.md +++ b/roles/pkgmgr.md @@ -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:** diff --git a/skills/beads/SKILL.md b/skills/beads/SKILL.md index d49b942..1cec89e 100644 --- a/skills/beads/SKILL.md +++ b/skills/beads/SKILL.md @@ -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): ```