Commit Graph

403 Commits

Author SHA1 Message Date
Ollie Agent 3b587431a4 Update prompting architecture documentation 2026-08-16 19:38:14 +02:00
Ollie Agent 0bab759f56 Update virtfs architecture documentation 2026-08-16 19:36:18 +02:00
Ollie Agent b1ef9dc68c Cross-reference toolsrv architecture 2026-08-16 19:33:20 +02:00
Ollie Agent 2d14a35fdc Document toolsrv architecture 2026-08-16 19:32:01 +02:00
Ollie Agent 47a8c1b76d Update and rename core architecture documentation 2026-08-16 19:29:04 +02:00
Ollie Agent 09f3c8948c Consolidate cancellation flow documentation 2026-08-16 19:24:51 +02:00
Ollie Agent 97b14dfce3 Update and consolidate boot sequence documentation 2026-08-16 19:23:27 +02:00
Ollie Agent 30fdc7d673 Remove obsolete codebase review 2026-08-16 19:21:58 +02:00
Ollie Agent e51a1d4ff7 Update architecture documentation and remove obsolete frontends 2026-08-16 19:21:26 +02:00
Ollie Agent 16a2b72051 consolidate 9P clients 2026-08-16 18:56:11 +02:00
Ollie Agent 1e0f9cacd0 Integrate KDE frontend into main repository 2026-08-16 15:08:33 +02:00
Ollie Agent e54f494458 Use web_fetch for API documentation 2026-08-16 13:13:16 +02:00
Ollie Agent ab9fd60901 Document sub-agent context isolation 2026-08-16 11:39:21 +02:00
Ollie Agent cdba6a5297 Update evolution history 2026-08-16 11:33:33 +02:00
Ollie Agent 6fc4c3b671 Document OptMem integration 2026-08-16 11:12:37 +02:00
Ollie Agent f82b36ea80 Integrate OptMem memory backend 2026-08-16 11:10:50 +02:00
Ollie Agent 929b94e34d Clarify workspace path placeholders 2026-08-16 10:30:56 +02:00
Ollie Agent 159eb9c857 wip codebase cleanup, user-preferences updated 2026-08-15 12:05:22 +02:00
Levi Neely cca3d9a3f2 evolution: add superpowerd→bypass arc to reversals 2026-08-14 15:49:58 +02:00
Levi Neely df409cac9f evolution: add .meta sidecar→definition transition to reversals 2026-08-14 15:48:34 +02:00
Levi Neely b1fb81e539 evolution: add sub-agent dead ends to reversals table 2026-08-14 15:45:47 +02:00
Levi Neely cafba41193 docs: update for Request→Rdwr rename and sub-agent examples 2026-08-14 15:33:25 +02:00
Levi Neely 617bb5586a subagent: inherit parent context via parent= parameter
Sub-agents now clone the parent agent's conversation history into
their initial context. The tool script passes parent=$OLLIE_UNAME
automatically. Mechanically identical to session restore — uses
RestoreHistoryFromMessages on the parent's Messages().
2026-08-14 15:12:16 +02:00
Levi Neely c25e2e708c doc: add sub-agents to evolution.md and README 2026-08-14 15:09:02 +02:00
Levi Neely 6d0a080e65 doc/usage.md: add link to tool-definitions.md 2026-08-13 22:43:49 +02:00
Levi Neely 2fa00f4a7d doc: remove bg proc caveat from context cancellation (it's correct behavior) 2026-08-13 22:40:40 +02:00
Levi Neely 7a5c542d28 move docs/ contents to doc/, remove empty dir 2026-08-13 22:38:26 +02:00
Levi Neely ef640fb4be doc/architecture.md: combine philosophy paragraphs 2026-08-13 21:29:01 +02:00
Levi Neely 0eeef8eb4a doc/architecture.md: remove Emacs comparison from philosophy 2026-08-13 21:28:30 +02:00
Levi Neely e5d067ecf8 doc/architecture.md: fix event streaming description (pub/sub, not ring buffer) 2026-08-13 21:27:34 +02:00
Levi Neely 7b4eea5c00 doc/architecture.md: tool defs belong in toolsrv box 2026-08-13 21:25:06 +02:00
Levi Neely 22c34cf231 doc/architecture.md: remove dead ollie-remote from diagram 2026-08-13 21:24:27 +02:00
Levi Neely 2707bfce57 doc/architecture.md: fix ollie-remote (dead), fsedsl→virtfs, add feed+lib9p 2026-08-13 21:23:06 +02:00
Levi Neely e379a08c08 doc/9p.md: add feed file to namespace table and examples 2026-08-13 21:21:22 +02:00
Levi Neely 51d0576680 doc: add pair programming section, update evolution, fix o new syntax
- README: add 'Pair programming' to capabilities table
- usage.md: full section on observer agent setup + wiring patterns
- usage.md: update o new syntax to sname/aname form
- evolution.md: document feed + BlockOnce/Stream refactor session
2026-08-13 21:18:25 +02:00
Levi Neely c4b5a58300 doc: promote evolution.md to doc/, add rationale
It's a study log, not a resource. Added opening paragraph explaining
what the document is and why the dead ends matter.
2026-08-12 21:48:06 +02:00
Levi Neely 155e4fe97b evolution: consolidate dead ends into comprehensive final table
Removed two inline 'Dead Ends and Reversals' tables scattered mid-document.
Added single comprehensive table at the end covering all reversals from all
phases — including hooks, event ring buffer, abstractions, namespace merges,
concurrent-by-default rejection, and every other thing that was built and
then killed.
2026-08-12 21:39:53 +02:00
Levi Neely 8ead5c29e1 evolution: update background process interrupt delivery, drop concurrent-by-default
Background processes now deliver completions as user prompts (queued via
the agent's prompt file) upon completion, not injected in-loop alongside
tool results.

Removed 'Open Problem: Concurrency' section — concurrent-by-default was
considered and rejected (sequential execution but slower and more expensive).
Replaced with a paragraph explaining the deliberate design choice.
2026-08-12 21:30:33 +02:00
Levi Neely e323e7079e doc: add Phases 22-26 + Good Idea Fairy + pubsub migration to evolution.md
Major architectural changes documented:
- Aug 3: Ring buffer -> pubsub (Phase 19)
- Aug 5: Hooks deleted entirely, ~960 lines removed
- Aug 11-12: Meta-only tool definitions, bypass via 9P, fs/ flattening,
  sandbox simplification, agent loop cleanup
2026-08-12 20:43:08 +02:00
Levi Neely ef9a56d41b doc: rename tool scripts to tool definitions throughout 2026-08-12 19:40:06 +02:00
Levi Neely df7eefaf71 doc: rename tool-overlays to tool-definitions 2026-08-12 19:35:58 +02:00
Levi Neely 7d44e9ac1f doc: add tool overlays documentation
- Add doc/tool-overlays.md explaining meta-only tools and overlay pattern
- Examples: ripgrep, kubectl, MCP server wrapping
- Update README.md with tool overlays row in capabilities table
2026-08-12 19:14:32 +02:00
Levi Neely 92d9fec51a docs: fix auth section - both servers use attach identity for permissions 2026-08-12 18:20:34 +02:00
Levi Neely 255986bad6 docs: fix 9p.md auth section, clarify toolsrv Tauth and aname scoping 2026-08-12 18:17:39 +02:00
Levi Neely 79a7cc68c7 docs: rewrite 9p.md to match current olliesrv and toolsrv namespaces 2026-08-12 18:16:55 +02:00
Levi Neely c2df612da5 docs: update usage.md slash commands, fix context model description 2026-08-12 18:12:01 +02:00
Levi Neely 31d550a94b docs: update README and usage for current architecture 2026-08-12 18:06:22 +02:00
Levi Neely fe24736b19 docs: update for background process changes
- doc/TODO.md: remove stale bgTracker cleanup item, add future considerations
- doc/9p.md: add proc/ section with list, new, new.bg, and per-pid files
- doc/9p.md: document <system-proc-complete> push mechanism
- README.md: update background process description
2026-08-12 17:39:16 +02:00
Levi Neely 6eb3bf960b refactor: query toolsrv directly for proc list
- ListProcs() now queries toolsrv directly instead of local tracker
- Remove ownership verification from SignalProc/ProcOutput/DismissProc
- Clean up stale procs from local tracker when they disappear from toolsrv
- Document local tracker quirk in TODO.md for future cleanup
2026-08-12 16:06:22 +02:00
Levi Neely 9bb3cd76b8 Remove sudo mechanism from bypass system
The sudo credential broker was never functional and added complexity
without value. This removes:

- Sudo field from bypass Request structs (broker, client, toolsrv)
- Sudo parameter from EvaluateRequest interface and implementations
- Sudo/ResetsCounter fields from MetaFile and Variant structs
- sudo: true from system_logs.meta variants
- All sudo documentation from writing-tools.md, tool-registry.md,
  core.md, evolution.md, and misc.md

Bypass remains fully functional for sandbox escapes. Tools that need
elevated privileges should handle that internally or be run manually.
2026-08-12 08:58:41 +02:00
Ollie Agent b01dbdfba8 sandbox: single config, no named profiles
Removed the named sandbox concept. One config file: sandbox.yaml
(installed to ~/.config/ollie/sandbox.yaml). Removed sandbox-remote.yaml,
moved restricted.yaml to doc/ as a sample. Removed the 'sandbox' arg
from tool dispatch.
2026-08-11 21:23:23 +02:00
Ollie Agent 9e4c7582a3 doc: remove stale logging section from evolution.md 2026-08-11 10:25:54 +02:00
Ollie Agent 391465be77 doc+fix: background procs force timeout=0, update docs
- Background procs get timeout=0 (no deadline) set by toolsrv at
  the execution layer — not injected as an arg from olliesrv.
  Foreground default remains 30s. User can still override via args.
- Timeout logic simplified: caller sets default, ExecuteTool honors it.
- System prompt: clarify background has no timeout, uses 'stop' not 'kill'
- architecture.md: document lifecycle (connection-based ownership)
- evolution.md: update interrupt section with streaming, lifecycle, id= format
- README.md: add parallel execution to capabilities table
2026-08-11 10:18:30 +02:00
Ollie Agent 12babf2f92 doc: document parallel execution, background interrupts, and dispatch flags 2026-08-11 08:30:31 +02:00
Ollie Agent 3e6d1aa7d5 doc: update concurrency section with parallel fan-out and protocol constraints 2026-08-11 08:06:38 +02:00
Ollie Agent bb58c42f4f doc: note concurrency as unsolved problem in toolsrv evolution 2026-08-11 07:32:38 +02:00
Ollie Agent 41969ed4b2 doc: clarify toolsrv lifecycle for local vs SSH-remote case 2026-08-11 07:27:38 +02:00
Ollie Agent 4b7d5cdd79 doc: update architecture, evolution, README for toolsrv 9P migration
- README: toolsrv shown as separate child process in architecture diagram,
  cmd/toolsrv added to repository layout table
- architecture.md: repository structure reflects cmd/{olliesrv,toolsrv}
  internal packages, package table updated for two-server model
- evolution.md: add Phase 20 (toolsrv 9P migration & process isolation),
  update topology diagram, add to gantt chart
2026-08-11 07:24:53 +02:00
Ollie Agent fbe8059cf5 maintainability: docs, contracts, structural cleanup
- doc/boot-sequence.md: init chain from main → fs.NewRoot → session.Init
- Event protocol: comprehensive table on Event struct (all roles, semantics)
- RPC server moved from cmd/ollie-remote into toolsrv/rpcserver.go
  (binary is now a 93-line thin wrapper)
- SetSessionEnv folded into NewAgent (no post-construction wiring needed)
- AgentCfg → AgentParams (distinguish from AgentConfig JSON schema)
- ToolResult/ToolResultContent shared types in toolsrv/rpcwire.go
- toolsrv/shell.go → toolsrv/exec.go (name matches purpose)
- Resume unified: single path, always through Keeper
- AGENTS.md: fix fs/builder.go → fsedsl/builder.go, handlers_*.go
- fsedsl/Tree: document dual-mode (EDSL lazy vs Manual Mount)
- Truncation stack documented at defaultToolResultMaxBytes
- Integration test rewritten to use srv.ServeRPC directly
2026-08-09 21:45:56 +02:00
Ollie Agent 2d74ffb95e prompt audit: trim system prompt, kill dead code, improve maintainability
- System prompt: ~200 → ~80 lines (removed tool-first table, API docs,
  output protocol, dead 9P entries)
- Removed AllowTools entirely (field, RPC, configs)
- Removed PRIME_* env vars, replaced with typed struct fields
- Merged tool listing + docs into single renderTools()
- Killed BuildToolListing, changed OnToolsChanged to func() signal
- Typed Preamble.Section (compile-time safety)
- Added protocol docs on extractToolResult
- Added session/ package godoc
- Moved output protocol to per-agent prompts
- Rewrote data/agents/README.md
- Moved 7 reference docs from doc/resources/ to doc/
- Deleted PromptEnv() dead function
2026-08-09 14:13:52 +02:00
Ollie Agent 1dcde13f26 rm doc 2026-08-09 12:55:02 +02:00
Ollie Agent 9c90cb8954 refactor: reduce redundancy, remove dead code, improve structure
- Fix CodeWhisperer SetModel cache invalidation bug
- Remove dead code: gemini stub, orphaned comments, kiroMetadataEvent
- Extract paths.NewUUID() replacing 3 duplicate UUID implementations
- Export toolsrv.BuildToolListing, deduplicate tool listing render
- Extract baseBackend struct (Name/Model/SetModel) embedded in all backends
- Unify backend factory post-processing (7 if-blocks → 1)
- Split fs/handlers.go (888 lines) into handlers_{root,session,agent}.go
- Strip dead filesystem-backed tree code from fsedsl (WithReadOnly,
  WithIndex, WithResolver, ValidateReadMode, resolve/writePath fallbacks)
2026-08-09 11:23:25 +02:00
Ollie Agent 25924d0909 fs: add /help ctl command — returns command reference 2026-08-09 03:32:21 +02:00
Ollie Agent aa74e1c683 docs: fix stale references in 9p.md, usage.md, misc.md
- 9p.md: update agent file table to current namespace
- usage.md: readloop→read -l, tail→read chat, command table updated,
  TUI description updated (no grep pipe)
- misc.md: readloop→read -l
2026-08-09 03:10:20 +02:00
Ollie Agent 42823dab2e docs: update README, AGENTS.md, architecture, evolution for Aug 9 changes
- README: fix CLI commands, repo layout (remove detach/, add fsedsl/lib9p)
- AGENTS.md: update architecture section (ctl rdwr, bypass, tool_load)
- architecture.md: rewrite namespace tree to match current state
- evolution.md: add Aug 9 section documenting all simplifications
2026-08-09 03:06:05 +02:00
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 38b35f1ba5 toolsrv/agent: rename ClassifyTool→CanParallelize, ClassifyTier→MemoryTier
Rename throughout: Go methods, interface types, Runtime fields, wire
protocol RPCs, tests, and ollie-remote.

- IsParallelRead / ParallelClassifier → CanParallelize
- ResultTier / ResultTierArgs / TierClassifier → MemoryTier / MemoryTierArgs / MemoryTierClassifier
- Wire: is_parallel_read → can_parallelize, result_tier → memory_tier, result_tier_args → memory_tier_args
2026-08-08 14:29:41 +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 30dbe69d59 Remove OLLIE_TIER_* from env.sample 2026-08-05 19:45:45 +02:00
Ollie Agent 244f328a43 Remove dead OLLIE_ENABLED_BACKENDS from docs 2026-08-05 19:45:13 +02:00
Ollie Agent 5584a24efb Remove tool_active/skill_active references from system prompts and core.md 2026-08-05 19:40:21 +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 0d8bd9a56c Move '9P: Everything is a File' to doc/resources/9p.md 2026-08-05 19:05:49 +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 8f883c2355 rename resources/whitepaper.md to misc.md 2026-08-04 21:15:49 +02:00
Ollie Agent 35c090376b remove whitepaper (user will write it) 2026-08-04 21:15:24 +02:00
Ollie Agent 9522579670 whitepaper: fix server description (two parts) 2026-08-04 21:14:40 +02:00
Ollie Agent 7899ef3cb1 whitepaper: single refined opening paragraph 2026-08-04 21:13:15 +02:00
Ollie Agent b1b014b804 whitepaper: tighten opening to two questions 2026-08-04 21:11:58 +02:00
Ollie Agent d9befe74cc whitepaper: draft opening paragraph 2026-08-04 21:11:05 +02:00
Ollie Agent 6657030969 revert whitepaper: move back to resources/, restore original content 2026-08-04 21:10:28 +02:00
Ollie Agent bc0c0709e4 whitepaper: move from resources/ to doc/ (top-level) 2026-08-04 21:09:30 +02:00
Ollie Agent 8b3fce317a whitepaper: add opening paragraph (what + motivations) 2026-08-04 21:08:57 +02:00
Ollie Agent 9c92c5736d doc: move img back to doc/img/, keep resources/ for extra docs 2026-08-04 21:07:04 +02:00
Ollie Agent b72b2a0a83 doc: organize into doc/resources/, keep front-page docs at doc/ 2026-08-04 21:06:20 +02:00
Ollie Agent 20400711a0 doc/kde-gui.md: document the Qt6 desktop frontend with screenshot 2026-08-04 21:03:26 +02:00
Ollie Agent cdf46b54f4 doc/ellie.md: link thumbnail to full-size screenshot 2026-08-04 21:01:25 +02:00
Ollie Agent 2a29510c5d doc/ellie.md: sync keybinding tables to match ellie.el
Chat: add SPC and n bindings, update q description.\nTree: already aligned.
2026-08-04 21:01:12 +02:00
Ollie Agent 6fe9c20b54 ellie: point preservation, stale-stream guard, block-headers, keybinding polish, and doc screenshot
ellie.el:
- Preserve tree selection and cursor across tree rerenders.
- Keep chat cursor stationary; only update when already at end.
- Guard chat-filter against stale output from replaced ollie-9p read processes.
- Render [[[name]]] markers as bold underlined block headers; suppress [[[end]]].
- Refresh session/idx and start timer on startup so tree displays immediately.
- Fix Active/Inactive header tuple layout (was missing 'nil' slot).
- Bind TAB for tree expand/collapse, C-c C-SPC and C-c C-p for prompt input,
  SPC in chat for prompt, q in chat for quit (stops stream + buries buffer).
- RET on an agent now opens the chat buffer.
- Prompt input window selects and focuses itself after opening.

doc/ellie.md:
- Embed ellie screenshot (img/ellie.png) centered at 75% width above Session tree.
2026-08-04 20:59:23 +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 bc648a5c95 usage: remove nonexistent web front-end 2026-08-04 20:14:41 +02:00
Ollie Agent 67cda3ca79 usage: descriptive alt text for all screenshots 2026-08-04 20:11:09 +02:00
Ollie Agent e3d388146f usage: make screenshots clickable to full size 2026-08-04 20:09:59 +02:00
Ollie Agent 0f408f9f9c usage: side-by-side o tui + acme screenshots 2026-08-04 20:09:17 +02:00
Ollie Agent df9c0da976 o tui: replace ASCII diagram with ollie-tui.png 2026-08-04 20:06:56 +02:00
Ollie Agent d9429671ce move ui-composition image to doc/img, update usage.md link 2026-08-04 20:05:54 +02:00
Ollie Agent 56f1f5dd62 usage: strip technical content, link to whitepaper and ellie 2026-08-04 20:03:26 +02:00
Ollie Agent 04a29a71fd evolution: TUI frontend was replaced by a shell script 2026-08-04 20:01:13 +02:00
Ollie Agent a0ec7130a7 doc/ellie.md: consolidate Emacs docs, update references 2026-08-04 20:00:38 +02:00
Ollie Agent 847e31abbd move predefined workflows to whitepaper 2026-08-04 19:39:25 +02:00
Ollie Agent ea3f407ebd move context inspection to whitepaper 2026-08-04 19:38:12 +02:00
Ollie Agent 956155010a move system prompt override to whitepaper 2026-08-04 19:37:12 +02:00
Ollie Agent 1583c4f748 extract 9P/whitepaper content from usage.md into doc/whitepaper.md 2026-08-04 19:35:21 +02:00
Ollie Agent 8bf9bf77c9 usage: agents can discover each other via session/idx 2026-08-04 19:33:21 +02:00
Ollie Agent c9a773a04e usage: rewrite multi-agent workflows with o CLI 2026-08-04 19:32:21 +02:00
Ollie Agent 1a2ad14f6b docs: replace all session/{id} and {sid} with {sname} 2026-08-04 19:30:57 +02:00
Ollie Agent b939bd4c6b docs: replace all {aid} with {aname} 2026-08-04 19:29:34 +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 d78fe997da usage: document path resolution rules 2026-08-04 19:23:24 +02:00
Ollie Agent 63a9f0b1d6 usage: rewrite for o CLI, move raw 9P to reference section 2026-08-04 19:06:29 +02:00
Ollie Agent d314c7d4ee docs: update olliesrv -mount → ollie-9p mount 2026-08-04 19:03:48 +02:00
Levi Neely 865378c150 docs: fix SLOC count (kde gui only, note on comparison) 2026-08-04 17:21:13 +02:00
Levi Neely 01951ff1ef docs: add SLOC summary for Aug 4 2026-08-04 17:20:20 +02:00
Levi Neely 52f2a36ccf docs: clarify EDSL was created Aug 2, extracted Aug 3 2026-08-04 17:18:58 +02:00
Levi Neely 836fb2c8b7 docs: fix ollie-watchdog removal reason (9P client, not systemd) 2026-08-04 17:17:46 +02:00
Levi Neely cc2a96b78f docs: fix mount/ removal reason (ollie-9p, not ollie-remount) 2026-08-04 17:17:26 +02:00
Levi Neely 86d3b35d38 docs: clarify acme frontend reason 2026-08-04 17:16:50 +02:00
Levi Neely 00f546bb25 docs: fix acme frontend replacement (o CLI, not ollie-9p) 2026-08-04 17:16:28 +02:00
Levi Neely be7c48ea07 docs: add Phase 19 to evolution.md (Aug 3-4)
- fsedsl library extraction
- fs/ package consolidation (flat, by scope)
- Session/Agent split refactors
- Dead code removal (cmd/Ollie, mount/, ollie-watchdog)
- o CLI improvements (explicit context, TUI percentages)
- Update gantt chart to Aug 4
2026-08-04 17:15:32 +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
Levi Neely 214242ba44 Remove outdated doc files 2026-08-04 16:41:20 +02:00
Levi Neely 68f0fe8ef9 Rename doc/ files to lowercase kebab-case 2026-08-04 16:41:07 +02:00
Levi Neely 111f1f89e2 Remove doc/experiments/ - too historical 2026-08-04 16:39:45 +02:00
Levi Neely a72554f9b1 remove doc/help.md: help is now generated from spec 2026-08-04 11:45:57 +02:00
Levi Neely 89c2c41679 doc: update architecture diagram frontend label to 'o' 2026-08-03 10:00:11 +02:00
Levi Neely d8cca00fd0 doc: add o CLI and o tui documentation to USAGE.md 2026-08-03 09:58:42 +02:00
Levi Neely 44f173214d fs: add Aliases to FsNodeDecl for immutable ID path resolution
Nodes in the 9P namespace can now declare alternate names (Aliases)
that resolve during Twalk but are invisible in directory listings.
Session dirs alias their immutable RunnableID(), agent dirs alias
their ID(). Clients can use session/{uuid}/agent/{uuid}/... paths
that remain valid across renames.

Changes:
- fs/fsnode.go: Add Aliases []string field, Alias() NodeOption
- fs/builder.go: findChild checks aliases via matchAlias helper
- fs/sessionfiles.go: Session dirs get Alias(s.RunnableID())
- fs/agentfiles.go: Agent dirs get Alias(a.ID())
- fs/spec.go: Add /aliases file (read-only alias→path table)
- fs/rootfiles.go: readAliases handler
- fs/lifecycle.go: buildIndex includes immutable ID in session/idx
- doc/edsl.md: Document Aliases field and behavior
- prompts: Update session/idx format documentation

The KDE GUI submodule now uses immutable IDs in all 9P paths,
fixing disconnected indicators after session rename.
2026-08-03 09:41:26 +02:00
Ollie Agent 261f987c5e move current SLOC table to end of EVOLUTION.md 2026-08-03 01:46:13 +02:00
Ollie Agent fce1e4b4fc restore old SLOC table, add current SLOC table alongside 2026-08-03 01:44:06 +02:00
Ollie Agent 5060ce7d6e update SLOC table in EVOLUTION.md 2026-08-03 01:42:05 +02:00
Ollie Agent aeb97621d5 ellie: switch from FUSE file I/O to ollie-9p CLI
ellie.el previously accessed ollie through a FUSE-mounted 9P
filesystem (plain file I/O via insert-file-contents/write-region).
This had several failure modes: stale mounts after suspend/resume,
no error propagation from 9P Rerror, no streaming support.

Now uses the ollie-9p CLI tool which speaks the 9P protocol
directly over the Unix socket. Also removed ellie-dired binding
(C-c C-d) and the ellie-mount-directory customization since
there is no mount point.

The completion subsystem was updated to use ollie-9p rdwr complete
instead of a shell pipeline to a 9P mount path.
2026-08-03 01:30:39 +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 119e673299 fix naming problems 2026-08-02 22:10:00 +02:00
Ollie Agent 7b5573ee89 docs: fix design philosophy — Plan 9/Acme, not Emacs
Ollie's extensibility is the opposite of Emacs: instead of building
capabilities on top of an interpreter, the core provides integration
surfaces (9P, shell) and pushes everything else to the surrounding
system. This is the Acme/Plan 9 model.
2026-08-02 16:45:54 +02:00
Ollie Agent 6c6c133d76 docs: update architecture docs for Aug 1-2 refactors
Covers the major changes from the past two days:

- 9P Declarative EDSL (fs/spec.go + fs/builder.go, fs/session/ → fs/ flattening)
- 9P Server streamlining (fid map, GroupTable, method extraction)
- Multi-Agent Deepening (ID/Name split, UUIDv4, two-step creation, empty sessions)
- Eventwait redesign (global /eventwait ring buffer, structured delta events)
- Chat log [[[type]]]/[[[end]]] block format
- KDE submodule evolution (StreamFsm, responsive tree, emoji states, eventwait)

Updates: AGENTS.md, ARCHITECTURE.md, EVOLUTION.md, MULTI_AGENT.md,
         CORE.md, edsl.md
2026-08-02 16:43:13 +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
Levi Neely 5911315408 docs: remove all D-Bus references, add Phase 13 to EVOLUTION
- Delete data/prompts/session-dbus.md (obsolete operational model)
- AGENTS.md: remove dbus/ from layout, single integration surface
- ARCHITECTURE.md: remove D-Bus adapter section, embedded adapter, diagrams
- EVOLUTION.md: add Phase 13 (9P streaming, D-Bus removal), fix principles,
  add D-Bus to dead ends table
- USAGE.md: remove D-Bus reference
- session-9p.md: document chat (streaming) and log (64KB window) files
2026-07-31 20:47:15 +02:00
Ollie Agent cfdedb2e5e help.md: sync to actual 9P tree (agent/ subdir, elevate/, toolsrv.*, react, no t/) 2026-07-31 08:46:02 +02:00
Ollie Agent 03e66c8a0a rewrite help.md: remove dead 9P dirs (sk/, u/, x/, tmp/, tr/), use 9p commands 2026-07-31 08:43:14 +02:00
Ollie Agent 3d4ac9699e remove transcript archive docs (dead feature) 2026-07-31 08:42:13 +02:00
Ollie Agent 9abf16d75f remove SUPERPOWERD and OLLIE_TRANSCRIPT_PATH references 2026-07-31 08:40:37 +02:00
Ollie Agent 5ce4477316 remove stale IDEAS_CONTROLLER.md (dead /home/lkn/mnt/ollie/session/ refs) 2026-07-31 08:37:26 +02:00
Ollie Agent 5021dedabe docs: replace /home/lkn/mnt/ollie/session/ paths with 9p commands 2026-07-31 08:36:47 +02:00
Ollie Agent cb98439339 docs: remove dead s/ls, s/kill, s/cleanup refs; fix ollie-9p remove→rm 2026-07-31 07:56:39 +02:00
Ollie Agent 855671d8ac remove dead acme scripts (Kmpl, Oi, Theo, Wtf) and stale data/scripts/README 2026-07-31 07:50:41 +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 5c7df3a9fe docs: document variants and update WRITING_TOOLS for network transparency 2026-07-30 23:14:53 +02:00