Commit Graph

24 Commits

Author SHA1 Message Date
Levi Neely 9643a9a034 Flatten tools 9P, restore SKILLS_PROMPT, remove role/tool discovery
- Flatten agent/tools/ to serve tools directly (no capability subdirs)
- Restore SKILLS_PROMPT.md with proactive skill discovery
- Remove discover_role.sh and discover_tool.sh
- Remove help endpoint from roles and tools
- Update all SKILL.md files to use flat tool paths
- Clear agent prompt in anvillm-agent.json
2026-03-06 13:43:57 +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 4d51216fa6 Move SKILLS_PROMPT to root and refactor agent protocol
- Move SKILLS_PROMPT.md from kiro-cli/ to repo root (shared across backends)
- Replace verbose agent instructions with concise discovery protocol
- Enforce execute_code for all AnviLLM tool usage; forbid raw 9p commands
- Add agentspawn hook for claude backend
- Clean up install-mcp.sh tool list (now auto-discovered)
- Clarify SKILL.md wording for beads and anvillm-communication

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 21:50:48 +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 1fb7038419 ls before help 2026-02-26 15:48:48 +01:00
Levi Neely e754fe1759 Update OUTPUT_PROTOCOL.md and SKILLS_PROMPT.md 2026-02-26 15:45:58 +01:00
Levi Neely aa5e1500c5 SKILLS_PROMPT: reduce verbosity, enforce skill-first behavior 2026-02-26 15:28:48 +01:00
Levi Neely a5b73adca8 SKILLS_PROMPT: fix 9p paths to use agent/ prefix 2026-02-26 15:18:27 +01:00
Levi Neely 51a078c469 SKILLS_PROMPT: use 9P filesystem for skill discovery 2026-02-26 15:16:05 +01:00
Levi Neely 96876ea6c8
Add output discipline enforcement (bd-nk8) (#13)
- OUTPUT_PROTOCOL.md: shared protocol injected at session start for all backends
- anvillm-hook: injects OUTPUT_PROTOCOL.md via Kiro agentSpawn
- claude/agent/anvillm-agent.md: Output Protocol section (Claude session-start equivalent)
- bot-templates: Output Protocol block in Conductor and Taskmaster contexts
- anvillm-communication skill: structured body schemas for all message types
- install-hooks.sh: also installs anvillm-agent.md to ~/.claude/agents/
- kiro-cli/README.md: install instructions for prompt files

Co-authored-by: Levi Neely <lkn@darkstar.example.net>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 21:48:58 +01:00
Levi Neely 741aee8ddc Fix bead claim bug 2026-02-21 09:42:19 +01:00
Levi Neely 977745d133 Make skills command conditional: use agent-prompt/agent-skills if available 2026-02-19 15:30:56 +01:00
Levi Neely 44934e685a Make agent-hook support direct invocation
- Added dual-mode support: JSON stdin or event name as argument
- Updated agent config to use agent-hook with event names
- Centralizes all hook logic in one script
- Works with both wrapper scripts and direct Kiro hooks
2026-02-18 22:35:27 +01:00
Levi Neely 5fdcc039d1 Add agent-hook script and SKILLS_PROMPT.md
- Added agent-hook for future use with wrapper script
- Created SKILLS_PROMPT.md for automatic skill loading
- Updated mkfile to install both
- Kept explicit commands in agent config (agent-hook needs wrapper)
2026-02-18 22:33:09 +01:00
Levi Neely f3cad9a96f Add env field to MCP config for consistency 2026-02-18 21:44:42 +01:00
Levi Neely fd9860c70e Use includeMcpJson to load global MCP config
- Remove mcpServers from agent config
- Add includeMcpJson: true to use ~/.kiro/settings/cli.json
- Allows agent to access MCP servers from global config
2026-02-18 21:38:28 +01:00
Levi Neely 67fbc83efd Simplify state hooks to use AGENT_ID env var
- Replace complex PID-based lookup with AGENT_ID env var
- Much more reliable and cleaner approach
- AGENT_ID is exported by tmux and shell environment
2026-02-18 20:06:05 +01:00
Levi Neely 2dd7418e05 Fix MCP tools configuration format
- Use @anvilmcp/tool_name format in tools field per Kiro docs
- Remove invalid mcpTools field
- Tools are now properly referenced as MCP server tools
2026-02-18 20:01:49 +01:00
Levi Neely 92a90c2175 Add MCP tools configuration to anvillm-agent
- Configure anvilmcp MCP server tools in agent config
- Enables read_inbox, send_message, list_sessions, set_state tools
2026-02-18 19:58:29 +01:00
Levi Neely 0b1659e9fc Add Kiro CLI MCP server configuration
- MCP server config for anvilmcp (read_inbox, send_message, list_sessions, set_state)
- Install script that merges config into ~/.kiro/settings/cli.json
- README documenting installation and requirements
- Follows same pattern as Claude hooks installation
2026-02-18 19:57:14 +01:00
Levi Neely fa127f1d44 Reduce idle window from 30 to 15 seconds before prompting agents 2026-02-17 14:40:21 +01:00
Levi Neely 35b3ff338e Fix 9p-read-inbox to strip .json extension when marking messages complete 2026-02-17 14:37:46 +01:00
Levi Neely d865c50124 Move backend configs back to cfg/backends/ - they are AnviLLM configs 2026-02-17 10:37:11 +01:00
Levi Neely fed6bbdbdb Reorganize config structure: separate claude/ and kiro-cli/ directories 2026-02-17 10:35:31 +01:00