š§ chore(deps): veda's hooks run sarathi 0.7.19, with kavach 0.7.19
Under work item #43.
The root pin of @veda-hq/sarathi moves from 0.7.18 to 0.7.19. sarathi 0.7.19 depends on @veda-hq/kavach 0.7.19, and v0.7.19 published both (run). The lockfile changes to match, with the integrities the release run logged.
What live sessions get once the main checkout installs this: kavach 0.7.18 to 0.7.19, from #377 (#363). Rule other-sessions-worktree is added. A call the worktree guard admits warns when this session's desktop-app record names one worktree, the shell is in another, and another live session's record names that one. veda's config leaves the rule on trial, so it warns and logs a warn row, and refuses nothing. #363 stays open until the rule refuses (Alok, 2026-11-21).
Checked locally, with the worktree's install of this pin:
pnpm checkpasses.- Three
touch probe.txtevents ran throughbash .claude/hooks/sarathi.sh PreToolUse, withCLAUDE_PROJECT_DIRset to the worktree and this session's ownCLAUDE_CODE_HOST_SESSION_ID. The refusal log was off.
| Event | Result |
|---|---|
cwd in another live session's veda worktree (confident-herschel-f502fc), with this session's session_id | exit 0, additionalContext: "kavach warning, rule other-sessions-worktree (refuses after its trial): the shell is in worktree confident-herschel-f502fc, which another live session works in; this session's is affectionate-taussig-601892ā¦", with the cd back |
the same, without session_id | exit 0, silent |
cwd in this worktree, with session_id | exit 0, silent |
After merge: Alok pulls main in the main checkout and runs pnpm install there, both at once. sarathi.sh refuses every PreToolUse call while the installed sarathi differs from the pin.
š¤ Generated with Claude Code
Summary by cubic
Bumps @veda-hq/sarathi from 0.7.18 to 0.7.19, which depends on @veda-hq/kavach 0.7.19; the lockfile updates to match.
Behavior change
- kavach 0.7.19 adds rule
other-sessions-worktree, which warns when a session's desktop-app record names one worktree, the shell is in another, and another live session's record names that one. - veda's config leaves the rule on trial, so it warns and logs a
warnrow and refuses nothing.
Rollout
- After merge, pull
mainin the main checkout and runpnpm install; until then,sarathi.shrefuses every PreToolUse call while the installed sarathi differs from the pin.