Commit Graph

293 Commits

Author SHA1 Message Date
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