source_staleness
Detect if an indexed source is out of date versus its upstream HEAD. Uses git rev-parse for local paths and git ls-remote for URLs, returning indexed_sha, current_sha, and is_stale.
Instructions
Check whether an indexed source is out of date relative to its current upstream HEAD. For local-path sources, resolves via git rev-parse; for URL sources via git ls-remote. Returns {indexed_sha, current_sha, is_stale} — is_stale is null for non-git inputs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_id | Yes |