Skip to content

Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebase.

Merge origin/release/0.24.0 into release/0.24.1

Shrish Dwivedid4cb29d5c613
diff --cc CHANGELOG.md
index 97e55eca,19a884ab..6c98ab26
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -1,23 -1,42 +1,60 @@@
# Changelog
+## Unreleased
+
+### Added
+
+- **`trail init --connect <code>`**: the onboarding on app.trailhq.com. The
+ one-time code connects this machine to the workspace (the token goes where
+ `trail login` keeps it), the page ticks off connected, mapped and learned as
+ init runs, and one summary of the repo goes up: what one lookup on the code
+ map saved, the learnings' titles, and teammates' recently pushed branches
+ that change the files you work on. Titles, counts and names only; never
+ code, diffs or session text. `--server` (or `TRAIL_URL`) points it at
+ another Trail.
+- **Workspace brains in your agents**: once connected, `trail mcp` also serves
+ the workspace's `list_brains`, `get_context`, `search_rules` and `get_rules`,
+ passed to the workspace with your token; the repo tools keep working
+ offline. Claude Code gets one user-level `trail` entry that serves just
+ those (`trail mcp --brains`); `trail logout` takes it out.
+
+ ## 0.24.0
+
+ ### Added
+
+ - **`trail init` offers what your teammates' Claude doesn't know yet** (#662):
+ what reviewers flagged on merged PRs, and Claude Code's memory of the repo.
+ Every team row names real code, and anything CLAUDE.md, AGENTS.md or a
+ learning already says is dropped. What you told Claude more than once is now
+ offered as personal only.
+ - **Learnings are asked for on real signals** (#663): a check that failed, then
+ passed after an edit; a correction followed by code work; a commit, push or
+ PR after edits; a long read that found where something lives. The ask names
+ what happened.
+ - **`trail note` checks a team learning before saving it**: it must name a file
+ or function in the repo, give a reason, and not repeat an existing learning.
+ `--replaces <file>` supersedes an old one, and `--anyway` skips the checks.
+ - **Shell parsing and command risk checks** behind trail's hooks, and new
+ learning fields (#654).
+ - **Gleam support** (#408).
+
+ ### Fixed
+
+ - Language servers are found and started on Windows (#579), and child
+ processes no longer flash console windows there (#631).
+ - Update checks honor `DO_NOT_TRACK` (#651).
+ - `--no-gitignore` is kept when build options are saved (#413), and `/graft/`
+ isn't added to `.gitignore` when git already ignores the folder (#622).
+ - Unchanged cards aren't rewritten on every build (#472).
+ - Background task notifications no longer trigger retrieval in the prompt hook
+ (#551).
+ - Deep builds: stringified concept-pass nodes are read, empty batches don't
+ tick (#395), and concept batches run in parallel (#521).
+ - LLM providers: a 200 carrying an error is retried, a forced `tool_choice`
+ that isn't honoured falls back (#502), and structured message content from
+ OpenAI-compatible providers is read (#479).
+ - The viewer keeps the selection after a pan (#630).
+
## 0.23.1
### Fixed