协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
backend-api【开发与工程】Operates Airweave's backend API surface for search tiers, collections, source connections, Connect sessions, browse-tree selection, sources, webhooks, usage checks, source rate limits, and streaming search debugging.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when an Airweave task touches the FastAPI service as a user-facing API: collection search, collection CRUD, source-connection creation/auth/sync jobs, Connect sessions, browse-tree node selection, source discovery, auth-provider connections, API keys, usage checks, source rate limits, webhook subscriptions/messages, or local debugging of agentic search streams.
POST /collections/{readable_id}/search/agentic/stream when a local backend is running./collections and /source-connections; do not add an /api/v1 prefix to dashboard/client code.readable_id values in collection search and collection CRUD paths. Use UUIDs for source-connection IDs, sync job IDs, webhook subscription/message IDs, and Connect session IDs.X-Organization-ID when operating in a selected organization. Connect session calls use Authorization: Bearer <session_token> and are not ordinary API-key calls.queries; agentic and agentic stream consume tokens; source creation and sync creation also check their usage actions.filter: [{conditions: [...]}]; the legacy search route accepts a Qdrant-style dict such as {must: [...]}.claim_token from source-connection creation until verify-oauth succeeds; removing it earlier leaves the flow unrecoverable for the user without re-initiation.cancelling before cancelled.connect-widget; route source class/config/browse-tree implementation details to source-connectors.| User intent | Start here | Notes |
|---|---|---|
| "Which search endpoint/body should I use?" | api-reference.md → Search v2 and legacy search | Check tier, filter dialect, and usage action. |
| "Search stream hangs or shows wrong events" | troubleshooting.md → SSE/search stream | Confirm current /collections/{id}/search/agentic/stream path and event names. |
| "Create collection and index a source" | workflows.md → Collection to searchable data | Covers collection, source connection, sync polling, and cleanup. |
| "OAuth source is stuck pending" | workflows.md and troubleshooting.md → OAuth claim token | Verify before clearing stored claim token; re-initiate when needed. |
| "Embed Airweave Connect" | workflows.md → Connect session backend flow, then connect-widget | Backend owns session/source-connection endpoints; widget owns iframe details. |
| "Select folders/items before sync" | workflows.md → Browse-tree selection, then source-connectors | Backend owns routes; connector skill owns source capability semantics. |
| "Subscribe to events" | api-reference.md and workflows.md → Webhooks | Include event types, secret handling, attempts, recovery. |
| "Why is a source sync slow/throttled?" | api-reference.md → source rate limits, then troubleshooting.md | Check feature flag, source rate_limit_level, and configured limits. |
Later whole-skill verification should exercise representative native backend smoke coverage for search v2, legacy search, filters, agentic SSE, collections, Connect sessions, source connections, webhooks, source listing, rate limiting, sync run/cancel lifecycle, entity definitions, and storage-backed sync. Credentialed provider flows should remain opt-in unless the required external accounts and secrets are available.