xml-pipeline/agentserver
dullfig 8aa58715df Add TodoUntil watcher system for async confirmation tracking
Implements an observer pattern where agents can register watchers
for conditions on their thread. When the condition is met, the
agent gets "nagged" on subsequent invocations until it explicitly
closes the todo.

Key components:
- TodoRegistry: thread-scoped watcher tracking with eyebrow state
- TodoUntil/TodoComplete payloads and system handlers
- HandlerMetadata.todo_nudge for delivering raised eyebrow notices
- Integration in StreamPump dispatch to check and nudge

Greeter now demonstrates the pattern:
1. Registers watcher for ShoutedResponse from shouter
2. On next invocation, sees nudge and closes completed todos
3. Includes nudge in LLM prompt for awareness

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 16:51:59 -08:00
..
auth initial dir structure 2025-12-25 21:52:36 -08:00
config initial dir structure 2025-12-25 21:52:36 -08:00
listeners major changes to message bus, and xml listener 2026-01-01 15:27:20 -08:00
message_bus Add TodoUntil watcher system for async confirmation tracking 2026-01-10 16:51:59 -08:00
primitives Add TodoUntil watcher system for async confirmation tracking 2026-01-10 16:51:59 -08:00
prompts major changes to base 2025-12-28 21:14:08 -08:00
schema Replace MessageBus with aiostream-based StreamPump 2026-01-10 10:41:17 -08:00
utils major changes to message bus, and xml listener 2026-01-01 15:27:20 -08:00
__init__.py initial dir structure 2025-12-25 21:52:36 -08:00
agentserver.py Major design solidification and documentation sync — December 26, 2025 2025-12-26 16:51:19 -08:00
main.py initial dir structure 2025-12-25 21:52:36 -08:00
xml_listener.py re-writing docs and code 2026-01-03 14:48:57 -08:00