ADORSYS-GIS / ADORSYS-GIS/lightbridge-governance

[Story]: Cursor Admin/Analytics API connector

Offen
#99 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
user-story
Vorherrschende Sprache
Rust
Sterne
1
Forks
2
Ø Merge
14 Std. 36 Min.
Gemergte PRs (30 T.)
107

Beschreibung

## Summary
Build a connector against Cursor's Admin/Analytics API for per-user, per-day suggestions shown vs accepted, lines added/deleted, and active status, with CSV export. This is gated on the customer holding a Cursor Enterprise plan — the Admin API is not available on lower tiers.

## Intent / Source of truth
Cursor's documented Admin/Analytics API (Enterprise tier). 2026-08-13 backlog consolidation.

## Scope
- [ ] Scheduled connector pulling per-user, per-day suggestions shown/accepted, lines added/deleted, active status
- [ ] CSV export support (matching Cursor's native export shape where useful)
- [ ] Map into the schema from story 1
- [ ] Gate the connector's activation on confirming the customer holds Cursor Enterprise (fail gracefully with a clear message otherwise, not a silent empty dashboard)

## Out of scope
- Any Cursor tier below Enterprise (no Admin API access exists)
- Cursor's own in-editor analytics UI — this connector only covers the Admin API pull

## Verification
Live pull against a real Cursor Enterprise org showing per-user daily records; a clear, tested failure path when run against a non-Enterprise account.

## Risk assessment
Low technical risk (documented API); commercial risk is customers without Enterprise expecting this to work — the gating message must be unambiguous.

## AI Usage Declaration
Drafted with AI assistance during the 2026-08-13 cross-repo backlog consolidation. A human owns intent, verification and consequences; acceptance criteria must be verified against the live system before this is closed.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by locating the schema from story 1 and the connector entry points in this repository, then review Cursor's documented Enterprise Admin/Analytics API. Confirm the per-user daily fields, CSV shape, and Enterprise availability before implementation. Done means a verified live pull for an Enterprise organization and a clear tested failure path for non-Enterprise accounts.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
rust
Bereich
analytics, api
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Ruhig
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.