Commit Graph

23 Commits

Author SHA1 Message Date
Levi Neely 2f1db75b02 docs: update documentation for recent refactor
- Package layout: add pkg/store, pkg/log, pkg/env, pkg/paths, pkg/skills
- System prompt: loaded from SYSTEM_PROMPT.md by Go, not agentSpawn hooks
- Tool prompts injected via preTurn hooks, not agentSpawn
- Sandbox config: single named config, not layered global+overlay
- Store interfaces: unified Store, remove ReadableStore/ReadWriteStore/BlobStore
- Fix batch status -> state in USAGE.md polling examples
- Fix enqueue -> fifo.in in session-management skill
- Fix 9p/internal/p9/server.go -> 9p/server.go (flattened)
- Remove stale sys-base, sys-ollie, sys-skills prompt file references
- Remove stale /pl references from 9p backing stores docs
2026-04-22 10:35:46 +02:00
Levi Neely e7cca59089 remove MCP support, add execute_code tests
- Update submodules: core (remove MCP, add tests), 9p (remove mcp file)
- Add doc/NO_MCP.md: justification for removing MCP
- Add observation to doc/OBSERVATIONS.md
- Update ARCHITECTURE.md, help.md, SYSTEM_PROMPT.md, agents/README.md
2026-04-21 13:26:00 +02:00
Levi Neely 7e62336c61 prompts: consolidate sys-* into SYSTEM_PROMPT.md; load via Go, not hooks
sys-base, sys-ollie, sys-skills merged into a single SYSTEM_PROMPT.md.
Core now loads and envsubst-expands it at startup, prepending it to the
agentPrompt to form the system message. Removes the three preTurn hook
injections from all agent configs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 09:14:14 +02:00
Levi Neely ea9f9c6bfe agents: add reviewer, writer, qa, devops, greybeard 2026-04-20 23:27:46 +02:00
Levi Neely c8d026a3da agents: coding prompt add good output criteria 2026-04-20 22:40:01 +02:00
Levi Neely c969805813 agents: move sys-* prompts to preTurn 2026-04-20 22:35:12 +02:00
Levi Neely a4100e153f agents: move sys-* prompts to preTurn 2026-04-20 22:34:53 +02:00
Levi Neely 61fc50a702 prompts: rename p/ files; drop OLLIE_PLAN_PATH and pl/ references
Rename prompt files to semantic names (no numerical prefix):
  00_base           => sys-base
  01_ollie          => sys-ollie
  02_skills         => sys-skills
  03_tool-files     => tools-file
  04_tool-reasoning => tools-reasoning
  05_tool-memory    => tools-memory
  07_tool-subagents => tools-subagent
  08_tool-elevate   => tools-elevate

Update agent configs and all documentation references. Remove
OLLIE_PLAN_PATH from env.sample and pl/ mention from OBSERVATIONS.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 20:09:50 +02:00
Levi Neely 1ee187b086 agents: rename userPromptSubmit→preTurn, stop→postTurn; bump core
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 15:47:51 +02:00
Levi Neely 8aa1033017 docs: update all docs for hook-based priming, remove pl/ references
- agents/README.md: explain prime-based system prompt composition
- doc/ARCHITECTURE.md: remove Planning section (pl/ no longer exists)
- doc/help.md: update p/ annotation to reflect prime/agentSpawn
- bump core and 9p submodules

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 12:16:57 +02:00
Levi Neely aa0d01e60f agents: use $OLLIE/x/prime absolute path in agentSpawn hooks
prime may not be in PATH at hook execution time; use full path to avoid
the race.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 12:13:28 +02:00
Levi Neely 8d870001bc prompts: migrate to hook-based priming via prime script
Remove Go template syntax from all prompt files (converted to envsubst
variables in prior commits). Agent agentSpawn hooks now call prime for
each prompt file explicitly, replacing the automatic Go-based directory
scan. coding agent gets 08_tool-elevate; default does not.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 12:10:26 +02:00
Levi Neely 7c10a127c4 agents: add bd prime to coding agentSpawn; add README; remove test-bd
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 11:57:55 +02:00
Levi Neely 51a20195bf agents: convert hook values to array format
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 11:54:56 +02:00
Levi Neely 0abcb6367c beads integration (wip); fix plan_create printf; bump core
- agents/test-bd.json: test agent with bd prime agentSpawn hook
- prompts/06_tool-plan.md: prefer beads when context injected at session start
- tools/plan_create: fix printf treating '- [ ]' format as option flag
- submodules: bump core

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 07:24:51 +02:00
Levi Neely c5d87567ce prompts: restructure system prompt; replace task tools with plan_* lifecycle
- Rename and reorder prompt files: skills bumped to 02, tool prompts
  prefixed tool-*, execute_code prompt removed (content absorbed into schema)
- Rewrite all tool prompts with explicit Trigger/Calling convention/Returns/Constraints structure
- Trim 03_reasoning.md to essentials; add "returns nothing" clarification
- Restructure task planning: replace task_plan/task_complete with explicit
  plan_create/plan_start/plan_check/plan_finish lifecycle tools
  - plan_finish enforces hard constraint: fails if any - [ ] tasks remain
- Remove no-shell-redirect rule from 00_base (consolidated into 03_tool-files)
- Add t/idx discovery and parallel schema advice to execute_code JSON schema
- Remove dead execute_pipe/execute_tool trustedTools references from agent configs
- Make keyword greps case-insensitive (-i flag)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 14:48:10 +02:00
Levi Neely c62a599f71 prompts/agents: stronger no-narration rule; split default/coding agents
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 14:05:46 +02:00
Levi Neely d41eea54f1 cleanup agents 2026-04-14 19:38:03 +02:00
Levi Neely ac4e3f2dc7 remove anvillm-agent
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 17:54:38 +02:00
Levi Neely 06f0f81391 trust execute_elevated_bash in superpowers-enabled agents
Has its own approval system; safe to trust by default wherever
SUPERPOWERD_SESSION_TOKEN is present.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 17:54:14 +02:00
Levi Neely 76c9dba84d update agents: explicit trustedTools; rename OLLIE_9MOUNT → OLLIE
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 17:52:43 +02:00
Levi Neely fba1d10ebe agents: remove 9beads-mcp and denote-mcp; use built-in task/memory tools
Drop the task (9beads-mcp) and memory (denote-mcp) MCP servers from all
agents. Update trustedTools to task_plan, task_complete, memory_remember,
memory_recall. Remove stale prompt text referencing task_create/reasoning_plan.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 08:29:35 +02:00
Levi Neely bb96f56d53 move agents/ and prompts/ from core to monorepo root
These are system-wide data files, not core-specific. Consolidate
install of agents, prompts, and skills into a single 'data' target.
2026-04-13 10:32:53 +02:00