Files
united-workforce/.changeset/inject-thread-progress.md
T
xiaoju 5ed6f68e4b
CI / check (pull_request) Successful in 1m42s
feat: inject thread progress into agent prompt (#127)
Agents now receive a Thread Progress section showing current step number
and role visit count, eliminating tool calls to count turns.

- util-agent: new buildThreadProgress() helper
- agent-hermes: inject before continuation/first-visit prompt
- agent-claude-code: same injection point

Fixes #127
2026-06-06 00:40:12 +00:00

456 B

@united-workforce/agent-hermes, @united-workforce/agent-claude-code, @united-workforce/util-agent
@united-workforce/agent-hermes @united-workforce/agent-claude-code @united-workforce/util-agent
patch patch patch

feat: inject thread progress into agent prompt (#127)

Agents now receive a "Thread Progress" section in their prompt showing the current step number and how many times the current role has spoken before. This eliminates the need for agents to make tool calls (terminal, delegate_task) just to count their own turn history.