decisiontrail
v0.1.0Local decision memory for coding agents: record decisions with limits, search precedents, supersede.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
elen_commit
Commits a new decision to the graph, with its constraints as a plain-text list.
| Parameter | Type | Description |
|---|---|---|
text * | string | The decision itself |
constraints | array | The limits that bound the decision, as plain-text entries |
domain | string | Optional domain the decision belongs to |
elen_log_decision
Creates a validated Decision Record from constraints, evidence and an answer.
| Parameter | Type | Description |
|---|---|---|
answer * | string | The answer the decision records |
constraints * | array | The constraints the record was validated against |
evidence * | array | The evidence supporting the record |
domain | string | Optional domain the record belongs to |
text | string | Optional summary text for the record |
elen_expand
Expands a decision ID into its full constraints and text.
| Parameter | Type | Description |
|---|---|---|
id * | string | The decision ID to expand |
elen_suggest
Retrieves short pointers to prior decisions before you make a new one.
| Parameter | Type | Description |
|---|---|---|
query * | string | What the new decision is about |
limit | integer | Maximum number of pointers to return (default 5) |
elen_search_precedents
Searches validated decisions for precedents.
| Parameter | Type | Description |
|---|---|---|
query * | string | The topic to find precedents for |
limit | integer | Maximum number of records to return (default 5) |
elen_supersede
Revises an older decision and marks it superseded by a new one.
| Parameter | Type | Description |
|---|---|---|
id * | string | The ID of the decision being superseded |
text * | string | The new decision that replaces the old one |
constraints | array | The new decision's constraints, as plain-text entries |
domain | string | Optional domain for the new decision |
elen_get_context
Gives an overview of active decision threads grouped by domain, for the start of a session.
elen_status
Returns the agent, project, database path and counts, to check the namespace before committing.
elen_get_competency
Shows the competency profile for this agent, built from its validated decision history.
elen_consolidate
Suggests clusters and duplicate or stale candidates without changing the graph.