AMMDI is an open-notebook hypertext writing experiment, authored by Mike Travers aka mtraven. It's a work in progress and some parts are more polished than others. Comments welcome! More.
Nose Goblins and LiveWorld both had some tools for reifying execution histories and making them more agent-like. There are a few closely related ideas:
procedures that have explicit goals
procedure invocations that have state relative to the goal (suceeded, failed, etc)
call trees as goal trees
representation of goal states using anthropomorphic or narrative techniques