Commit 2f2b159
authored
fix(autodoc): add source material quality check; restore details block (#499)
## Summary
- Adds conservatism clause to the burlap prompt: if the Epic is a
placeholder or lacks real technical detail, the model must set `action:
none` rather than hallucinating a draft. Fixes the 765-word fabricated
document produced in the last test run.
- Restores the `<details>` collapse of the documentation draft in the
posted issue comment. This was dropped when `post_report.py` was removed
in favour of inline shell; the wrapping Python snippet is now inlined in
the finalize step.
## Test plan
- [ ] Close a test issue tagged `Epic` + `Doc : Needs Doc` that is a
clear placeholder (no real PRs, no substance) — confirm report has
`action: none`
- [ ] Close a real Epic with merged PRs — confirm comment is posted with
draft inside a `<details>` block1 parent 08c6f15 commit 2f2b159
1 file changed
Lines changed: 26 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
121 | 129 | | |
122 | 130 | | |
123 | 131 | | |
| |||
298 | 306 | | |
299 | 307 | | |
300 | 308 | | |
301 | | - | |
302 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
303 | 327 | | |
304 | 328 | | |
305 | 329 | | |
| |||
0 commit comments