Commit Graph

11 Commits

Author SHA1 Message Date
Levi Neely 8e50b84707 Extract beads to standalone 9beads service
- Remove embedded BeadsFS from anvilsrv
- Remove beads.go and related tests from p9 package
- Update Assist to connect to separate 'beads' 9P service
- Update mcptools scripts: anvillm/beads/* -> beads/*

Beads now served by 9beads (separate repo/process).
2026-03-20 15:13:02 +01:00
Levi Neely 4657bb0a18 mcptools: remove /etc/shadow sandbox checks
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 15:11:18 +01:00
Levi Neely d76ccf4979 mcptools: convert all positional args to named flags
Every argument in every mcptools script is now a named flag (--mount,
--id, --agent-id, --session-id, --cwd, --child, --repo, --ticket, etc.).
No positional arguments remain. SKILL.md files updated to match.

Also updates cmd/Assist/main.go to pass --cwd flag to mount_beads.sh.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 13:41:25 +01:00
Levi Neely 8e5248cbef mcptools: add success output to silent mutation scripts
All bead mutation scripts now echo a descriptive confirmation after
a successful 9p write. set -euo pipefail ensures the echo only runs
if the write succeeded.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 00:18:38 +01:00
Levi Neely 2a1d620a31 rename 9P endpoint from 'agent' to 'anvillm'
- Update socket path, MountService calls, path prefixes
- Update mcptools, scripts, docs, diagrams, services
- Fix idleSince initialization at session creation
2026-03-12 12:13:40 +01:00
Levi Neely 391f773b2a remove discover_tool.sh, one capability per tool, aggressive agent prompts
This allows me to assign a role via `context` to an agent, it discovers what that role means, then it can run the tools and load the skills required to do its work. In theory...
2026-03-05 23:35:15 +01:00
Levi Neely 27188f1f55 Fix MCP bead tools: add mount parameter and handle multi-line inputs
- All bead tools now require explicit mount parameter as first arg
- Multi-line values (descriptions, comments, reasons) properly quoted with printf
- Fixes issue where tools wrote to read-only agent/beads/list instead of mount-specific ctl
2026-02-28 23:07:21 +01:00
Levi Neely 495136c70c Remove BeadsFS.store field, fix subtask creation to use mounted project stores 2026-02-28 22:52:14 +01:00
Levi Neely afe13afba2 Fix 9p tool access in execute_code sandbox
- Add DISPLAY, WAYLAND_DISPLAY, USER to landrun env passthrough
- Mount /etc/passwd read-only for getuser() to work
- Update mcptools scripts to check /etc/shadow instead of /etc/passwd for sandbox detection
2026-02-28 20:49:42 +01:00
Levi Neely aa87a71cca Add tasks capability to beads scripts 2026-02-28 18:56:03 +01:00
Levi Neely 4bfbe3cc62 Add beads and session management tools for MCP 2026-02-28 18:51:10 +01:00