[epic] Scope document access and Misty answers

Aperta
#77 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@qiuethan ci sta già lavorando.

Dal 1/8/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

area/bot area/deployment area/docs-system area/integration area/service epic type/feature
Completion — 2026-10-28

Identity, document grants, managed Groups, channel-team settings, source-access reconciliation and authorized retrieval/tool enforcement are implemented and deployed. Closing #272 on Ethan's acceptance completes this epic's nine native child issues; no open native blockers remain.

This epic closes for delivered access-control capabilities. #272 records the accepted dev Discord and staging provider/browser evidence; no new staging Discord acceptance run is claimed. Follow-ups #324, #338 and #278 were also closed on October 28 after Ethan confirmed he had tested them and requested closure. Each issue retains its earlier evidence and the operator acceptance note.

Area

bot, service, integration, deployment, docs-system

Outcome

Misty must keep direct document access personal while controlling what it can disclose in a shared channel. Direct document lookup/search and DM answers use the authenticated person's full document access. Channel answers use the union of the Google Group access of the teams selected for that channel, regardless of the asking member's personal privileges.

Definition of done
  • #73 provides act-as-user / X-On-Behalf-Of authentication.
  • #74 enforces document ownership/person/team grants on metadata and stored content reads.
  • #75 captures alternate email identifiers through the self-service flow.
  • #236 establishes supported Google Group administration; #237 creates a group with each team and synchronizes membership from Team Tracking.
  • #238 stores channel-to-team settings; an unconfigured channel has no document access.
  • #76 reconciles actual source sharing into person and team/group access, including revocation.
  • #176 provides authorized retrieval with the appropriate person or channel context.
  • #71 enforces that context in the bot tool loop, including history invalidation and publication checks.
  • #272 delivers automatic Groups setup and bot status/recovery. Closed on Ethan's acceptance of the merged implementation, dev Discord flow and staging OAuth/settings/membership/Drive evidence. The additional staging bot rerun was removed as a closure requirement; no new staging command test is claimed.
  • #292 / PR #294 installs the hourly source-access refresh runner. Staging scheduled runs, explicit failure, missed-heartbeat and recovery delivery have been verified; scheduled refresh/access-change acceptance was closed in #338 on Ethan's testing confirmation.
Ownership

Team Tracking owns teams, intended membership, managed-group mappings, and channel settings. Connectors owns source API access; documentation-system owns source-grant reconciliation and retrieval authorization. Bot commands and DMs are delivered under #81 by #239 and #240. The LLM is not an authorization boundary.

Delivered scope and completed follow-ups

Identity, source grants, managed Groups, channel settings and authorized retrieval/tool enforcement are implemented and deployed. #272 is closed on operator acceptance of the existing evidence. The production alias-membership follow-up (#324), scheduled content/access-change and expiry acceptance (#338), and integrated helper history/publication and DM/channel work (#278) are now closed on Ethan's separate testing confirmation. Their closure notes distinguish operator acceptance from the earlier agent-recorded evidence.

Task breakdown
Task Area Effort
#236 — Enable Google Group administration for Misty deployment, integration M
#237 — Create and synchronize Google Groups for teams service, integration L
#238 — Store channel-to-team access settings service M
#76 — Synchronize document access from source sharing service, integration, docs-system L
Completed history

Closed children #73/#74/#75/#76/#236/#237/#238/#272/#292 provide the implemented identity, authorization, managed-group, channel-setting and refresh foundations. Source-permission synchronization is implemented, not future work. Scheduled access-change/expiry acceptance (#338) and helper history/publication cases (#278) are closed on operator acceptance.

Scope and implementation notes

Team Tracking is the source of truth for teams and intended membership. Adding someone to a Discord channel lets them read that channel's answers; it does not add them to a team/group or grant them Drive access. Admins are responsible for channel configuration and audience. We do not compute an intersection of every channel member's permissions.

Managed Google setup: UTMIST-owned domains, staging/dev OAuth and settings/membership automation are established. Production OAuth, managed Groups and the daily runner were activated in #319. The handled-failure fix was deployed in #327. The subsequent alias-membership follow-up #324 is closed on operator acceptance; its closure note also records successful production reconciliation on October 27 and 28. #272 records the operator's closure acceptance and the distinction between existing dev Discord and staging Drive access/revocation evidence.

Bot delivery: #239 defines channel configuration and parent-channel scope inheritance for threads. Person-scoped /doc responses are private; #210 / PR #289 supplies member search. #278 records completed combined DM/channel acceptance on Ethan's testing confirmation, including its original permission-change criteria.

Out of scope: Rebuilding retrieval (#125), bot tool execution (#71), LLM tool support (#70), and changing Discord roles or channel membership.

Working conventions

Tasks are direct sub-issues of their owning epic, with hard prerequisites recorded in GitHub Relationships and the Blocked by field. Use area labels for issues and zones for PRs. Follow AGENTS.md and the affected service's CONTRIBUTING.md for implementation, offline tests, and matching documentation.

Live staging evidence — 2026-10-23

See the release evidence in #301. Adding Ethan through a disposable directory team produced a real Google Group member and Drive-folder access; ending that membership removed the Google member and produced a signed-in browser access-denied result. Existing real-team memberships were preserved. Refresh failure/recovery and an actual missed heartbeat reached the configured Discord alert channel. Helper/DM and scheduled access-change follow-ups #278/#338 have since closed on operator acceptance; discovery #291 remains open. The completed evidence in #301 remains accepted.

Lingua principale
Python
Stelle
0
Fork
2
Merge medio
3g 3h
PR unite (30g)
31

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di UTMIST/Misty

Tutte le issue di UTMIST/Misty

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.