feat: hermes merkle detail — session turns as CAS tree (Phase 2 of #337) #339
Reference in New Issue
Block a user
Delete Branch "feat/337-agent-detail-merkle"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Hermes agent now stores session detail as a merkle CAS tree.
How
session_idfrom hermes stdout~/.hermes/sessions/session_{id}.jsonhermes-turnCAS nodehermes-detailnode references all turn hashes viacas_refhermes-raw-outputif session file unavailableFiles
uwf-agent-hermes/src/session-detail.ts— session parsing + CAS storageuwf-agent-hermes/src/schemas.ts— 3 schemas (turn, detail, raw-output)uwf-agent-hermes/src/types.ts— type definitionsuwf-agent-hermes/__tests__/session-detail.test.ts— 7 testsRef
Closes #337