Skip to content

Hydra 0.3.3: line blame, written-out ranges, installer hardening

Choose a tag to compare

@rahul05ranjan rahul05ranjan released this 20 Nov 04:43

Fixes for two git questions that real use answered wrongly, plus the remaining hardening from the 0.3.2 security audit.

Git head

  • Questions about a line now blame that line. "Which commit last changed line 16 of x.js", x.js:16 and "lines 10-20 of x.js" used to return the file's log, whose top commit need not have touched the line. They now run git blame -L on exactly those lines. The code reads the line numbers from the question; the model never supplies them. The result comes back whole.
  • A range written in the question is used as written. master..origin/master used to become master..HEAD, which is empty when you are behind your remote. Now an A..B or A...B range whose ends git can resolve goes to log or diff unchanged. Questions about files, paths or a patch, and three-dot ranges, get the range's diff. If the 50-commit cap cuts the list short, a last line says how many commits the range holds.
  • Inside such a range, a word from the question ("what themes stand out") is no longer turned into a commit-message filter unless the question asks about messages.

Hardening

  • The installer runs a pinned skills CLI (1.7.6) instead of whatever is newest on the registry.
  • The installer looks for npx only in absolute PATH entries, so a project folder can't supply its own.
  • Installing into a tool's JSON config no longer replaces a hydra MCP entry that Hydra didn't write; it reports it instead, as the Codex TOML writer already did.
  • Ledger masking stops at ;, & and |. Before, in A=x;B='y z' part of B's value could stay in clear. Masking an already-masked row now changes nothing.
  • .gitignore covers common credential files (*.pem, *.key, credentials*.json, kaggle.json).