šŸ”§ chore(deps): veda's hooks run sarathi 0.7.19, with kavach 0.7.19

Merged
AT
7d ago
+10-10

Slice: #375
State: #379

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 check passes.
  • Three touch probe.txt events ran through bash .claude/hooks/sarathi.sh PreToolUse, with CLAUDE_PROJECT_DIR set to the worktree and this session's own CLAUDE_CODE_HOST_SESSION_ID. The refusal log was off.
EventResult
cwd in another live session's veda worktree (confident-herschel-f502fc), with this session's session_idexit 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_idexit 0, silent
cwd in this worktree, with session_idexit 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 warn row and refuses nothing.

Rollout

  • After merge, pull main in the main checkout and run pnpm install; until then, sarathi.sh refuses every PreToolUse call while the installed sarathi differs from the pin.