Repository navigation
Fix guidance coverage for patch diagnostic codes - #74354
Conversation
Co-authored-by: pelikhan <[email protected]>
|
✅ Ponytail Reviewer completed successfully!
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ PR Code Quality Reviewer completed the code quality review.
|
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
There was a problem hiding this comment.
🟡 Changes recommended
A critical active finding remains because the playbook exceeds the enforced 20,000-byte limit, so the guidance test cannot pass until the file or its size contract is updated consistently.
1 open issue
What changed in this PR
This pull request adds guidance coverage for the no_new_commits, missing_pr_head, and shallow_history patch diagnostic codes.
Changes:
- Adds a compact evidence/remedy row covering no-op verification and PR reference/history preparation.
- Preserves the existing playbook structure.
- Critical: The file is 25,986 bytes, while
test_guidance.pystill enforces a 20,000-byte maximum, somake test-guidancecannot pass. The playbook must be trimmed or the size contract updated consistently.
| File | Summary |
|---|---|
.github/aw/debug-playbook.md |
Adds diagnostic guidance for the three patch-generation failure codes; currently exceeds the enforced 20,000-byte test limit. |
Review effort: Lite (auto)
| | `ERR_NOT_FOUND`, `TARGET_NOT_FOUND` | Target/repository; visibility. | Correct target/access; 404 may conceal inaccessible resources. | | ||
| | `ERR_PARSE` | JSON/NDJSON framing/schema/producer. | Fix producer/format; retain private evidence. | | ||
| | `ERR_SYSTEM`, `E099` | First file/git/process failure. | Fix I/O/runtime/checkout; wrapper is not cause. | | ||
| | `no_new_commits`, `missing_pr_head`, `shallow_history` | Commits/refs/history. | Verify no-op; prepare PR refs/full history before agent. | |
|
🎉 This pull request is included in a new release. Release: |

make test-guidancefailed becauseno_new_commits,missing_pr_head, andshallow_historylacked evidence/remedy rows..github/aw/debug-playbook.mdcovering no-op verification and PR ref/history preparation before agent execution.