Commit Graph

37 Commits

Author SHA1 Message Date
Levi Neely a90ca6b57c remove unused feed file and observer agent support
The feed file was documented but never used by any frontend
or script. The observer agent pattern was never adopted.

- Remove feed.go, FeedWrite, ConsumeFeed
- Remove WatchFeed constant
- Remove feed file from 9P namespace
- Remove ConsumeFeed goroutine spawns from session
- Update docs (architecture-9p, architecture-ide, architecture, usage)

The event stream now covers real-time observation patterns better.
2026-10-06 12:55:39 +02:00
Levi Neely 86fbc90b43 server: remove statewait file, use event stream instead
The event stream with filtering replaces statewait:
- echo filter | rdwrs event

Removed:
- statewait file from agent namespace
- All non-historical references in docs and code

The state file remains for simple polling reads.
2026-10-06 12:44:02 +02:00
Ollie Agent a0636b88aa Document lessons from embedding discovery 2026-08-20 17:44:40 +02:00
Ollie Agent 7bf9b6da9b Document embedding-guided discovery architecture 2026-08-20 17:38:13 +02:00
Levi Neely 7055444748 agent peers: bidirectional peer links with topology-controlled messaging
Add peer/ directory to each agent's 9P namespace. Agents communicate
by writing to peer/{name}, which delivers to the target's prompt handler.
Only declared peers can be messaged — the directory is the ACL.

Implementation:
- Agent struct: peers map + AddPeer/RemovePeer/Peers methods
- fs/spec.go: peer/ Each node (write-only entries), peeradd/peerdel/peers ctl commands
- Bidirectional: peeradd A on B also adds B on A
- Peers constrained to same session
- Persisted with session state (PersistedAgent.Peers field)
- peeradd/peerdel trigger immediate session save

Docs updated: system_prompt.md, AGENTS.md, README.md, architecture-9p.md,
architecture-core.md, architecture.md, usage.md.
2026-08-19 17:22:30 +02:00
Ollie Agent bdafc30022 replace landrun with native Landlock sandbox 2026-08-18 12:36:27 +02:00
Ollie Agent 99c1a85603 Clarify editor architecture documentation 2026-08-18 12:17:26 +02:00
Ollie Agent 43b63cc885 Revert "Refresh current architecture overview"
This reverts commit a73f7ef5ca.
2026-08-16 20:49:14 +02:00
Ollie Agent a73f7ef5ca Refresh current architecture overview 2026-08-16 20:48:39 +02:00
Ollie Agent f02c5c45e7 Document editor integration patterns 2026-08-16 20:19:40 +02:00
Ollie Agent 2e3680e33a Summarize integration boundaries 2026-08-16 20:08:30 +02:00
Ollie Agent 7b8f6942c6 Document external plan-and-execute integrations 2026-08-16 20:07:25 +02:00
Ollie Agent 3e1697d074 Link OptMem repository 2026-08-16 20:01:19 +02:00
Ollie Agent 60ee3c62d5 Clarify internal message bus architecture 2026-08-16 19:58:25 +02:00
Ollie Agent 515137a88c Document deliberately unimplemented patterns 2026-08-16 19:56:43 +02:00
Ollie Agent b9a9fae542 Deduplicate architecture documentation 2026-08-16 19:53:40 +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 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
Levi Neely cafba41193 docs: update for Request→Rdwr rename and sub-agent examples 2026-08-14 15:33:25 +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 ef9a56d41b doc: rename tool scripts to tool definitions throughout 2026-08-12 19:40:06 +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 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 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 b72b2a0a83 doc: organize into doc/resources/, keep front-page docs at doc/ 2026-08-04 21:06:20 +02:00
Ollie Agent b939bd4c6b docs: replace all {aid} with {aname} 2026-08-04 19:29:34 +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 68f0fe8ef9 Rename doc/ files to lowercase kebab-case 2026-08-04 16:41:07 +02:00