Merge pull request 'chore: add changeset for session resume fix (#139)' (#141) from chore/139-changeset into main
CI / check (push) Successful in 3m36s
CI / check (push) Successful in 3m36s
This commit was merged in pull request #141.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
---
|
||||
"@united-workforce/util-agent": patch
|
||||
"@united-workforce/agent-claude-code": patch
|
||||
"@united-workforce/agent-hermes": patch
|
||||
---
|
||||
|
||||
fix: decouple session resume from isFirstVisit guard
|
||||
|
||||
When frontmatter validation fails, the step is never written to CAS, so isFirstVisit remains true on the next run. Both adapters now always check the session cache regardless of isFirstVisit. When resuming after a frontmatter-only failure (isFirstVisit + cache hit), a minimal correction prompt is sent via buildFrontmatterRetryPrompt() instead of re-sending the full initial prompt.
|
||||
Reference in New Issue
Block a user