Commit Graph

2291 Commits

Author SHA1 Message Date
Levi Neely 958d3d2ddf workflows: script-based workflows with session-level CWD
- Workflows are executable scripts in data/workflows/
- New 'workflows' 9P file lists available workflows
- Goal file stores text; writing triggers workflow if status allows
- goalstatus file for status read/write, goalwait for blocking
- Session ctl accepts 'run [workflow]' command
- Session now owns CWD; agents inherit via callback
- Conductor workflow: creates agent, primes with instructions, exits
- GUI workflow combo reads from workflows, not agents
- Persistence includes goal, goalstatus, workflow, and session CWD
2026-08-17 12:00:10 +02:00
Levi Neely 743e40c2f8 selectable workflow in new session 2026-08-17 10:52:53 +02:00
Levi Neely 957617cee7 cmake: move lib9p install after GNUInstallDirs include
CMAKE_INSTALL_LIBDIR was empty when the install() ran because
GNUInstallDirs hadn't been included yet.
2026-08-17 10:35:26 +02:00
Levi Neely 2e6ec53dec AGENTS.md: update build system references from justfile to Makefile 2026-08-17 10:23:23 +02:00
Levi Neely 8b71b34fdf prompt: ban file_write from memory (prevents hallucination corruption) 2026-08-17 10:20:28 +02:00
Levi Neely dff50420ba AGENTS.md: rewrite from scratch (was corrupted garbage) 2026-08-17 10:18:18 +02:00
Levi Neely 2cde59ac3b session-level goals: goal file + goalwait + conductor workflow
Write to session/{s}/goal to set a session-level objective.
A conductor agent is spawned automatically in the background,
decomposes the goal, spawns sub-agents, and reports completion.

- goal file: write sets goal + starts conductor; read returns status
- goalwait file: blocks until goal status changes (BlockOnce)
- Conductor writes status=complete/blocked back to goal when done
- Session.Goal() / SetGoal() / GoalSignal() on Session struct
2026-08-17 10:15:00 +02:00
Levi Neely 74ba5ae7ac remove maxSteps and ResetsCounter entirely
The step budget mechanism is gone. Agents run until they finish,
are interrupted by the user, or (for sub-agents) hit the timeout.

No replacement. The human is the kill switch.
2026-08-17 09:48:58 +02:00
Levi Neely da0ee4456f sub-agent guardrails: depth, parallelism, timeout
Enforce three limits on sub-agent spawning:
- depth (default 1): sub-agents cannot spawn their own sub-agents
- parallelism (default unlimited): cap concurrent children per parent
- timeout (default 600s): sub-agents are killed after 10 minutes

Top-level agents are never constrained by timeout.

Also: refactored parseAgentNewRequest to return a struct instead of
4 positional values. Added depth/activeChildren fields to Agent.
OLLIE_SUBAGENT_DEPTH env var set on sub-agents.

Deferred: remove maxSteps (replace entirely with timeout).
2026-08-17 09:37:59 +02:00
Levi Neely ecb9406413 agent/new: fork_at= parameter for historical context forking
Sub-agents can now inherit parent context truncated at a specific
user turn: fork_at=5 means 'fork from the state after the 5th
user message.' Enables backtracking without losing unsummarized
context from before a failed approach.

Without fork_at (or fork_at=0), full history is inherited as before.
2026-08-17 09:04:57 +02:00
Ollie Agent c34f4a1b31 update KDE integration documentation and library install 2026-08-17 00:15:56 +02:00
Ollie Agent 9789eb56ff show agent reasoning output 2026-08-17 00:08:27 +02:00
Ollie Agent 68616cb247 update Kate integration prompts 2026-08-17 00:05:35 +02:00
Ollie Agent a700b91002 document IDE integration guide 2026-08-17 00:03:20 +02:00
Ollie Agent e854e91b7f replace just build orchestration with make 2026-08-17 00:01:27 +02:00
Ollie Agent 7182db56cf fix GUI dialog contrast and focus behavior 2026-08-16 23:55:43 +02:00
Ollie Agent 5d834934de sandbox update 2026-08-16 21:23:15 +02:00
Ollie Agent 349f23dd4c Make architecture overview non-phase 2026-08-16 20:50:52 +02:00
Ollie Agent e133c10e1f Fix evolution phase numbering 2026-08-16 20:50:10 +02:00
Ollie Agent ff7c4d6eb9 Add current architecture to evolution log 2026-08-16 20:49:34 +02:00
Ollie Agent 43b63cc885 Revert "Refresh current architecture overview"
This reverts commit a73f7ef5ca.
2026-08-16 20:49:14 +02:00
Ollie Agent a73f7ef5ca Refresh current architecture overview 2026-08-16 20:48:39 +02:00
Ollie Agent 5b621dccb8 Clarify editor integration mechanisms 2026-08-16 20:43:42 +02:00
Ollie Agent 8402a85bd9 Clarify Acme agent path 2026-08-16 20:39:13 +02:00
Ollie Agent d5fa7de244 Clarify Acme UI components 2026-08-16 20:37:22 +02:00
Ollie Agent 5dfb8a3e97 Call Acme and Kate clients 2026-08-16 20:33:48 +02:00
Ollie Agent bbed9f4779 Clarify editor examples are non-canonical 2026-08-16 20:33:13 +02:00
Ollie Agent 817f1722fe Expand editor integration examples 2026-08-16 20:32:36 +02:00
Ollie Agent ade5ff3dcc Frame editor integration as a pattern 2026-08-16 20:31:07 +02:00
Ollie Agent 59cc451d59 Simplify editor integration guidance 2026-08-16 20:29:18 +02:00
Ollie Agent 5134a0647b Tighten editor integration architecture 2026-08-16 20:26:28 +02:00
Ollie Agent 3c499e9295 Clarify editor integration message 2026-08-16 20:25:06 +02:00
Ollie Agent 12575fbadf Document observer and companion patterns 2026-08-16 20:21:48 +02:00
Ollie Agent f02c5c45e7 Document editor integration patterns 2026-08-16 20:19:40 +02:00
Ollie Agent e0f36e11ba Rename KDE architecture document 2026-08-16 20:17:26 +02:00
Ollie Agent 23015a0e52 Update KDE integration documentation 2026-08-16 20:15:59 +02:00
Ollie Agent 0a9cd57da3 Remove obsolete resource documents 2026-08-16 20:13:58 +02:00
Ollie Agent 17ec6d4a27 Bring evolution log up to date 2026-08-16 20:12:10 +02:00
Ollie Agent a0c161ba9b Update architectural evolution 2026-08-16 20:10:19 +02:00
Ollie Agent 2e3680e33a Summarize integration boundaries 2026-08-16 20:08:30 +02:00
Ollie Agent 7b8f6942c6 Document external plan-and-execute integrations 2026-08-16 20:07:25 +02:00
Ollie Agent 3e1697d074 Link OptMem repository 2026-08-16 20:01:19 +02:00
Ollie Agent 60ee3c62d5 Clarify internal message bus architecture 2026-08-16 19:58:25 +02:00
Ollie Agent 515137a88c Document deliberately unimplemented patterns 2026-08-16 19:56:43 +02:00
Ollie Agent b9a9fae542 Deduplicate architecture documentation 2026-08-16 19:53:40 +02:00
Ollie Agent 02f130f79e Update 9P architecture documentation 2026-08-16 19:50:35 +02:00
Ollie Agent 55a9de9710 Remove obsolete environment sample 2026-08-16 19:49:32 +02:00
Ollie Agent 45ff8a2864 Remove legacy backend environment configuration 2026-08-16 19:48:52 +02:00
Ollie Agent 16240b3e12 Consolidate tool architecture documentation 2026-08-16 19:44:09 +02:00
Ollie Agent 670fa717c7 Consolidate remote architecture documentation 2026-08-16 19:41:19 +02:00