Brain lens — machine-readable views of a brain (freshness · provenance · activity · timeline · orrery · unresolved)
brain_lensCheck freshness, provenance, activity, timeline, orrery, and unresolved on a canvas. Use structured data to find stale notes, identify authors, review weekly changes, and locate undecided items.
Instructions
The data twin of the desktop app's Brain Lenses: ONE structured payload any surface (agent, web viewer, iOS) can render. Views: freshness (age buckets + stale open ❓), provenance (who wrote the brain, by channel: you/claude/cursor/git/gardener/…), activity (last 7 days), timeline (birth-order events — the Replay spine; events included only for view:"timeline"), orrery (focus+context neighborhood of one card: 1/2/3-hop ring-capped nodes + typed edges — pass root as a card title prefix or id, defaults to the most-connected hub), unresolved (open-❓ triage, oldest first, with typed evidence). Read-only by construction — it never writes. Use it to answer "what's rotting / who wrote this / what happened this week / what's around X / what's undecided" with receipts, or to feed a UI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Orrery center: a card title prefix or id. Default: the most-connected hub card. | |
| view | No | Which lens to compute (default "all" — every section, timeline events omitted from structured output unless view is "timeline"). | |
| limit | No | Cap for recent-activity entries (default 30). | |
| canvas | No | Canvas filename/path. Defaults to the project brain ("brain"). | |
| staleDays | No | Open questions older than this count as stale (default 21). | |
| structured | No | Also return the full machine-readable lens object (large — tens of KB). Default false: the markdown answers the question, and the object was previously attached to every call whether or not anything read it. |