Commit Graph

597 Commits

Author SHA1 Message Date
Levi Neely ed178dfad0 u/complete: prompt to complete logical unit, not just minimal insertion 2026-05-03 21:32:40 +02:00
Levi Neely a9a0a13209 core: update submodule (interrupt rollback, batch dedup) 2026-05-03 21:27:52 +02:00
Levi Neely e62c224e2d reasoning_think: add 200-word length constraint
Prevents the scratchpad from becoming a multi-page stream-of-consciousness
monologue that pollutes the context window.
2026-05-03 21:23:34 +02:00
Levi Neely 410335cb51 u/complete: split into completion engine + acme glue (Kmpl)
u/complete is now acme-free: reads prefix from stdin, takes -suffix,
-file, -model, -backend flags. Prints completion to stdout.

acme/scripts/Kmpl is the thin acme wrapper that extracts prefix/suffix
from the window and pipes to u/complete.

Also fixes prefix truncation bug (bash substring returning empty when
string is shorter than offset) and updates core submodule with
interrupt handling improvements.
2026-05-03 21:10:57 +02:00
Levi Neely 2b77ca0a34 el: update submodule (code completion docs) 2026-05-03 15:52:35 +02:00
Levi Neely 344dde9cb5 el: update submodule (ellie-complete ghost-text completion) 2026-05-03 15:50:34 +02:00
Levi Neely 6d2442abce README: rewrite intro to cover copilot-to-agent spectrum 2026-05-03 15:09:06 +02:00
Levi Neely 2f7107d44c u/complete: strip markdown fences, insert at cursor, info to stderr
Also set tools:false on copilot agent and update core submodule
with the new tools config field.
2026-05-03 14:59:05 +02:00
Levi Neely 57e383b02b doc: add u/complete code completion section to USAGE.md 2026-05-03 14:31:44 +02:00
Levi Neely ebea90d5f7 u/complete: fix TOCTOU race spawning duplicate copilot sessions
Use deterministic session ID derived from cwd hash instead of
timestamp. Concurrent invocations for the same directory now
converge on the same session name, and the server rejects the
duplicate atomically.
2026-05-03 14:08:15 +02:00
Levi Neely 3c03faed3a u/complete: persistent copilot session per cwd; add freeloader hook
- Replace per-invocation s/bfg calls with a persistent *-copilot session
  looked up from s/idx; first call in a cwd spawns the session, subsequent
  calls reuse it, skipping s/new overhead
- Clear context after each completion so inference stays fast
- Fix session lookup to read s/idx instead of globbing the 9P mount
- Add x/freeloader turnError hook to copilot.json

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 13:54:29 +02:00
Levi Neely cddda76a3f u/complete: add model/backend flags and env var support; fix winid=0
- Add -model and -backend flags; read OLLIE_COMPLETE_MODEL /
  OLLIE_COMPLETE_BACKEND as defaults; error if neither is set
- Guard against winid=0 (acme column tag / +Errors window)
- Document OLLIE_COMPLETE_MODEL and OLLIE_COMPLETE_BACKEND in
  README.md and doc/env.sample

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 13:43:30 +02:00
Levi Neely 2c8e59e7f5 acme: add u/complete for AI ghost-text code completion
Adds a u/complete script that reads prefix/suffix from the current acme
window via dot position, submits a fill-in-the-middle prompt to ollie
via s/bfg, and writes the completion to a new ollie/complete window.

Also adds a minimal copilot agent config (no system prompt, no tools)
for use by u/complete, and wires both into the install target in mkfile.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 13:30:26 +02:00
Levi Neely b0be365f88
Clarify Identity-Specific Rigor description
Refine the phrasing in the Future Work section to enhance clarity.
2026-05-02 14:30:21 +02:00
Levi Neely 2bd0a45271
Revise TRIAL_2.md for weather.GetWeather updates
Update documentation to reflect changes in weather.GetWeather return type and future work steps.
2026-05-02 14:29:34 +02:00
Levi Neely 491bec350e add Future Work section to TRIAL_2.md 2026-05-02 14:28:09 +02:00
Levi Neely 14a602d948 document failed subagent trial (TRIAL_2) and update coordination protocol guidance 2026-05-02 14:27:30 +02:00
Levi Neely 430008144d update core submodule: simplify compaction 2026-05-02 14:02:30 +02:00
Levi Neely 2bbaecb531 JIT subagent generation via subagent_generate | xargs subagent_spawn
- rename agent_generate to subagent_generate
- subagent_generate reads JSON from stdin, copies default.json as base,
  replaces prompt with SYSTEM_PROMPT + identity text
- update tools-subagent.md to enforce composition pattern
- remove unused agent configs and prompts (devops, qa, reviewer,
  sysarchitect, writer)
- update agents/README.md
- update core submodule (remove stale-read pruning)
2026-05-02 13:50:52 +02:00
Levi Neely af6547eb3a subagent_spawn: use /bin/date to avoid plan9 date 2026-05-02 10:50:14 +02:00
Levi Neely daa135a768 acme: update submodule (unconditional build) 2026-05-02 10:47:22 +02:00
Levi Neely 39daaae1f4 acme: update submodule (raw idx display) 2026-05-02 10:43:42 +02:00
Levi Neely e17a11ad4d acme: update submodule (show cwd in session list) 2026-05-02 10:42:51 +02:00
Levi Neely 6c49d3a30c mkfile: add acme target, install to $HOME/bin/Ollie 2026-05-02 10:40:48 +02:00
Levi Neely f1630bf2d6 core: update submodule (test sandbox + bc fix) 2026-05-02 10:40:08 +02:00
Levi Neely 1ca9a41ed6 acme: update submodule (fix leaf name resolution) 2026-05-02 10:36:17 +02:00
Levi Neely 203a6f9dce acme: update submodule (remove tree collapse) 2026-05-02 10:34:42 +02:00
Levi Neely 1069aed2b5 prompts: JIT agents are the default, not a fallback 2026-05-02 10:31:08 +02:00
Levi Neely 783897ba50 core: update submodule (literal prompt strings, timeout schema fix) 2026-05-02 10:30:10 +02:00
Levi Neely 7af0c3fdbf prompts: document JIT agent generation in subagent prompt 2026-05-02 10:30:06 +02:00
Levi Neely bee78e308c tools: add agent_generate for JIT agent creation
New tool that generates a temporary agent config from a base agent
with custom identity text. Returns a unique agent name (jit-<hex>)
for use with subagent_spawn. Single file in a/, no p/ file needed.
2026-05-02 10:29:06 +02:00
Levi Neely 7cad76ed66 core: update submodule (consecutive tool error limits) 2026-05-01 15:57:41 +02:00
Levi Neely d8508d650d
Update TRIAL_1.md 2026-05-01 12:59:26 +02:00
Levi Neely 26f868b399
Update TRIAL_1.md 2026-05-01 12:53:37 +02:00
Levi Neely 8186e2cbf2
Revise recovery procedures and clarify agent interactions
Updated the recovery procedures section to clarify human intervention steps and technical debt resolution processes.
2026-05-01 12:39:15 +02:00
Levi Neely aca064e810
Document recovery procedures for agent issues
Added details on recovery procedures for agent states and hallucination detection.
2026-05-01 12:37:58 +02:00
Levi Neely c2b50509a8
Revise TRIAL_1.md with orchestration insights
Updated the documentation to clarify issues encountered during the agent orchestration process, including notification failures, state desynchronization, and hallucination of unnecessary files. Added proposed recovery procedures and future work suggestions to enhance agent performance.
2026-05-01 12:35:59 +02:00
Levi Neely a04fa58e88 Add introspection and visibility observation 2026-05-01 12:12:05 +02:00
Levi Neely 0facee4aee Add observations on system introspection and visibility 2026-05-01 12:11:34 +02:00
Levi Neely 645b37753c Document identifier slippage in Trial 1 2026-05-01 12:09:51 +02:00
Levi Neely d75c7a5cf0 Relocate Trial 1 research ideas to TRIAL_1.md under Future Work 2026-05-01 12:07:58 +02:00
Levi Neely d28ae139b6 Add ideas for post-turn hooks and JIT agent generation 2026-05-01 12:05:34 +02:00
Levi Neely f4ab9797cb Organize Trial 1 ideas under dedicated header 2026-05-01 12:04:09 +02:00
Levi Neely ec0118583d Restore original doc/IDEAS.md and append new ideas 2026-05-01 12:03:25 +02:00
Levi Neely 78ef086c7e Move IDEAS.md to doc/ directory 2026-05-01 12:02:45 +02:00
Levi Neely 02a7ada6aa Add architectural ideas from Trial 1 2026-05-01 12:01:38 +02:00
Levi Neely 79395ef450 Add Experiment Trial 1: Multi-agent coordination analysis 2026-05-01 11:57:47 +02:00
Levi Neely c709b0711f docs: note s/{id}/context for debugging 2026-05-01 10:44:27 +02:00
Levi Neely 5682065bbd restore readmulti, update s/sh command reference in USAGE.md 2026-05-01 10:41:07 +02:00
Levi Neely 8d0c0c51a3 docs: update filesystem spec to match current implementation (cfg, remove stale files) 2026-05-01 10:37:58 +02:00