Commit Graph

393 Commits

Author SHA1 Message Date
Levi Neely c96ccd51e8 doc: simplify size table - focus on core runtime only
~25K core + ~15.7K KDE = ~40.7K interesting code.
Backends, prompts, skills, docs excluded from headline.
2026-10-06 12:59:53 +02:00
Levi Neely 53efc8945e doc: refine size snapshot to highlight core runtime vs boilerplate
Backend adapters (~8.3K) are mostly mechanical API glue.
Core runtime is ~25K lines (22K Go core + 3K compiled tools).
KDE adds another ~15.7K. The interesting logic is concentrated.
2026-10-06 12:59:20 +02:00
Levi Neely 83f51dffef doc: add Phase 38 (streaming rdwr, event filtering) and size snapshot
- Document streaming rdwr pattern for filtered event subscriptions
- Add current size table (~59,600 SLOC total)
- Record removal of statewait, bypasswait, feed files
- Update timeline with explicit tool loading and event filters
2026-10-06 12:57:46 +02:00
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 b6d6d9e41e doc: add event topics reference 2026-10-06 12:45:18 +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
Levi Neely 7e7c29c900 docs: update to reflect event stream pattern over statewait
- AGENTS.md: simplified architecture description
- architecture-9p.md: examples use event stream with filtering
- usage.md: o tui and wiring examples use rdwrs event
2026-10-06 12:40:58 +02:00
Levi Neely 59f162a57e doc: document streaming rdwr pattern for filtered subscriptions 2026-10-06 12:35:10 +02:00
Levi Neely f86c8d3cdc docs: update all references from eventwait to event 2026-10-06 12:08:35 +02:00
Ollie Agent 72239fe3d5 kde: remove KF5/Qt5 support, build KF6/Qt6 only
Drop the OLLIE_KF5 CMake option and the entire Qt5/KF5 build branch;
delete KF5-only assets (99-ollie-kf5.sh, ollie-actions-kf5.desktop);
collapse all QT_VERSION_MAJOR and KTEXTEDITOR_VERSION_MAJOR conditionals
to the KF6 path in the KRunner, Kate, KIO, and GUI sources; update
Makefile, README, and docs. Verified: KF6 configure + full build of
ollie-gui, krunner_ollie, ollie_kate, kio_ollie.
2026-09-29 16:44:12 +02:00
Levi Neely 1159bd700a update AGENTS.md and architecture-core.md for agent package reorganization
AGENTS.md:
- Update Architecture section with detailed agent package file list
- Update Key Files table with new agent package files
- Add lesson 15: split by concern, not size

architecture-core.md:
- Update Package Map diagram with new files
- Add file responsibility table in Agent Loop section
- Reference compact.go in Session & Context section
2026-08-27 10:15:31 +02:00
Levi Neely e0ac54c0fb doc: update architecture docs for explicit tool autoLoad
- architecture-embedding.md: skills.Index → generic embedding.Index[T],
  tool index now per-turn from loaded tools, split source map entries
- architecture-tools.md: explain explicit autoLoad requirement, remove
  lazy loading mention
- evolution.md: add Phase 37 (lazy loading reversal, generic index,
  agent config alignment), add 4 dead-end entries
- lessons-learned.md: add 'Lazy tool loading is a dead end' section
- README.md: update line 88 to reflect explicit autoLoad

Reflects the removal of load-on-call tool loading (Phase 36 reversal)
and the separation of embedding/index.go as a generic type.
2026-08-21 10:43:58 +02:00
Ollie Agent 3f8c8df38a Improve workflow-aware tool ranking 2026-08-20 19:01:21 +02:00
Ollie Agent d33549eca1 Document one-tool capability bootstrap 2026-08-20 18:31:31 +02:00
Ollie Agent 28c76a76d4 Record architecture over prompting lesson 2026-08-20 17:45:29 +02:00
Ollie Agent a0636b88aa Document lessons from embedding discovery 2026-08-20 17:44:40 +02:00
Ollie Agent f407fa2604 Move embedding discovery to evolution log end 2026-08-20 17:42:54 +02:00
Ollie Agent ba91920a88 Document embedding discovery architecture 2026-08-20 17:41:56 +02:00
Ollie Agent 7bf9b6da9b Document embedding-guided discovery architecture 2026-08-20 17:38:13 +02:00
Levi Neely 07dcd60d19 skills: add embedding-based skill matching
Add semantic skill matching using all-MiniLM-L6-v2 sentence embeddings.
Skills are automatically injected into user turns based on relevance.

New packages:
- embedding: ONNX-based text embedding with MiniLM model
- skills: skill discovery, embedding cache, and semantic matching

Integration:
- InitSkillIndex called at startup in fs.NewRoot
- matchSkills called per-turn in executeTurn
- Matched skills injected in <context> block alongside user prompts

Makefile:
- install-models target downloads model and ONNX runtime
- Model files stored in ~/.local/share/ollie/models/

Config:
- Threshold: 0.2 cosine similarity
- Limit: 3 skills per turn
- Skill dirs: ~/.kiro/skills (user), ~/.config/ollie/skills (installed)
2026-08-20 15:54:43 +02:00
Levi Neely 42685e1e93 docs: add Phase 34 (peers + consensus) to evolution.md 2026-08-19 17:32:33 +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 223a8f1235 remove plumber references 2026-08-18 13:32:43 +02:00
Ollie Agent a5cd5d36ed document compatibility roadmap 2026-08-18 13:28:30 +02:00
Ollie Agent c6257afc90 docs: link AnviLLM repository 2026-08-18 12:59:29 +02:00
Ollie Agent a8342e83fd docs: mark evolution introduction heading 2026-08-18 12:58:38 +02:00
Ollie Agent 0a6fbe7f44 docs: keep AnviLLM history professional 2026-08-18 12:58:16 +02:00
Ollie Agent c8bc9cdbe8 docs: connect Ollie evolution to AnviLLM research 2026-08-18 12:56:30 +02:00
Ollie Agent 2ba9ba036c Document native Landlock and persist session yolo 2026-08-18 12:49:25 +02:00
Ollie Agent 1915cf292d fix evolution phase numbering 2026-08-18 12:42:54 +02:00
Ollie Agent b7511eb089 document native Landlock evolution 2026-08-18 12:41:32 +02:00
Ollie Agent bdafc30022 replace landrun with native Landlock sandbox 2026-08-18 12:36:27 +02:00
Ollie Agent 09729a9149 Place Kate TUI workflow in Kate section 2026-08-18 12:23:32 +02:00
Ollie Agent 50f8919d9d Document Kate terminal TUI workflow 2026-08-18 12:23:11 +02:00
Ollie Agent fc6b9afd47 Clarify Kate chat ownership 2026-08-18 12:22:23 +02:00
Ollie Agent baf75702d1 Document Kate KDE GUI chat workflow 2026-08-18 12:21:22 +02:00
Ollie Agent 3cf98f2607 Demote Kate documentation heading 2026-08-18 12:19:32 +02:00
Ollie Agent 05b3e36767 Add Kate section to editor architecture 2026-08-18 12:19:15 +02:00
Ollie Agent 99c1a85603 Clarify editor architecture documentation 2026-08-18 12:17:26 +02:00
Ollie Agent 5069755aaa Add Ollie image to README 2026-08-18 11:43:35 +02:00
Ollie Agent 76eb5bea99 Remove completed concurrency audit 2026-08-18 08:00:09 +02:00
Ollie Agent 7351f374a3 Record shutdown during active reads validation 2026-08-18 07:59:42 +02:00
Ollie Agent c61d2a6373 Record validated lifecycle behavior 2026-08-18 07:58:01 +02:00
Ollie Agent fa63886320 Mark completed concurrency audit findings resolved 2026-08-18 07:55:18 +02:00
Ollie Agent c111cbd0ca Stop persistent loop timers 2026-08-18 07:34:56 +02:00
Ollie Agent 9bbb6b9152 Make toolsrv socket polling cancellable 2026-08-18 07:27:42 +02:00
Ollie Agent d5def6f02a Mark process cleanup finding resolved 2026-08-18 07:09:46 +02:00
Ollie Agent 1b934c43f4 Release empty registry agent state 2026-08-18 07:09:21 +02:00
Ollie Agent 6ef1fe52e0 Make process GC startup idempotent 2026-08-18 07:08:38 +02:00
Ollie Agent a1dc5b990e Bound toolsrv process completion notifications 2026-08-18 07:07:46 +02:00