Commit Graph

810 Commits

Author SHA1 Message Date
Levi Neely 8fb3ce0597 fix subagent_spawn: use /bin/echo for 9P writes
Bash builtin echo/printf may split multi-line content across
multiple write syscalls, which the FUSE 9P proxy rejects.
/bin/echo (coreutils) does a single write.
2026-05-22 12:39:03 +02:00
Levi Neely d37d4b7151 Update 9p submodule: model cache and invalidate command 2026-05-22 10:08:20 +02:00
Ollie Agent 672a2a07cd update core and webui submodules 2026-05-21 19:45:11 +02:00
Levi Neely bedb65be82 update submodules: model selector feature 2026-05-21 18:50:04 +02:00
Levi Neely 008915f94b core: remove unsandboxed ! shell escape 2026-05-21 15:18:11 +02:00
Levi Neely a94454d72b update core submodule (session persistence), sync docs 2026-05-21 15:08:46 +02:00
Levi Neely d08497d287 big refactor: agent core, 9p sessions, webui, architecture docs 2026-05-21 14:42:55 +02:00
Levi Neely 71e2dfc439 update submodules and add OLLIE_DEFAULT_AGENT to sandbox env 2026-05-21 12:33:24 +02:00
Levi Neely d1439bc4aa update submodules: permission registry, FUSE ops, sandbox env isolation 2026-05-21 11:50:50 +02:00
Ollie Agent 68082ad2a6 front-ends: transparent FUSE remount on I/O errors
All front-ends (sh, b, ls, kill, cleanup, ellie.el, ollie-acme, Kmpl)
now retry file operations after running ollie-remount on failure.
contrib target added to 'all' so ollie-remount is always installed.
2026-05-21 09:00:13 +02:00
Ollie Agent 10760b57bf core: update submodule (per-session mount recovery) 2026-05-21 08:49:44 +02:00
Ollie Agent 65f1314d9f contrib: add ollie-remount script for 9pfuse recovery after sleep/wake 2026-05-21 08:44:17 +02:00
Ollie Agent a88ef15ad6 update core: expand $VAR in env values and sandbox paths 2026-05-20 18:35:13 +02:00
Ollie Agent 7138dc031a update core: expand ~ in env file values and sandbox paths 2026-05-20 18:34:05 +02:00
Levi Neely 9ec281e828 Update submodules 2026-05-20 17:24:22 +02:00
Levi Neely 120f9f0062 update submodules 2026-05-20 16:49:57 +02:00
Levi Neely 35518d9e22 update submodules 2026-05-20 16:46:44 +02:00
Ollie Agent b35a2ef9ff update submodules: session PATH fix, httpgw state injection, 9p-mount install path 2026-05-20 14:16:22 +02:00
Ollie 777cf131b8 Update 9p submodule 2026-05-20 14:01:07 +02:00
Ollie 49d1e663e9 Document sandbox restrictions in SYSTEM_PROMPT 2026-05-20 14:00:58 +02:00
Levi Neely 7c2bcb3bd6 sandbox prems 2026-05-20 11:28:28 +02:00
Levi Neely 3c0a2451b4 9p: update submodule 2026-05-20 11:10:39 +02:00
Levi Neely 4b4cb5227c 9p: update submodule 2026-05-20 11:10:18 +02:00
Levi Neely 20571d2fd0 9p: update submodule (permission fix) 2026-05-20 11:09:33 +02:00
Levi Neely dfc026934e update submodules (session rename fixes) 2026-05-20 10:57:15 +02:00
Levi Neely ad6c63b21e core: update submodule 2026-05-20 10:50:25 +02:00
Levi Neely 98bd95a7ad core: update submodule (session rename fix) 2026-05-20 10:48:03 +02:00
Levi Neely c19350cc60 update submodules 2026-05-20 10:43:33 +02:00
Levi Neely 25451b2add 9p: update submodule (file mode delegation) 2026-05-20 10:42:38 +02:00
Ollie Agent f07a853882 9p: add name to cfg (read + write as rename) 2026-05-20 09:59:31 +02:00
Ollie Agent 7b06273173 help.md: fix cfg (remove state), fix t/ perms, add tier env vars 2026-05-20 09:55:03 +02:00
Ollie Agent 840cc991a2 SYSTEM_PROMPT: fix filesystem paths to match actual 9P layout
- Remove /t/ from root (doesn't exist there)
- Add s/{id}/t/ to session file table
- Fix tool discovery path to s/$OLLIE_SESSION_ID/t/idx
2026-05-20 09:54:28 +02:00
Ollie Agent c3174e9fd0 9p: remove state from cfg output 2026-05-20 09:53:41 +02:00
Ollie Agent c3fab7714d docs: update filesystem descriptions to match 9P implementation
SYSTEM_PROMPT:
- Replace separate backend/model/agent/cwd files with unified cfg
- Add prompt permission note (agent can't write to own prompt)
- Add missing files: usage, cost, env
- Add missing root paths: u/, x/, tmp/
- Update operations section: use cfg and ctl properly
- Fix session creation example (printf for newlines)

ARCHITECTURE:
- Already updated in prior commit

tools/route:
- Fix backend resolution to read from cfg instead of nonexistent
  separate backend file
2026-05-20 09:53:04 +02:00
Ollie Agent fb2ce37d80 docs: remove mcpServers from ARCHITECTURE (not supported) 2026-05-20 09:46:57 +02:00
Ollie Agent 4eddf55e54 docs: update README and ARCHITECTURE to reflect current state
README:
- Replace cascade/mechanical worker with route/tier-based routing
- Replace plan-first discipline with per-agent 9P principals
- Remove task tracking from tool list
- Add tier-based routing and orchestrator/worker descriptions

ARCHITECTURE:
- Update tool scripts list (remove task_*, add route/escalate/lsp_*)
- Rewrite sub-agents section: fire-and-forget callback protocol
- Add u/cascade, u/escalate to script namespaces
- Add per-agent 9P principals section (FUSE proxy, permission enforcement)
- Mark mcpServers as optional
2026-05-20 09:46:15 +02:00
Ollie Agent ace08d1d77 core: env file loaded at server startup 2026-05-20 09:36:10 +02:00
Ollie Agent a4ce36444b restore all backend tier examples, add to env.sample 2026-05-20 09:32:49 +02:00
Ollie Agent 8693796639 README: tier models for openrouter and kiro only 2026-05-20 09:31:59 +02:00
Ollie Agent 37d9342485 fix: enabled backends example to openrouter,kiro 2026-05-20 09:31:27 +02:00
Ollie Agent 9465e2f4a8 route: per-backend tier model mapping, --backend flag
- Resolves model from OLLIE_TIER_{WORKER|EXPERT}_{backend}
- Falls back to legacy OLLIE_CASCADE_MODEL/OLLIE_ESCALATE_MODEL
- --backend flag lets orchestrator pick a different backend
- Inherits parent session's backend by default
- OLLIE_ENABLED_BACKENDS documents available backends
- README updated with tier config examples
2026-05-20 09:30:55 +02:00
Ollie Agent 4b6562b6f2 add t/route: unified dispatch with tier selection
- route --tier=worker (default): cheap model for scoped subtasks
- route --tier=expert: strong model for complex reasoning
- Orchestrator now uses route instead of cascade
- Unified prompt and callback contract for both tiers
- cascade/escalate remain available for other agents
2026-05-20 09:26:05 +02:00
Ollie Agent 7d14c04337 remove orphaned tools-task.md 2026-05-20 09:15:22 +02:00
Ollie Agent d28d6af23c agents: slim down configs, remove unused tools
- Remove task tools from default/coding agent prompts (planning is coding-only)
- Remove MCP server config from coding agent
- Remove env and grep tools from orchestrator allowlist
- Delete unused tool scripts: env, grep, task_add, task_check, task_clear
- Strip default agent to minimal prompt set
2026-05-20 09:14:46 +02:00
Ollie Agent 405a568ad0 orchestrator: preserve constraint intent, allow rephrasing 2026-05-20 09:13:59 +02:00
Ollie Agent 26022c3632 orchestrator: always pass user constraints through to workers 2026-05-20 09:13:02 +02:00
Ollie Agent 4471d25344 orchestrator/worker: relax to goal-oriented delegation
- Orchestrator: describe what, not how. Workers reason about implementation.
- cascade prompt: allow workers to read code and make decisions within scope.
- Worker identity: 'reason and complete' replaces 'execute exactly'.
- Removes over-specification pressure from orchestrator.
2026-05-20 09:10:06 +02:00
Ollie Agent 7e851777ad prompts: add reasoning_think loop-breaker, move planning to coding agent
- reasoning_think: never call more than once before acting
- Move Planning section from SYSTEM_PROMPT to agent-coding
  (generalist doesn't need plan-first mandate)
2026-05-20 09:02:21 +02:00
Ollie Agent b8e6d75265 prompts: rewrite tool docs for conciseness and accuracy
- Fix file_read default (2000→500), document --head flag
- Fix file_edit: errors on non-unique matches, mention fuzzy matching
- Document file_grep 50-match default cap
- Restructure all tool prompts to consistent format:
  trigger condition, calling convention, constraints
- Remove redundant prose and verbose examples
2026-05-20 08:57:30 +02:00
Ollie Agent 0e50e08f72 system prompt tweaks 2026-05-20 08:17:20 +02:00