Repository navigation
Hydra 0.3.4: accurate file reads, cleaner digests, MCP folder limit
Correctness fixes for file reads and test digests, a tighter MCP server, and a 10,000-task held-out evaluation.
File reads (hydra read, Read head)
- Go outlines were wrong for about a third of files. JavaScript's
varpattern picked up Govarblocks, and generic functions (func Map[T any](), non-struct types (type Mode int), aliases and groupedtype ( … )specs were missed. Outlines now follow each language's own rules. - Symbol lookups now match case first (Go's
insertno longer findsInsert), no longer take a Rustlet len = …for a definition, end Python blocks where the parser does (one-linedefs and trailing comments included), skip definitions inside strings, prefer a Rust implementation over its trait signature, and stop multi-line bodyless Go functions where they end. - JavaScript generators (
function*) and Rustunsafe traitnow appear in outlines. - Checked against the language parsers on every development source file: 884 of 884 outlines and 7,070 of 7,070 symbols now match exactly. The Read held-out score rose from 96.1% to 98.2%.
Test and build digests
- A short cargo failure could come back larger than the raw log:
[unoptimized + debuginfo]was read as a diff line, which pulled in the build preamble and every passing test. Cargo status lines, passing-test lines and theRUST_BACKTRACEhint are no longer treated as failure evidence. The 20-task benchmark is now 20/20.
MCP server
- Tools now work only inside the folders the client opened. Hydra asks a client that supports MCP roots for its folders; otherwise it uses the folder it was started in, or
HYDRA_MCP_ROOTSif set. A refused folder is recorded locally, sohydra improveshows it.
Privacy
- Masking in the local usage ledger now stops at
;,&and|. Before, inA=x;B='y z'part of B's value could stay in clear. Masking an already-masked row now changes nothing.
Evaluation
- Hydra Nano v2 on a fresh 10,000-task held-out set (2,000 per head, scored once on a Kaggle T4): Files 98.1%, Read 97.6%, Test 97.5%, OS 98.0%, Git 94.2%, 97.1% overall. Git and OS score lower on wordings they had not seen before; that is the next thing to work on.