M5: affected tests at turn end (closes #35 #36 #37 #38 #39 #40 #41)
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s

This commit is contained in:
hermes committed 2026-09-30 15:03:17 +00:00
1 parent 4592887325
commit f4e55c8dd3
8 files changed
+1347

No files matched your search

+7
View File
@@ -31,6 +31,7 @@ mode = "turn_end" # turn_end | agent_end | off
disable = ["clangd"]
enable_runners = ["clippy"] # opt-in (slow): clippy
disable_runners = ["rustfmt"] # any of: ruff, biome, eslint, ast-grep, rustfmt, ruff-format, biome-format
tests = "turn_end" # affected tests: turn_end | agent_end | off
# [[lsp.servers]] # add or override (same id replaces built-in)
# id = "zls"
# language = "zig"
@@ -55,6 +56,12 @@ their changes don't trip the read-guard. Files edited outside hx are picked up a
`diag_mark` lets the model silence a finding (`false_positive` = forever, `defer` = until the file changes),
stored in `~/.hx/projects/<project>/triage.json`. Runner timings go to `~/.hx/latency.log`.
Affected tests run after each tool round that changed files; only failures are injected (plus one
"all pass now" notice after they're fixed). Supported: cargo, pytest, vitest, jest, `go test`. Selection is
a heuristic: Rust runs the changed crate and crates depending on it; Go the changed package and importers;
Python/JS the test files that are changed or import a changed file (up to 3 hops). Rust/Go therefore
over-select (whole crates/packages); dynamic imports, fixtures and data files are not tracked.
Existing Claude Code (`~/.claude/.credentials.json`) and Codex CLI (`~/.codex/auth.json`) logins are picked up automatically.
Credentials are stored in `~/.hx/auth.json` (mode 0600) and refreshed automatically.