ollie/doc
Ollie Agent 1e126ce76a Replace imperative 9P filesystem with declarative EDSL
The old fs/session/ package (14 files) and cmd/olliesrv/elevate_tree.go
(imperative FileTree implementations) are gone. Replaced by a single
declarative EDSL in fs/spec.go that declares the entire 9P namespace.

cmd/olliesrv/server.go simplified from 1430 to 825 lines:
- Deleted pathType() (110 lines) — tree.Stat() now handles all path resolution
- Deleted isSessionFile(), dirMode(), filePerm() — all from tree's info
- Deleted fsRoute/routes/route/routeDir — single rootTree, no route table
- Deleted elevateTree — EDSL handles /elevate/ in spec.go
- Deleted handleWrite(), readDNS(), helpPath() — dead code
- Deleted all 5 per-fid result fields — EDSL Request handlers manage state
- Deleted all path-based intercepts in read()/write() — entry.RequestRespMode()
- Deleted all path-depth hacks in makeStat() — custom Stat() closures in EDSL
- Deleted all content-length compute logic — info.Size() from tree
- Removed imports: agent, backend, elevate, paths, toolsrv, json

New fs/ package:
- spec.go — single EDSL declaration of the entire namespace
- builder.go — BuildTree() validates and compiles spec into *Tree
- tree.go — configurable FileTree implementation
- fsnode.go — Dir(), Leaf(), TemplateDir(), NodeOption constructors
- agentfiles.go / sessionfiles.go / rootfiles.go / elevatefiles.go
  — handler implementations wired by the EDSL
- lifecycle.go — Create, Kill, Rename, Shutdown, InterruptAll
- persist.go, procfiles.go
- edsl.md — documentation of the EDSL
2026-08-02 15:22:17 +02:00
..
experiments flatten: absorb submodules into single Go module 2026-07-30 18:57:51 +02:00
ARCHITECTURE.md Replace imperative 9P filesystem with declarative EDSL 2026-08-02 15:22:17 +02:00
CORE.md tool metadata: replace header comment parsing with .meta sidecar files 2026-07-30 21:48:42 +02:00
EVOLUTION.md Replace imperative 9P filesystem with declarative EDSL 2026-08-02 15:22:17 +02:00
IDEAS.md remove transcript archive docs (dead feature) 2026-07-31 08:42:13 +02:00
MULTI_AGENT.md docs: replace s/{sh,b,bfg,bbg} references with generate/complete/route 2026-07-30 21:30:18 +02:00
NO_MCP.md user-preferences, execute_code→shell, dead scripts cleanup 2026-07-29 14:44:25 +02:00
OBSERVATIONS.md docs: replace s/{sh,b,bfg,bbg} references with generate/complete/route 2026-07-30 21:30:18 +02:00
REMOTE_EXECUTION.md remove remaining webui/httpgw references in docs 2026-07-30 20:22:49 +02:00
USAGE.md docs: remove all D-Bus references, add Phase 13 to EVOLUTION 2026-07-31 20:47:15 +02:00
WRITING_TOOLS.md docs: declare the declarative tool registration paradigm 2026-07-30 23:50:04 +02:00
architecture.svg docs: remove b/ references, update to s/bfg s/bbg, fix subagent_spawn description 2026-05-01 10:29:00 +02:00
edsl.md Replace imperative 9P filesystem with declarative EDSL 2026-08-02 15:22:17 +02:00
env.sample restore all backend tier examples, add to env.sample 2026-05-20 09:32:49 +02:00
help.md help.md: sync to actual 9P tree (agent/ subdir, elevate/, toolsrv.*, react, no t/) 2026-07-31 08:46:02 +02:00