Commit Graph

172 Commits

Author SHA1 Message Date
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
Levi Neely c3cdebad00 readme: restore architecture diagram (httpgw→D-Bus corrected) 2026-07-30 09:01:02 +02:00
Levi Neely 3d1645183f readme: fix httpgw description (HTTP-to-D-Bus, not 9P) 2026-07-30 08:59:56 +02:00
Levi Neely 8119c3ced5 revert readme diagram (wrong target), update core submodule 2026-07-30 08:59:35 +02:00
Levi Neely e144c83ad3 readme: add core architecture diagram 2026-07-30 08:56:41 +02:00
Levi Neely 106dc310e6 docs: s/ → session/ namespace rename throughout 2026-07-29 20:34:51 +02:00
Ollie Agent 481a913ed7 note that both shell AND promoted tools are sandboxed 2026-07-29 00:36:24 +02:00
Ollie Agent f09e8b5f32 tool registry: lazy-loading tool promotion, README docs 2026-07-28 14:58:50 +02:00
Ollie Agent fd27166c12 ollie: remove daemon subcommands, centralize service file management
olliesrv no longer has start/fgstart/stop/status subcommands — it runs
in the foreground and relies on the supervisor (systemd, openrc, or
xdg-autostart) for lifecycle management. This simplifies the binary
and makes the single-process model explicit.

Changes:
- All docs: olliesrv start → olliesrv
- justfile: add install-services target, used by all install recipes;
  installs systemd user unit, openrc init script, xdg autostart entry;
  remove inline autostart installs from individual targets
- systemd unit: ExecStart drops "start" subcommand
- openrc init script: deleted (was for daemonized start; now managed
  via install-services)
- xdg-autostart: new desktop entry (moved from 9p/ submodule),
  Exec=olliesrv (no longer shells out to start + remount)
- contrib/ollie-remount: add debug echo for namespace/socket
- 9p submodule: remove daemon subcommands from Go code;
  delete old desktop file
- el submodule: update README for foreground-only olliesrv
2026-07-25 18:20:26 +02:00
Levi Neely 6ed1d098ab fix CreateSession: add remote parameter to D-Bus method
The D-Bus adapter only exposed 4 parameters (cwd, backend, model, agent)
but the session manager supports 6 (+ system_prompt, remote). The remote
had already added system_prompt as the 5th; this adds remote as the 6th.

All frontends (KDE plasmoid, Kate, tray, dolphin, webui, httpgw) and
tool scripts now pass the correct 6 arguments.
2026-07-24 11:58:34 +02:00
Ollie Agent cca4410b25 docs: update README, help.md with current filesystem, fix D-Bus examples 2026-07-21 14:51:33 +02:00
Ollie Agent e2e1e95fd8 remove dbus submodule, update docs for -no9p mode
olliesrv now supports D-Bus-only operation via -no9p flag,
replacing the need for the standalone ollied daemon (archived).

- Remove dbus/ submodule
- Update README: three-mode table, remove ollied references
- Update doc/ARCHITECTURE.md: remove ollied section and references
2026-07-21 11:44:38 +02:00
Ollie Agent 8929f10aa8 README: expand remote execution section with streaming, persistence, comparison 2026-07-19 21:57:56 +02:00
Ollie Agent e025f2f4ff docs: add ollie-remote to README and AGENTS.md 2026-07-19 18:22:38 +02:00
Ollie Agent 9837602784 README: move Development section up, use pull.sh 2026-07-19 13:39:14 +02:00
Ollie Agent ec5516ae57 README: move Getting started and Configuration to the top 2026-07-19 13:37:49 +02:00
Ollie Agent 7463ec78c6 update docs: replace make/mk references with just 2026-07-19 13:34:29 +02:00
Ollie Agent f4676752d8 readme: fix clone URL to git.lneely.de 2026-07-18 22:42:22 +02:00
Ollie Agent bea543aa28 readme: document HTTP/2 connection pooling 2026-07-18 22:11:01 +02:00
Ollie Agent 5bbaedf396 readme: document -nodbus and -tcp behavior for remote use 2026-07-18 21:43:13 +02:00
Ollie Agent bbc0df859a olliesrv embeds D-Bus adapter; httpgw is D-Bus only
- 9p: embedded D-Bus protocol adapter on org.ollie.SessionManager;
  all frontends (terminal, acme, Emacs, KDE, web) work with olliesrv
- httpgw: removed 9P backend; translates HTTP to D-Bus exclusively
- README: document that olliesrv serves all frontends, ollied is KDE-only
2026-07-18 21:36:35 +02:00
Ollie Agent b7f9171251 doc: add /generate and /route to README features and examples 2026-07-18 17:25:13 +02:00
Ollie Agent bced4c8ef1 route: real model discovery, remove OLLIE_ROUTE_MODEL_FAST/POWER 2026-07-18 17:10:22 +02:00
Ollie Agent 46651b02af remove tier routing system, update docs
Replace OLLIE_TIER_* env vars with OLLIE_ROUTE_* for /route file.
Remove route/cascade/escalate tools and their prompts.
Update README and help.md.
2026-07-18 16:55:56 +02:00
Ollie Agent 682f5d3593 doc: clarify that 9P and D-Bus do not share sessions 2026-07-18 16:18:47 +02:00
Ollie Agent 242503264f doc: add D-Bus section — desktop integration, signals, KDE, activation 2026-07-18 16:17:37 +02:00
Ollie Agent b620ccca4f doc: add Architecture section clarifying 9P/D-Bus dual-backend design 2026-07-18 16:16:22 +02:00
Ollie Agent d0b8f81784 doc: expand README with full feature list and 9P architecture section 2026-07-18 16:13:34 +02:00
Ollie Agent 34db665dca docs: remove tier-based dispatch from feature list 2026-07-17 22:46:56 +02:00
Ollie Agent 3ab26abc94 docs: rewrite feature list from runtime perspective, not 9P surface 2026-07-17 22:46:18 +02:00
Ollie Agent e909a5b94a docs: remove 9P-specific items from root feature list 2026-07-17 22:45:04 +02:00
Ollie Agent c9427dac7b docs: root intro describes the runtime, not the filesystem surface 2026-07-17 22:40:32 +02:00
Ollie Agent 898cc58f51 docs: compress root intro to overview level, move Plan 9 detail to 9p/ 2026-07-17 22:39:52 +02:00
Ollie Agent dda088d0df docs: move 9P-specific content to 9p/, make root README a monorepo overview 2026-07-17 22:38:30 +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 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 cac31746c4 README: update with cascade, orchestrator/worker, plan-first discipline
- Add model cascading for 90% cost reduction
- Add orchestrator/worker system
- Add plan-first discipline
- Reflect recent advances in core logic and agent loop
2026-05-17 18:18:58 +02:00
Levi Neely 5bec68107e move t/ into s/{sid}/t/; two-layer tool restriction (allowExecutors/allowTools) 2026-05-16 23:55:25 +02:00
Levi Neely 45d1b6b77e readme: add "What you get" section; update submodules
- README.md: add feature summary with bulleted list
- acme: add README documenting ollie-acme and Kmpl
- el: refactor completion to shell out to u/complete
- u/complete: improve prompt and strip leaked tags
2026-05-03 22:03:01 +02:00
Levi Neely 6d2442abce README: rewrite intro to cover copilot-to-agent spectrum 2026-05-03 15:09:06 +02:00
Levi Neely cddda76a3f u/complete: add model/backend flags and env var support; fix winid=0
- Add -model and -backend flags; read OLLIE_COMPLETE_MODEL /
  OLLIE_COMPLETE_BACKEND as defaults; error if neither is set
- Guard against winid=0 (acme column tag / +Errors window)
- Document OLLIE_COMPLETE_MODEL and OLLIE_COMPLETE_BACKEND in
  README.md and doc/env.sample

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 13:43:30 +02:00
Levi Neely a067b7abc0 remove ollie-tui submodule 2026-05-01 10:17:36 +02:00
Levi Neely cfe367bca1 docs: sync documentation with current implementation
- Update agent config docs (prompt array, hooks, mcpServers)
- Add new session files (context, cost, env, plan, prompt.prev)
- Document httpgw daemon subcommands
- Update tool scripts list
- Move readmulti to tui submodule
2026-04-30 09:07:59 +02:00
Levi Neely 16d4fc57ff elevate: default socket to XDG_RUNTIME_DIR, add to sandbox env
Both x/elevate and elevate-adapter-superpowerd now default the socket
path to $XDG_RUNTIME_DIR/ollie/elevate.sock (falling back to
/run/user/<uid>/ollie/elevate.sock) when OLLIE_ELEVATE_SOCKET is unset.
Add OLLIE_ELEVATE_SOCKET to env sections of both sandbox configs.
Add {XDG_RUNTIME_DIR}/ollie to restricted sandbox filesystem rw rules
so x/elevate can reach the socket. Update README env block and
scripts/README socket path docs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 11:43:24 +02:00
Levi Neely 7a88fb3437 implement generic x/elevate with socket broker pattern
x/elevate is now a generic client: reads OLLIE_ELEVATE_SOCKET, sends
{cmd,cwd}, reads back {stdout,stderr,exit_code}. All backend-specific
logic moves to adapters. Add elevate-adapter-superpowerd as the
reference adapter: owns the socket lifecycle, translates the ollie
protocol to superpowerd JSON-RPC ExecuteCommand. Add OLLIE_ELEVATE_SOCKET
to env docs. Update scripts/README.md with protocol spec, adapter
setup, and guide for writing custom adapters.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 11:41:54 +02:00
Levi Neely eff00a7b2e docs: document httpgw and webui
Add HTTP gateway and web UI sections to USAGE.md: build instructions,
runtime flags, HTTP→9P endpoint reference, nginx serving example, and
Vite dev workflow. Add HTTP gateway architecture section to
ARCHITECTURE.md with frontend comparison table. Update README.md with
httpgw build target, dual remote-access paths (9P mount vs httpgw),
and container example updated for both.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 09:14:48 +02:00
Levi Neely 2148c8c668 update docs: unify b/ into s/, introduce s/bfg and s/bbg
Batch and session namespaces are now a single s/ concept. s/bfg blocks
until the agent finishes and writes to stdout; s/bbg returns immediately
and prints the session path. s/b is the core one-shot runner. Remove all
b/ references from README, USAGE, ARCHITECTURE, and scripts/README.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 08:31:15 +02:00
Levi Neely ec385d0d6e planning: remove plan_* tools and prompt entirely
The markdown planning mechanism created competing signals against beads.
Removing it eliminates the conflict. Planning goes through beads (bd)
or whatever external mechanism is appropriate.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 11:36:56 +02:00
Levi Neely 89f340eca9 tools: change OLLIE_BEADS_ENABLE default to 1 (opt-out instead of opt-in)
plan_* now blocks by default when bd and .beads are present.
Set OLLIE_BEADS_ENABLE=0 to use the markdown-based plan_* scripts instead.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 11:11:26 +02:00
Levi Neely 663e7f305a tools: enforce beads for planning when OLLIE_BEADS_ENABLE=1 and bd is present
If both conditions hold, plan_* scripts exit 2 with an error directing
the model to use bd instead. When either condition is false (beads not
configured or bd not installed), the scripts run normally as a fallback.

Document OLLIE_BEADS_ENABLE in README and doc/help.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 10:43:32 +02:00
Levi Neely 735753bac9 doc: add server/usage docs; rename ollie.el to ellie.el; update submodule
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 13:31:58 +02:00