Plumb SourceHEAD through bridge + render in human output

Commit

Soph4mo ago

internalbridge.ProbeResult adds a SourceHEAD field; bridge.SyncResult's ExecutionSummary gets one too. CLI JSON output picks them up automatically through the From* conversions.

Result.Lines() and ProbeResult.Lines() emit a "source-head: <ref>" line when non-empty, matching the existing "source: <url>" / "ref-prefixes" style. The line gives users a quick way to see the source's default branch alongside the other discovery metadata.

Refs #45.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com Entire-Checkpoint: e81d5fee3471

Checkpoints

does git-sync handle any ref or just branches

Claude CodeOpus 4.7[1m]
View session
Checkpoint 1