fix: commit agent changes before opening PR
This commit is contained in:
@@ -38,9 +38,9 @@ def test_prompt_and_pr_body_include_contract_sections(db):
|
||||
prompt = render_implementer_prompt(repo, issue, "agent/issue-7-add-thing")
|
||||
body = render_pr_body(issue, "## Summary\nDone")
|
||||
|
||||
assert "AGENT_IMPLEMENTATION_REPORT.md" in prompt
|
||||
assert "Closes #7" in body
|
||||
assert "Human Review Gate" in body
|
||||
assert ".agent-output/AGENT_IMPLEMENTATION_REPORT.md" in prompt
|
||||
assert "关联 Issue:#7" in body
|
||||
assert "人工审核" in body
|
||||
|
||||
|
||||
def test_review_report_parsing_extracts_verdict_and_comment():
|
||||
|
||||
Reference in New Issue
Block a user