Inspect authoritative Git remote state
This commit is contained in:
@@ -567,7 +567,7 @@ diagnostic. Temporary Git repositories cover the acceptance cases; offline
|
||||
|
||||
## Stage 6: Resolve and inspect the authoritative endpoint
|
||||
|
||||
Status: Pending. Depends on Stage 5.
|
||||
Status: Complete. Depends on Stage 5.
|
||||
|
||||
1. Implement effective push-URL capture, command-scoped remote configuration,
|
||||
matching read/write resolution, and endpoint rechecks described above.
|
||||
@@ -581,6 +581,14 @@ ordinary URL rewrites, multiple push destinations, missing main, conflicting
|
||||
tags, main ahead/behind the candidate, endpoint changes, and remote failure.
|
||||
Queries leave local tags, persistent remote configuration, and remote refs intact.
|
||||
|
||||
Evidence: `internal/git` captures effective push destinations through Git,
|
||||
rejects multiple distinct destinations, verifies scoped URL rewriting, and
|
||||
queries exact main and version-tag refs. A candidate check requires main to
|
||||
equal the captured commit and the version tag to be absent. Local bare remote
|
||||
tests cover separate fetch/push URLs, both rewrite modes, missing main, an
|
||||
existing tag, main ahead and behind, endpoint changes, unreadable remote state,
|
||||
and unchanged persistent config and refs.
|
||||
|
||||
## Stage 7: Create and push the exact annotated tag
|
||||
|
||||
Status: Pending. Depends on Stage 6.
|
||||
|
||||
Reference in New Issue
Block a user