You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
✨ ask: hub panel for optional Ask AI help (phase 2 of #19177) #19181
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.
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.
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.
Fallback: a plain link to the docs for the current section (reuse dashboardDocsHref) for off, not consented, unreachable, busy and breaker-open states.
Hub operator switch in the hub operator settings with a help mark that names what is sent.
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.
The consent record and routes, the ask: config and env switch, and the per-hive/hub relay are all phase 1 work, and the panel needs each of them.
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.
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.
Activity
hivecommons-hive commentedon Nov 19, 2026
🔓 Claim by @Danathar released (lease revoked).
Claim history
Danathar(contributor on hive hosted-available-oke-11-placeholder-r05x)Danathar(contributor; lease revoked)Danathar commentedon Nov 19, 2026
Holding this phase until #19180 (phase 1, hub backend) lands.
Checked against
upstream/v5:POST /api/askis not in the code. The only mentions are insrc/docs/design/dashboard-ask-ai-help.md(merged in 📖 Design: optional Ask AI help for the hub and hive dashboards #19179).ask:config and env switch, and the per-hive/hub relay are all phase 1 work, and the panel needs each of them.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:unknownclubanderson commentedon Nov 19, 2026
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.
clubanderson commentedon Nov 19, 2026
PR: #19202 (stacked on #19200)
✨ ask: hub panel for optional Ask AI help
hivecommons-hive commentedon Nov 19, 2026
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.