Commit Graph

244 Commits

Author SHA1 Message Date
Levi Neely fc818dd28f scripts: add s/optimize — LLM prompt optimization pipeline
Generates N candidate optimized prompts in parallel, then judges and
returns the best. Accepts -cb/-cm for candidate model and -jb/-jm for
judge model, defaulting to OLLIE_BACKEND/OLLIE_MODEL for both stages.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 11:28:54 +02:00
Levi Neely a69f1cbc2b scripts: don't pass output= to server; formatting is client-side only
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 11:20:08 +02:00
Levi Neely e0b9f3ece7 scripts: replace -output with -json flag in oq and wrappers
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 11:17:42 +02:00
Levi Neely 2ac6378c7e scripts: emit JSONL for -output json; plain newline only for text
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 11:15:18 +02:00
Levi Neely fe23dba7b3 scripts: ensure newline after each oq result
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 11:11:32 +02:00
Levi Neely c0f13ada3e scripts: add -help to s/q and s/sched wrappers
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 11:08:38 +02:00
Levi Neely e396ea15d2 scripts: add -help to osh and oq
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 11:07:06 +02:00
Levi Neely 7a4d5fc4c8 doc: document all s/ scripts (ls, kill, q, sched)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 11:06:32 +02:00
Levi Neely f984565082 scripts: add s/sh, s/job, s/q, s/sched, s/ls, s/kill to ollie filesystem
Install scripts to ~/.config/ollie/scripts/ (not ~/bin/) so they are
served via the 9p mount without PATH changes. Add thin wrappers oq-q
(s/q, foreground one-shot) and oq-schedule (s/sched, background with
b/ path output). Switch osh and oq from OLLIE_9MOUNT to OLLIE.
Update mkfile, docs, and submodule pointer.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 11:06:05 +02:00
Levi Neely e758def35a update submodules: 9p add s/kill synthetic script
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 10:32:22 +02:00
Levi Neely 1860f67ab0 update submodules: 9p remove tailable machinery from non-chat files
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 10:20:39 +02:00
Levi Neely 039f2c119a update submodules: tui master 2026-04-18 09:53:36 +02:00
Levi Neely e00846d65e update submodules: merge ollie-tmp into master 2026-04-18 09:53:04 +02:00
Levi Neely 4daf9464f4 doc: log store federation idea; clarify no new implementation needed
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 23:49:30 +02:00
Levi Neely e9f10eeb92 add remote access via TCP: Containerfile, mount subcommand, docs
- Containerfile: multi-stage podman build for running olliesrv as a
  remote server (port 9564, no FUSE needed on server side)
- olliesrv mount <address> [mountpoint]: mounts a remote olliesrv
  namespace locally via 9pfuse over TCP
- olliesrv start -tcp <addr>: adds TCP listener alongside Unix socket
- README: document remote access and container usage
- doc/IDEAS.md: remove Network & Remote Access (implemented)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 23:32:37 +02:00
Levi Neely 28150207db 9p: update submodule (TCP listener and mount subcommand)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 23:12:31 +02:00
Levi Neely 57b037d238 oq: add -bg flag and trailing newline on exit
-bg submits the job and exits immediately, printing session id(s) for
later retrieval via b/<id>/result; implicitly enables -keep.
A trailing newline is printed on all exit paths via an EXIT trap.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 22:46:50 +02:00
Levi Neely 2348ca7e9c 9p: update submodule (tr/ remove handler)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 22:38:42 +02:00
Levi Neely 5535e0edbb transcript: add tr/ store, save via chat write or ctl save
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 22:35:07 +02:00
Levi Neely 5cfef55336 doc: remove Persistent Memory idea (implemented via m/)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 22:23:19 +02:00
Levi Neely c06bd3b223 doc: remove redundant develop->review->test example
Covered by the predefined workflows shell script below.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 22:21:45 +02:00
Levi Neely e992ae7ad5 9p: update submodule (offset fix)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 22:17:39 +02:00
Levi Neely 64b10b7226 doc: document offset file semantics
offset points to chat position after the last user prompt;
tail -c +$((offset+1)) yields the model response for that turn.
Replace stale reply references in prompts, help, ideas, and skills.
Document offset usage in concurrent sessions pattern and shell script.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 22:17:33 +02:00
Levi Neely 74b1cc8bbf 9p: update submodule (offset file)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 22:06:23 +02:00
Levi Neely fdc9707272 doc: use offset file in predefined workflow script
Replace manual wc -c pattern with server-maintained offset file.
Document offset in help.md session file listing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 22:05:16 +02:00
Levi Neely c2f4694ad8 doc: add predefined workflows section with updated shell script
Replace reply-based polling with chat offset pattern and named
sessions. Agents have no knowledge of each other; coordinator
script drives the workflow explicitly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 22:00:06 +02:00
Levi Neely 9ae565957c doc: remove Sub-Agents idea (implemented via subagent_spawn)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:51:25 +02:00
Levi Neely 4ad8e52ce9 doc: fix stale session management references
Update s/new syntax (no 'new' prefix), rm -r for kill, and correct
Python script to use s/new and shutil.rmtree instead of top-level ctl.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:50:40 +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 8aeefe43fa Merge branch 'remove-execute-pipe' 2026-04-16 21:40:09 +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 846067ceb6 Merge branch 'remove-execute-tool' 2026-04-16 21:28:43 +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 0ee9b79de5 execute: update submodules (execute_tool removal)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:18:24 +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 f179397023 core: update submodule (update execute_* tool docs)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:05:10 +02:00
Levi Neely 76ed21c10d core: update submodule (remove integrations from README)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:03:37 +02:00
Levi Neely 182df0b8b6 9p: update submodule (document core primitives in README)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:02:45 +02:00
Levi Neely 5e5a82b387 doc: move observations from README to doc/OBSERVATIONS.md
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 21:00:19 +02:00
Levi Neely ab84ddc6c4 9p: update submodule (result=status on failure) 2026-04-16 20:55:09 +02:00
Levi Neely 8f414600b2 9p: update submodule (batchstore error surfacing fix) 2026-04-16 20:46:57 +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 d84a68e9e1 prompts: recommend 300s timeout for subagent_spawn execute_code steps 2026-04-16 20:33:27 +02:00
Levi Neely d1cd906db1 prompts: add heterogeneous fan-out pattern to subagents fragment 2026-04-16 20:22:42 +02:00
Levi Neely 427161638f prompts: strengthen subagent spawn bias for parallel independent tasks 2026-04-16 20:19:59 +02:00
Levi Neely 792ea4663f subagents: add subagent_spawn tool and system prompt fragment
tools/subagent_spawn: fork-join over b/; spawns N parallel subagents
with a shared prompt, polls status concurrently, joins results in
submission order.

prompts/08_subagents.md: core system prompt fragment — when to spawn,
flags, output format, design rules. Always in context, not a skill.
2026-04-16 20:14:57 +02:00
Levi Neely 44111ea4d5 skills: update submodule (execute-pipe skill) 2026-04-16 20:07:35 +02:00
Levi Neely 060110f0f8 execute: parallel steps, pipeline stages, language selection docs
- prompts/02_tools.md: parallel execution and language selection sections
- skills/execute-pipe/SKILL.md: new skill — pipeline patterns, parallel
  fan-out, ETL pattern, language selection table, when to load guidance
- core submodule updated to parallel execute_code/execute_pipe
2026-04-16 20:06:10 +02:00
Levi Neely 3fa9c80fec 9p: update submodule (README for b/ namespace) 2026-04-16 19:41:50 +02:00
Levi Neely e32d96962f doc: update for b/ batch namespace
- doc/help.md: add b/ to filesystem layout, remove s/{id}/reply
- README.md: update sub-agents and composability blurbs to reference b/
2026-04-16 19:41:40 +02:00