Overview
v2 of the community conductor (the Ears, #119 / PR #122): extend the scan and triage surfaces to hear pull requests — the staged follow-up recorded in the conductor AGENTS.md at birth. External contributors' PRs and review requests currently go unheard by the scan.
Plan
community scan gains two PR legs: open PRs authored by non-self humans (bot-filtered, same awaiting-response detection) and open PRs with review requested from a self login; counts + ranked lists on the same CommunityScan surface, so /wake_up's 💬 digest covers them with no new machinery.
community triage accepts PR refs (incl. /pull/ URLs) and adds a PR block: draft, changed files/additions/deletions, requested reviewers, mergeable state. Review judgment stays human — this is not the ship-gate review faculty.
- Same v1 principles: read-only, stdlib-only, never posts; drafts human-gated; no new state.
- Extend the hermetic stub-gh tests; update conductor AGENTS.md (retire the "out of scope for v1" note),
/community skill body, dispatcher description; regenerate the command surface.
Detailed implementation plan
Affected Repositories
Branch
feature/community-ears-v2-prs · worktree ~/Code/PyAutoLabs-wt/community-ears-v2-prs/
Concurrency: PyAutoBrain claim held by ic50-assistant-seed (clone/ only, PR #120 open) — small parallel PR, zero file overlap (community/ + tests vs clone/), user-approved pattern.
Implementation Steps
agents/conductors/community/_community.py — generalise the search helper over is:issue/is:pr; entries carry type; scan adds open_external_prs + awaiting_review (query is:pr is:open review-requested:<self>) with counts; PR conversation comments drive awaiting-response (review-thread comments noted as a known v2 limit). parse_issue_ref accepts /pull/ URLs; triage fetches repos/<o>/<r>/pulls/<n> extras when the ref is a PR.
tests/test_community_conductor.py — stub-gh fixtures for the two PR searches + pulls endpoint; tests for PR scan, review-requested leg, PR triage block, and the no-mutation proof over the new calls.
- Docs: conductor
AGENTS.md (modes table, capability audit, v1-scope note retired), skills/community/community.md, bin/pyauto-brain AGENT_DESC ("issues + PRs"), then bin/install.sh --write-agents-surface.
Key Files
agents/conductors/community/_community.py — v1 core to extend
tests/test_community_conductor.py — hermetic harness to extend
Prompt: PyAutoMind draft/feature/pyautobrain/community_ears_v2_external_prs.md.
Generated by the PyAutoLabs agent workflow.
Overview
v2 of the community conductor (the Ears, #119 / PR #122): extend the scan and triage surfaces to hear pull requests — the staged follow-up recorded in the conductor AGENTS.md at birth. External contributors' PRs and review requests currently go unheard by the scan.
Plan
community scangains two PR legs: open PRs authored by non-self humans (bot-filtered, same awaiting-response detection) and open PRs with review requested from a self login; counts + ranked lists on the same CommunityScan surface, so/wake_up's 💬 digest covers them with no new machinery.community triageaccepts PR refs (incl./pull/URLs) and adds a PR block: draft, changed files/additions/deletions, requested reviewers, mergeable state. Review judgment stays human — this is not the ship-gate review faculty./communityskill body, dispatcher description; regenerate the command surface.Detailed implementation plan
Affected Repositories
Branch
feature/community-ears-v2-prs· worktree~/Code/PyAutoLabs-wt/community-ears-v2-prs/Concurrency: PyAutoBrain claim held by ic50-assistant-seed (clone/ only, PR #120 open) — small parallel PR, zero file overlap (community/ + tests vs clone/), user-approved pattern.
Implementation Steps
agents/conductors/community/_community.py— generalise the search helper overis:issue/is:pr; entries carrytype; scan addsopen_external_prs+awaiting_review(queryis:pr is:open review-requested:<self>) with counts; PR conversation comments drive awaiting-response (review-thread comments noted as a known v2 limit).parse_issue_refaccepts/pull/URLs; triage fetchesrepos/<o>/<r>/pulls/<n>extras when the ref is a PR.tests/test_community_conductor.py— stub-gh fixtures for the two PR searches + pulls endpoint; tests for PR scan, review-requested leg, PR triage block, and the no-mutation proof over the new calls.AGENTS.md(modes table, capability audit, v1-scope note retired),skills/community/community.md,bin/pyauto-brainAGENT_DESC ("issues + PRs"), thenbin/install.sh --write-agents-surface.Key Files
agents/conductors/community/_community.py— v1 core to extendtests/test_community_conductor.py— hermetic harness to extendPrompt: PyAutoMind
draft/feature/pyautobrain/community_ears_v2_external_prs.md.Generated by the PyAutoLabs agent workflow.