Skip to content

lha 1.0.0

Choose a tag to compare

@xuziqiang98 xuziqiang98 released this 11 Jun 05:15
· 46 commits to main since this release

LHA 1.0.0 is the first stable release for Long-Horizon Tasks. This version focuses not on single-turn Q&A, but on enabling agents to continuously plan, execute, recover, and verify around a long-term goal.

Highlights

  • Added the /goal mechanism, using goals to carry multi-turn tasks while tracking execution progress, elapsed time, and context usage.
  • Replaced the early YOLO plan completion with goal-backed plan implementation, giving plan execution clear goal context and completion boundaries.
  • Supported generation, display, reordering, and recovery of proposed plans, making it more stable to view and continue plans in the TUI.
  • Introduced the local memories pipeline, allowing long-term tasks to preserve project preferences, historical decisions, and key context across sessions.
  • Improved the compaction and resume experience, reducing information loss during context compression, identity recovery, and goal-state restoration in long-running tasks.
  • Supported auxiliary roles such as delegated agent / explorer / reviewer, making it easier to split complex tasks into subtasks for parallel exploration or review.
  • Enhanced the TUI experience for long-running tasks, including sidebar status, token/context usage display, plan block rendering, scrolling, session titles, and other details.
  • Completed crates.io release boundary cleanup, with the lha CLI published as the public installation entry point for Long-Horizon Agent.

Why It Matters

The core goal of this version is to enable LHA to complete engineering tasks that “run for a long time, involve a lot of context, and require repeated verification”: first form a plan, then advance according to the goal; during the process, it can compact context, resume sessions, read local memories, invoke sub-agents, and keep task state visible in the TUI.