Commit Graph

49 Commits

Author SHA1 Message Date
Levi Neely afe514525d doc: move Sessions reference back from monorepo USAGE.md
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:27:16 +02:00
Levi Neely 43dff26415 doc: move usage content to monorepo; README is now server reference only
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:25:39 +02:00
Levi Neely cf4ccc2cf1 doc: document s/sh interactive shell
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:23:39 +02:00
Levi Neely 4576b32a7a doc: document background job scheduling with b/sched
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:21:45 +02:00
Levi Neely 9611150181 doc: document AI pipeline composition with b/* and u/optimize
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:19:07 +02:00
Levi Neely 81f34a5516 doc: update README for u/ namespace and script reorganization
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 12:18:08 +02:00
Levi Neely 9a51d287f7 README: document b/ batch namespace
- Add b/ to filesystem layout (job spec, status, result, usage, ctxsz)
- Add BatchStore to backing stores table
- Add Batch jobs section with submit/poll/remove examples and oq reference
- Remove s/{id}/reply from layout
2026-04-16 19:41:46 +02:00
Levi Neely b8c23dd7b6 doc: fix broken relative ollie link in README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 22:56:41 +02:00
Levi Neely e225085db4 docs: document pluggable backing stores per 9P directory
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 21:50:33 +02:00
Levi Neely b5a0e82aad docs: document prompt rebuild triggers and file listing
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 20:07:29 +02:00
Levi Neely bd3dec3696 docs: add systemprompt to filesystem layout
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 19:40:14 +02:00
Levi Neely 78dd946144 rename OLLIE_9MOUNT → OLLIE
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 17:39:36 +02:00
Levi Neely 818ccf2632 rename workdir to cwd
Rename the user-facing 9P file and session key from "workdir" to
"cwd" for consistency with the /cwd command.
2026-04-13 15:51:49 +02:00
Levi Neely b048aac109 9p: reject unrecognized ctl commands
ctl now validates the first word of input against a closed set of
known commands. Unrecognized input returns an error instead of being
silently forwarded as a prompt to the agent.
2026-04-13 15:44:14 +02:00
Levi Neely 0a4ca8a869 9p: add agents dir, backends, help, plan rm; refactor readSlice 2026-04-13 14:45:17 +02:00
Levi Neely fc5443e314 9p: session rename via wstat, ctl kill/rn, connection tracking
- Support mv on session directories (wstat rename)
- Track connections globally for fid path rewriting on rename
- Add kill and rn <name> to ctl handler
- Append rename notification to chat log
- Update README with rename and ctl docs
2026-04-13 14:25:53 +02:00
Levi Neely 368d1a9ba0 9p: accept empty values in s/new, fix docs to rm -r 2026-04-13 13:56:52 +02:00
Levi Neely 039c5ddf0c README: update for s/new, rm, ctl changes, document async write caveat 2026-04-13 13:45:00 +02:00
Levi Neely c320693ab6 docs: drop responses from usage description 2026-04-13 11:06:24 +02:00
Levi Neely e29aaabf9c docs: update usage file description with responses and estimated flag 2026-04-13 11:03:34 +02:00
Levi Neely 4ae91a1668 usage/ctxsz: separate billed tokens from context size
- Rename Core.Usage() to Core.CtxSz() (estimated context size)
- New Core.Usage() returns billed token counts (in, out, requests)
- 9P: add ctxsz file, usage file now returns billed tokens
- /context command now shows context size summary
- Emacs mode-line reads ctxsz instead of usage
2026-04-13 10:45:45 +02:00
Levi Neely 0586e94672 9p: make /p createable, fix /p dir mode to 0755, update README
- Add /p to create handler (same pattern as /t and /sk)
- Use 0755 for /p directory (prompts aren't executable)
- Update README: sk/ is now r/w
2026-04-13 10:28:45 +02:00
Levi Neely 7b3e159ac0 9p: add create support, writable skills, update tools path
- Route Tcreate to new create handler for /t and /sk
- Add skill file write support (write to SKILL.md in skill dir)
- Make /sk files writable (0666), /t files/dir 0777
- Update default tools path to ~/.config/ollie/tools
2026-04-13 10:25:15 +02:00
Levi Neely 2ac1f85a92 move ideas to monorep 2026-04-11 18:15:33 +02:00
Levi Neely 088c43e4aa tools: remove discover_skill.sh and load_skill.sh helper scripts
Plain file operations on $OLLIE_9MOUNT/sk/ replace these. Remove the
tools/ directory and the mkfile step that installed them.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 16:23:53 +02:00
Levi Neely 7ce8e6ad1f docs: remove Credits section (moved to monorepo) 2026-04-11 15:36:26 +02:00
Levi Neely cf777b9420 docs: add Credits section
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 13:08:53 +02:00
Levi Neely 75fc1566c0 p9: split prompt.fifo into enqueue (write) and dequeue (read)
Replaces the r/w prompt.fifo with two separate endpoints: enqueue
(write-only, queues a prompt) and dequeue (read-only, pops the next
queued prompt). Also fixes a bug where cat's trailing EOF read at
non-zero offset would silently consume and discard the next queued item.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 10:03:46 +02:00
Levi Neely 6cec2de2d9 README: update filesystem layout with p/, sk/, t/ directories 2026-04-10 19:17:51 +02:00
Levi Neely 6d79ec978a README: make workdir required in all session creation examples
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 09:28:56 +02:00
Levi Neely 9e817d3914 README: document workdir option and filesystem entry
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 09:06:46 +02:00
Levi Neely e392531986 README: cd into session dir in example shell session
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 08:52:59 +02:00
Levi Neely d9a4ec3255 p9: introduce s/ session directory; use nanosecond session IDs
Sessions are now nested under s/ instead of the root, making it
straightforward to count active sessions and find newly created ones
by offset:

  n=$(ls s/ | wc -l)
  echo "new agent=foo" > ctl
  sid=$(ls s/ | sort | sed -n "$((n+1))p")

Session IDs are now Unix nanosecond timestamps (from ollie's updated
NewSessionID), so ls s/ | sort gives strict creation order. The s/
directory is a stable listing surface; ctl remains at the root for
control operations.

All path parsing updated throughout: pathType, readDir, makeStat,
handleWrite, readChat, readReply, readFile. README updated to match.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 08:51:07 +02:00
Levi Neely 1158efffe3 update readme 2026-04-10 03:16:45 +02:00
Levi Neely c00129a488 Add spawn_subagents.py tool example to README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 03:12:59 +02:00
Levi Neely 5eb93f181b Add concurrent Go sub-agent example to README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 03:07:37 +02:00
Levi Neely 272e095bc5 Add Sub-Agents section to Multi-Agent Workflows
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 02:59:45 +02:00
Levi Neely a42a7b7624 Add Persistent Memory section referencing 9beads
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 02:40:58 +02:00
Levi Neely 6db891bbb1 Rename to Ideas; add self-generating workflows section
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 02:34:13 +02:00
Levi Neely a713760f27 Drop "orchestrator" — it's just a shell script
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 02:31:18 +02:00
Levi Neely 714975c4b2 Add design philosophy to README opening
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 02:28:56 +02:00
Levi Neely 87201b01b3 Reorganize Possible Applications into subheadings
Groups: Automation & Scripting, Tooling & Integration,
Network & Remote Access, Multi-Agent Workflows.
Folds Inter-Agent Communication into Multi-Agent Workflows.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 02:18:13 +02:00
Levi Neely 2c41e68696 Add reply file for agent chaining
reply holds only the clean assistant text from the most recently
completed turn. It is written atomically when Submit returns and cleared
(as a documented side-effect) when a new prompt is submitted. Stat
reports the real byte length and bumps Qid.Vers on each change, so
polling via stat size > 0 is the intended signal that a reply is ready.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 02:10:36 +02:00
Levi Neely c3bddf5942 Tighten Possible Applications wording
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 02:02:10 +02:00
Levi Neely 68f32d1e53 Fix inotify claim in README
inotifywait doesn't work through 9pfuse; replace with polling approach.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 01:56:34 +02:00
Levi Neely 67b67b040c Add Possible Applications section to README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 01:56:05 +02:00
Levi Neely 34e3119533 Switch new command to key=value options; add model option
"new" in root ctl now accepts optional key=value pairs in any order:
backend=<name>, model=<name>, agent=<name>. All are optional; omitting
any uses the default. Replaces the old positional backend/agent args.
Unknown keys and malformed entries are rejected with a clear error.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 01:52:15 +02:00
Levi Neely 2d120f9bdf Update README with model endpoint
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 01:50:04 +02:00
Levi Neely 194957daa2 Initial commit: olliesrv 9P server for ollie agent sessions
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 01:46:48 +02:00