Repository navigation
brain: the Ears hear the Discussions hub — scan, triage and board rows for user threads - #388
Merged
Merged
Conversation
…s for user threads PyAutoMind/policy/community_surface.md decides that users ask on one Discussions hub (PyAutoLens's, promoted to the org's) while the development flow stays on per-repo issues. The community conductor now reads that surface: `scan` lists the hub's open discussions through the read-only REST endpoints beside the external issues and PRs (an accepted answer settles a thread; otherwise the last word decides), `triage` accepts a discussion URL and routes to answering in the thread (a confirmed bug gets an issue with a link back), and the Brain board renders unanswered threads as one-tap triage chips carrying the thread URL. Docs, skill body, registry description, COMMANDS.md and GITHUB_ACCESS.md follow; the latter records that raw REST to attached repos is served to a remote session while GraphQL, search and Discussions writes are not. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NddWGmJwZfEkZK9WLoxBYg
…github Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NddWGmJwZfEkZK9WLoxBYg
# Conflicts: # skills/COMMANDS.md
Jammy2211
deleted the
claude/github-issues-community-migration-512ndl
branch
September 18, 2026 15:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Ears learn to hear the Discussions hub, per the decision recorded in
PyAutoMind
policy/community_surface.md(PyAutoMind#403): users go to oneorg-level Discussions hub hosted on
PyAutoLabs/.github, the developmentflow stays exactly where it is — one issue per task on the target repo.
What changes
agents/conductors/community/_community.py: the scan reads the hub's opendiscussions (
repos/<hub>/discussions, GET, read-only) alongside theuser-filed issues and PRs it already hears. A thread is awaiting our
response when it has no accepted answer and its last word is not a self
login.
COMMUNITY_HUBdefaults toPyAutoLabs/.github.community triage <discussion url>emits the same context-sufficiencysurface as for an issue, with the route: answer in the thread (drafted in
session, posted by the human), or open the issue for a confirmed bug with
a reproducer and route it through
/start_dev_for_user.board/_board.py: unanswered threads render as/community triage <url>chips.
skills/GITHUB_ACCESS.md: records what a session can and cannot do — GETon discussions is served;
POST .../discussionsis 404 (the RESTDiscussions API is read-only), GraphQL is refused by the proxy. Creating,
converting and answering a Discussion are the human's clicks.
tests/test_community_conductor.py: +10 cases over the hub scan, theawaiting-response rule and the triage surface.
Gate
tests/test_community_conductor.pypasses locally (10 passed). The rest ofthe suite needs the sibling Mind checkout and is left to CI.
mainismerged in; the one conflict was
skills/COMMANDS.md, where main had addedthe
/batchrow and this branch had rewritten/community— both kept.Companion: PyAutoMind's branch of the same name carries the policy page and
the migration prompt. The migration's step 3 (
bin/pyauto-brain communityverification) needs this PR merged.
🤖 Generated with Claude Code