Files
donlucasandClaude Fable 5.1 00738f6065 The generic adapter: a program with no hooks drives the scape from its own output
The brief's second adapter, verbatim: busy = alive + output activity,
done = prompt back. internal/watch turns the hosted program's traffic
into protocol events: Enter is a prompt, each second of continuous
output is one tool event (a count, never a byte rate), and a burst of at
least 1.5 s followed by 4 s of quiet is a done, with the last printed
line on the sand, escapes stripped. It cannot tell a question from a
finish, so the ask cue never rings from it, and it says so.

The host grows two byte taps (OnOutput, OnInput). xscapes inside takes
-watch=auto|on|off, auto by default: the adapter runs until an agent's
hooks announce a session, and hooks outrank it. A reducer fed this way
has no bus, so the frame loop no longer assumes one.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-16 09:50:48 -07:00
..