history
Track how a coding pattern's confidence changes over time to identify adoption trends, growth velocity, or patterns that need updating.
Instructions
Show how one pattern's confidence evolved over a time window.
Returns every observation recorded against the pattern in the window,
with timestamps and source projects — useful for spotting growth
velocity, cross-project adoption, or stale patterns that should decay.
For a snapshot of the current state (not the timeline), use
get_instinct() instead.
Args:
pattern: Exact pattern key. Same format as get_instinct() —
case-sensitive, includes prefix (e.g. "seq:lint->fix").
days: Look-back window in days. Default 30.
Returns:
Dict with keys: "pattern" (str — echoed), "history" (list of
{timestamp, source, project, delta}), "data_points" (int),
"projects" (list of distinct project fingerprints seen).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||