inspect_mcdev_git_range
Compares Git metadata between two explicit refs and optionally checks if the source commit is contained in the target to assess promotion or back-promotion direction. Read-only, local snapshot.
Instructions
Read-only Git metadata comparison of two explicit refs, not promotion policy or execution readiness. Optional declaredEdge assesses only exact-source-commit containment in the target, with the same source-to-target direction for promotion and back-promotion. Local snapshot only; remote freshness and remote BU synchronization are unknown. No inferred branch roles or backpromotions, auth/log/artifact/commit-content reads, branch changes or native mcdev/live execution. Prevent concurrent project/Git mutation; not an atomic snapshot. Separate from inspect_mcdev_project auth protection checks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceRef | Yes | Explicit source branch or full ref, never a revision expression. | |
| targetRef | Yes | Explicit target branch or full ref, never a revision expression. | |
| declaredEdge | No | Optional caller-declared intent; never reverses source and target. | |
| workspaceRoot | Yes | Canonical absolute mcdev project root. |