Commit Graph

38 Commits

Author SHA1 Message Date
Ollie Agent 4a4c7f8106 add system prompt variants: 9P (default) and D-Bus
SYSTEM_PROMPT-9p.md: 9P filesystem operational model (default install)
SYSTEM_PROMPT-dbus.md: D-Bus operational model

Makefile/mkfile: "make data" installs 9P prompt as active SYSTEM_PROMPT.md.
"make dbus" builds the dbus daemon and switches to the dbus prompt.
2026-07-19 12:15:02 +02:00
Ollie Agent d3aa756544 move prompts/skills/tools into 9p/ and kde/ submodules
- prompts/, skills/, tools/ removed from monorepo root
- 9p/: gains prompts/skills/tools with 9P filesystem API (unchanged)
- kde/: gains prompts/skills/tools rewritten for D-Bus API
- mkfile: data target no longer installs prompts/skills/tools
- 9p/mkfile: install target now includes data (prompts/skills/tools)
- kde/Makefile: all target now includes data (prompts/skills/tools)
- SYSTEM_PROMPT_QWEN and SYSTEM_PROMPT_DEVSTRAL updated in both
  submodules to include the operational world model
2026-07-07 12:07:50 +02:00
Levi Neely 0c95854c73 move mount ownership to ollie-watchdog 2026-06-15 13:31:12 +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 65f1314d9f contrib: add ollie-remount script for 9pfuse recovery after sleep/wake 2026-05-21 08:44:17 +02:00
Ollie 58912fc30c mkfile: add scripts/u/cascade and tools/cascade to installation 2026-05-17 14:16:30 +02:00
Levi Neely 2c8e59e7f5 acme: add u/complete for AI ghost-text code completion
Adds a u/complete script that reads prefix/suffix from the current acme
window via dot position, submits a fill-in-the-middle prompt to ollie
via s/bfg, and writes the completion to a new ollie/complete window.

Also adds a minimal copilot agent config (no system prompt, no tools)
for use by u/complete, and wires both into the install target in mkfile.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 13:30:26 +02:00
Levi Neely 6c49d3a30c mkfile: add acme target, install to $HOME/bin/Ollie 2026-05-02 10:40:48 +02:00
Levi Neely a067b7abc0 remove ollie-tui submodule 2026-05-01 10:17:36 +02:00
Levi Neely 29ea11be22 lsp tool 2026-04-30 14:39:13 +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 415d75c97f freeloader: exhaust full model pool before giving up; fix resubmission and stream newlines
- scripts/x/freeloader: track tried models per-session in freeloader-tried-$SID;
  walk the full sorted :free pool in order before exiting 1; write recovery
  prompt to fifo.in (not prompt) to avoid goroutine race
- core submodule: 404 tool_unsupported detection + FIFO drain on error
- tui submodule: fix mid-stream newlines from backgroundTail chatOff race

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-28 18:47:57 +02:00
Levi Neely 2f8d18dc51 elevate: auto-start adapter via agentSpawn hook
Add x/elevate-adapter-start: checks if the adapter is already listening
(connect test), starts it in the background if not. Exits 0 always so it
never blocks session startup. Wire it into agentSpawn in all agent configs
and install it via mkfile.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 11:54:29 +02:00
Levi Neely b9b4a1fe1d mkfile: install elevate-adapter-superpowerd with scripts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 11:47:51 +02:00
Levi Neely d98c6d3ef0 webui + httpgw fixes, tilde expansion, build targets
- Update core, httpgw, webui submodules
- Add httpgw and webui to mk all rule
2026-04-24 20:11:04 +02:00
Levi Neely 1fa59b1b5d add httpgw submodule and mkfile target 2026-04-24 17:45:07 +02:00
Levi Neely a232925745 sh: multi-line input with C-j/C-m via readmulti 2026-04-24 15:38:38 +02:00
Levi Neely 57d164310c remove batch jobs; rename spec -> cfg; s/job -> s/b, s/q -> s/bfg, s/sched -> s/bbg
Batch jobs were a front-end concern. All one-shot query workflows now
compose session primitives via s/b (engine), s/bfg (foreground), and
s/bbg (background). Parallel execution is a shell loop.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 08:42:38 +02:00
Levi Neely 68591a30e8 mkfile: install s/ scripts to scripts/s/ instead of defunct scripts/b/ 2026-04-23 23:44:25 +02:00
Levi Neely acc791cbda scripts: add prime wrapper for agentSpawn prompt injection
prime <name> prints $OLLIE/p/<name>[.md] to stdout, which the agentSpawn
hook captures as context. Allows agent prompt composition to be driven
entirely from hook config rather than built-in Go code.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 12:03:28 +02:00
Levi Neely 78cd60581d scripts: add bd wrapper to x/; prepend $OLLIE/x/ to PATH in execute server
The bd wrapper walks up from CWD to find a .beads directory and sets
BEADS_DIR, so bd works from any subdirectory of a monorepo without the
model needing to know about it.

The execute server now always prepends $OLLIE/x/ to PATH for tool
subprocesses, so wrappers placed there shadow system binaries transparently.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 11:07:15 +02:00
Levi Neely 8a82d0966b elevation: add x/elevate plugin; update mkfile and docs
Replace tools/elevate_superpowers with scripts/x/elevate — a single
self-contained plugin that bootstraps into a superpowers session and
runs the IPC. mkfile installs it to ~/.config/ollie/scripts/x/.
Update 08_tool-elevate.md to remove backend-specific language.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 20:50:37 +02:00
Levi Neely 9de1baa197 scripts: add b/cleanup; update docs and mkfile
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:39:34 +02:00
Levi Neely 9da56b0622 scripts: rename s/job -> b/job; b/q and b/sched wrap b/job
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:14:14 +02:00
Levi Neely c4644bf496 mk: set permissions on u/ and u/optimize after install
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:03:08 +02:00
Levi Neely bae1b5e750 mk: update scripts install paths for new namespace layout
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:02:07 +02:00
Levi Neely fc818dd28f scripts: add s/optimize — LLM prompt optimization pipeline
Generates N candidate optimized prompts in parallel, then judges and
returns the best. Accepts -cb/-cm for candidate model and -jb/-jm for
judge model, defaulting to OLLIE_BACKEND/OLLIE_MODEL for both stages.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 11:28:54 +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 417e121f29 mkfile: add scripts install target; update 9p submodule
- scripts target copies osh and oq to ~/bin/
- 9p submodule updated to include b/ batch namespace
2026-04-16 19:39:53 +02:00
Levi Neely 62826ab77f prompts: split session/filesystem into 01_ollie.md; shift 01-04 → 02-05; clean prompts dir on install
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 19:57:56 +02:00
Levi Neely 174a7216ff mkfile: update help text to mention tools
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 09:02:32 +02:00
Levi Neely d2f3cc8810 mkfile: install tools/ to ~/.config/ollie/tools on data target
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 09:02:14 +02:00
Levi Neely e6885ece62 update submodules; copy help.md in mkfile data target 2026-04-13 14:45:20 +02:00
Levi Neely 9036275f23 move sandbox/ from core to monorepo root
All data files (agents, prompts, sandbox, skills) now live at the
monorepo root and are installed by the unified 'data' target.
2026-04-13 10:34:40 +02:00
Levi Neely bb96f56d53 move agents/ and prompts/ from core to monorepo root
These are system-wide data files, not core-specific. Consolidate
install of agents, prompts, and skills into a single 'data' target.
2026-04-13 10:32:53 +02:00
Levi Neely 508913b4b4 mkfile: install skills to ~/.config/ollie/skills/ on build
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 16:27:42 +02:00
Levi Neely e721248d19 tools: remove file_read/file_write; fix mkfile all target
Update submodules to drop file server. Fix root mkfile: mark 'all'
as :V: so mk doesn't treat it as a file target.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 16:12:00 +02:00
Levi Neely 7d8459c034 Add mkfile for building all Ollie projects 2026-04-11 14:49:55 +02:00