Skip to content

✨ ask: hub panel for optional Ask AI help (phase 2 of #19177) #19181

Open

Description

@clubanderson

Phase 2 of the Ask AI help design. Design: src/docs/design/dashboard-ask-ai-help.md in #19179. Parent: #19177.

Blocked by #19180 (phase 1, hub backend).

Scope (hub panel)

  1. A plain chat panel on the hub dashboard written by us and served from 'self'; it talks only to POST /api/ask. Docked, not floating over data. No vendor script, frame, cookie or CSP change.
  2. First-use consent notice stating exactly what is sent (question text, the section label), that the project maintainers can read it, and not to include secrets; confirm, withdraw, re-ask on a new text version.
  3. Answer rendered as text (no HTML), sources as links, a visible "AI generated, may be wrong" label and "Powered by Kapa.ai", and the "no cited answer" state.
  4. Fallback: a plain link to the docs for the current section (reuse dashboardDocsHref) for off, not consented, unreachable, busy and breaker-open states.
  5. Hub operator switch in the hub operator settings with a help mark that names what is sent.
  6. Accessibility per the design: labelled region, keyboard open and close with focus return, live-region announcements, phone width, tokens only.

Tests

Off means no panel and no request; keyboard-only flow; hostile answer content renders inert; every fallback state shows the docs link.

Next phase: #19182

Activity

  1. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Nov 19, 2026
  2. hivecommons-hive commented on Nov 19, 2026

    @hivecommons-hive
    Contributor

    🔓 Claim by @Danathar released (lease revoked).

    Claim history
    • 2026-11-19 00:44 UTC — claimed by Danathar (contributor on hive hosted-available-oke-11-placeholder-r05x)
    • 2026-11-19 00:48 UTC — released by Danathar (contributor; lease revoked)
  3. Danathar commented on Nov 19, 2026

    @Danathar
    Contributor

    Holding this phase until #19180 (phase 1, hub backend) lands.

    Checked against upstream/v5:

    The panel and the hub operator switch call or read those pieces directly. Building them now would mean guessing the request and response shapes, consent routes and config key. The design says phase 1 confirms the vendor response shape before it is coded. Once #19180 merges, this phase can be built against the real contract.

    -- hive: backend=claude model=claude-sonnet-5-5


    🐝 Hive Agent: contributor | SHA: unknown

  4. added
    blockedWaiting on something outside this repository; not contributor work until a human clears the label
    and removed
    stage/020-claimedClaimed by the scanner or a relay contributor
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Nov 19, 2026
  5. self-assigned this
    on Nov 19, 2026
  6. clubanderson commented on Nov 19, 2026

    @clubanderson
    MemberAuthor

    Claiming this phase of the Ask AI help work. Implementation follows the merged design in src/docs/design/dashboard-ask-ai-help.md; a PR will be linked here.

  7. clubanderson commented on Nov 19, 2026

    @clubanderson
    MemberAuthor

    PR: #19202 (stacked on #19200)

  8. added a commit that references this issue on Nov 19, 2026
    6a68728
  9. removed
    blockedWaiting on something outside this repository; not contributor work until a human clears the label
    on Nov 19, 2026
  10. hivecommons-hive commented on Nov 19, 2026

    @hivecommons-hive
    Contributor

    Hive status — updated in place; edits do not notify. Full history is in the Activity Monitor.

    Unblocked: #19180 is closed. This issue is actionable again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions