[epic] Fetch document text through authenticated source connectors
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 12/100
Research direction
This is an umbrella epic, so start from its open child #86, which moves GitHub README and file fetching into services/connectors behind POST /fetch {url, source_id}. Read ConnectorsFetcher in services/documentation-system, which implements the catalog's existing Fetcher protocol, and the connectors service's fetch handler. Done means catalog ingest and refetch receive title, content and warnings, and a source failure keeps the catalog record and reports a warning.
Written by the indexing model from the issue text.
Description
Current delivery status
Google and GitHub single-file connectors, missing-content recovery, automatic discovery and monitoring are implemented and deployed. Live staging direct/folder-only/nested/later-descendant discovery and clean monitor recovery passed; production activation and bounded traversal continuation are recorded in #319/#327.
#291 now retains explicit unauthorized-person and interrupted-redeployment acceptance, the combined share-to-answer journey, and the latest production full-scan/content gap recorded in #330. Private GitHub ingestion remains operator-deferred; repository-wide code/docs retrieval is the separate design #333.
Release scope
The October 23 sharing flow requires #291: share a supported document or folder with Misty, then discover, catalog and index it automatically. This expands the former configured-folder-only proposal to direct file shares and shared-folder descendants. #292 maintains registered content/access, and #278 verifies authorized answers. Each issue retains its own implementation and staging acceptance responsibilities.
Area
service, integration, docs-system
Outcome
Members need the catalog to contain document text, not just titles or shallow snapshots, so search and the helper bot can use it. This epic covers content acquisition; #125 handles retrieval over that content.
Definition of done
- #83 adds full extracted-text storage and the extended fetch result (PR #155).
- #84 adds the Google Workspace connector and the connectors service (PR #156).
- #86 fetches GitHub README/file text in the connectors service and wires the catalog to it.
- Automatic discovery/indexing without per-file or per-folder registration works for direct shares, folder-only/nested shares and later descendants in recorded scheduled staging runs (#293/#291).
- Finish #291's remaining access/redeploy/full-scan and combined member-journey acceptance; implementation completion does not mark those checks passed.
- Catalog ingest/refetch receives title, content, and warnings through the existing fetch boundary; a source failure preserves the catalog record and reports a warning.
- Source credentials/vendor integrations remain in connectors; member-level document visibility remains enforced by documentation-system.
- Missing-content recovery shipped in #159 / PR #264; #85 remains canceled and is not a delivery requirement.
Ownership
services/connectors owns source credentials and vendor fetching. services/documentation-system owns catalog content, fetch integration, and member visibility. #86 deliberately touches both services to move GitHub fetching across their HTTP boundary; #159 separately owns missing-content recovery.
Parallel work
#83/#84, GitHub content fetching (#86 / PR #296), and missing-content recovery (#159 / PR #264) are complete. #125 has delivered retrieval using stored Google content; canceled #85 is not a prerequisite.
Task breakdown
| Task | Area | Effort |
|---|---|---|
| #86 — Fetch GitHub README and file content through connectors | service, integration, docs-system | S |
| #291 — Discover and index supported documents shared with Misty | service, integration, docs-system | — |
Earlier decisions and completed history
Closed children: #83, #84, #85 and #86; related recovery task #159 is also complete. Their existing issue states and discussions retain the completion, cancellation, or supersession details.
Scope and implementation notes
Architecture decision: The original in-process authenticated-fetcher design was replaced during #84. services/connectors is a stateless, database-free outbound adapter exposing POST /fetch {url, source_id} and returning {title, content, warnings}. ConnectorsFetcher implements the catalog's existing Fetcher protocol. It is not the inbound gateway (#59), receives no actor, and does not replace doc_visible() / doc_grants authorization.
Current Google credential model: Dedicated service-account reader with read-only API scopes; complete ACL inspection was verified with Editor sharing. Staging and production connector services and discovery runners are active (#319). Supported My Drive folder topology has live direct/folder/nested/later-descendant evidence in #291. Shared Drives and shortcuts remain excluded. User-OAuth reader redesign was canceled; the separate meeting writer uses OAuth.
Confirmed access model: #77 retains source-permission synchronization in #76. Direct documents and DMs use person access; channel answers use the configured teams' Google Group access. A broadly readable service-account corpus does not remove those requirements. #236 established UTMIST-owned managed domains; #237 supplies group creation/membership sync, and #272 tracks automatic settings plus bot recovery. Production authorization and daily synchronization are active (#319); #324 retains the unresolved member-identity failure. Unrelated group/share migrations remain separate work. This supersedes the earlier proposal to close #76 based on uniform folder sharing. Organization-owned storage remains a separate decision.
Scope updates: #85 (Notion) is closed as not planned. #86's current scope explicitly includes moving GitHub fetching into connectors, superseding this epic's earlier “optional migration” wording. Migration 006 enables Google fetching, but duplicate ingest cannot repair earlier contentless records; #159 tracks that gap.
Out of scope: Chunking/embeddings/search (#125), per-document summarization, member authorization (#77), ACL synchronization implementation (#76), and organization storage migration.
Working conventions
Filed tasks are direct sub-issues of this epic. GitHub Relationships record the existing hard prerequisites; the task table summarizes the work and existing project Size estimates. Keep each task independently reviewable and normally within one CODEOWNERS zone; explain deliberate cross-zone changes. Misty issues may carry several area labels; zones apply to PRs. Follow AGENTS.md and the affected service's CONTRIBUTING.md for implementation, tests, and documentation.
- Dominant language
- Python
- Stars
- 0
- Forks
- 2
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 31
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from UTMIST/Misty
-
area/tooling automation/health
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Epic: Protect live meeting Q&A and deliver recording outputs to the intended audiencePossibly taken @kr1shap claimed this 1 day ago. Openarea/bot area/docs-system area/integration area/service epic on hold
UTMIST/Misty#489 · 1 assignee ·
Maintainers usually reply within 1 day
-
area/bot on hold type/bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
-
area/bot on hold type/bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
Maintainers usually reply within 1 day
-
Use a verified ingress boundary for gateway client IPsPossibly taken @qiuethan claimed this 2 days ago. Openarea/deployment area/observability area/service type/bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
Similar issues
-
[Doc]: Feedback for `/zh-cn/v0.30.0/tutorials/models/Qwen3.6-35B-A3B.html`A3社区配置和基线不一致,社区配置也达不到基线Opendocumentation
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
vllm-project/vllm-ascend#24429 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
simnJS/AnyPS5#735 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
nq-rdl/agent-extensions#623 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
vortex-data/vortex#12633 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gke-labs/kube-agents#7955 ·
Maintainers usually reply within 1 day