decisiontrail

v0.1.0
io.github.CloudCorpRecords/decisiontrail Checked 4 days ago Published 1 month ago

Local 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.

ParameterTypeDescription
text *stringThe decision itself
constraintsarrayThe limits that bound the decision, as plain-text entries
domainstringOptional domain the decision belongs to

elen_log_decision

Creates a validated Decision Record from constraints, evidence and an answer.

ParameterTypeDescription
answer *stringThe answer the decision records
constraints *arrayThe constraints the record was validated against
evidence *arrayThe evidence supporting the record
domainstringOptional domain the record belongs to
textstringOptional summary text for the record

elen_expand

Expands a decision ID into its full constraints and text.

ParameterTypeDescription
id *stringThe decision ID to expand

elen_suggest

Retrieves short pointers to prior decisions before you make a new one.

ParameterTypeDescription
query *stringWhat the new decision is about
limitintegerMaximum number of pointers to return (default 5)

elen_search_precedents

Searches validated decisions for precedents.

ParameterTypeDescription
query *stringThe topic to find precedents for
limitintegerMaximum number of records to return (default 5)

elen_supersede

Revises an older decision and marks it superseded by a new one.

ParameterTypeDescription
id *stringThe ID of the decision being superseded
text *stringThe new decision that replaces the old one
constraintsarrayThe new decision's constraints, as plain-text entries
domainstringOptional 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.