Commit Graph
15 Commits
Author SHA1 Message Date
johannesandClaude Sonnet 5.5 a94632ea3d chore: delete code comments, add ratchet lint and ADRs
Classify every comment as tautology, stale, excuse or decision record.
Tautology/stale/excuse comments are deleted (excuses filed as issues
#196-#236), decisions moved to docs/adr/0001-0034.

- scripts/lint-comments.sh + .comment-baseline: per-file comment count
  may only go down; wired into tests/all.sh
- .claude/skills/delete-comment: repeatable audit workflow
- cargo fmt applied to touched crates

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 13:37:32 +01:00
Johannes KresnerandClaude Opus 5.5 c2800b9554 ci: build in the cargo-zigbuild image instead of installing the toolchain per run
build / version (push) Successful in 20s
build / build (aarch64-apple-darwin) (push) Failing after 5m1s
build / build (x86_64-unknown-linux-musl) (push) Failing after 4m25s
build / release (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 17:04:43 +01:00
johannesandClaude Opus 5.5 fe6811540a ci: allow manual build runs
build / version (push) Successful in 7s
build / build (aarch64-apple-darwin) (push) Successful in 5m39s
build / build (x86_64-unknown-linux-musl) (push) Successful in 5m5s
build / release (push) Successful in 20s
The previous commit mentioned the skip marker in its body, so Gitea
skipped it; this one triggers the build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 16:36:15 +01:00
johannesandClaude Opus 5.5 10b2ccf60a nix: use release binaries as default package
The release job records the tarball hashes in bin.json and commits it
([skip ci]); flake.nix fetches the binary from the release on
x86_64-linux and aarch64-darwin and builds from source elsewhere.
Drop x86_64-darwin, nixpkgs no longer evaluates it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 16:33:03 +01:00
johannes d0f23421cd ci: add build caching
ci / check (push) Canceled after 0s
build / version (push) Successful in 6s
build / build (aarch64-apple-darwin) (push) Successful in 5m16s
build / build (x86_64-unknown-linux-musl) (push) Successful in 4m58s
build / release (push) Successful in 12s
2026-11-02 15:37:13 +01:00
johannes ee5d8371d0 ci: add release step
build / version (push) Successful in 6s
build / build (aarch64-apple-darwin) (push) Successful in 5m13s
build / release (push) Canceled after 0s
build / build (x86_64-unknown-linux-musl) (push) Canceled after 2m59s
2026-11-02 15:34:35 +01:00
johannes 926bcbf978 ci: add build pipeline
build / build (aarch64-apple-darwin) (push) Successful in 5m48s
build / build (x86_64-unknown-linux-gnu) (push) Successful in 3m40s
2026-11-02 15:08:21 +01:00
hermes a01d0cbb5b M7: json + rpc modes, subprocess extensions (closes #52 #53 #54)
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
2026-09-30 21:40:20 +00:00
hermes ee0714d271 lsp tool: offer to install a missing language server
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
2026-09-30 21:10:13 +00:00
hermes 99dc90fd3b M6: native MCP client, lazy index, mcp-serve (closes #42-#51)
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
2026-09-30 15:51:25 +00:00
hermes 1637d9274b M4: lens linters, tests, triage, watch, freshness (closes #27 #28 #29 #30 #31 #32 #33 #34)
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
2026-09-30 14:13:13 +00:00
hermes 9b8cf48e21 M3: lens LSP diagnostics + lsp tool
ci / check (push) Canceled after 0s
- seq log: monotonic project/file seq with change source
- minimal LSP JSON-RPC client (no lsp-types): framing, requests with timeout, server->client requests,
  publishDiagnostics with versions, $/progress + rust-analyzer serverStatus busy tracking
- manager: built-in table (rust-analyzer, tsserver, pyright, gopls, clangd), outermost-root detection,
  lazy spawn, idle eviction, crash restart with 2-failure breaker, degradation notes, ContentModified retry,
  session-start warmup, config overrides/disable
- turn-end hook: diagnostics for files changed this turn, errors first, per-file cap, total cap,
  unchanged findings not repeated, one 'no problems' after a fix; agent_end/off modes
- lsp tool: diagnostics, definition, references, hover, symbols
- tests: real rust-analyzer + pyright (skipped if absent); tests/lens_e2e.sh proves an introduced type error
  is surfaced and fixed without prompting

Closes #21, closes #22, closes #23, closes #24, closes #25, closes #26
2026-09-30 10:48:37 +00:00
hermes 89c9833e43 M2: interactive TUI, config, model switching, compaction
ci / check (push) Canceled after 0s
- hx-tui: ratatui app with streaming transcript, markdown-ish rendering, tool call status,
  colored edit diffs, collapsible bash/read output (ctrl-o), scrollback, spinner + footer (provider, model, ctx, tokens)
- editor: multi-line, history, word/line kill, bracketed paste, @file fuzzy tab completion; mentioned files attached
- message queue while agent runs; esc/ctrl-c abort; /model /provider /compact /clear /help /quit; resumed history shown
- hx-core: compaction (summarize older prompts, keep recent verbatim, session rebase keeps full file history),
  auto-compact at threshold; abort only ends current run
- config: ~/.hx/config.toml + project .hx/config.toml (provider, per-provider models, compact_at, max_tokens, system_prompt)
- API-equivalent cost estimate in exit summary
- tests/tui_smoke.py drives the real TUI in a pty against the fake API

Closes #15, closes #16, closes #17, closes #18, closes #19
2026-09-30 10:37:56 +00:00
hermes 21d4d2bb3d M1: agent loop, tools, sessions, context, skills
ci / check (push) Canceled after 0s
- hx-core: Tool trait + registry (schema validation, parallel calls), event bus with Block/Mutate/Inject hooks,
  agent loop (abort, max turns, AgentEnd inject), JSONL session tree (fork, resume, torn-line tolerant),
  AGENTS.md/CLAUDE.md hierarchy, skills index (bodies on demand)
- hx-tools: read (ranges, binary, images, caps), write/edit (exact match, ambiguity, CRLF, diff, read-guard), bash (merged output, timeout kills process group, tail truncation to temp file)
- hx-cli: -p runs full agent loop, --session / --continue, Ctrl-C abort, HX_BASE_URL override
- tests/e2e.sh: scripted fake Anthropic server drives write -> bash -> answer

Closes #6, closes #7, closes #8, closes #9, closes #10, closes #11, closes #12, closes #13, closes #14
2026-09-30 09:36:16 +00:00
hermes 275c00d900 Cargo workspace + CI (#1)
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
2026-09-30 09:18:56 +00:00