Vestige

v4.2.0
io.github.samvallad33/vestige Checked 5 hours ago Published 1 month ago

Causal Proof Engine for AI agents: signed log, zero vectors, failures traced to their cause.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

causal_walk Causal Walk

Walk a failure backward from explicit start points (failing_test, stack_frame, ci_run, logged_write, version_range); any kind carries node_id, the memory recording the symptom. A Strata log follows recorded causal edges only and says why when none lead upstream. Results are hypotheses, not proven causes. promote=true records trail edges on the legacy engine only.

ParameterTypeDescription
lookback_daysinteger
promoteboolean
scan_limitinteger
scopestring
start_pointsarray

codebase Codebase

Code memory. Actions: 'remember_pattern', 'remember_decision', 'get_context' (patterns and decisions marked current or stale, and the scopes holding them), 'verify' (re-check anchors and, with a codebase, change records), 'reanchor' (replace reviewed evidence), 'ingest_repo' (a checkout's commits as anchored change records; previews unless dryRun=false).

ParameterTypeDescription
action *stringSave, list, and re-check code knowledge.
allScopesboolean
alternativesarray
anchorsarray
codebasestring
decisionstring
descriptionstring
dryRunboolean
filesarray
limitinteger
memoryIdstring
namestring
rationalestring
repoPathstring
revstring
scopestring
sincestring
untilstring
verifyboolean

dedup Dedup

Duplicates and exact tag maintenance. Actions: scan (default, read-only), plan_merge, plan_supersede, apply (confirm=true), undo, tag_rename, tag_merge (preview-token gated), protect, policy. Merges invalidate, never delete. Withheld on Strata in 4.0: plan_merge, plan_supersede, apply, verdict, protect.

ParameterTypeDescription
actionstring'scan' (default, read-only): exact-equality
all_scopesboolean
auto_applyboolean
confirmboolean
idstring
limitinteger
match_thresholdnumber
member_idsarray
new_idstring
old_idstring
operation_idstring
plan_idstring
possible_thresholdnumber
preview_tokenstring
protectedboolean
reasonstring
scopestring
source_tagstring
source_tagsarray
survivor_idstring
tagsarray
target_tagstring
verdictstring

forgotten_lesson Forgotten Lesson

Earlier memories on recorded causal edges from a failure, lowest FSRS retrievability first.

ParameterTypeDescription
failure_id *string
scan_limitinteger
scopestring

intention Intention

Intentions. Actions: 'set', 'check', 'update', 'list'; 'graph' evaluates evidence-aware plans through a nested command. A trigger fires on a clock or on exact equality with a handle in the check context; descriptions are never parsed.

ParameterTypeDescription
action *string'set' creates, 'check' finds triggered, 'update'
atstring
commandobject
contextobject
deadlinestring
descriptionstring
filter_statusstring
idstring
include_snoozedboolean
limitinteger
prioritystring
scopestring
snooze_minutesinteger
statusstring
triggerobject

maintain Maintain

Lifecycle: 'consolidate', 'dream', 'dream_compile', 'gc' (dry run default), 'importance_score', 'backup', 'export', 'restore'. Withheld on Strata in 4.0: consolidate, restore.

ParameterTypeDescription
action *string
afterstring
allowAnyPathboolean
batchSizeinteger
budgetMsinteger
contentstring
context_topicsarray
dry_runboolean
filtersobjectOptional filters, grouped.
formatstring
idstring
max_age_daysinteger
max_pairsinteger
max_prsinteger
memory_countinteger
mergeboolean
min_retentionnumber
min_similaritynumber
pathstring
phasestring
projectstring
scopestring
sincestring
tagsarray

memory Memory

Manage one memory: 'get', 'get_batch', 'state', 'promote' / 'demote' (demote never deletes), 'edit' (admit a successor, retire the previous node). Erasure is withheld on Strata in 4.0.

ParameterTypeDescription
action *string'get', 'get_batch' (ids), 'state', 'promote' / 'demote' (demote never deletes), 'edit' (admit a successor, retire the previous node). Erasure is withheld on Strata in 4.0.
confirmboolean
contentstring
idstring
idsarray
reasonstring
rolestring

memory_status Memory Status

Store status. Views: 'health' (default), 'retention', 'timeline' (memories by day), 'changelog' (state-change audit trail), 'provenance' (memoryId), 'coverage', 'stats' (counts by type, tag, age, retention), 'tools' (advertised tools and actions; pass tool for one schema).

ParameterTypeDescription
all_scopesboolean
detail_levelstring
endstring
limitinteger
memory_idstring
node_typestring
schema_introspectionboolean
scopestring
startstring
tagsarray
toolstring
viewstring'tools': current tool/action inventory, or one

project Project

Project the durable subset of a scope (decisions, patterns, rule-tagged facts) into a fenced region of CLAUDE.md or MEMORY.md, one memory id per line. 'preview' (default) shows the diff; 'write' needs confirm=true and replaces only the fence.

ParameterTypeDescription
actionstring'preview' (default) renders and diffs, writes
confirmboolean
filtersobjectOptional filters, grouped.
formatstring
max_itemsinteger
pathstring
rootstring
scopestring

recall Recall

Find memories by exact handle: a full memory id or an exact tag; a unique id prefix of 8+ characters also resolves. Free text and the 'reason' / 'contradictions' modes return similarity_disabled.

ParameterTypeDescription
abstain_floornumber
context_topicsarray
depthinteger
detail_levelstring
filtersobjectOptional filters, grouped.
handlestring
includeCrossScopeboolean
include_supersededboolean
limitinteger
min_trustnumber
modestring'lookup' (default): by handle. 'reason' and 'contradictions' return similarity_disabled in 4.0.
querystring
scopestring
sincestring
sourceobjectOptional filters, grouped.
topicstring

receipt Receipt

'get' shows what a write did from its receipt id; 'replay' re-derives that state from the log and reports any mismatch.

ParameterTypeDescription
action *string
paramsobject
receipt_idstring
remove_edgestring
withheld_slotsarray

selftest Selftest

Planted-cause selftest: walks recorded edges back to a planted cause in a throwaway log.

session_start Session Start

Start-of-session context in one call: open intentions, status and code memories under one token budget.

ParameterTypeDescription
changed_filesarray
contextobject
filtersobjectOptional filters, grouped.
include_intentionsboolean
include_predictionsboolean
include_statusboolean
queriesarray
scopestring

smart_ingest Smart Ingest

Save one memory ('content') or up to 20 ('items'); each write passes the gate and returns a receipt. Secret-shaped content is refused unless allowSecrets is set.

ParameterTypeDescription
acceptedTagSuggestionsobject
allowSecretsboolean
batchMergePolicystring
contentstring
forceCreateboolean
intent_idstring
itemsarray
linksarray
node_typestring
previewTagSuggestionsboolean
rolestring
scopestring
sourcestring
tagsarray
validFromstring
validUntilstring

suppress Suppress

Hide a memory from every read; the log keeps its bytes. On Strata in 4.0 it cannot be undone (reverse=true is refused) and is not erasure.

ParameterTypeDescription
id *string
cascade_derived_fromboolean
reasonstring
reverseboolean