This commit is contained in:
mr0xb 2026-05-22 15:54:54 -04:00
commit a89c144cd9
No known key found for this signature in database
GPG key ID: D61C4E28AAE1BC5C
476 changed files with 89929 additions and 0 deletions

View file

@ -0,0 +1,2 @@
- [televibe project](project_televibe.md) — greenfield Go Teleport access plugin with AI risk scoring + conditional ITSM ticketing
- [user role](user_role.md) — Steve Briggs @ Immuta; platform/security-eng context, Go-fluent, prefers terse decisive proposals

View file

@ -0,0 +1,20 @@
---
name: televibe project
description: Greenfield Teleport access plugin built in Go that AI-risk-scores access requests and conditionally files ITSM Jira tickets
type: project
originSessionId: b94f12fe-9fb8-45ba-8dd5-65f49e81db87
---
televibe is a new Go-based Teleport access plugin (modeled on the official Jira access plugin) living at /Users/steve.briggs/projects/televibe. Initialized 2026-04-22.
**What it does:** watches Teleport access requests; sends request reason + roles to a configurable AI provider (Anthropic direct API, AWS Bedrock, or generic webhook — one at a time) for a risk assessment; combines AI scores with structural checks (CUSTX-### ticket regex in description, description length, off-hours timing) into a 0-100 score; maps to Gen-Z slang tiers (no cap / sus / mad sus fr / straight L, touch grass).
**Behavior:** below configurable `ticket_threshold` → auto-approve via `SubmitAccessReview`. At or above → create ticket in configurable Jira project (defaults to "ITSM") and hold the Teleport request in PENDING. A poller reconciles ITSM ticket status to Teleport approval/denial — an SRE transitioning the ITSM ticket to the approved or rejected status drives the Teleport decision.
**Why:** User wants to gate privileged access through AI review + SRE-controlled Jira workflow, with low-risk requests bypassing the Jira overhead entirely.
**How to apply:** When extending or debugging, remember:
- Module path is plain `televibe` (no github prefix yet) — user must run `go mod tidy` to pull deps.
- Top-level `Config` in config.go composes per-package `Config` types from ai/, risk/, jira/.
- Anthropic provider uses direct HTTP (not the SDK) with prompt caching on the system block.
- State recovery across restarts is via `jira.ListOpenTeleportTickets` (JQL search for `labels = televibe`), parsing Teleport request ID out of the ticket description.
- ITSM ticket description uses Jira wiki markup, not ADF — will need adjustment if targeting Jira Cloud REST v3.

View file

@ -0,0 +1,7 @@
---
name: user role
description: Steve Briggs works at Immuta, comfortable with Go/Teleport/infra-security tooling
type: user
originSessionId: b94f12fe-9fb8-45ba-8dd5-65f49e81db87
---
User's email is steve.briggs@immuta.com. Starting a greenfield Teleport access plugin (televibe) from scratch — implies platform/SRE/security-engineering context and comfort with Go, Teleport access workflows, and Jira automation. Answers design questions decisively and in shorthand (e.g., "yup this is good", "toml is fine") — responds well to terse proposals with clear defaults rather than exhaustive options.