docs: clarify agent transcript placeholders · openclaw/openclaw@8da8bc4
steipete
·
2026-05-25
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -19,6 +19,7 @@ Best-effort local-only provenance for OpenClaw PR/issue bodies. Use during agent
|
19 | 19 | - Keep user prompts, assistant visible decisions, terse tool summaries, and test/proof outcomes. |
20 | 20 | - Remove session turns unrelated to the PR/issue work. Use the PR/issue title, branch name, changed files, and stated goal as scope; omit earlier/later unrelated tasks even when they are in the same session log. |
21 | 21 | - Best effort only: PR/issue creation must continue if no safe transcript is found. |
| 22 | +- Add the `## Agent Transcript` section only when inserting a real transcript. Never add a placeholder transcript heading or text such as "A sanitized local transcript preview was generated but not included." |
22 | 23 | - Use a collapsed `<details>` section and update existing markers instead of duplicating sections. |
23 | 24 | |
24 | 25 | ## Helper |
@@ -74,7 +75,7 @@ Append/update a body file before `gh pr create --body-file` or connector PR crea
|
74 | 75 | 5. Before insertion, trim unrelated session turns from the generated section. Keep only turns that explain this PR/issue's goal, implementation choices, files, tests, proof, blockers, and final outcome. |
75 | 76 | 6. If the user approves, run `append-body`. |
76 | 77 | 7. Use the enriched body file for creation/update. |
77 | | -8. If no safe session is found, say nothing and continue without transcript. If the user declines, continue without transcript. |
| 78 | +8. If no safe session is found, say nothing and continue without transcript. If the user declines, continue without transcript and do not add any transcript placeholder section. |
78 | 79 | |
79 | 80 | ## Review Artifacts |
80 | 81 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。