What it does
decisiontrail stores the decisions a coding agent makes, such as which database or release cadence to use, together with the constraints they were made under. Validated decision records, which hold constraints, evidence and an answer, are the ones precedent search draws on. Old decisions are never edited in place: a revision creates a successor record, and the old one is marked superseded with links in both directions. The toolset covers recording and expanding decisions, suggesting and searching precedents, superseding, reviewing active threads and coverage, and listing duplicate and stale candidates without changing anything. It is a local rebuild of the local tools of the elen MCP server, ten of its twelve tools.
It is useful when an agent should find a prior decision and its limits instead of deciding again from scratch, or when a changed call needs an explicit, traceable revision. Teams can also use the coverage and consolidation tools to see how many records are validated and which records may be duplicates or older than 90 days.
All decisions live in a single JSON file on the local machine, set by the DECISIONTRAIL_DB variable or stored by default in the home directory. The package runs as a CLI, where each tool is a subcommand taking one JSON argument, or as an MCP server configured in an MCP client. A container image is also available, defaulting to the MCP server. Writes are atomic, and decision IDs are sequential. The namespace reported by status is set through DECISIONTRAIL_AGENT and DECISIONTRAIL_PROJECT.
Limitations and requirements
The connected-mode tools elen_incoming and elen_team_search are not included; they require a hosted workspace, a login and an API key. Precedent search uses validated records only. Decisions in a container persist only if a volume is mounted over the store directory.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 13 Nov 2026 · its page on the source
io.github.CloudCorpRecords/decisiontrail
Local decision memory for coding agents: record decisions with limits, search precedents, supersede.
v0.1.0As shown on registry.modelcontextprotocol.io when we last read it