Skip to content

brain: the Ears hear the Discussions hub — scan, triage and board rows for user threads - #388

Merged
Jammy2211 merged 3 commits into
mainfrom
claude/github-issues-community-migration-512ndl
Sep 18, 2026
Merged

Jammy2211 merged 3 commits into
mainfrom
claude/github-issues-community-migration-512ndl

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

The Ears learn to hear the Discussions hub, per the decision recorded in
PyAutoMind policy/community_surface.md (PyAutoMind#403): users go to one
org-level Discussions hub hosted on PyAutoLabs/.github, the development
flow 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 open
    discussions (repos/<hub>/discussions, GET, read-only) alongside the
    user-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_HUB defaults to PyAutoLabs/.github.
  • community triage <discussion url> emits the same context-sufficiency
    surface 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 — GET
    on discussions is served; POST .../discussions is 404 (the REST
    Discussions 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, the
    awaiting-response rule and the triage surface.

Gate

tests/test_community_conductor.py passes locally (10 passed). The rest of
the suite needs the sibling Mind checkout and is left to CI. main is
merged in; the one conflict was skills/COMMANDS.md, where main had added
the /batch row 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 community
verification) needs this PR merged.

🤖 Generated with Claude Code

claude and others added 3 commits September 17, 2026 16:36
…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
Jammy2211 merged commit d50835a into main Sep 18, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the claude/github-issues-community-migration-512ndl branch September 18, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants