Commit Graph

125 Commits

Author SHA1 Message Date
Ollie Agent c7aea0db59 rename elevate→bypass throughout
The sandbox escape mechanism is a bypass, not privilege elevation.
The old name caused the agent to confuse it with sudo.

- elevate/ → bypass/ (package, types, tests)
- elevate_notify.go → bypass_notify.go
- Namespace: /elevate → /bypass, session/*/elevate → session/*/bypass
- Tool arg: "elevated" → "bypass"
- Env: OLLIE_ELEVATE_SOCKET → OLLIE_BYPASS_SOCKET
- File: elevate-policy.yaml → bypass-policy.yaml
- All docs, prompts, and scripts updated
2026-08-09 02:22:39 +02:00
Ollie Agent d80a87eb86 clean up OLLIE_* env vars: replace with XDG conventions
- Remove all OLLIE_*_PATH vars (TOOLS_PATH, CFG_PATH, DATA_PATH, etc.)
  Use XDG_CONFIG_HOME/ollie/* and XDG_DATA_HOME/ollie/* instead
- Replace OLLIE_<TAG>_LOG per-component logging with single OLLIE_LOG={level}
- Replace OLLIE_USAGE_LOG with XDG_DATA_HOME-based path
- Replace OLLIE_OLLAMA_URL with standard OLLAMA_HOST (or omit entirely)
- Rename protocol markers: OLLIE_LISTEN_READY → ListenReady, OLLIE_9P_OPEN → Open
- Remove freeloader hooks from agent configs
- Update sandbox YAMLs to use XDG paths instead of OLLIE_*_PATH tokens
- Update shell tools to use $(dirname "$0") fallback instead of OLLIE_TOOLS_PATH
- Update docs and prompts accordingly
2026-08-07 07:11:53 +02:00
Ollie Agent 244f328a43 Remove dead OLLIE_ENABLED_BACKENDS from docs 2026-08-05 19:45:13 +02:00
Ollie Agent 0c7213a6a3 Remove OLLIE_ELEVATE_SOCKET from README env table 2026-08-05 19:44:16 +02:00
Ollie Agent 5206f26fc6 Simplify config: remove OLLIE_*_PATH, use ~/.config/ollie/ convention 2026-08-05 19:29:56 +02:00
Ollie Agent 2026c15b57 Show stdin pipe examples for generate, complete, route 2026-08-05 19:28:35 +02:00
Ollie Agent fb30cf9875 Fix: agent prompt lives in data/prompts/ 2026-08-05 19:27:13 +02:00
Ollie Agent c644a98f0d Fix: agent prompt, not system prompt 2026-08-05 19:26:47 +02:00
Ollie Agent 51d83217ca Mention system prompt in Agents row 2026-08-05 19:26:00 +02:00
Ollie Agent 24c78e65b8 Rename 'Custom agents' to 'Agents' 2026-08-05 19:25:32 +02:00
Ollie Agent 714d56e021 Merge Custom tools into Tools row 2026-08-05 19:24:25 +02:00
Ollie Agent dcb49a6ccf Add 'Tools' row above Domain skills 2026-08-05 19:23:49 +02:00
Ollie Agent 2e14d2e93b Add o complete and o route subcommands, update table 2026-08-05 19:20:52 +02:00
Ollie Agent 58cedd902b Replace remaining ollie-9p references with o CLI 2026-08-05 19:19:32 +02:00
Ollie Agent 6f64e44fe0 Fix complete/route back to ollie-9p rdwr (no o subcommand yet) 2026-08-05 19:18:42 +02:00
Ollie Agent 83da0550b2 Reorder 'What you can do': CLI first, use o command, remove multi-agent 2026-08-05 19:18:20 +02:00
Ollie Agent 5bcaa005e4 Reorder 'What you can do' table in logical dependency order 2026-08-05 19:16:22 +02:00
Ollie Agent a63328ad37 Fix 'Run an agent' to describe session+agent creation 2026-08-05 19:15:29 +02:00
Ollie Agent 8001aa8c6a Strip tool-specific entries from 'What you can do' 2026-08-05 19:14:15 +02:00
Ollie Agent 0b5e0b3c3e Update 'What you can do' with current capabilities 2026-08-05 19:13:29 +02:00
Ollie Agent 6e4a14de2d Move 'What you can do' below Configuration 2026-08-05 19:11:22 +02:00
Ollie Agent 0b9d5a9124 Remove tool registry section from README entirely 2026-08-05 19:10:36 +02:00
Ollie Agent 36822717a1 Move 'Tool registry: zero built-in tools' to doc/resources/tool-registry.md 2026-08-05 19:10:08 +02:00
Ollie Agent 1e0e532183 Fix all doc/*.md links: WRITING_TOOLS.md → resources/writing-tools.md 2026-08-05 19:09:16 +02:00
Ollie Agent 1a5ce7ab05 Fix link to doc/usage.md (was uppercase) 2026-08-05 19:08:15 +02:00
Ollie Agent 24515d2946 Rename 'Getting started' to 'Building' 2026-08-05 19:07:54 +02:00
Ollie Agent 86e09b1cd2 Remove '9P: everything is a file' section from README, link to doc/resources/9p.md instead 2026-08-05 19:07:18 +02:00
Levi Neely 361a68bc3a docs: remove FUSE mount references, use ollie-9p CLI
- Update README examples to use ollie-9p instead of /mnt/ollie paths
- Remove OLLIE mount path from env.sample (no longer needed)
- Update network transparency section for direct 9P access
2026-08-05 08:25:02 +02:00
Ollie Agent 491f259a2b README: strip all D-Bus references, 9P is the only surface 2026-08-04 20:18:22 +02:00
Ollie Agent a0ec7130a7 doc/ellie.md: consolidate Emacs docs, update references 2026-08-04 20:00:38 +02:00
Ollie Agent 3f69427084 docs: standardize on {sname} and {aname} placeholder syntax 2026-08-04 19:29:00 +02:00
Ollie Agent 0f8cfd0c14 docs: replace agent/0 with agent/{aname} in path templates 2026-08-04 19:26:22 +02:00
Ollie Agent 6ceebe7ee1 README: add path resolution rules to o CLI section 2026-08-04 19:23:58 +02:00
Ollie Agent d314c7d4ee docs: update olliesrv -mount → ollie-9p mount 2026-08-04 19:03:48 +02:00
Ollie Agent c2b1e130e9 README: document o CLI and o tui 2026-08-04 18:59:48 +02:00
Levi Neely 69fc98099c docs: update for o CLI changes and remove mount/watchdog references
- Remove mount/ from repo layout (no longer exists)
- Remove ollie-watchdog references (removed)
- Update o CLI docs: explicit context required, no auto-select
- Add path resolution section explaining root/session/agent paths
- Add write and readloop commands to table
- Fix o tui to show readloop statewait (not read)
2026-08-04 17:04:38 +02:00
Ollie Agent 60fafd5381 remove tools/builtin/ — zero built-in tools, all tools are external scripts
With the zero-tools transition complete, the tools/builtin/ package
served no purpose — Builtins() returned nil. Removed:

- tools/builtin/builtins.go and the directory
- builtins field, WithBuiltins, Dispatch from toolsrv.Server
- Handler type from toolsrv (only used by builtins)
- OnPreDispatch/WithOnPreDispatch (dead code)
- Strict field and WithStrict (dead code, never read)
- CallTool simplified — no fallback to Dispatch
- builtin import and WithBuiltins/WithStrict calls from ollie-remote
- tools/builtin from justfile build/test targets

Updated AGENTS.md, ARCHITECTURE.md, README.md, EVOLUTION.md
2026-08-03 00:55:22 +02:00
Ollie Agent 1e126ce76a Replace imperative 9P filesystem with declarative EDSL
The old fs/session/ package (14 files) and cmd/olliesrv/elevate_tree.go
(imperative FileTree implementations) are gone. Replaced by a single
declarative EDSL in fs/spec.go that declares the entire 9P namespace.

cmd/olliesrv/server.go simplified from 1430 to 825 lines:
- Deleted pathType() (110 lines) — tree.Stat() now handles all path resolution
- Deleted isSessionFile(), dirMode(), filePerm() — all from tree's info
- Deleted fsRoute/routes/route/routeDir — single rootTree, no route table
- Deleted elevateTree — EDSL handles /elevate/ in spec.go
- Deleted handleWrite(), readDNS(), helpPath() — dead code
- Deleted all 5 per-fid result fields — EDSL Request handlers manage state
- Deleted all path-based intercepts in read()/write() — entry.RequestRespMode()
- Deleted all path-depth hacks in makeStat() — custom Stat() closures in EDSL
- Deleted all content-length compute logic — info.Size() from tree
- Removed imports: agent, backend, elevate, paths, toolsrv, json

New fs/ package:
- spec.go — single EDSL declaration of the entire namespace
- builder.go — BuildTree() validates and compiles spec into *Tree
- tree.go — configurable FileTree implementation
- fsnode.go — Dir(), Leaf(), TemplateDir(), NodeOption constructors
- agentfiles.go / sessionfiles.go / rootfiles.go / elevatefiles.go
  — handler implementations wired by the EDSL
- lifecycle.go — Create, Kill, Rename, Shutdown, InterruptAll
- persist.go, procfiles.go
- edsl.md — documentation of the EDSL
2026-08-02 15:22:17 +02:00
Ollie Agent 012022ea21 README: add grep filter tip for text-only 9p frontends 2026-08-01 16:56:07 +02:00
Ollie Agent 5c27a948bd docs: remove stale s/ u/ x/ script namespace references 2026-07-31 07:31:58 +02:00
Ollie Agent 93225704f8 docs: document sudo and tool variants 2026-07-31 07:20:52 +02:00
Ollie Agent 3ea6bc3865 docs: declare the declarative tool registration paradigm 2026-07-30 23:50:04 +02:00
Ollie Agent 9f947e93ec docs: update repo layout for tools/builtin, tools/lsp, data/ 2026-07-30 22:53:48 +02:00
Ollie Agent 63f602fb07 README: fix custom tools description 2026-07-30 21:52:58 +02:00
Ollie Agent a632f630ce README: update for current architecture
- Remove terminal/s/sh/bfg from diagram and frontends
- Update repo layout table (data/, mount/, skills)
- Fix env var descriptions (u/complete → code completion)
- Update intro text
2026-07-30 21:52:25 +02:00
Ollie Agent 69b2c2cc40 tool metadata: replace header comment parsing with .meta sidecar files
The tool registry now reads metadata exclusively from JSON .meta sidecar
files alongside each tool executable. Header comment parsing (ollie:prompt,
ollie:tier, ollie:parallel, args_json) is removed entirely.

- Add toolsrv/meta.go: MetaFile struct, LoadMetaFile, ToolInfoFromMeta
- Rewrite discover.go: scans .meta files only
- Rewrite schema.go: ParseToolInfo reads .meta only
- Rewrite tier.go: tier/readOnly from .meta only
- Generate .meta for all 35 tools
- Update all docs: README, AGENTS.md, ARCHITECTURE, CORE, USAGE, WRITING_TOOLS
2026-07-30 21:48:42 +02:00
Ollie Agent d9871e686a docs: replace s/{sh,b,bfg,bbg} references with generate/complete/route
These scripts were removed. Update all documentation to reference the
current alternatives: ollie-9p rdwr generate, ollie-9p rdwr complete,
and ollie-9p rdwr route.
2026-07-30 21:30:18 +02:00
Ollie Agent ea3db9eb08 remove httpgw and webui; update AGENTS.md to reflect current structure
- Remove cmd/ollie-httpgw/ directory and webui/ submodule
- Update justfile: remove httpgw/webui build targets
- Update README.md: remove httpgw/webui references
- Update doc/ARCHITECTURE.md: remove httpgw/webui references
- Update doc/EVOLUTION.md: remove httpgw/webui references
- Update doc/USAGE.md: remove httpgw/webui sections
- Update AGENTS.md: fix repo layout, build targets, testing, architecture
  paths, key files, adding tools/prompts, submodule workflow
2026-07-30 20:19:32 +02:00
Ollie Agent dd5701b1bb readme: bring up to date after Great Flattening
- Frame olliesrv as single binary with two surfaces (9P + D-Bus)
- Fix repository layout table: no core/, 9p/, remote/ submodules
- Fix all namespace paths: session/{id}/agent/{aid}/
- Fix architecture diagram labels (agent.Agent, toolsrv.Server)
- Fix httpgw description (HTTP→9P, not D-Bus)
- Replace verbose features list with concise capability table
- Remove outdated development/pull.sh sections
2026-07-30 20:02:14 +02:00
Levi Neely fdd39b7499 docs: update tool registry references to reflect dynamic discovery 2026-07-30 10:08:13 +02:00