[epic] Build shared internal authentication and an external gateway

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

I maintainer di solito rispondono entro 1 giorno

@qiuethan ci sta già lavorando.

Dal 4/7/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

area/deployment area/service epic type/feature
Current delivery status

Shared auth and resolver gateway implementation are complete (#58/#59, PR #65). Production gateway rollout and real external-consumer/resolver acceptance remain separate and unperformed in the #319 release. Dev gateway credential checks are recorded in #302.

New scoped email-login work is in open PR #331, coordinated with the compute integration. Its local HTTP/browser tests do not establish a live gateway deployment. Keep this epic open for its deployed external-entry-point outcome; the internal helper/retrieval release does not depend on it.

Area

service, deployment

Outcome

Internal services need consistent authentication, while external consumers need a restricted public entry point. This epic establishes a shared internal auth library and a separate curated external gateway without placing a gateway in front of internal traffic.

Definition of done
  • #58 supplies the shared packages/auth library used by internal services.
  • #59 deploys a public gateway that exposes only allowlisted, narrowly scoped reads while internal APIs remain private.
  • The gateway implements dedicated consumer keys, scoped access, rate limiting and audit (PR #65).
  • Verify a real deployed external consumer using those controls.
  • The first resolver endpoint maps a GitHub login to a Discord ID (PR #65).
  • Record deployed resolver/consumer acceptance for the intended use case; #34 does not currently consume it.
Ownership

packages/auth owns the shared internal authentication foundation (#58). The gateway work (#59) owns the curated external HTTP surface and deploy runbook. Internal service APIs remain private; this epic does not add an internal gateway.

Parallel work

#58 and #59 are closed, and gateway implementation PR #65 is merged. The remaining work is authorized provisioning/deployment and deployed acceptance through its runbook; the PR explicitly records that deployment was not performed.

Task breakdown
Task Area Effort
#59 — Add a public gateway for scoped directory reads service, deployment L
Earlier decisions and completed history

Closed children: #58 and #59. Their existing issue states and discussions retain the completion, cancellation, or supersession details.

Scope and implementation notes

Children: #58 and #59 (implementation completed). Related: #34; the directory already stores GitHub and Discord person identifiers.

Internal plane: Railway private network and full scoped-key APIs. External plane: curated public reads through the gateway. Implementation PR for #59: #65.

Out of scope: an internal gateway and external write access. Revisit internal gateway architecture only if the consumer landscape materially changes.

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.

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.