Commit Graph

778 Commits

Author SHA1 Message Date
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
Ollie Agent 20e1da73ea 9p: purge all 'store' vocabulary 2026-05-19 18:40:42 +02:00
Ollie Agent b65b274044 9p: purge Store vocabulary, use Tree everywhere 2026-05-19 18:39:13 +02:00
Ollie Agent b2bca41649 9p: inline root/tool into main.go 2026-05-19 18:33:46 +02:00
Ollie Agent c71713a894 9p: main.go owns wiring, server is pure protocol handler 2026-05-19 18:32:29 +02:00
Ollie Agent 60aa336d5e 9p: tool/root into server/ (wiring, not abstraction) 2026-05-19 18:21:21 +02:00
Ollie Agent d820aae025 9p: rename to 9P vocabulary (fs/, Tree, File) 2026-05-19 18:19:45 +02:00
Ollie Agent 34de7315e4 9p: server/ package 2026-05-19 18:12:40 +02:00
Ollie Agent 46e641345e 9p: session/ package 2026-05-19 18:10:44 +02:00
Ollie Agent 447b735597 9p: restructure - session logic out of store/ 2026-05-19 18:07:17 +02:00
Ollie Agent 8bbdd2a499 9p: split store constructors into own files 2026-05-19 17:47:22 +02:00
Ollie Agent 0af3cc48e0 9p: fix empty session directories 2026-05-19 17:43:58 +02:00
Ollie Agent 9120ad9b4b 9p: fix wstat panic on session rename 2026-05-19 17:40:32 +02:00
Ollie Agent 8612645abf 9p: rename sessionStore to sessionMgr 2026-05-19 17:34:28 +02:00
Ollie Agent f1917ec9fb 9p: separate SessionManager from DirStore 2026-05-19 17:33:44 +02:00
Ollie Agent 657a1fcd29 9p: one store type (DirStore) 2026-05-19 17:21:23 +02:00
Ollie Agent 37ad62d4fa 9p: DirStore sub-store mounting 2026-05-19 17:14:18 +02:00
Ollie Agent f44c097bab 9p: unified DirStore type 2026-05-19 17:07:55 +02:00
Ollie Agent ee9820b1d7 9p: hierarchical SessionStore, /s/ as regular route entry 2026-05-19 16:52:23 +02:00
Ollie Agent a160130a4c 9p: generic read/write dispatch via store entry flags 2026-05-19 16:39:55 +02:00
Ollie Agent 3beedbd7a6 9p: update submodule (enforce permissions on all paths) 2026-05-19 16:16:48 +02:00
Ollie Agent 97737a954c update 9p: restrict /p/ to user-group write, agent read-only 2026-05-19 15:59:26 +02:00
Ollie Agent fb55b4bc21 update 9p: owner-only session tools 2026-05-19 15:56:32 +02:00
Ollie Agent 7497b1243b update 9p submodule 2026-05-19 15:54:30 +02:00
Ollie Agent 134fd2e506 update 9p: fix FUSE read EOF handling 2026-05-19 15:52:31 +02:00
Ollie Agent b5fdb251b1 update core: agent uses per-session mount, not global 2026-05-19 15:45:06 +02:00
Ollie Agent 5cf54ef455 update 9p: fix mount proxy uname for permission enforcement 2026-05-19 15:33:33 +02:00
Ollie Agent 7418114e44 add escalate tools 2026-05-19 15:27:22 +02:00
Ollie Agent 4e4e71f137 update 9p: fix rename deadlock 2026-05-19 15:26:43 +02:00
Ollie Agent 97fff16cf4 update core: fix test hangs from OLLIE env 2026-05-19 15:20:41 +02:00
Ollie Agent a5109f9baa update 9p, core: numeric uname principal separate from session name 2026-05-19 15:06:33 +02:00
Ollie Agent 0106089a6d update 9p: permission model for session files 2026-05-19 14:22:19 +02:00
Ollie Agent 6bff16a54a update 9p, core: per-session 9P identity and self-prompt rejection 2026-05-19 14:10:27 +02:00