timeline
Find what was true at a chosen time. Resolve an entity ID to its source file and return that file's git history with commit hashes, dates, authors, and subjects.
Instructions
Return the git history of the document that holds an entity. Read-only.
Resolves ``entity_id`` to a file via frontmatter ``id:`` field, then
runs ``git log`` for that file. Use this to answer "what was true at
time T?" — Git history is the validity window; no separate
``valid_from``/``valid_to`` columns are stored.
Args:
entity_id: Frontmatter ``id`` value of the entity
limit: Max commits to return (default 20, max 200)
project: Target project name (optional)
Returns:
Newest-first list of commits with short hash, ISO date, author,
and subject. Empty result hints if the docs repo is not a git
checkout or the file has no history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| project | No | ||
| entity_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |