Commit Graph

48 Commits

Author SHA1 Message Date
Ollie Agent ea3db9eb08 remove httpgw and webui; update AGENTS.md to reflect current structure
- Remove cmd/ollie-httpgw/ directory and webui/ submodule
- Update justfile: remove httpgw/webui build targets
- Update README.md: remove httpgw/webui references
- Update doc/ARCHITECTURE.md: remove httpgw/webui references
- Update doc/EVOLUTION.md: remove httpgw/webui references
- Update doc/USAGE.md: remove httpgw/webui sections
- Update AGENTS.md: fix repo layout, build targets, testing, architecture
  paths, key files, adding tools/prompts, submodule workflow
2026-07-30 20:19:32 +02:00
Ollie Agent f63cb3bb37 doc: update architecture diagrams to Mermaid, reflect current codebase
- Convert all ASCII diagrams to Mermaid (gitea-rendered)
- ARCHITECTURE.md: System Overview, Data Flow, Frontends → Mermaid
- CORE.md: Package Map, Per-Iteration Flow → Mermaid
- EVOLUTION.md: Timeline → Gantt, coordination/security/frontends → Mermaid
- MULTI_AGENT.md: coordination patterns → Mermaid
- REMOTE_EXECUTION.md: split-brain architecture → Mermaid
- Update all references: agent.Core → *agent.Agent, execute.Server → toolsrv.Server,
  tools.Dispatcher → toolsrv.Runner, s/ → session/ namespace
- Fix namespace layout to show agent/{aid}/ subdirectory hierarchy
- Update package layout to reflect flat Go module (no core/ or 9p/ submodules)
2026-07-30 19:58:53 +02:00
Levi Neely 67867fd568 docs: update for core/ restructure, add ollie-9p section
- Fix all pkg/ path references in doc/*.md
- Update ARCHITECTURE.md package table and 9P interaction model
- Fix stale /tmp/ollie references
- Add ollie-9p client documentation to 9p/README.md
2026-07-29 18:14:46 +02:00
Levi Neely 70d0a22af4 user-preferences, execute_code→shell, dead scripts cleanup
- Add prompts/user-preferences.md: visual-first communication preference
  and communication style directives (moved from system_prompt.md).
- Inject user-preferences.md into all agent definitions.
- Replace all execute_code references with shell across docs, prompts,
  and agent configs.
- Remove dead u/ and x/ entries from scripts/README.md.
- Remove SYSTEM_PROMPT_QWEN systemPrompt override from navigator.
- justfile: install user-preferences.md.
2026-07-29 14:44:25 +02:00
Ollie Agent e4fab8cfb1 remove call_tool and pipe references from docs 2026-07-28 22:47:12 +02:00
Ollie Agent 0fa24ef8c2 remove elevate-adapter-start script and agentSpawn hook
The adapter is now started by the system service manager, not
on-demand from inside the sandbox. ensureElevateAdapter was
removed from core in the previous commit.
2026-07-21 11:49:42 +02:00
Ollie Agent e2e1e95fd8 remove dbus submodule, update docs for -no9p mode
olliesrv now supports D-Bus-only operation via -no9p flag,
replacing the need for the standalone ollied daemon (archived).

- Remove dbus/ submodule
- Update README: three-mode table, remove ollied references
- Update doc/ARCHITECTURE.md: remove ollied section and references
2026-07-21 11:44:38 +02:00
Ollie Agent 60f38a51cd docs: remove model tier refs, add KDE/dbus to frontends and repo structure
- Remove cascade/escalate/OLLIE_TIER_* references (model tiers are gone)
- Add dbus/ and kde/ to repo structure
- Frontends table now shows KDE components over D-Bus
- httpgw rewritten as D-Bus bridge description
- Key design decisions updated for dual integration surfaces
2026-07-19 17:52:29 +02:00
Ollie Agent 5cb0e5c057 docs: add D-Bus adapter, ollied, and KDE integration sections 2026-07-19 17:48:02 +02:00
Ollie Agent 94e321d46c docs: note web UI also connects via D-Bus 2026-07-19 17:44:55 +02:00
Ollie Agent 4d8a3db4ee docs: s/filesystems/the Unix philosophy/ 2026-07-19 17:43:36 +02:00
Ollie Agent e86b615383 docs: rewrite philosophy section
Reframe from "everything is a file" as the sole design principle to
the actual layered philosophy:
- Design: small extensible core (Emacs-like)
- Integration: 9P filesystem (canonical) or D-Bus (conventional)

Both are thin adapters over the same agent.Core.
2026-07-19 17:42:31 +02:00
Ollie Agent ecbc93f3b4 docs: update architecture for current 9P/D-Bus topology
- Remove references to non-existent 9P paths (t/idx, sk/idx, m/, etc)
- Update system overview diagram to show KDE/Web frontends over D-Bus
- Show embedded D-Bus adapter in olliesrv and ollied alternative
- Update tool/skill discovery references to use env vars
- Update agent config example to current format
2026-07-19 17:38:19 +02:00
Levi Neely a94454d72b update core submodule (session persistence), sync docs 2026-05-21 15:08:46 +02:00
Levi Neely d08497d287 big refactor: agent core, 9p sessions, webui, architecture docs 2026-05-21 14:42:55 +02:00
Ollie Agent fb2ce37d80 docs: remove mcpServers from ARCHITECTURE (not supported) 2026-05-20 09:46:57 +02:00
Ollie Agent 4eddf55e54 docs: update README and ARCHITECTURE to reflect current state
README:
- Replace cascade/mechanical worker with route/tier-based routing
- Replace plan-first discipline with per-agent 9P principals
- Remove task tracking from tool list
- Add tier-based routing and orchestrator/worker descriptions

ARCHITECTURE:
- Update tool scripts list (remove task_*, add route/escalate/lsp_*)
- Rewrite sub-agents section: fire-and-forget callback protocol
- Add u/cascade, u/escalate to script namespaces
- Add per-agent 9P principals section (FUSE proxy, permission enforcement)
- Mark mcpServers as optional
2026-05-20 09:46:15 +02:00
Levi Neely 5bec68107e move t/ into s/{sid}/t/; two-layer tool restriction (allowExecutors/allowTools) 2026-05-16 23:55:25 +02:00
Levi Neely 52d7b3e455 doc: document all generation parameters 2026-05-16 05:36:24 +00:00
ollie ce17021b58 require landrun for execute_code, update docs
Update core submodule: WrapCommand returns a hard error when landrun
is not detected. Document the requirement in ARCHITECTURE.md.
2026-05-03 22:10:15 +02:00
Levi Neely 10a78b0beb remove ollie-tui references from docs 2026-05-01 10:21:38 +02:00
Levi Neely cfe367bca1 docs: sync documentation with current implementation
- Update agent config docs (prompt array, hooks, mcpServers)
- Add new session files (context, cost, env, plan, prompt.prev)
- Document httpgw daemon subcommands
- Update tool scripts list
- Move readmulti to tui submodule
2026-04-30 09:07:59 +02:00
Levi Neely d42778c61a docs: correct Sandboxing section in ARCHITECTURE.md
Sandboxing is not layered. It is applied specifically to execute_code:
each step is wrapped with landrun using a named config from
~/.config/ollie/sandbox/<name>.yaml (default: "default"). Steps marked
elevated:true bypass the sandbox via x/elevate. Remove superpowerd
reference.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 11:21:29 +02:00
Levi Neely 5326de7b46 docs: fix auto-compact description in ARCHITECTURE.md
Auto-compact does exist: triggers automatically at 75% of the model's
context length (128k default), and also manually via /compact.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 11:19:53 +02:00
Levi Neely ead4678ee5 docs: correct Session and Context section in ARCHITECTURE.md
Remove references to the non-existent contextBuilder and rolling window.
Describe the actual compaction model: unbounded history, explicit /compact
trigger, LLM-generated summary, system message preservation, user message
budget (~20k tokens), tool call flattening, and pre-compaction snapshot.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 11:19:05 +02:00
Levi Neely eff00a7b2e docs: document httpgw and webui
Add HTTP gateway and web UI sections to USAGE.md: build instructions,
runtime flags, HTTP→9P endpoint reference, nginx serving example, and
Vite dev workflow. Add HTTP gateway architecture section to
ARCHITECTURE.md with frontend comparison table. Update README.md with
httpgw build target, dual remote-access paths (9P mount vs httpgw),
and container example updated for both.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 09:14:48 +02:00
Levi Neely 2148c8c668 update docs: unify b/ into s/, introduce s/bfg and s/bbg
Batch and session namespaces are now a single s/ concept. s/bfg blocks
until the agent finishes and writes to stdout; s/bbg returns immediately
and prints the session path. s/b is the core one-shot runner. Remove all
b/ references from README, USAGE, ARCHITECTURE, and scripts/README.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 08:31:15 +02:00
Levi Neely 1947f90f6f doc: scale architecture diagram to 60% width 2026-04-22 11:17:33 +02:00
Levi Neely b4a0014dd2 doc: hand-crafted architecture diagram
Replace Mermaid-generated SVG with hand-written SVG to avoid
font metric clipping. Shows core as foundation, olliesrv as
the 9P layer, and front-ends/scripts/pipelines as consumers.
2026-04-22 11:16:35 +02:00
Levi Neely 8f70b647f2 doc: simplify architecture diagram labels to fix text clipping 2026-04-22 10:56:20 +02:00
Levi Neely c616050f36 doc: add high-level architecture diagram 2026-04-22 10:53:55 +02:00
Levi Neely 2f1db75b02 docs: update documentation for recent refactor
- Package layout: add pkg/store, pkg/log, pkg/env, pkg/paths, pkg/skills
- System prompt: loaded from SYSTEM_PROMPT.md by Go, not agentSpawn hooks
- Tool prompts injected via preTurn hooks, not agentSpawn
- Sandbox config: single named config, not layered global+overlay
- Store interfaces: unified Store, remove ReadableStore/ReadWriteStore/BlobStore
- Fix batch status -> state in USAGE.md polling examples
- Fix enqueue -> fifo.in in session-management skill
- Fix 9p/internal/p9/server.go -> 9p/server.go (flattened)
- Remove stale sys-base, sys-ollie, sys-skills prompt file references
- Remove stale /pl references from 9p backing stores docs
2026-04-22 10:35:46 +02:00
Levi Neely e7cca59089 remove MCP support, add execute_code tests
- Update submodules: core (remove MCP, add tests), 9p (remove mcp file)
- Add doc/NO_MCP.md: justification for removing MCP
- Add observation to doc/OBSERVATIONS.md
- Update ARCHITECTURE.md, help.md, SYSTEM_PROMPT.md, agents/README.md
2026-04-21 13:26:00 +02:00
Levi Neely 3bc6785230 scripts,docs: batch status→state; use statewait in b/job and b/cleanup
b/job now blocks on statewait instead of polling; b/cleanup reads state.
Update all documentation references. Bump 9p submodule.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 20:45:08 +02:00
Levi Neely 8aa1033017 docs: update all docs for hook-based priming, remove pl/ references
- agents/README.md: explain prime-based system prompt composition
- doc/ARCHITECTURE.md: remove Planning section (pl/ no longer exists)
- doc/help.md: update p/ annotation to reflect prime/agentSpawn
- bump core and 9p submodules

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 12:16:57 +02:00
Levi Neely d36e75a0a2 doc: add script namespaces section to ARCHITECTURE.md
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:16:48 +02:00
Levi Neely 54af56c8d7 doc: update documentation to reflect unified execute_code
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:42:10 +02:00
Levi Neely 12e15d4287 execute: unify execute_pipe into execute_code as pipeline primitive
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:36:41 +02:00
Levi Neely 7b50e1e145 doc: correct architecture — file/memory/reasoning/task are tool scripts, not servers
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:24:28 +02:00
Levi Neely 534c5d81c0 execute: remove execute_tool; use execute_code {tool} steps instead
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:15:19 +02:00
Levi Neely 3097caa66e doc: document parallel execution and subagent fork-join pattern
- README.md: add parallel execution benefit; update sub-agents benefit
  to describe subagent_spawn and heterogeneous fan-out composition
- doc/ARCHITECTURE.md: update execute tool descriptions; add Parallel
  Execution and Sub-agents section documenting the fork-join pattern
  and architecture boundary preservation
2026-04-16 20:35:22 +02:00
Levi Neely 191ebf5af0 update core submodule; doc: shutdown closes all sessions
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 19:53:01 +02:00
Levi Neely 1e90b68124 update submodules; doc: systemprompt, session lifecycle, !/sp commands
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 19:40:22 +02:00
Levi Neely 30d1902580 update submodules and tools: consistent memory path, sandbox RWX
- 9p: memory defaults to ~/.config/ollie/memory, created on startup
- core sandbox: ~/.config/ollie and ~/mnt/ollie are RWX
- tools: memory_remember/recall use $OLLIE_9MOUNT/m
- doc: update ARCHITECTURE.md memory path reference

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 16:16:00 +02:00
Levi Neely ed4fe7e6f2 docs: update ARCHITECTURE and PLANNING for new tool structure
Reflect the removal of PlanBackend/MemoryBackend abstractions and the
addition of pkg/tools/memory and pkg/tools/task. Update tool table (12
tools, 5 servers), data flow diagram, planning lifecycle, and consumer
setup example. Rewrite PLANNING.md around task_plan/task_complete.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 08:16:42 +02:00
Levi Neely fa5828b2d3 rename workdir to cwd throughout codebase
Completes the rename started with the 9P file change.

Go API: WorkDir→CWD, SetWorkDir→SetCWD, WorkDirSetter→CWDSetter.
Unexported: workdir→cwd in fields, params, locals.
Template: {{.WorkDir}}→{{.CWD}}.
Docs: ARCHITECTURE.md, PLANNING.md, README.md, IDEAS.md.
2026-04-13 18:02:54 +02:00
Levi Neely 687cf48255 update submodules: 9p create/writable skills, core tools path
- 9p: add Tcreate for /t and /sk, writable skill files, tools path
- core: default tools path to ~/.config/ollie/tools
- docs: update ARCHITECTURE.md and IDEAS.md for new path
2026-04-13 10:25:30 +02:00
Levi Neely 863f60cb48 move doc/ to monorepo 2026-04-11 18:13:21 +02:00