witness

v0.15.1
io.github.IngTian/witness Checked 4 hours ago Published 7 days ago

Distills your sessions or any text corpus into a dated history of how its subject changed.

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

delete_observation

Delete one observation from the archive by obs_id (get ids from search_observations). Use to prune a wrong or stale observation. It is removed now; facets that rested only on it are retired at the next review, and nothing is re-read. The profile (facets) itself is not directly editable — observations are the input layer.

ParameterTypeDescription
obs_id *stringthe obs_id to delete (get ids from search_observations)

get_facets

Read the synthesized growth facets (structured attributes) for a lens. Returns current facet values — trajectory arcs, mastery markers, resilience patterns. Defaults to the 'default' lens; pass lens='math' etc. for another lens. (Facets are per-lens, so there is no cross-lens 'unified' facet set — that aggregate exists only for the narrative; use get_profile for it.) For a readable prose overview instead, use get_profile.

ParameterTypeDescription
lensstringwhich lens to read, by the name 'witness lens list' shows (e.g. 'math'); omit for 'default'

get_profile

Read the narrative growth profile (readable prose) for a lens. Omit lens (or pass 'unified') for the cross-lens portrait — an aggregate blending ALL active lenses, not a lens itself. Pass lens='default' for that lens's OWN narrative (distinct from the unified blend), or lens='math' etc. for another lens. (This defaults to the unified aggregate, whereas search_observations/get_facets default to the 'default' lens.) For precise structured attributes instead, use get_facets.

ParameterTypeDescription
lensstringomit for 'unified' (the cross-lens portrait blending ALL lenses — an aggregate view, not a lens); or name one lens: 'default' (that lens's own narrative), 'math', etc.

record_observation

Record a decision-aware observation about the user's growth/change in THIS session. Use when you (the assistant) notice something worth tracking that you have context for now but a later reviewer would miss. Stored verbatim. Tag with the relevant lens. A session label is optional.

ParameterTypeDescription
dimension *stringwhich axis this observation belongs to
observation *stringthe noticed growth/change, one sentence
evidencestringshort anchor to what happened
lensstringlens tag (default 'default')
poignancyinteger1-10 salience (default 5)
sessionstringoptional: a short label for this context; when omitted, witness files the note under mcp:<UTC date>

search_observations

Search the user's growth archive for observations related to a query. Returns past observations about how the user thinks/works/changes. Defaults to the 'default' lens; pass lens='math' etc. for another lens.

ParameterTypeDescription
query *stringthe growth/pattern question to search for
kintegermax results (default 8)
lensstringwhich lens to search, by the name 'witness lens list' shows (e.g. 'math'); omit for 'default'