šŸ“ docs(lessons): seven lessons held or shown at their moment, sarathi 0.7.17 (L-12)

Merged
AT
8d ago
+17-11

Seven of veda's lessons stop counting as "nothing holds", with no code change. The veda half of 0165 L-12 (athya-hq/athya_mono#3833); Alok šŸ‘'d #361's Proposal on 2026-11-21.

Held by a check (a held by line naming the check that already refuses the mistake):

  • "The sync tool's default base can be stale.": kavach sync-base-on-origin.
  • "Named workflows resolve from the main checkout.": kavach workflow-name-in-worktree.
  • "Untracked files and fixture keys.": agnipariksha's changed files. A run judges an untracked file whole; the gitleaks half stays a doc.

Shown at their moment (a when line and its sample in docs/lessons/when-samples.tsv):

  • "Function-hook mods.": an edit of a mod's hooks module calling $.tool.register or $.clock.after/every.
  • "Require branches up to date" re-bills the reviewer: a JSON edit turning on strict_required_status_checks_policy.

Folded into the bullet that already owns their moment (two when lines on one pattern would both fire):

  • "NEUTRAL after a rebase" joins "Re-triggering a review" (gh pr comment … @cubic), scoped to Mergify, since veda's ruleset passes a neutral check.
  • "Stacked PRs and subagent watchers" joins "A green PR that never queues" (@mergifyio refresh|queue).

Release: the lessons ship inside sarathi (copied in at build), so this PR also sets @veda-hq/sarathi to 0.7.17 (package.json and VERSION in src/cli.ts). The 0114 coordinator gave it the v0.7.17 slot; v0.7.16 is the latest tag. Nothing else under packages/ changed since v0.7.16, so every other package stays at the version npm serves. v0.7.17 is tagged on main after this merges; athya_mono then pins sarathi 0.7.17. (A separate release PR was refused: one slice, one pull request.)

Not as planned: "Suppressions need AlertSuppression.ql" went to #359 as a Brief; "Every job is rounded up to a minute" stays a doc. Related Briefs: #356, #357, #358, #359.

Checks: sarathi's src/hooks/lessons.test.ts passes (25/25: every when line has a sample that fires it and no other; everyday calls fire none); pnpm check passes; after the bump, pnpm --filter @veda-hq/sarathi check passes.

Slice: #361

šŸ¤– Generated with Claude Code