Repository navigation
refactor(agent-identity): read a reported status in reportedStatus() - #3330
Conversation
Move herdr-core's status-word mapping into agent-identity.ts, with no behaviour change.
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
|
Merge note (merge pass) at head 2b17e11:
|
Summary
Moves herdr-core's mapping from a program's own status word to herdr's (
working,blocked,idle,done; an error or an unknown word reads asunknown) intoserver/agent-identity.tsasreportedStatus().agentStatusOfinserver/herdr-core/snapshot.tsnow calls it. No behaviour change.It is the first step of moving status into the runtime-neutral agent-identity module, after the agent name (#3308) and the session (#3320, #3324). The next change uses it for Letta's status when no report gives one.
Validation
bun run check fast: ok (typecheck, build, unit 13060 pass).server/agent-identity.test.ts. The existing herdr-core snapshot and adapter status tests pass unchanged.