Commit Graph

172 Commits

Author SHA1 Message Date
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
Levi Neely 446b051ac9 doc: rewrite README opening paragraph
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 13:23:20 +02:00
Levi Neely 106bd6410e scripts: move optimize to u/ (utility) namespace
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:00:39 +02:00
Levi Neely 4b630a76a8 doc: document optimize script and AI pipeline composition
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 11:43:01 +02:00
Levi Neely 7a4d5fc4c8 doc: document all s/ scripts (ls, kill, q, sched)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 11:06:32 +02:00
Levi Neely f984565082 scripts: add s/sh, s/job, s/q, s/sched, s/ls, s/kill to ollie filesystem
Install scripts to ~/.config/ollie/scripts/ (not ~/bin/) so they are
served via the 9p mount without PATH changes. Add thin wrappers oq-q
(s/q, foreground one-shot) and oq-schedule (s/sched, background with
b/ path output). Switch osh and oq from OLLIE_9MOUNT to OLLIE.
Update mkfile, docs, and submodule pointer.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 11:06:05 +02:00
Levi Neely e9f10eeb92 add remote access via TCP: Containerfile, mount subcommand, docs
- Containerfile: multi-stage podman build for running olliesrv as a
  remote server (port 9564, no FUSE needed on server side)
- olliesrv mount <address> [mountpoint]: mounts a remote olliesrv
  namespace locally via 9pfuse over TCP
- olliesrv start -tcp <addr>: adds TCP listener alongside Unix socket
- README: document remote access and container usage
- doc/IDEAS.md: remove Network & Remote Access (implemented)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 23:32:37 +02:00
Levi Neely 534c5d81c0 execute: remove execute_tool; use execute_code {tool} steps instead
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:15:19 +02:00
Levi Neely 5e5a82b387 doc: move observations from README to doc/OBSERVATIONS.md
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:00:19 +02:00
Levi Neely 3097caa66e doc: document parallel execution and subagent fork-join pattern
- README.md: add parallel execution benefit; update sub-agents benefit
  to describe subagent_spawn and heterogeneous fan-out composition
- doc/ARCHITECTURE.md: update execute tool descriptions; add Parallel
  Execution and Sub-agents section documenting the fork-join pattern
  and architecture boundary preservation
2026-04-16 20:35:22 +02:00
Levi Neely e32d96962f doc: update for b/ batch namespace
- doc/help.md: add b/ to filesystem layout, remove s/{id}/reply
- README.md: update sub-agents and composability blurbs to reference b/
2026-04-16 19:41:40 +02:00
Levi Neely 808ec5b296 readme: de-duplicate 'it's just files' refrain 2026-04-15 17:31:57 +02:00
Levi Neely 4c9ef8fd03 readme: add sub-agents to observed benefits 2026-04-15 17:29:28 +02:00
Levi Neely e493c1bd82 readme: add passive memory to observed benefits 2026-04-15 17:16:44 +02:00
Levi Neely 0fa5618a38 README: expand Observed Benefits section
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 20:54:20 +02:00
Levi Neely f03bf6b629 readme: add env configuration section; update core submodule ref
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 08:48:07 +02:00
Levi Neely a15965b8a7 readme: add filesystem-as-interface and simple front-ends to observed benefits 2026-04-13 18:12:57 +02:00
Levi Neely 3a63837b1a readme 2026-04-13 16:31:00 +02:00
Levi Neely 4be45bc628 toys: add ollie.sh, a minimal shell chat interface for ollie
~110-line bash script providing a fully functional chat interface by
reading/writing the 9p-mounted session filesystem directly. Includes
readline key bindings (read -e) and input history (set -o history).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 22:35:45 +02:00
Levi Neely c519b57c74 docs: move Credits to monorepo README, remove from submodules 2026-04-11 15:34:24 +02:00
Levi Neely 037d10b87a Update build instructions: just 'mk' from root 2026-04-11 14:50:52 +02:00
Levi Neely 09e1e7353e Add GitHub links to subprojects in README 2026-04-11 14:45:59 +02:00
Levi Neely 5e7131ba2c Add comprehensive README for monorepo 2026-04-11 14:37:53 +02:00