trs

trs: Roadmap

Binary: trs Language: Rust Status: Active development

Phase 1: Release & Distribution


Phase 2: New Parsers

Improvements to existing parsers


Phase 2.5: Ideas from competitor analysis


Phase 2.9: Sweep of the learn repos, 2026-11-03

Source: the 11 repos tagged trs in spark (spark tag list trs, all pulled 2026-11-03), the TokenEconomizer paper (arXiv 2610.22732) and one gist on Claude Code background cost. Every figure from those projects is their own claim, unverified. Items marked “verified” were reproduced here. Do not name those projects in commits, docs or the changelog when shipping these (say “a similar tool”).

P1: bugs, fix first (target v0.8.11)

P2: small and cheap

P3: measure before claiming

P4: larger features, decide later

Do not copy


Phase 2.11: Token formats and real counts, 2026-11-21

Source: two approaches outside per-command compression (context rendered as images, token-oriented formats), read 2026-11-21; what each claims and what trs takes is in benchmarks/README.md. Order: measure first, then build only what the numbers support.

Not doing:


Phase 2.10: Issue sweep of similar tools, 2026-11-21

Source: the public issue trackers of similar tools and adjacent projects (open and recently closed issues). Every claim below was verified against trs source before filing.

Confirmed bugs to fix

Already tracked, new evidence

Evaluated: current behavior correct, filed for the record

Measurements to add

trs ingest signals from repo-packing tools


Exegol (our agent desktop app, github.com/dPeluChe/exegol)

Found 2026-10-21 while auditing trs stats --by-agent: Exegol’s digest.ts calls trs digest, which does not exist (it ran the system digest and failed), and its tests wrote 3,276 runs into the real ~/.trs history in a month.

Rewrite safety follow-ups (incident 2026-11-29, #317)

Phase 3: Agent integration follow-ups

Context: v0.5.6 fixed all 9 supported agents end-to-end. See docs/development/agent-integrations.md for the per-agent reference.

VSCode ecosystem (vanilla, not the forks)

Next agents: researched 2026-06-11, turnkey, gated on live validation

Evaluated: no dedicated integration needed

Ideas from a context-compression library

Context-compression layer (Python+Rust): compresses tool outputs / logs / files / RAG before the LLM, 60-95% fewer tokens. Broader scope than trs (we do terminal-command output via hooks; they do all content via library/proxy/MCP). Ideas worth a look, not adoption:

Dynamic prompt injection (deferred)

Output-saver coverage gaps

Research before building


Documentation drift (carry-over from v0.5.9)

Writing convention: no em dashes

Rule added to the injected output-saver block in #143, then applied to the tool itself. The convention now lives in CONTRIBUTING.md § Writing. What shipped (#143, #144, #145) is in completed/2608.md.

Not swept, on purpose: docs/roadmap/completed/*.md and CHANGELOG.md are dated records of a past state, and rewriting a log falsifies it. Table cells holding — for “no value” are a glyph, not prose.

Doc audit, 2026-08-26

Checked every claim in the docs against the code rather than reading for typos. What was corrected is in completed/2608.md. Still open:

Resolved in the follow-up (#149):

Still open:

From the pre-release quality pass (2026-08-28)

Four reviewers went over v0.7.5..HEAD. All of it is done and recorded in completed/2608.md, including the four items first filed as deferred. Nothing left open from that pass.

Found by the second quality pass, not fixed here (2026-08-28)

Installer and instruction-file hygiene (2026-08-28)

Both found while upgrading to v0.8.0 on a real machine.

What trs writes into agent configs (2026-08-28)

Audited the emitted artifact, not the templates, after noticing that a prompt fragment is only as good as the context it lands in.

Not a finding: four of the five inline targets (opencode, kilo, droid, devin) are files trs creates whole, so there is no foreign content to concatenate against. Only ~/.codex/AGENTS.md mixes trs blocks with the user’s own rules, which is why it was the one that broke.

Verbatim commands: known gap

Other drift found while sweeping (2026-08-26)


Phase 2.6: Internal architecture (May 2026 feedback)

Decoupling pass: “the project doesn’t need more surface, it needs less internal coupling and better quality measurement.” Command knowledge was spread across classifier / rewrite_decide / classifier_exec / stats_coverage.


Phase 3.5: Codex integration (mostly shipped, re-checked 2026-08-29)

Field finding (May 2026), re-checked 2026-08-29 against a live install. Most of this shipped without the section being updated, and one item sat here describing a bug we then rediscovered the hard way three months later.


Phase 2.5b: Competitive landscape (May 2026)

Not every competitor competes at the same layer.

trs ingest is already well-differentiated (--changed, --since-last, --fresh, --deps, --symbols, budget-aware packing, HEAD-keyed local cache). Improvements to make:


Phase 2.7: Ingest upgrade: codebase intelligence (2026-07)

Design study + rationale in INGEST_RESEARCH.md (temp doc, gitignored). Key learning from studying DeusData/codebase-memory-mcp (arXiv:2603.27277): symbol-level dead code needs AST/LSP (they hand-wrote ~15k LOC of per-language type resolution); but the highest-value pieces run on the import graph we already build, no new deps.

Shipped this cycle (PR #109/#111, draft):

Next, copy from codebase-memory-mcp (all on the existing graph, zero AST):


Phase 4: Analytics & Configuration


Phase 5: Plugin System (future evaluation)


Completed

v0.5.16

v0.5.15

v0.5.14

v0.5.13

v0.5.12

v0.5.11

v0.5.10

v0.5.9

v0.5.8 and earlier