Merge pull request 'feat: expose explicit adoption proof in gitea_lock_issue response (Closes #477)' (#481) from feat/issue-477-lock-adoption-proof into master
This commit was merged in pull request #481.
This commit is contained in:
@@ -1484,6 +1484,14 @@ def gitea_lock_issue(
|
||||
f"Adopted existing branch '{branch_name}' and locked issue "
|
||||
f"#{issue_number} for recovery (fail-closed check complete)."
|
||||
)
|
||||
else:
|
||||
# #477 AC2: normal (no-adoption) lock responses carry explicit,
|
||||
# adoption-free proof metadata so they stay clear and cannot be
|
||||
# misread as claiming a branch was adopted.
|
||||
result["adoption_check"] = issue_lock_adoption.build_non_adoption_lock_proof(
|
||||
issue_number=issue_number,
|
||||
branch_name=branch_name,
|
||||
)
|
||||
if agent_artifacts:
|
||||
result["warnings"] = [
|
||||
"Agent temp artifacts at repo root (delete before implementation): "
|
||||
|
||||
Reference in New Issue
Block a user