Commit Graph

55 Commits

Author SHA1 Message Date
Ollie Agent 4e1961200a docs: update chat log docs for chat.raw stream and tool/bypass visibility
Add Phase 41 (live chat.raw stream vs log.raw snapshot) and Phase 42
(tool call / output / bypass rendering in log and chat) to evolution.md,
with the phase chart. Clarify the log/chat row descriptions in
architecture-9p.md and the chat.go role in architecture-core.md.
2026-10-10 16:08:39 +02:00
Ollie Agent a4972cd456 Separate chat persistence from live delivery via chat.raw
Streaming partials were appended to log.raw per chunk, each carrying the
full cumulative content, so one response left dozens of partial lines
persisted. GUI clients parsing the snapshot re-rendered the growing block
once per partial (O(N^2)) and replayed all historical partials on every
reconnect, causing intermittent rendering loops.

Partials are no longer persisted: AppendBlock writes only finalized
blocks to log.raw; SetPartial broadcasts the in-flight block without
storing it. New chat.raw StreamRaw file is the authoritative live JSONL
source (finalized history replay, then live deltas); log.raw is a
finalized-only one-shot snapshot. GUI streams chat.raw, never polls
log.raw.
2026-10-10 15:57:48 +02:00
Levi Neely 6cf283044e docs: add chat file to namespace documentation
- AGENTS.md: four views (log.raw, log, chat, block)
- system_prompt.md: add chat to agent file table
- architecture-9p.md: add chat to namespace table
- evolution.md: correct Phase 40 (chat not deleted)
2026-10-09 19:16:20 +02:00
Levi Neely c44c44dae3 doc: add Phase 40 (JSONL chat log format) to evolution.md 2026-10-09 18:53:59 +02:00
Levi Neely 0744d9227a doc: update for bypass coordination and state indicators
evolution.md: add Phase 39, update timeline and size snapshot
event-topics.md: bypass events are per-agent, add resolved event
architecture-kde.md: document state dot and bypass indicator
usage.md: add bypass, approve, deny commands
2026-10-06 15:15:16 +02:00
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 f86c8d3cdc docs: update all references from eventwait to event 2026-10-06 12:08:35 +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 d33549eca1 Document one-tool capability bootstrap 2026-08-20 18:31:31 +02:00
Ollie Agent f407fa2604 Move embedding discovery to evolution log end 2026-08-20 17:42:54 +02:00
Ollie Agent 7bf9b6da9b Document embedding-guided discovery architecture 2026-08-20 17:38:13 +02:00
Levi Neely 42685e1e93 docs: add Phase 34 (peers + consensus) to evolution.md 2026-08-19 17:32:33 +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 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
Levi Neely d279bbae86 Update docs: goals, index split, namespace changes
- README: Add goal/goalstatus/goalwait, fix plan location, add agent/new and agent/idx
- architecture-9p: Add goal files to session namespace, document index formats
- evolution: Add Phase 26 for goals, workflows, and index split
2026-08-17 13:51:04 +02:00
Ollie Agent 349f23dd4c Make architecture overview non-phase 2026-08-16 20:50:52 +02:00
Ollie Agent e133c10e1f Fix evolution phase numbering 2026-08-16 20:50:10 +02:00
Ollie Agent ff7c4d6eb9 Add current architecture to evolution log 2026-08-16 20:49:34 +02:00
Ollie Agent 17ec6d4a27 Bring evolution log up to date 2026-08-16 20:12:10 +02:00
Ollie Agent a0c161ba9b Update architectural evolution 2026-08-16 20:10:19 +02:00
Ollie Agent 3e1697d074 Link OptMem repository 2026-08-16 20:01:19 +02:00
Ollie Agent e51a1d4ff7 Update architecture documentation and remove obsolete frontends 2026-08-16 19:21:26 +02:00
Ollie Agent 1e0f9cacd0 Integrate KDE frontend into main repository 2026-08-16 15:08:33 +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
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 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 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
Ollie Agent b72b2a0a83 doc: organize into doc/resources/, keep front-page docs at doc/ 2026-08-04 21:06:20 +02:00
Ollie Agent 04a29a71fd evolution: TUI frontend was replaced by a shell script 2026-08-04 20:01:13 +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
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