diff --git a/AGENTS.md b/AGENTS.md index aa22c4cf981..9cda042eaf9 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -59,6 +59,7 @@ Telegraph style. Root rules only. Read scoped `AGENTS.md` before subtree work. - Triage: list first, hydrate few. Use bounded `gh --json --jq`; avoid repeated full comment scans. - Automatic PR/issue discovery: skip maintainer-owned items unless directly relevant. Do not comment, close, label, retitle, rebase, fix up, or land them without Peter asking. - Search/dedupe: prefer `gh search issues 'repo:openclaw/openclaw is:open ' --json number,title,state,updatedAt --limit 20`. +- GitHub search boolean text is fussy. If `OR` queries return empty, split exact terms and search title/body/comments separately before concluding no hits. - PR shortlist: `gh pr list ...`; then `gh pr view --json number,title,body,closingIssuesReferences,files,statusCheckRollup,reviewDecision`. - After landing PR: search duplicate open issues/PRs. Before closing: comment why + canonical link. - GH comments with markdown backticks, `$`, or shell snippets: avoid inline double-quoted `--body`; use single quotes or `--body-file`.