Hacker News new | ask | show | jobs
by leonkatz 14 days ago
Love the "session is a document, not a log" model — linear scrollback is the worst part of long agent sessions.

When you fork a sub-thread, does the model get the full parent context up to the branch point, or can you trim what carries over? Context bloat across a lot of branches feels like the hard part.

1 comments

Originally I allowed the LLM to decide whether a subthread inherits the parent context, but had to back out of that one. I found quite expensively that if the parent context includes an instruction to do a task in a subthread, it could fly off into an infinite recursion of subthreads all burning tokens to delegate the task to a subthread!

So I've just made it so they don't inherit! If we find a situation where inheriting is useful and safe, it'd be easy to add again.