From d28ae139b6d3b736dbcfc590a26a24fe98027171 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Fri, 1 May 2026 12:05:34 +0200 Subject: [PATCH] Add ideas for post-turn hooks and JIT agent generation --- doc/IDEAS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/IDEAS.md b/doc/IDEAS.md index 758782d..32c63b6 100644 --- a/doc/IDEAS.md +++ b/doc/IDEAS.md @@ -102,3 +102,5 @@ Since agents have access to `execute_code`, a session can write and execute a wo - **Verification of Premises**: Require agents to perform an "Environment Check" before acting on prompts to prevent fulfillment of hallucinated requirements (e.g., CMake in a Makefile-only project). - **Administrative Handshake**: Force a "Sync" step at the end of every subagent task where they must receive an ACK from the parent before idling, reducing the "Done State Trap." - **Purity Reviewers**: Introduce specialized reviewer scripts that look for "extraness" (extra files, unrelated changes, or phantom technical debt) rather than just functional correctness. +- **Post-Turn Environmental Hooks**: Implement hooks for sub-agents that automatically run environmental checks (e.g., build verification or linting) after every turn, ensuring that premises and system state remain valid without manual oversight. +- **Just-in-Time (JIT) Agent Generation**: Ollie could dynamically generate specialized JSON agent configs in `a/`, tailored to the immediate task (e.g., a "Makefile Purity Expert"). These ephemeral agents could be kept if they prove reusable or deleted immediately after the subagent session concludes to prevent configuration rot.