feat: make repository reads alias-aware
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a049a4-ee9f-78e1-9d66-2cb0f9bea3e3
This commit is contained in:
parent
639b9aed08
commit
2e2ae1e5d0
19 changed files with 982 additions and 94 deletions
|
|
@ -1200,6 +1200,9 @@ def check_repo(
|
|||
)
|
||||
return report
|
||||
|
||||
# Repository aliases are accepted at the API boundary, but every new
|
||||
# binding, inbox write, and generated file must use the current identity.
|
||||
repo_slug = str(repo.get("canonical_slug") or repo.get("slug") or repo_slug)
|
||||
repo_id: str = repo["id"]
|
||||
repo_path: str = resolve_repo_path(repo, repo_path_override)
|
||||
report = ConsistencyReport(repo_slug=repo_slug, repo_path=repo_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue