:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(data-warehouse): add self-driving inbox signal emitters for 30 sources (#72378)
Tom Owersd71a5e36f917
diff --git a/products/signals/backend/contracts.py b/products/signals/backend/contracts.pyindex 5e3ffeceb1c0..fe74812934dd 100644--- a/products/signals/backend/contracts.py+++ b/products/signals/backend/contracts.py@@ -429,6 +429,420 @@ class EnrichedReviewer(ContractModel):reason: str | None = None+# ── Tier-1 data-warehouse inbox sources ──────────────────────────────────────────+++class FreshdeskTicketSignalExtra(SignalExtraBase):+ status: str | None+ priority: str | None+ type: str | None+ tags: list+ created_at: str | None+++class FreshdeskTicketSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.TICKET]+ source_product: Literal[SignalSourceProduct.FRESHDESK]+ extra: FreshdeskTicketSignalExtra+++class FreshserviceTicketSignalExtra(SignalExtraBase):+ status: str | None+ priority: str | None+ type: str | None+ category: str | None+ tags: list+ created_at: str | None+++class FreshserviceTicketSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.TICKET]+ source_product: Literal[SignalSourceProduct.FRESHSERVICE]+ extra: FreshserviceTicketSignalExtra+++class FrontConversationSignalExtra(SignalExtraBase):+ status: str | None+ tags: list+ created_at: str | None+++class FrontConversationSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.TICKET]+ source_product: Literal[SignalSourceProduct.FRONT]+ extra: FrontConversationSignalExtra+++class GorgiasTicketSignalExtra(SignalExtraBase):+ status: str | None+ priority: str | None+ channel: str | None+ tags: list+ created_datetime: str | None+++class GorgiasTicketSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.TICKET]+ source_product: Literal[SignalSourceProduct.GORGIAS]+ extra: GorgiasTicketSignalExtra+++class KustomerConversationSignalExtra(SignalExtraBase):+ status: str | None+ priority: str | None+ tags: list+ createdAt: str | None+++class KustomerConversationSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.TICKET]+ source_product: Literal[SignalSourceProduct.KUSTOMER]+ extra: KustomerConversationSignalExtra+++class DixaConversationSignalExtra(SignalExtraBase):+ status: str | None+ channel: str | None+ tags: list+ created_at: str | None+++class DixaConversationSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.TICKET]+ source_product: Literal[SignalSourceProduct.DIXA]+ extra: DixaConversationSignalExtra+++class PlainThreadSignalExtra(SignalExtraBase):+ status: str | None+ priority: str | None+ labels: list+ createdAt: str | None+++class PlainThreadSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.TICKET]+ source_product: Literal[SignalSourceProduct.PLAIN]+ extra: PlainThreadSignalExtra+++class GitlabIssueSignalExtra(SignalExtraBase):+ state: str | None+ labels: list+ iid: str | None+ project_id: str | None+ created_at: str | None+++class GitlabIssueSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.ISSUE]+ source_product: Literal[SignalSourceProduct.GITLAB]+ extra: GitlabIssueSignalExtra+++class GiteaIssueSignalExtra(SignalExtraBase):+ state: str | None+ labels: list+ html_url: str | None+ number: str | None+ created_at: str | None+++class GiteaIssueSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.ISSUE]+ source_product: Literal[SignalSourceProduct.GITEA]+ extra: GiteaIssueSignalExtra+++class ShortcutStorySignalExtra(SignalExtraBase):+ story_type: str | None+ labels: list+ workflow_state_id: str | None+ created_at: str | None+++class ShortcutStorySignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.ISSUE]+ source_product: Literal[SignalSourceProduct.SHORTCUT]+ extra: ShortcutStorySignalExtra+++class SentryIssueSignalExtra(SignalExtraBase):+ level: str | None+ status: str | None+ permalink: str | None+ shortId: str | None+ firstSeen: str | None+++class SentryIssueSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.ISSUE]+ source_product: Literal[SignalSourceProduct.SENTRY]+ extra: SentryIssueSignalExtra+++class RollbarItemSignalExtra(SignalExtraBase):+ level: str | None+ status: str | None+ environment: str | None+ framework: str | None+ last_occurrence_timestamp: str | None+++class RollbarItemSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.ISSUE]+ source_product: Literal[SignalSourceProduct.ROLLBAR]+ extra: RollbarItemSignalExtra+++class BugsnagErrorSignalExtra(SignalExtraBase):+ severity: str | None+ status: str | None+ context: str | None+ first_seen: str | None+ last_seen: str | None+++class BugsnagErrorSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.ISSUE]+ source_product: Literal[SignalSourceProduct.BUGSNAG]+ extra: BugsnagErrorSignalExtra+++class HoneybadgerFaultSignalExtra(SignalExtraBase):+ environment: str | None+ component: str | None+ action: str | None+ tags: list+ url: str | None+ created_at: str | None+++class HoneybadgerFaultSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.ISSUE]+ source_product: Literal[SignalSourceProduct.HONEYBADGER]+ extra: HoneybadgerFaultSignalExtra+++class RaygunErrorGroupSignalExtra(SignalExtraBase):+ status: str | None+ applicationUrl: str | None+ lastOccurredAt: str | None+ createdAt: str | None+++class RaygunErrorGroupSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.ISSUE]+ source_product: Literal[SignalSourceProduct.RAYGUN]+ extra: RaygunErrorGroupSignalExtra+++# ── Tier-2 security scanners + Tier-3 feedback/reviews ────────────────────────────+++class SnykScannerFindingSignalExtra(SignalExtraBase):+ effective_severity_level: str | None+ status: str | None+ type: str | None+ created_at: str | None+++class SnykScannerFindingSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.SCANNER_FINDING]+ source_product: Literal[SignalSourceProduct.SNYK]+ extra: SnykScannerFindingSignalExtra+++class SonarqubeScannerFindingSignalExtra(SignalExtraBase):+ severity: str | None+ type: str | None+ status: str | None+ component: str | None+ rule: str | None+ creationDate: str | None+++class SonarqubeScannerFindingSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.SCANNER_FINDING]+ source_product: Literal[SignalSourceProduct.SONARQUBE]+ extra: SonarqubeScannerFindingSignalExtra+++class SemgrepScannerFindingSignalExtra(SignalExtraBase):+ severity: str | None+ confidence: str | None+ status: str | None+ state: str | None+ created_at: str | None+++class SemgrepScannerFindingSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.SCANNER_FINDING]+ source_product: Literal[SignalSourceProduct.SEMGREP]+ extra: SemgrepScannerFindingSignalExtra+++class Rapid7InsightvmScannerFindingSignalExtra(SignalExtraBase):+ severity: str | None+ cvss_v3_score: str | None+ published: str | None+ added: str | None+++class Rapid7InsightvmScannerFindingSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.SCANNER_FINDING]+ source_product: Literal[SignalSourceProduct.RAPID7_INSIGHTVM]+ extra: Rapid7InsightvmScannerFindingSignalExtra+++class FeaturebaseFeedbackSignalExtra(SignalExtraBase):+ status: str | None+ tags: list+ upvotes: str | None+ createdAt: str | None+++class FeaturebaseFeedbackSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.FEEDBACK]+ source_product: Literal[SignalSourceProduct.FEATUREBASE]+ extra: FeaturebaseFeedbackSignalExtra+++class FrillFeedbackSignalExtra(SignalExtraBase):+ status: str | None+ vote_count: str | None+ topics: list+ created_at: str | None+++class FrillFeedbackSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.FEEDBACK]+ source_product: Literal[SignalSourceProduct.FRILL]+ extra: FrillFeedbackSignalExtra+++class AhaFeedbackSignalExtra(SignalExtraBase):+ workflow_status: str | None+ score: str | None+ votes: str | None+ url: str | None+ created_at: str | None+++class AhaFeedbackSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.FEEDBACK]+ source_product: Literal[SignalSourceProduct.AHA]+ extra: AhaFeedbackSignalExtra+++class UservoiceFeedbackSignalExtra(SignalExtraBase):+ state: str | None+ vote_count: str | None+ category_name: str | None+ created_at: str | None+++class UservoiceFeedbackSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.FEEDBACK]+ source_product: Literal[SignalSourceProduct.USERVOICE]+ extra: UservoiceFeedbackSignalExtra+++class ProductboardFeedbackSignalExtra(SignalExtraBase):+ state: str | None+ tags: list+ displayUrl: str | None+ createdAt: str | None+++class ProductboardFeedbackSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.FEEDBACK]+ source_product: Literal[SignalSourceProduct.PRODUCTBOARD]+ extra: ProductboardFeedbackSignalExtra+++class CannyFeedbackSignalExtra(SignalExtraBase):+ status: str | None+ tags: list+ score: str | None+ voteCount: str | None+ url: str | None+ created: str | None+++class CannyFeedbackSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.FEEDBACK]+ source_product: Literal[SignalSourceProduct.CANNY]+ extra: CannyFeedbackSignalExtra+++class AsknicelyFeedbackSignalExtra(SignalExtraBase):+ score: str | None+ status: str | None+ question_type: str | None+ segment: str | None+ created: str | None+++class AsknicelyFeedbackSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.FEEDBACK]+ source_product: Literal[SignalSourceProduct.ASKNICELY]+ extra: AsknicelyFeedbackSignalExtra+++class RetentlyFeedbackSignalExtra(SignalExtraBase):+ score: str | None+ ratingCategory: str | None+ feedbackTopics: list+ resolved: str | None+ createdDate: str | None+++class RetentlyFeedbackSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.FEEDBACK]+ source_product: Literal[SignalSourceProduct.RETENTLY]+ extra: RetentlyFeedbackSignalExtra+++class AppfiguresReviewSignalExtra(SignalExtraBase):+ stars: str | None+ version: str | None+ product: str | None+ date: str | None+++class AppfiguresReviewSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.REVIEW]+ source_product: Literal[SignalSourceProduct.APPFIGURES]+ extra: AppfiguresReviewSignalExtra+++class AppfollowReviewSignalExtra(SignalExtraBase):+ rating: str | None+ store: str | None+ app_version: str | None+ date: str | None+++class AppfollowReviewSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.REVIEW]+ source_product: Literal[SignalSourceProduct.APPFOLLOW]+ extra: AppfollowReviewSignalExtra+++class JudgemeReviewsReviewSignalExtra(SignalExtraBase):+ rating: str | None+ product_title: str | None+ verified: str | None+ created_at: str | None+++class JudgemeReviewsReviewSignalInput(SignalInputBase):+ source_type: Literal[SignalSourceType.REVIEW]+ source_product: Literal[SignalSourceProduct.JUDGEME_REVIEWS]+ extra: JudgemeReviewsReviewSignalExtra++# ── Union over all signal variants ──────────────────────────────────────────────# Discrimination is by the composite (source_product, source_type) pair, resolved via# SIGNAL_VARIANT_LOOKUP below — a single-field pydantic discriminator can't express it@@ -452,7 +866,37 @@ SignalInput = Annotated[| LogsAlertStateChangeSignalInput| AnalyticsAnomalyInvestigationSignalInput| HealthCheckSignalInput- | ReplayVisionScannerFindingSignalInput,+ | ReplayVisionScannerFindingSignalInput+ | FreshdeskTicketSignalInput+ | FreshserviceTicketSignalInput+ | FrontConversationSignalInput+ | GorgiasTicketSignalInput+ | KustomerConversationSignalInput+ | DixaConversationSignalInput+ | PlainThreadSignalInput+ | GitlabIssueSignalInput+ | GiteaIssueSignalInput+ | ShortcutStorySignalInput+ | SentryIssueSignalInput+ | RollbarItemSignalInput+ | BugsnagErrorSignalInput+ | HoneybadgerFaultSignalInput+ | RaygunErrorGroupSignalInput+ | SnykScannerFindingSignalInput+ | SonarqubeScannerFindingSignalInput+ | SemgrepScannerFindingSignalInput+ | Rapid7InsightvmScannerFindingSignalInput+ | FeaturebaseFeedbackSignalInput+ | FrillFeedbackSignalInput+ | AhaFeedbackSignalInput+ | UservoiceFeedbackSignalInput+ | ProductboardFeedbackSignalInput+ | CannyFeedbackSignalInput+ | AsknicelyFeedbackSignalInput+ | RetentlyFeedbackSignalInput+ | AppfiguresReviewSignalInput+ | AppfollowReviewSignalInput+ | JudgemeReviewsReviewSignalInput,Field(union_mode="left_to_right"),]@@ -474,6 +918,36 @@ SIGNAL_INPUT_VARIANTS: tuple[type[SignalInputBase], ...] = (AnalyticsAnomalyInvestigationSignalInput,HealthCheckSignalInput,ReplayVisionScannerFindingSignalInput,+ FreshdeskTicketSignalInput,+ FreshserviceTicketSignalInput,+ FrontConversationSignalInput,+ GorgiasTicketSignalInput,+ KustomerConversationSignalInput,+ DixaConversationSignalInput,+ PlainThreadSignalInput,+ GitlabIssueSignalInput,+ GiteaIssueSignalInput,+ ShortcutStorySignalInput,+ SentryIssueSignalInput,+ RollbarItemSignalInput,+ BugsnagErrorSignalInput,+ HoneybadgerFaultSignalInput,+ RaygunErrorGroupSignalInput,+ SnykScannerFindingSignalInput,+ SonarqubeScannerFindingSignalInput,+ SemgrepScannerFindingSignalInput,+ Rapid7InsightvmScannerFindingSignalInput,+ FeaturebaseFeedbackSignalInput,+ FrillFeedbackSignalInput,+ AhaFeedbackSignalInput,+ UservoiceFeedbackSignalInput,+ ProductboardFeedbackSignalInput,+ CannyFeedbackSignalInput,+ AsknicelyFeedbackSignalInput,+ RetentlyFeedbackSignalInput,+ AppfiguresReviewSignalInput,+ AppfollowReviewSignalInput,+ JudgemeReviewsReviewSignalInput,)diff --git a/products/signals/backend/emission/_common.py b/products/signals/backend/emission/_common.pynew file mode 100644index 000000000000..678b7635f6d3--- /dev/null+++ b/products/signals/backend/emission/_common.py@@ -0,0 +1,96 @@+"""Shared helpers for flat data-warehouse signal emitters.++Most warehouse tables expose the record as flat top-level columns (an id, a title, an+optional body, and a few metadata fields). `make_flat_emitter` builds a standard emitter for+that shape so each source module stays a thin config declaration. Sources with nested JSON+columns (e.g. Jira's `fields`) still write a bespoke emitter — see `jira_issues.py`.+"""++import json+from collections.abc import Callable+from typing import Any++from structlog import get_logger++from products.signals.backend.emission.registry import SignalEmitterOutput++logger = get_logger(__name__)+++def parse_json_list(raw: Any) -> list[Any]:+ """Warehouse array columns arrive as either a native list or a JSON-encoded string."""+ if raw is None:+ return []+ if isinstance(raw, list):+ return raw+ if isinstance(raw, str):+ try:+ parsed = json.loads(raw)+ except (json.JSONDecodeError, TypeError):+ return []+ return parsed if isinstance(parsed, list) else []+ return []+++def make_flat_emitter(+ *,+ source_product: str,+ source_type: str,+ id_field: str,+ title_field: str,+ body_field: str | None = None,+ extra_fields: tuple[str, ...] = (),+ json_list_fields: tuple[str, ...] = (),+) -> Callable[[int, dict[str, Any]], SignalEmitterOutput | None]:+ """Build an emitter for a flat table: `id`+`title` required, optional `body` appended.++ Returns `None` (skip the record) when the title is empty — a record with no human-readable+ text can't produce a useful signal. Raises `ValueError` only when a required column is+ entirely absent from the row (a schema/query mismatch worth surfacing loudly).+ """++ def emitter(team_id: int, record: dict[str, Any]) -> SignalEmitterOutput | None:+ try:+ record_id = record[id_field]+ title = record[title_field]+ except KeyError as e:+ msg = f"{source_product} record missing required field {e}"+ logger.exception(msg, record=record, team_id=team_id, signals_type="data-import-signals")+ raise ValueError(msg) from e+ if not record_id or not title:+ logger.info(+ f"Ignoring {source_product} record with empty id or title",+ team_id=team_id,+ signals_type="data-import-signals",+ )+ return None+ body = record.get(body_field) if body_field else None+ description = f"{title}\n{body}" if body else str(title)+ return SignalEmitterOutput(+ source_product=source_product,+ source_type=source_type,+ source_id=str(record_id),+ description=description,+ weight=1.0,+ extra=_build_extra(record, extra_fields, json_list_fields),+ )++ return emitter+++def _build_extra(+ record: dict[str, Any],+ extra_fields: tuple[str, ...],+ json_list_fields: tuple[str, ...],+) -> dict[str, Any]:+ """Build a deterministic extra dict: every declared field is present, list fields are+ normalized to lists, and scalars are coerced to `str | None` so the payload validates+ stably regardless of the warehouse column's stored type (int vs string, etc.)."""+ extra: dict[str, Any] = {}+ for field in extra_fields:+ if field in json_list_fields:+ extra[field] = parse_json_list(record.get(field))+ else:+ value = record.get(field)+ extra[field] = None if value is None else str(value)+ return extradiff --git a/products/signals/backend/emission/_prompts.py b/products/signals/backend/emission/_prompts.pynew file mode 100644index 000000000000..fa92a91d6bb3--- /dev/null+++ b/products/signals/backend/emission/_prompts.py@@ -0,0 +1,230 @@+"""Shared actionability + summarization prompts for Tier-1 warehouse signal emitters.++Grouped by record shape (support ticket, issue-tracker issue, error-tracking issue) rather+than per source — the wording is identical across sources of the same shape. Each prompt keeps+the `{description}` placeholder the config validator requires; summarization prompts also keep+`{max_length}`.+"""++# ── Support tickets / conversations ──────────────────────────────────────────++TICKET_SUMMARIZATION_PROMPT = """Summarize this customer support ticket for semantic search.+Output exactly two parts separated by a newline:+1. A short title (under 100 characters) that captures the core issue+2. A concise summary capturing the problem or request, the product area affected, and any relevant context like error messages or what the customer already tried++Strip email signatures, legal disclaimers, and system-generated footers — but keep quoted replies or conversation fragments if they add context about the issue.+Keep the total output under {max_length} characters. Respond with only the title and summary, nothing else.++<ticket>+{description}+</ticket>+"""++TICKET_ACTIONABILITY_PROMPT = """You are a product feedback analyst. Given a customer support ticket, determine if it contains feedback that engineers could address with code changes (bug fixes, new features, performance improvements, etc.).++A ticket is ACTIONABLE if it describes:+- A bug, error, or unexpected behavior in the product+- A feature request or suggestion for improvement+- A usability issue or confusion about the product+- A performance problem+- A question about the product or product integrations+- An ask to help with the product+- and similar cases++A ticket is NOT_ACTIONABLE if it is:+- Spam, abuse, or profanity with no real feedback+- A request whose primary ask is a manual human action, not a code change (refunds, billing/payment changes, plan changes, invoice questions)+- A generic "thank you" or confirmation that an issue was resolved+- An auto-generated, bot, or out-of-office message+- An internal test message++When in doubt, classify as ACTIONABLE. It is worse to miss real feedback than to let some noise through.++<ticket>+{description}+</ticket>++Respond with exactly one word: ACTIONABLE or NOT_ACTIONABLE"""++# ── Issue-tracker issues ─────────────────────────────────────────────────────++ISSUE_SUMMARIZATION_PROMPT = """Summarize this issue for semantic search.+Output exactly two parts separated by a newline:+1. A short title (under 100 characters) that captures the core issue+2. A concise summary capturing the problem or request, the product area affected, and key context like error messages or what the user was doing when the issue occurred++Strip raw logs, full stack traces, and large code blocks — but keep specific error messages and high-level reproduction context if they clarify the issue.+Keep the total output under {max_length} characters. Respond with only the title and summary, nothing else.++<issue>+{description}+</issue>+"""++ISSUE_ACTIONABILITY_PROMPT = """You are a product feedback analyst. Given a tracked issue, determine if it contains actionable product feedback.++An issue is ACTIONABLE if it describes:+- A bug, error, or unexpected behavior in the product+- A feature request or suggestion for improvement+- A usability issue or confusion about the product+- A performance problem or regression+- A question about how to use the product+- A gap or error in documentation that caused confusion+- and similar cases++An issue is NOT_ACTIONABLE if it is:+- A meta/tracking issue with no substantive feedback (release checklists, sprint trackers, epics that only link children)+- An internal housekeeping task (dependency bumps, CI config, infra maintenance)+- A duplicate that only says "same as X" with no new information++When in doubt, classify as ACTIONABLE. Issues are filed intentionally, so err on the side of capturing the signal.++<issue>+{description}+</issue>++Respond with exactly one word: ACTIONABLE or NOT_ACTIONABLE"""++# ── Error / crash tracking ───────────────────────────────────────────────────++ERROR_SUMMARIZATION_PROMPT = """Summarize this application error for semantic search.+Output exactly two parts separated by a newline:+1. A short title (under 100 characters) naming the error and where it occurs+2. A concise summary of the error class, message, and the affected product area or code path++Strip full stack traces and repeated frames — but keep the error class, the key message, and the most relevant frame if it clarifies the cause.+Keep the total output under {max_length} characters. Respond with only the title and summary, nothing else.++<error>+{description}+</error>+"""++ERROR_ACTIONABILITY_PROMPT = """You are a product engineer triaging application errors. Given an error group, determine if it is actionable — a real defect an engineer could investigate or fix.++An error is ACTIONABLE if it describes:+- An unhandled exception, crash, or unexpected failure in the product+- A performance failure (timeout, out-of-memory, deadlock)+- A regression tied to a release or deploy+- and similar real defects++An error is NOT_ACTIONABLE if it is:+- Clearly caused by a client/network condition outside the product (e.g. user offline, request cancelled) with no product defect+- A known third-party/bot noise pattern with no product impact+- A test or synthetic error++When in doubt, classify as ACTIONABLE.++<error>+{description}+</error>++Respond with exactly one word: ACTIONABLE or NOT_ACTIONABLE"""++# ── Security scanner findings ────────────────────────────────────────────────++SCANNER_SUMMARIZATION_PROMPT = """Summarize this security or code-quality finding for semantic search.+Output exactly two parts separated by a newline:+1. A short title (under 100 characters) naming the finding and the affected component+2. A concise summary of the vulnerability or defect, its severity, and the affected code/asset++Strip long scanner boilerplate and repeated remediation text — keep the rule/CVE, severity, and the specific location or component.+Keep the total output under {max_length} characters. Respond with only the title and summary, nothing else.++<finding>+{description}+</finding>+"""++SCANNER_ACTIONABILITY_PROMPT = """You are a security engineer triaging scanner findings. Given a finding, determine if it is actionable — a real vulnerability or code-quality defect an engineer could fix.++A finding is ACTIONABLE if it describes:+- A security vulnerability (injection, secret leak, vulnerable dependency, misconfiguration)+- A code-quality defect (bug pattern, reliability or maintainability issue)+- and similar real defects with a fix path++A finding is NOT_ACTIONABLE if it is:+- Explicitly triaged as a false positive or accepted risk+- Informational-only with no fix+- A duplicate of an already-tracked finding with no new information++When in doubt, classify as ACTIONABLE.++<finding>+{description}+</finding>++Respond with exactly one word: ACTIONABLE or NOT_ACTIONABLE"""++# ── Product feedback / feature requests / surveys ────────────────────────────++FEEDBACK_SUMMARIZATION_PROMPT = """Summarize this product feedback for semantic search.+Output exactly two parts separated by a newline:+1. A short title (under 100 characters) capturing the core request or sentiment+2. A concise summary of what the user wants or is frustrated by, and the product area affected++Strip pleasantries and boilerplate — keep the specific ask, use case, or pain point.+Keep the total output under {max_length} characters. Respond with only the title and summary, nothing else.++<feedback>+{description}+</feedback>+"""++FEEDBACK_ACTIONABILITY_PROMPT = """You are a product feedback analyst. Given a piece of product feedback (a feature request, idea, or survey comment), determine if it contains actionable signal engineers or product could act on.++Feedback is ACTIONABLE if it describes:+- A feature request or concrete suggestion for improvement+- A bug, usability issue, or confusion about the product+- A specific unmet need or pain point with a use case+- and similar cases++Feedback is NOT_ACTIONABLE if it is:+- A generic "great product" / "thanks" with no substance+- Spam, abuse, or profanity with no real feedback+- An empty or single-word response with no context++When in doubt, classify as ACTIONABLE.++<feedback>+{description}+</feedback>++Respond with exactly one word: ACTIONABLE or NOT_ACTIONABLE"""++# ── App / product reviews ────────────────────────────────────────────────────++REVIEW_SUMMARIZATION_PROMPT = """Summarize this product review for semantic search.+Output exactly two parts separated by a newline:+1. A short title (under 100 characters) capturing the core sentiment or issue+2. A concise summary of what the reviewer liked or disliked, and the product area affected++Strip pleasantries — keep the specific praise, complaint, or requested change.+Keep the total output under {max_length} characters. Respond with only the title and summary, nothing else.++<review>+{description}+</review>+"""++REVIEW_ACTIONABILITY_PROMPT = """You are a product feedback analyst. Given an app or product review, determine if it contains actionable feedback engineers or product could act on.++A review is ACTIONABLE if it describes:+- A bug, crash, or broken behavior+- A missing feature or concrete improvement request+- A usability complaint or confusion tied to a specific area+- and similar cases++A review is NOT_ACTIONABLE if it is:+- A generic star rating with no substance ("great app", "love it", "bad")+- Spam, abuse, or profanity with no real feedback+- Off-topic content unrelated to the product++When in doubt, classify as ACTIONABLE.++<review>+{description}+</review>++Respond with exactly one word: ACTIONABLE or NOT_ACTIONABLE"""diff --git a/products/signals/backend/emission/aha_ideas.py b/products/signals/backend/emission/aha_ideas.pynew file mode 100644index 000000000000..5e71de52a086--- /dev/null+++ b/products/signals/backend/emission/aha_ideas.py@@ -0,0 +1,32 @@+"""Signal emitter for aha `ideas` (record kind: feedback).++`created_at` is an ISO string; `workflow_status` is a nested object coerced to text in extra.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import FEEDBACK_ACTIONABILITY_PROMPT, FEEDBACK_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++AHA_FIELDS = ("id", "name", "workflow_status", "score", "votes", "url", "created_at")++AHA_CONFIG = SignalSourceTableConfig(+ source_product="aha",+ source_type="feedback",+ emitter=make_flat_emitter(+ source_product="aha",+ source_type="feedback",+ id_field="id",+ title_field="name",+ extra_fields=("workflow_status", "score", "votes", "url", "created_at"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ partition_field_is_datetime_string=True,+ fields=AHA_FIELDS,+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=FEEDBACK_ACTIONABILITY_PROMPT,+ summarization_prompt=FEEDBACK_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/appfigures_reviews.py b/products/signals/backend/emission/appfigures_reviews.pynew file mode 100644index 000000000000..9572a8fa0938--- /dev/null+++ b/products/signals/backend/emission/appfigures_reviews.py@@ -0,0 +1,33 @@+"""Signal emitter for appfigures `reviews` (record kind: review).++`date` is an ISO string; `review` is the review body, `stars` the rating.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import REVIEW_ACTIONABILITY_PROMPT, REVIEW_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++APPFIGURES_FIELDS = ("id", "title", "review", "stars", "version", "product", "date")++APPFIGURES_CONFIG = SignalSourceTableConfig(+ source_product="appfigures",+ source_type="review",+ emitter=make_flat_emitter(+ source_product="appfigures",+ source_type="review",+ id_field="id",+ title_field="title",+ body_field="review",+ extra_fields=("stars", "version", "product", "date"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="date",+ partition_field_is_datetime_string=True,+ fields=APPFIGURES_FIELDS,+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=REVIEW_ACTIONABILITY_PROMPT,+ summarization_prompt=REVIEW_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/appfollow_reviews.py b/products/signals/backend/emission/appfollow_reviews.pynew file mode 100644index 000000000000..89e4cf865363--- /dev/null+++ b/products/signals/backend/emission/appfollow_reviews.py@@ -0,0 +1,33 @@+"""Signal emitter for appfollow `reviews` (record kind: review).++`date` is an ISO string; `content` is the review body, `rating` the star rating.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import REVIEW_ACTIONABILITY_PROMPT, REVIEW_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++APPFOLLOW_FIELDS = ("id", "title", "content", "rating", "store", "app_version", "date")++APPFOLLOW_CONFIG = SignalSourceTableConfig(+ source_product="appfollow",+ source_type="review",+ emitter=make_flat_emitter(+ source_product="appfollow",+ source_type="review",+ id_field="id",+ title_field="title",+ body_field="content",+ extra_fields=("rating", "store", "app_version", "date"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="date",+ partition_field_is_datetime_string=True,+ fields=APPFOLLOW_FIELDS,+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=REVIEW_ACTIONABILITY_PROMPT,+ summarization_prompt=REVIEW_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/asknicely_responses.py b/products/signals/backend/emission/asknicely_responses.pynew file mode 100644index 000000000000..b94b8ea5e27c--- /dev/null+++ b/products/signals/backend/emission/asknicely_responses.py@@ -0,0 +1,32 @@+"""Signal emitter for asknicely `responses` (record kind: feedback).++Uses the free-text `comment` as the signal — NPS responses without a comment are skipped by the emitter. Record id is `response_id`; `created` is an ISO string.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import FEEDBACK_ACTIONABILITY_PROMPT, FEEDBACK_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++ASKNICELY_FIELDS = ("response_id", "comment", "score", "status", "question_type", "segment", "created")++ASKNICELY_CONFIG = SignalSourceTableConfig(+ source_product="asknicely",+ source_type="feedback",+ emitter=make_flat_emitter(+ source_product="asknicely",+ source_type="feedback",+ id_field="response_id",+ title_field="comment",+ extra_fields=("score", "status", "question_type", "segment", "created"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created",+ partition_field_is_datetime_string=True,+ fields=ASKNICELY_FIELDS,+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=FEEDBACK_ACTIONABILITY_PROMPT,+ summarization_prompt=FEEDBACK_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/bugsnag_errors.py b/products/signals/backend/emission/bugsnag_errors.pynew file mode 100644index 000000000000..aac2ef3ca5ba--- /dev/null+++ b/products/signals/backend/emission/bugsnag_errors.py@@ -0,0 +1,34 @@+"""Signal emitter for bugsnag `errors` (record kind: issue).++`first_seen` is an ISO string; description combines the error class and message.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import ERROR_ACTIONABILITY_PROMPT, ERROR_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++BUGSNAG_FIELDS = ("id", "error_class", "message", "severity", "status", "context", "first_seen", "last_seen")++BUGSNAG_CONFIG = SignalSourceTableConfig(+ source_product="bugsnag",+ source_type="issue",+ emitter=make_flat_emitter(+ source_product="bugsnag",+ source_type="issue",+ id_field="id",+ title_field="error_class",+ body_field="message",+ extra_fields=("severity", "status", "context", "first_seen", "last_seen"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="first_seen",+ partition_field_is_datetime_string=True,+ fields=BUGSNAG_FIELDS,+ where_clause="status NOT IN ('fixed', 'ignored')",+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=ERROR_ACTIONABILITY_PROMPT,+ summarization_prompt=ERROR_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/canny_posts.py b/products/signals/backend/emission/canny_posts.pynew file mode 100644index 000000000000..27addfedce41--- /dev/null+++ b/products/signals/backend/emission/canny_posts.py@@ -0,0 +1,34 @@+"""Signal emitter for canny `posts` (record kind: feedback).++`created` is an ISO string; `details` is the post body.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import FEEDBACK_ACTIONABILITY_PROMPT, FEEDBACK_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++CANNY_FIELDS = ("id", "title", "details", "status", "tags", "score", "voteCount", "url", "created")++CANNY_CONFIG = SignalSourceTableConfig(+ source_product="canny",+ source_type="feedback",+ emitter=make_flat_emitter(+ source_product="canny",+ source_type="feedback",+ id_field="id",+ title_field="title",+ body_field="details",+ extra_fields=("status", "tags", "score", "voteCount", "url", "created"),+ json_list_fields=("tags",),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created",+ partition_field_is_datetime_string=True,+ fields=CANNY_FIELDS,+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=FEEDBACK_ACTIONABILITY_PROMPT,+ summarization_prompt=FEEDBACK_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/dixa_conversations.py b/products/signals/backend/emission/dixa_conversations.pynew file mode 100644index 000000000000..10c7e43d6f6d--- /dev/null+++ b/products/signals/backend/emission/dixa_conversations.py@@ -0,0 +1,34 @@+"""Signal emitter for dixa `conversations` (record kind: ticket).++`created_at` shape (epoch vs ISO) varies — verify on first sync; parseDateTimeBestEffort handles ISO strings.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import TICKET_ACTIONABILITY_PROMPT, TICKET_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++DIXA_FIELDS = ("id", "subject", "status", "channel", "tags", "created_at")++DIXA_CONFIG = SignalSourceTableConfig(+ source_product="dixa",+ source_type="ticket",+ emitter=make_flat_emitter(+ source_product="dixa",+ source_type="ticket",+ id_field="id",+ title_field="subject",+ extra_fields=("status", "channel", "tags", "created_at"),+ json_list_fields=("tags",),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ partition_field_is_datetime_string=True,+ fields=DIXA_FIELDS,+ where_clause="status != 'closed'",+ max_records=200,+ first_sync_lookback_days=1,+ actionability_prompt=TICKET_ACTIONABILITY_PROMPT,+ summarization_prompt=TICKET_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/featurebase_posts.py b/products/signals/backend/emission/featurebase_posts.pynew file mode 100644index 000000000000..9f7b5a91b1a7--- /dev/null+++ b/products/signals/backend/emission/featurebase_posts.py@@ -0,0 +1,34 @@+"""Signal emitter for featurebase `posts` (record kind: feedback).++`createdAt` is an ISO string.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import FEEDBACK_ACTIONABILITY_PROMPT, FEEDBACK_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++FEATUREBASE_FIELDS = ("id", "title", "content", "status", "tags", "upvotes", "createdAt")++FEATUREBASE_CONFIG = SignalSourceTableConfig(+ source_product="featurebase",+ source_type="feedback",+ emitter=make_flat_emitter(+ source_product="featurebase",+ source_type="feedback",+ id_field="id",+ title_field="title",+ body_field="content",+ extra_fields=("status", "tags", "upvotes", "createdAt"),+ json_list_fields=("tags",),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="createdAt",+ partition_field_is_datetime_string=True,+ fields=FEATUREBASE_FIELDS,+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=FEEDBACK_ACTIONABILITY_PROMPT,+ summarization_prompt=FEEDBACK_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/freshdesk_tickets.py b/products/signals/backend/emission/freshdesk_tickets.pynew file mode 100644index 000000000000..42fe4b6067a6--- /dev/null+++ b/products/signals/backend/emission/freshdesk_tickets.py@@ -0,0 +1,34 @@+"""Signal emitter for freshdesk `tickets` (record kind: ticket).++`status` is an integer (4=resolved, 5=closed); `created_at` is a native timestamp.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import TICKET_ACTIONABILITY_PROMPT, TICKET_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++FRESHDESK_FIELDS = ("id", "subject", "description_text", "status", "priority", "type", "tags", "created_at")++FRESHDESK_CONFIG = SignalSourceTableConfig(+ source_product="freshdesk",+ source_type="ticket",+ emitter=make_flat_emitter(+ source_product="freshdesk",+ source_type="ticket",+ id_field="id",+ title_field="subject",+ body_field="description_text",+ extra_fields=("status", "priority", "type", "tags", "created_at"),+ json_list_fields=("tags",),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ fields=FRESHDESK_FIELDS,+ where_clause="status NOT IN (4, 5)",+ max_records=200,+ first_sync_lookback_days=1,+ actionability_prompt=TICKET_ACTIONABILITY_PROMPT,+ summarization_prompt=TICKET_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/freshservice_tickets.py b/products/signals/backend/emission/freshservice_tickets.pynew file mode 100644index 000000000000..381110911683--- /dev/null+++ b/products/signals/backend/emission/freshservice_tickets.py@@ -0,0 +1,44 @@+"""Signal emitter for freshservice `tickets` (record kind: ticket).++`status` is an integer (4=resolved, 5=closed); `created_at` is a native timestamp.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import TICKET_ACTIONABILITY_PROMPT, TICKET_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++FRESHSERVICE_FIELDS = (+ "id",+ "subject",+ "description_text",+ "status",+ "priority",+ "type",+ "category",+ "tags",+ "created_at",+)++FRESHSERVICE_CONFIG = SignalSourceTableConfig(+ source_product="freshservice",+ source_type="ticket",+ emitter=make_flat_emitter(+ source_product="freshservice",+ source_type="ticket",+ id_field="id",+ title_field="subject",+ body_field="description_text",+ extra_fields=("status", "priority", "type", "category", "tags", "created_at"),+ json_list_fields=("tags",),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ fields=FRESHSERVICE_FIELDS,+ where_clause="status NOT IN (4, 5)",+ max_records=200,+ first_sync_lookback_days=1,+ actionability_prompt=TICKET_ACTIONABILITY_PROMPT,+ summarization_prompt=TICKET_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/frill_ideas.py b/products/signals/backend/emission/frill_ideas.pynew file mode 100644index 000000000000..11b03575a3d5--- /dev/null+++ b/products/signals/backend/emission/frill_ideas.py@@ -0,0 +1,35 @@+"""Signal emitter for frill `ideas` (record kind: feedback).++Record id is `idx`; `created_at` is an ISO string. `is_completed` boolean filter — verify storage on first sync.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import FEEDBACK_ACTIONABILITY_PROMPT, FEEDBACK_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++FRILL_FIELDS = ("idx", "name", "description", "status", "vote_count", "topics", "created_at")++FRILL_CONFIG = SignalSourceTableConfig(+ source_product="frill",+ source_type="feedback",+ emitter=make_flat_emitter(+ source_product="frill",+ source_type="feedback",+ id_field="idx",+ title_field="name",+ body_field="description",+ extra_fields=("status", "vote_count", "topics", "created_at"),+ json_list_fields=("topics",),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ partition_field_is_datetime_string=True,+ fields=FRILL_FIELDS,+ where_clause="is_completed = false",+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=FEEDBACK_ACTIONABILITY_PROMPT,+ summarization_prompt=FEEDBACK_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/front_conversations.py b/products/signals/backend/emission/front_conversations.pynew file mode 100644index 000000000000..577560f1e950--- /dev/null+++ b/products/signals/backend/emission/front_conversations.py@@ -0,0 +1,33 @@+"""Signal emitter for front `conversations` (record kind: ticket).++Front returns `created_at` as a Unix epoch (seconds); the conversation body lives in the messages table, so the subject is the only text here.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import TICKET_ACTIONABILITY_PROMPT, TICKET_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++FRONT_FIELDS = ("id", "subject", "status", "tags", "created_at")++FRONT_CONFIG = SignalSourceTableConfig(+ source_product="front",+ source_type="ticket",+ emitter=make_flat_emitter(+ source_product="front",+ source_type="ticket",+ id_field="id",+ title_field="subject",+ extra_fields=("status", "tags", "created_at"),+ json_list_fields=("tags",),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="fromUnixTimestamp(toUInt32(created_at))",+ fields=FRONT_FIELDS,+ where_clause="status NOT IN ('archived', 'deleted')",+ max_records=200,+ first_sync_lookback_days=1,+ actionability_prompt=TICKET_ACTIONABILITY_PROMPT,+ summarization_prompt=TICKET_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/gitea_issues.py b/products/signals/backend/emission/gitea_issues.pynew file mode 100644index 000000000000..cb78797d8790--- /dev/null+++ b/products/signals/backend/emission/gitea_issues.py@@ -0,0 +1,35 @@+"""Signal emitter for gitea `issues` (record kind: issue).++`created_at` is an ISO string; `labels` is a JSON array of label objects.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import ISSUE_ACTIONABILITY_PROMPT, ISSUE_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++GITEA_FIELDS = ("id", "title", "body", "state", "labels", "html_url", "number", "created_at")++GITEA_CONFIG = SignalSourceTableConfig(+ source_product="gitea",+ source_type="issue",+ emitter=make_flat_emitter(+ source_product="gitea",+ source_type="issue",+ id_field="id",+ title_field="title",+ body_field="body",+ extra_fields=("state", "labels", "html_url", "number", "created_at"),+ json_list_fields=("labels",),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ partition_field_is_datetime_string=True,+ fields=GITEA_FIELDS,+ where_clause="state != 'closed'",+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=ISSUE_ACTIONABILITY_PROMPT,+ summarization_prompt=ISSUE_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/gitlab_issues.py b/products/signals/backend/emission/gitlab_issues.pynew file mode 100644index 000000000000..19fe177cad34--- /dev/null+++ b/products/signals/backend/emission/gitlab_issues.py@@ -0,0 +1,35 @@+"""Signal emitter for gitlab `issues` (record kind: issue).++`created_at` is an ISO string.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import ISSUE_ACTIONABILITY_PROMPT, ISSUE_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++GITLAB_FIELDS = ("id", "title", "description", "state", "labels", "iid", "project_id", "created_at")++GITLAB_CONFIG = SignalSourceTableConfig(+ source_product="gitlab",+ source_type="issue",+ emitter=make_flat_emitter(+ source_product="gitlab",+ source_type="issue",+ id_field="id",+ title_field="title",+ body_field="description",+ extra_fields=("state", "labels", "iid", "project_id", "created_at"),+ json_list_fields=("labels",),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ partition_field_is_datetime_string=True,+ fields=GITLAB_FIELDS,+ where_clause="state != 'closed'",+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=ISSUE_ACTIONABILITY_PROMPT,+ summarization_prompt=ISSUE_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/gorgias_tickets.py b/products/signals/backend/emission/gorgias_tickets.pynew file mode 100644index 000000000000..3dba902f0400--- /dev/null+++ b/products/signals/backend/emission/gorgias_tickets.py@@ -0,0 +1,34 @@+"""Signal emitter for gorgias `tickets` (record kind: ticket).++Gorgias uses `created_datetime` (ISO string); message bodies live in a separate table, so the subject is the text here.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import TICKET_ACTIONABILITY_PROMPT, TICKET_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++GORGIAS_FIELDS = ("id", "subject", "status", "priority", "channel", "tags", "created_datetime")++GORGIAS_CONFIG = SignalSourceTableConfig(+ source_product="gorgias",+ source_type="ticket",+ emitter=make_flat_emitter(+ source_product="gorgias",+ source_type="ticket",+ id_field="id",+ title_field="subject",+ extra_fields=("status", "priority", "channel", "tags", "created_datetime"),+ json_list_fields=("tags",),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_datetime",+ partition_field_is_datetime_string=True,+ fields=GORGIAS_FIELDS,+ where_clause="status != 'closed'",+ max_records=200,+ first_sync_lookback_days=1,+ actionability_prompt=TICKET_ACTIONABILITY_PROMPT,+ summarization_prompt=TICKET_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/honeybadger_faults.py b/products/signals/backend/emission/honeybadger_faults.pynew file mode 100644index 000000000000..383b9749c8bf--- /dev/null+++ b/products/signals/backend/emission/honeybadger_faults.py@@ -0,0 +1,34 @@+"""Signal emitter for honeybadger `faults` (record kind: issue).++`created_at` is an ISO string. No status filter: `resolved`/`ignored` boolean storage is unverified — add `where` once confirmed on a real sync.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import ERROR_ACTIONABILITY_PROMPT, ERROR_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++HONEYBADGER_FIELDS = ("id", "klass", "message", "environment", "component", "action", "tags", "url", "created_at")++HONEYBADGER_CONFIG = SignalSourceTableConfig(+ source_product="honeybadger",+ source_type="issue",+ emitter=make_flat_emitter(+ source_product="honeybadger",+ source_type="issue",+ id_field="id",+ title_field="klass",+ body_field="message",+ extra_fields=("environment", "component", "action", "tags", "url", "created_at"),+ json_list_fields=("tags",),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ partition_field_is_datetime_string=True,+ fields=HONEYBADGER_FIELDS,+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=ERROR_ACTIONABILITY_PROMPT,+ summarization_prompt=ERROR_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/judgeme_reviews_reviews.py b/products/signals/backend/emission/judgeme_reviews_reviews.pynew file mode 100644index 000000000000..1182fa29cace--- /dev/null+++ b/products/signals/backend/emission/judgeme_reviews_reviews.py@@ -0,0 +1,33 @@+"""Signal emitter for judgeme_reviews `reviews` (record kind: review).++`created_at` is an ISO string; `body` is the review text, `rating` the star rating.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import REVIEW_ACTIONABILITY_PROMPT, REVIEW_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++JUDGEME_REVIEWS_FIELDS = ("id", "title", "body", "rating", "product_title", "verified", "created_at")++JUDGEME_REVIEWS_CONFIG = SignalSourceTableConfig(+ source_product="judgeme_reviews",+ source_type="review",+ emitter=make_flat_emitter(+ source_product="judgeme_reviews",+ source_type="review",+ id_field="id",+ title_field="title",+ body_field="body",+ extra_fields=("rating", "product_title", "verified", "created_at"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ partition_field_is_datetime_string=True,+ fields=JUDGEME_REVIEWS_FIELDS,+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=REVIEW_ACTIONABILITY_PROMPT,+ summarization_prompt=REVIEW_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/kustomer_conversations.py b/products/signals/backend/emission/kustomer_conversations.pynew file mode 100644index 000000000000..2dca399aba12--- /dev/null+++ b/products/signals/backend/emission/kustomer_conversations.py@@ -0,0 +1,34 @@+"""Signal emitter for kustomer `conversations` (record kind: ticket).++`createdAt` is an ISO string; the conversation `name` is the only text on this table.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import TICKET_ACTIONABILITY_PROMPT, TICKET_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++KUSTOMER_FIELDS = ("id", "name", "status", "priority", "tags", "createdAt")++KUSTOMER_CONFIG = SignalSourceTableConfig(+ source_product="kustomer",+ source_type="ticket",+ emitter=make_flat_emitter(+ source_product="kustomer",+ source_type="ticket",+ id_field="id",+ title_field="name",+ extra_fields=("status", "priority", "tags", "createdAt"),+ json_list_fields=("tags",),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="createdAt",+ partition_field_is_datetime_string=True,+ fields=KUSTOMER_FIELDS,+ where_clause="status != 'done'",+ max_records=200,+ first_sync_lookback_days=1,+ actionability_prompt=TICKET_ACTIONABILITY_PROMPT,+ summarization_prompt=TICKET_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/plain_threads.py b/products/signals/backend/emission/plain_threads.pynew file mode 100644index 000000000000..c3c686d20a79--- /dev/null+++ b/products/signals/backend/emission/plain_threads.py@@ -0,0 +1,35 @@+"""Signal emitter for plain `threads` (record kind: ticket).++`createdAt` is an ISO string; `previewText` gives a short body preview.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import TICKET_ACTIONABILITY_PROMPT, TICKET_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++PLAIN_FIELDS = ("id", "title", "previewText", "status", "priority", "labels", "createdAt")++PLAIN_CONFIG = SignalSourceTableConfig(+ source_product="plain",+ source_type="ticket",+ emitter=make_flat_emitter(+ source_product="plain",+ source_type="ticket",+ id_field="id",+ title_field="title",+ body_field="previewText",+ extra_fields=("status", "priority", "labels", "createdAt"),+ json_list_fields=("labels",),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="createdAt",+ partition_field_is_datetime_string=True,+ fields=PLAIN_FIELDS,+ where_clause="status != 'DONE'",+ max_records=200,+ first_sync_lookback_days=1,+ actionability_prompt=TICKET_ACTIONABILITY_PROMPT,+ summarization_prompt=TICKET_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/productboard_notes.py b/products/signals/backend/emission/productboard_notes.pynew file mode 100644index 000000000000..9567ec3cf1ae--- /dev/null+++ b/products/signals/backend/emission/productboard_notes.py@@ -0,0 +1,34 @@+"""Signal emitter for productboard `notes` (record kind: feedback).++`createdAt` is an ISO string; notes are raw customer feedback captured in Productboard.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import FEEDBACK_ACTIONABILITY_PROMPT, FEEDBACK_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++PRODUCTBOARD_FIELDS = ("id", "title", "content", "state", "tags", "displayUrl", "createdAt")++PRODUCTBOARD_CONFIG = SignalSourceTableConfig(+ source_product="productboard",+ source_type="feedback",+ emitter=make_flat_emitter(+ source_product="productboard",+ source_type="feedback",+ id_field="id",+ title_field="title",+ body_field="content",+ extra_fields=("state", "tags", "displayUrl", "createdAt"),+ json_list_fields=("tags",),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="createdAt",+ partition_field_is_datetime_string=True,+ fields=PRODUCTBOARD_FIELDS,+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=FEEDBACK_ACTIONABILITY_PROMPT,+ summarization_prompt=FEEDBACK_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/rapid7_insightvm_vulnerabilities.py b/products/signals/backend/emission/rapid7_insightvm_vulnerabilities.pynew file mode 100644index 000000000000..3f22b914f037--- /dev/null+++ b/products/signals/backend/emission/rapid7_insightvm_vulnerabilities.py@@ -0,0 +1,33 @@+"""Signal emitter for rapid7_insightvm `vulnerabilities` (record kind: scanner_finding).++`added` (when the vuln entered the console) is an ISO string used as the sync cursor.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import SCANNER_ACTIONABILITY_PROMPT, SCANNER_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++RAPID7_INSIGHTVM_FIELDS = ("id", "title", "description", "severity", "cvss_v3_score", "published", "added")++RAPID7_INSIGHTVM_CONFIG = SignalSourceTableConfig(+ source_product="rapid7_insightvm",+ source_type="scanner_finding",+ emitter=make_flat_emitter(+ source_product="rapid7_insightvm",+ source_type="scanner_finding",+ id_field="id",+ title_field="title",+ body_field="description",+ extra_fields=("severity", "cvss_v3_score", "published", "added"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="added",+ partition_field_is_datetime_string=True,+ fields=RAPID7_INSIGHTVM_FIELDS,+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=SCANNER_ACTIONABILITY_PROMPT,+ summarization_prompt=SCANNER_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/raygun_error_groups.py b/products/signals/backend/emission/raygun_error_groups.pynew file mode 100644index 000000000000..ec694eee8a68--- /dev/null+++ b/products/signals/backend/emission/raygun_error_groups.py@@ -0,0 +1,33 @@+"""Signal emitter for raygun `error_groups` (record kind: issue).++`createdAt` is an ISO string; the record id column is `identifier`.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import ERROR_ACTIONABILITY_PROMPT, ERROR_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++RAYGUN_FIELDS = ("identifier", "message", "status", "applicationUrl", "lastOccurredAt", "createdAt")++RAYGUN_CONFIG = SignalSourceTableConfig(+ source_product="raygun",+ source_type="issue",+ emitter=make_flat_emitter(+ source_product="raygun",+ source_type="issue",+ id_field="identifier",+ title_field="message",+ extra_fields=("status", "applicationUrl", "lastOccurredAt", "createdAt"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="createdAt",+ partition_field_is_datetime_string=True,+ fields=RAYGUN_FIELDS,+ where_clause="status = 'active'",+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=ERROR_ACTIONABILITY_PROMPT,+ summarization_prompt=ERROR_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/registry.py b/products/signals/backend/emission/registry.pyindex 381345502786..77c689646209 100644--- a/products/signals/backend/emission/registry.py+++ b/products/signals/backend/emission/registry.py@@ -117,11 +117,44 @@ def get_signal_source_identity(source_type: str, schema_name: str) -> tuple[str,def _register_all_emitters() -> None:+ # Tier-3 feedback / reviews+ from products.signals.backend.emission.aha_ideas import AHA_CONFIG+ from products.signals.backend.emission.appfigures_reviews import APPFIGURES_CONFIG+ from products.signals.backend.emission.appfollow_reviews import APPFOLLOW_CONFIG+ from products.signals.backend.emission.asknicely_responses import ASKNICELY_CONFIG+ from products.signals.backend.emission.bugsnag_errors import BUGSNAG_CONFIG+ from products.signals.backend.emission.canny_posts import CANNY_CONFIGfrom products.signals.backend.emission.conversations_tickets import CONVERSATIONS_TICKETS_CONFIG+ from products.signals.backend.emission.dixa_conversations import DIXA_CONFIG+ from products.signals.backend.emission.featurebase_posts import FEATUREBASE_CONFIG+ from products.signals.backend.emission.freshdesk_tickets import FRESHDESK_CONFIG+ from products.signals.backend.emission.freshservice_tickets import FRESHSERVICE_CONFIG+ from products.signals.backend.emission.frill_ideas import FRILL_CONFIG+ from products.signals.backend.emission.front_conversations import FRONT_CONFIG+ from products.signals.backend.emission.gitea_issues import GITEA_CONFIGfrom products.signals.backend.emission.github_issues import GITHUB_ISSUES_CONFIG+ from products.signals.backend.emission.gitlab_issues import GITLAB_CONFIG+ from products.signals.backend.emission.gorgias_tickets import GORGIAS_CONFIG+ from products.signals.backend.emission.honeybadger_faults import HONEYBADGER_CONFIGfrom products.signals.backend.emission.jira_issues import JIRA_ISSUES_CONFIG+ from products.signals.backend.emission.judgeme_reviews_reviews import JUDGEME_REVIEWS_CONFIG+ from products.signals.backend.emission.kustomer_conversations import KUSTOMER_CONFIGfrom products.signals.backend.emission.linear_issues import LINEAR_ISSUES_CONFIGfrom products.signals.backend.emission.pganalyze_issues import PGANALYZE_ISSUES_CONFIG+ from products.signals.backend.emission.plain_threads import PLAIN_CONFIG+ from products.signals.backend.emission.productboard_notes import PRODUCTBOARD_CONFIG++ # Tier-2 security scanners+ from products.signals.backend.emission.rapid7_insightvm_vulnerabilities import RAPID7_INSIGHTVM_CONFIG+ from products.signals.backend.emission.raygun_error_groups import RAYGUN_CONFIG+ from products.signals.backend.emission.retently_feedback import RETENTLY_CONFIG+ from products.signals.backend.emission.rollbar_items import ROLLBAR_CONFIG+ from products.signals.backend.emission.semgrep_sast_findings import SEMGREP_CONFIG+ from products.signals.backend.emission.sentry_issues import SENTRY_CONFIG+ from products.signals.backend.emission.shortcut_stories import SHORTCUT_CONFIG+ from products.signals.backend.emission.snyk_issues import SNYK_CONFIG+ from products.signals.backend.emission.sonarqube_issues import SONARQUBE_CONFIG+ from products.signals.backend.emission.uservoice_suggestions import USERVOICE_CONFIGfrom products.signals.backend.emission.zendesk_tickets import ZENDESK_TICKETS_CONFIGregister_signal_source(ExternalDataSourceType.ZENDESK, "tickets", ZENDESK_TICKETS_CONFIG)@@ -130,6 +163,42 @@ def _register_all_emitters() -> None:register_signal_source(ExternalDataSourceType.JIRA, "issues", JIRA_ISSUES_CONFIG)register_signal_source(ExternalDataSourceType.PGANALYZE, "issues", PGANALYZE_ISSUES_CONFIG)register_signal_source(InternalSourceType.CONVERSATIONS, "tickets", CONVERSATIONS_TICKETS_CONFIG)+ # Tier-1 support / helpdesk (record kind: ticket)+ register_signal_source(ExternalDataSourceType.FRESHDESK, "tickets", FRESHDESK_CONFIG)+ register_signal_source(ExternalDataSourceType.FRESHSERVICE, "tickets", FRESHSERVICE_CONFIG)+ register_signal_source(ExternalDataSourceType.FRONT, "conversations", FRONT_CONFIG)+ register_signal_source(ExternalDataSourceType.GORGIAS, "tickets", GORGIAS_CONFIG)+ register_signal_source(ExternalDataSourceType.KUSTOMER, "conversations", KUSTOMER_CONFIG)+ register_signal_source(ExternalDataSourceType.DIXA, "conversations", DIXA_CONFIG)+ register_signal_source(ExternalDataSourceType.PLAIN, "threads", PLAIN_CONFIG)+ # Tier-1 issue trackers (record kind: issue)+ register_signal_source(ExternalDataSourceType.GITLAB, "issues", GITLAB_CONFIG)+ register_signal_source(ExternalDataSourceType.GITEA, "issues", GITEA_CONFIG)+ register_signal_source(ExternalDataSourceType.SHORTCUT, "stories", SHORTCUT_CONFIG)+ # Tier-1 error tracking (record kind: issue)+ register_signal_source(ExternalDataSourceType.SENTRY, "issues", SENTRY_CONFIG)+ register_signal_source(ExternalDataSourceType.ROLLBAR, "items", ROLLBAR_CONFIG)+ register_signal_source(ExternalDataSourceType.BUGSNAG, "errors", BUGSNAG_CONFIG)+ register_signal_source(ExternalDataSourceType.HONEYBADGER, "faults", HONEYBADGER_CONFIG)+ register_signal_source(ExternalDataSourceType.RAYGUN, "error_groups", RAYGUN_CONFIG)+ # Tier-2 security scanners (record kind: scanner_finding)+ register_signal_source(ExternalDataSourceType.SNYK, "issues", SNYK_CONFIG)+ register_signal_source(ExternalDataSourceType.SONARQUBE, "issues", SONARQUBE_CONFIG)+ register_signal_source(ExternalDataSourceType.SEMGREP, "sast_findings", SEMGREP_CONFIG)+ register_signal_source(ExternalDataSourceType.RAPID7INSIGHTVM, "vulnerabilities", RAPID7_INSIGHTVM_CONFIG)+ # Tier-3 product feedback / feature requests (record kind: feedback)+ register_signal_source(ExternalDataSourceType.FEATUREBASE, "posts", FEATUREBASE_CONFIG)+ register_signal_source(ExternalDataSourceType.FRILL, "ideas", FRILL_CONFIG)+ register_signal_source(ExternalDataSourceType.AHA, "ideas", AHA_CONFIG)+ register_signal_source(ExternalDataSourceType.USERVOICE, "suggestions", USERVOICE_CONFIG)+ register_signal_source(ExternalDataSourceType.PRODUCTBOARD, "notes", PRODUCTBOARD_CONFIG)+ register_signal_source(ExternalDataSourceType.CANNY, "posts", CANNY_CONFIG)+ register_signal_source(ExternalDataSourceType.ASKNICELY, "responses", ASKNICELY_CONFIG)+ register_signal_source(ExternalDataSourceType.RETENTLY, "feedback", RETENTLY_CONFIG)+ # Tier-3 reviews (record kind: review)+ register_signal_source(ExternalDataSourceType.APPFIGURES, "reviews", APPFIGURES_CONFIG)+ register_signal_source(ExternalDataSourceType.APPFOLLOW, "reviews", APPFOLLOW_CONFIG)+ register_signal_source(ExternalDataSourceType.JUDGEMEREVIEWS, "reviews", JUDGEME_REVIEWS_CONFIG)_register_all_emitters()diff --git a/products/signals/backend/emission/retently_feedback.py b/products/signals/backend/emission/retently_feedback.pynew file mode 100644index 000000000000..8080ca42eac1--- /dev/null+++ b/products/signals/backend/emission/retently_feedback.py@@ -0,0 +1,33 @@+"""Signal emitter for retently `feedback` (record kind: feedback).++Uses the free-text `comment` — scoreless/comment-less responses are skipped. `createdDate` is an ISO string.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import FEEDBACK_ACTIONABILITY_PROMPT, FEEDBACK_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++RETENTLY_FIELDS = ("id", "comment", "score", "ratingCategory", "feedbackTopics", "resolved", "createdDate")++RETENTLY_CONFIG = SignalSourceTableConfig(+ source_product="retently",+ source_type="feedback",+ emitter=make_flat_emitter(+ source_product="retently",+ source_type="feedback",+ id_field="id",+ title_field="comment",+ extra_fields=("score", "ratingCategory", "feedbackTopics", "resolved", "createdDate"),+ json_list_fields=("feedbackTopics",),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="createdDate",+ partition_field_is_datetime_string=True,+ fields=RETENTLY_FIELDS,+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=FEEDBACK_ACTIONABILITY_PROMPT,+ summarization_prompt=FEEDBACK_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/rollbar_items.py b/products/signals/backend/emission/rollbar_items.pynew file mode 100644index 000000000000..f7d32d47dd3a--- /dev/null+++ b/products/signals/backend/emission/rollbar_items.py@@ -0,0 +1,32 @@+"""Signal emitter for rollbar `items` (record kind: issue).++Rollbar timestamps are Unix epoch (seconds); `title` is the item's error title.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import ERROR_ACTIONABILITY_PROMPT, ERROR_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++ROLLBAR_FIELDS = ("id", "title", "level", "status", "environment", "framework", "last_occurrence_timestamp")++ROLLBAR_CONFIG = SignalSourceTableConfig(+ source_product="rollbar",+ source_type="issue",+ emitter=make_flat_emitter(+ source_product="rollbar",+ source_type="issue",+ id_field="id",+ title_field="title",+ extra_fields=("level", "status", "environment", "framework", "last_occurrence_timestamp"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="fromUnixTimestamp(toUInt32(first_occurrence_timestamp))",+ fields=ROLLBAR_FIELDS,+ where_clause="status != 'resolved'",+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=ERROR_ACTIONABILITY_PROMPT,+ summarization_prompt=ERROR_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/semgrep_sast_findings.py b/products/signals/backend/emission/semgrep_sast_findings.pynew file mode 100644index 000000000000..836370d91913--- /dev/null+++ b/products/signals/backend/emission/semgrep_sast_findings.py@@ -0,0 +1,34 @@+"""Signal emitter for semgrep `sast_findings` (record kind: scanner_finding).++`created_at` is an ISO string; description combines the rule name and message.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import SCANNER_ACTIONABILITY_PROMPT, SCANNER_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++SEMGREP_FIELDS = ("id", "rule_name", "rule_message", "severity", "confidence", "status", "state", "created_at")++SEMGREP_CONFIG = SignalSourceTableConfig(+ source_product="semgrep",+ source_type="scanner_finding",+ emitter=make_flat_emitter(+ source_product="semgrep",+ source_type="scanner_finding",+ id_field="id",+ title_field="rule_name",+ body_field="rule_message",+ extra_fields=("severity", "confidence", "status", "state", "created_at"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ partition_field_is_datetime_string=True,+ fields=SEMGREP_FIELDS,+ where_clause="status != 'fixed'",+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=SCANNER_ACTIONABILITY_PROMPT,+ summarization_prompt=SCANNER_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/sentry_issues.py b/products/signals/backend/emission/sentry_issues.pynew file mode 100644index 000000000000..22eed0205228--- /dev/null+++ b/products/signals/backend/emission/sentry_issues.py@@ -0,0 +1,34 @@+"""Signal emitter for sentry `issues` (record kind: issue).++`firstSeen` is an ISO string; `culprit` names the failing code path.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import ERROR_ACTIONABILITY_PROMPT, ERROR_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++SENTRY_FIELDS = ("id", "title", "culprit", "level", "status", "permalink", "shortId", "firstSeen")++SENTRY_CONFIG = SignalSourceTableConfig(+ source_product="sentry",+ source_type="issue",+ emitter=make_flat_emitter(+ source_product="sentry",+ source_type="issue",+ id_field="id",+ title_field="title",+ body_field="culprit",+ extra_fields=("level", "status", "permalink", "shortId", "firstSeen"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="firstSeen",+ partition_field_is_datetime_string=True,+ fields=SENTRY_FIELDS,+ where_clause="status NOT IN ('resolved', 'ignored')",+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=ERROR_ACTIONABILITY_PROMPT,+ summarization_prompt=ERROR_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/shortcut_stories.py b/products/signals/backend/emission/shortcut_stories.pynew file mode 100644index 000000000000..66d4eec401d9--- /dev/null+++ b/products/signals/backend/emission/shortcut_stories.py@@ -0,0 +1,34 @@+"""Signal emitter for shortcut `stories` (record kind: issue).++`created_at` is an ISO string. No status filter: `completed`/`archived` boolean storage is unverified — add `where` once confirmed on a real sync to skip done stories.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import ISSUE_ACTIONABILITY_PROMPT, ISSUE_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++SHORTCUT_FIELDS = ("id", "name", "description", "story_type", "labels", "workflow_state_id", "created_at")++SHORTCUT_CONFIG = SignalSourceTableConfig(+ source_product="shortcut",+ source_type="issue",+ emitter=make_flat_emitter(+ source_product="shortcut",+ source_type="issue",+ id_field="id",+ title_field="name",+ body_field="description",+ extra_fields=("story_type", "labels", "workflow_state_id", "created_at"),+ json_list_fields=("labels",),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ partition_field_is_datetime_string=True,+ fields=SHORTCUT_FIELDS,+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=ISSUE_ACTIONABILITY_PROMPT,+ summarization_prompt=ISSUE_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/snyk_issues.py b/products/signals/backend/emission/snyk_issues.pynew file mode 100644index 000000000000..b06380121f59--- /dev/null+++ b/products/signals/backend/emission/snyk_issues.py@@ -0,0 +1,33 @@+"""Signal emitter for snyk `issues` (record kind: scanner_finding).++`created_at` is an ISO string; issue `title` names the vulnerability.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import SCANNER_ACTIONABILITY_PROMPT, SCANNER_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++SNYK_FIELDS = ("id", "title", "effective_severity_level", "status", "type", "created_at")++SNYK_CONFIG = SignalSourceTableConfig(+ source_product="snyk",+ source_type="scanner_finding",+ emitter=make_flat_emitter(+ source_product="snyk",+ source_type="scanner_finding",+ id_field="id",+ title_field="title",+ extra_fields=("effective_severity_level", "status", "type", "created_at"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ partition_field_is_datetime_string=True,+ fields=SNYK_FIELDS,+ where_clause="status != 'resolved'",+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=SCANNER_ACTIONABILITY_PROMPT,+ summarization_prompt=SCANNER_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/sonarqube_issues.py b/products/signals/backend/emission/sonarqube_issues.pynew file mode 100644index 000000000000..7700d8eb170f--- /dev/null+++ b/products/signals/backend/emission/sonarqube_issues.py@@ -0,0 +1,33 @@+"""Signal emitter for sonarqube `issues` (record kind: scanner_finding).++Record id is `key`; `creationDate` is an ISO string; `message` describes the finding.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import SCANNER_ACTIONABILITY_PROMPT, SCANNER_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++SONARQUBE_FIELDS = ("key", "message", "severity", "type", "status", "component", "rule", "creationDate")++SONARQUBE_CONFIG = SignalSourceTableConfig(+ source_product="sonarqube",+ source_type="scanner_finding",+ emitter=make_flat_emitter(+ source_product="sonarqube",+ source_type="scanner_finding",+ id_field="key",+ title_field="message",+ extra_fields=("severity", "type", "status", "component", "rule", "creationDate"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="creationDate",+ partition_field_is_datetime_string=True,+ fields=SONARQUBE_FIELDS,+ where_clause="status NOT IN ('RESOLVED', 'CLOSED')",+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=SCANNER_ACTIONABILITY_PROMPT,+ summarization_prompt=SCANNER_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/emission/tests/test_common.py b/products/signals/backend/emission/tests/test_common.pynew file mode 100644index 000000000000..8346fd8abeb3--- /dev/null+++ b/products/signals/backend/emission/tests/test_common.py@@ -0,0 +1,83 @@+from typing import Any++import pytest++from products.signals.backend.emission._common import make_flat_emitter, parse_json_list+++class TestParseJsonList:+ @pytest.mark.parametrize(+ "raw,expected",+ [+ (None, []),+ ([], []),+ (["a", "b"], ["a", "b"]),+ ('["a", "b"]', ["a", "b"]),+ ("not-json", []),+ ("", []),+ ('{"not": "an array"}', []),+ (42, []),+ ],+ )+ def test_parses_or_falls_back_to_empty(self, raw, expected):+ assert parse_json_list(raw) == expected+++class TestMakeFlatEmitter:+ def _emitter(self, **kwargs):+ defaults: dict[str, Any] = {+ "source_product": "acme",+ "source_type": "ticket",+ "id_field": "id",+ "title_field": "subject",+ "extra_fields": ("status", "tags"),+ "json_list_fields": ("tags",),+ }+ defaults.update(kwargs)+ return make_flat_emitter(**defaults)++ def test_emits_title_only_when_no_body_field(self):+ out = self._emitter()(1, {"id": 7, "subject": "Broken", "status": "open", "tags": '["a"]'})+ assert out is not None+ assert out.source_product == "acme"+ assert out.source_type == "ticket"+ assert out.source_id == "7"+ assert out.description == "Broken"+ assert out.weight == 1.0++ def test_appends_body_when_present(self):+ emitter = self._emitter(body_field="body")+ out = emitter(1, {"id": 7, "subject": "Broken", "body": "details", "status": "open", "tags": None})+ assert out is not None+ assert out.description == "Broken\ndetails"++ def test_title_only_when_body_empty(self):+ emitter = self._emitter(body_field="body")+ out = emitter(1, {"id": 7, "subject": "Broken", "body": "", "status": "open", "tags": None})+ assert out is not None+ assert out.description == "Broken"++ @pytest.mark.parametrize("empty_title", [None, ""])+ def test_returns_none_when_title_empty(self, empty_title):+ assert self._emitter()(1, {"id": 7, "subject": empty_title, "status": "x", "tags": None}) is None++ def test_returns_none_when_id_falsy(self):+ assert self._emitter()(1, {"id": 0, "subject": "Broken", "status": "x", "tags": None}) is None++ def test_raises_when_required_column_absent(self):+ with pytest.raises(ValueError, match="missing required field"):+ self._emitter()(1, {"subject": "Broken"})++ def test_extra_is_limited_to_declared_fields_and_coerced(self):+ out = self._emitter()(1, {"id": 7, "subject": "Broken", "status": 4, "tags": '["a", "b"]', "secret": "x"})+ assert out is not None+ assert set(out.extra.keys()) == {"status", "tags"}+ assert out.extra["status"] == "4" # scalar coerced to str+ assert out.extra["tags"] == ["a", "b"] # json list parsed+ assert "secret" not in out.extra++ def test_missing_extra_field_defaults_to_none(self):+ out = self._emitter()(1, {"id": 7, "subject": "Broken", "tags": None})+ assert out is not None+ assert out.extra["status"] is None+ assert out.extra["tags"] == []diff --git a/products/signals/backend/emission/tests/test_tier1_registry.py b/products/signals/backend/emission/tests/test_tier1_registry.pynew file mode 100644index 000000000000..51a0480a7a21--- /dev/null+++ b/products/signals/backend/emission/tests/test_tier1_registry.py@@ -0,0 +1,101 @@+from typing import Any++import pytest++from products.signals.backend.contracts import SIGNAL_VARIANT_LOOKUP+from products.signals.backend.emission.registry import get_signal_config, is_signal_emission_registered+from products.warehouse_sources.backend.facade.types import ExternalDataSourceType++# (source_type, warehouse table, source_product, record kind) for each Tier-1 source added in this batch.+TIER1_SOURCES = [+ (ExternalDataSourceType.FRESHDESK, "tickets", "freshdesk", "ticket"),+ (ExternalDataSourceType.FRESHSERVICE, "tickets", "freshservice", "ticket"),+ (ExternalDataSourceType.FRONT, "conversations", "front", "ticket"),+ (ExternalDataSourceType.GORGIAS, "tickets", "gorgias", "ticket"),+ (ExternalDataSourceType.KUSTOMER, "conversations", "kustomer", "ticket"),+ (ExternalDataSourceType.DIXA, "conversations", "dixa", "ticket"),+ (ExternalDataSourceType.PLAIN, "threads", "plain", "ticket"),+ (ExternalDataSourceType.GITLAB, "issues", "gitlab", "issue"),+ (ExternalDataSourceType.GITEA, "issues", "gitea", "issue"),+ (ExternalDataSourceType.SHORTCUT, "stories", "shortcut", "issue"),+ (ExternalDataSourceType.SENTRY, "issues", "sentry", "issue"),+ (ExternalDataSourceType.ROLLBAR, "items", "rollbar", "issue"),+ (ExternalDataSourceType.BUGSNAG, "errors", "bugsnag", "issue"),+ (ExternalDataSourceType.HONEYBADGER, "faults", "honeybadger", "issue"),+ (ExternalDataSourceType.RAYGUN, "error_groups", "raygun", "issue"),+ # Tier-2 security scanners+ (ExternalDataSourceType.SNYK, "issues", "snyk", "scanner_finding"),+ (ExternalDataSourceType.SONARQUBE, "issues", "sonarqube", "scanner_finding"),+ (ExternalDataSourceType.SEMGREP, "sast_findings", "semgrep", "scanner_finding"),+ (ExternalDataSourceType.RAPID7INSIGHTVM, "vulnerabilities", "rapid7_insightvm", "scanner_finding"),+ # Tier-3 product feedback / feature requests+ (ExternalDataSourceType.FEATUREBASE, "posts", "featurebase", "feedback"),+ (ExternalDataSourceType.FRILL, "ideas", "frill", "feedback"),+ (ExternalDataSourceType.AHA, "ideas", "aha", "feedback"),+ (ExternalDataSourceType.USERVOICE, "suggestions", "uservoice", "feedback"),+ (ExternalDataSourceType.PRODUCTBOARD, "notes", "productboard", "feedback"),+ (ExternalDataSourceType.CANNY, "posts", "canny", "feedback"),+ (ExternalDataSourceType.ASKNICELY, "responses", "asknicely", "feedback"),+ (ExternalDataSourceType.RETENTLY, "feedback", "retently", "feedback"),+ # Tier-3 reviews+ (ExternalDataSourceType.APPFIGURES, "reviews", "appfigures", "review"),+ (ExternalDataSourceType.APPFOLLOW, "reviews", "appfollow", "review"),+ (ExternalDataSourceType.JUDGEMEREVIEWS, "reviews", "judgeme_reviews", "review"),+]++IDS = [product for _, _, product, _ in TIER1_SOURCES]+++def _mock_record(fields: tuple[str, ...]) -> dict:+ """A full record covering every SELECTed column, with plausible types."""+ record: dict = {}+ for field in fields:+ if field in ("tags", "labels"):+ record[field] = '["one", "two"]'+ elif field in ("id", "iid", "project_id", "number", "workflow_state_id"):+ record[field] = 123+ else:+ record[field] = f"value-{field}"+ return record++[email protected]("source_type,table,product,kind", TIER1_SOURCES, ids=IDS)+def test_source_is_registered(source_type, table, product, kind):+ assert is_signal_emission_registered(source_type.value, table)+ config = get_signal_config(source_type.value, table)+ assert config is not None+ assert config.source_product == product+ assert config.source_type == kind++[email protected]("source_type,table,product,kind", TIER1_SOURCES, ids=IDS)+def test_emitter_output_matches_contract(source_type, table, product, kind):+ config = get_signal_config(source_type.value, table)+ assert config is not None+ output = config.emitter(1, _mock_record(config.fields))+ assert output is not None, f"{product} emitter returned None for a full record"+ assert output.source_product == product+ assert output.source_type == kind++ variant = SIGNAL_VARIANT_LOOKUP.get((output.source_product, output.source_type))+ assert variant is not None, f"no contract variant for ({output.source_product}, {output.source_type})"+ # extra="forbid" + strict types: this fails if the emitted extra drifts from the contract.+ # Splat via a dict[str, Any] because `variant` is typed as the base class, which doesn't+ # declare the discriminator/extra fields the concrete variant adds.+ variant_fields: dict[str, Any] = {+ "source_id": output.source_id,+ "description": output.description,+ "weight": output.weight,+ "extra": output.extra,+ "source_type": output.source_type,+ "source_product": output.source_product,+ }+ variant(**variant_fields)++[email protected]("source_type,table,product,kind", TIER1_SOURCES, ids=IDS)+def test_config_has_actionability_and_summarization_prompts(source_type, table, product, kind):+ config = get_signal_config(source_type.value, table)+ assert config is not None+ assert config.actionability_prompt is not None and "{description}" in config.actionability_prompt+ assert config.summarization_prompt is not None and "{description}" in config.summarization_promptdiff --git a/products/signals/backend/emission/uservoice_suggestions.py b/products/signals/backend/emission/uservoice_suggestions.pynew file mode 100644index 000000000000..976d684d3471--- /dev/null+++ b/products/signals/backend/emission/uservoice_suggestions.py@@ -0,0 +1,34 @@+"""Signal emitter for uservoice `suggestions` (record kind: feedback).++`created_at` is an ISO string.+"""++from products.signals.backend.emission._common import make_flat_emitter+from products.signals.backend.emission._prompts import FEEDBACK_ACTIONABILITY_PROMPT, FEEDBACK_SUMMARIZATION_PROMPT+from products.signals.backend.emission.fetchers.data_warehouse import data_warehouse_record_fetcher+from products.signals.backend.emission.registry import SignalSourceTableConfig++USERVOICE_FIELDS = ("id", "title", "formatted_text", "state", "vote_count", "category_name", "created_at")++USERVOICE_CONFIG = SignalSourceTableConfig(+ source_product="uservoice",+ source_type="feedback",+ emitter=make_flat_emitter(+ source_product="uservoice",+ source_type="feedback",+ id_field="id",+ title_field="title",+ body_field="formatted_text",+ extra_fields=("state", "vote_count", "category_name", "created_at"),+ ),+ record_fetcher=data_warehouse_record_fetcher,+ partition_field="created_at",+ partition_field_is_datetime_string=True,+ fields=USERVOICE_FIELDS,+ where_clause="state != 'closed'",+ max_records=500,+ first_sync_lookback_days=1,+ actionability_prompt=FEEDBACK_ACTIONABILITY_PROMPT,+ summarization_prompt=FEEDBACK_SUMMARIZATION_PROMPT,+ description_summarization_threshold_chars=2000,+)diff --git a/products/signals/backend/enums.py b/products/signals/backend/enums.pyindex 0ead23a3070b..673d61bc23de 100644--- a/products/signals/backend/enums.py+++ b/products/signals/backend/enums.py@@ -32,6 +32,39 @@ class SignalSourceProduct(StrEnum):HEALTH_CHECKS = "health_checks"REPLAY_VISION = "replay_vision"ANALYTICS = "analytics"+ # Tier-1 data-warehouse inbox sources (support / issue trackers / error tracking)+ FRESHDESK = "freshdesk"+ FRESHSERVICE = "freshservice"+ FRONT = "front"+ GORGIAS = "gorgias"+ KUSTOMER = "kustomer"+ DIXA = "dixa"+ PLAIN = "plain"+ GITLAB = "gitlab"+ GITEA = "gitea"+ SHORTCUT = "shortcut"+ SENTRY = "sentry"+ ROLLBAR = "rollbar"+ BUGSNAG = "bugsnag"+ HONEYBADGER = "honeybadger"+ RAYGUN = "raygun"+ # Tier-2 security scanners (record kind: scanner_finding)+ SNYK = "snyk"+ SONARQUBE = "sonarqube"+ SEMGREP = "semgrep"+ RAPID7_INSIGHTVM = "rapid7_insightvm"+ # Tier-3 product feedback / feature requests / reviews+ FEATUREBASE = "featurebase"+ FRILL = "frill"+ AHA = "aha"+ USERVOICE = "uservoice"+ PRODUCTBOARD = "productboard"+ CANNY = "canny"+ ASKNICELY = "asknicely"+ RETENTLY = "retently"+ APPFIGURES = "appfigures"+ APPFOLLOW = "appfollow"+ JUDGEME_REVIEWS = "judgeme_reviews"class SignalSourceType(StrEnum):@@ -51,6 +84,8 @@ class SignalSourceType(StrEnum):HEALTH_ISSUE = "health_issue"SCANNER_FINDING = "scanner_finding"ANOMALY_INVESTIGATION = "anomaly_investigation"+ FEEDBACK = "feedback"+ REVIEW = "review"# Plain value lists for ENUM_NAME_OVERRIDES in web.py — drf-spectacular hashes ChoiceField@@ -76,6 +111,36 @@ SIGNAL_SOURCE_PRODUCT_LABELS: dict[SignalSourceProduct, str] = {SignalSourceProduct.ENDPOINTS: "Endpoints",SignalSourceProduct.REPLAY_VISION: "Replay Vision",SignalSourceProduct.ANALYTICS: "Product analytics",+ SignalSourceProduct.FRESHDESK: "Freshdesk",+ SignalSourceProduct.FRESHSERVICE: "Freshservice",+ SignalSourceProduct.FRONT: "Front",+ SignalSourceProduct.GORGIAS: "Gorgias",+ SignalSourceProduct.KUSTOMER: "Kustomer",+ SignalSourceProduct.DIXA: "Dixa",+ SignalSourceProduct.PLAIN: "Plain",+ SignalSourceProduct.GITLAB: "GitLab",+ SignalSourceProduct.GITEA: "Gitea",+ SignalSourceProduct.SHORTCUT: "Shortcut",+ SignalSourceProduct.SENTRY: "Sentry",+ SignalSourceProduct.ROLLBAR: "Rollbar",+ SignalSourceProduct.BUGSNAG: "Bugsnag",+ SignalSourceProduct.HONEYBADGER: "Honeybadger",+ SignalSourceProduct.RAYGUN: "Raygun",+ SignalSourceProduct.SNYK: "Snyk",+ SignalSourceProduct.SONARQUBE: "SonarQube",+ SignalSourceProduct.SEMGREP: "Semgrep",+ SignalSourceProduct.RAPID7_INSIGHTVM: "Rapid7 InsightVM",+ SignalSourceProduct.FEATUREBASE: "Featurebase",+ SignalSourceProduct.FRILL: "Frill",+ SignalSourceProduct.AHA: "Aha",+ SignalSourceProduct.USERVOICE: "UserVoice",+ SignalSourceProduct.PRODUCTBOARD: "Productboard",+ SignalSourceProduct.CANNY: "Canny",+ SignalSourceProduct.ASKNICELY: "AskNicely",+ SignalSourceProduct.RETENTLY: "Retently",+ SignalSourceProduct.APPFIGURES: "Appfigures",+ SignalSourceProduct.APPFOLLOW: "AppFollow",+ SignalSourceProduct.JUDGEME_REVIEWS: "Judge.me",}# The Django model's `source_product` choices, frozen-equivalent to the prior nested TextChoices sodiff --git a/products/signals/backend/migrations/0064_alter_signalsourceconfig_source_product.py b/products/signals/backend/migrations/0064_alter_signalsourceconfig_source_product.pynew file mode 100644index 000000000000..16c8292752b6--- /dev/null+++ b/products/signals/backend/migrations/0064_alter_signalsourceconfig_source_product.py@@ -0,0 +1,66 @@+# Generated by Django 5.2.14 on 2026-07-20 16:35++from django.db import migrations, models+++class Migration(migrations.Migration):+ dependencies = [+ ("signals", "0063_alter_signalreportartefact_type"),+ ]++ operations = [+ migrations.AlterField(+ model_name="signalsourceconfig",+ name="source_product",+ field=models.CharField(+ choices=[+ ("session_replay", "Session replay"),+ ("llm_analytics", "LLM analytics"),+ ("github", "GitHub"),+ ("linear", "Linear"),+ ("jira", "Jira"),+ ("zendesk", "Zendesk"),+ ("conversations", "Conversations"),+ ("error_tracking", "Error tracking"),+ ("pganalyze", "pganalyze"),+ ("signals_scout", "Signals scout"),+ ("logs", "Logs"),+ ("health_checks", "Health checks"),+ ("endpoints", "Endpoints"),+ ("replay_vision", "Replay Vision"),+ ("analytics", "Product analytics"),+ ("freshdesk", "Freshdesk"),+ ("freshservice", "Freshservice"),+ ("front", "Front"),+ ("gorgias", "Gorgias"),+ ("kustomer", "Kustomer"),+ ("dixa", "Dixa"),+ ("plain", "Plain"),+ ("gitlab", "GitLab"),+ ("gitea", "Gitea"),+ ("shortcut", "Shortcut"),+ ("sentry", "Sentry"),+ ("rollbar", "Rollbar"),+ ("bugsnag", "Bugsnag"),+ ("honeybadger", "Honeybadger"),+ ("raygun", "Raygun"),+ ("snyk", "Snyk"),+ ("sonarqube", "SonarQube"),+ ("semgrep", "Semgrep"),+ ("rapid7_insightvm", "Rapid7 InsightVM"),+ ("featurebase", "Featurebase"),+ ("frill", "Frill"),+ ("aha", "Aha"),+ ("uservoice", "UserVoice"),+ ("productboard", "Productboard"),+ ("canny", "Canny"),+ ("asknicely", "AskNicely"),+ ("retently", "Retently"),+ ("appfigures", "Appfigures"),+ ("appfollow", "AppFollow"),+ ("judgeme_reviews", "Judge.me"),+ ],+ max_length=100,+ ),+ ),+ ]diff --git a/products/signals/backend/migrations/max_migration.txt b/products/signals/backend/migrations/max_migration.txtindex c7502931a40f..eab24b0d2214 100644--- a/products/signals/backend/migrations/max_migration.txt+++ b/products/signals/backend/migrations/max_migration.txt@@ -1 +1 @@-0063_alter_signalreportartefact_type+0064_alter_signalsourceconfig_source_productdiff --git a/products/signals/frontend/generated/api.schemas.ts b/products/signals/frontend/generated/api.schemas.tsindex 49a7cde28673..b312874fe513 100644--- a/products/signals/frontend/generated/api.schemas.ts+++ b/products/signals/frontend/generated/api.schemas.ts@@ -308,6 +308,36 @@ export interface SignalReportRefundResponseApi {* * `health_checks` - health_checks* * `replay_vision` - replay_vision* * `analytics` - analytics+ * * `freshdesk` - freshdesk+ * * `freshservice` - freshservice+ * * `front` - front+ * * `gorgias` - gorgias+ * * `kustomer` - kustomer+ * * `dixa` - dixa+ * * `plain` - plain+ * * `gitlab` - gitlab+ * * `gitea` - gitea+ * * `shortcut` - shortcut+ * * `sentry` - sentry+ * * `rollbar` - rollbar+ * * `bugsnag` - bugsnag+ * * `honeybadger` - honeybadger+ * * `raygun` - raygun+ * * `snyk` - snyk+ * * `sonarqube` - sonarqube+ * * `semgrep` - semgrep+ * * `rapid7_insightvm` - rapid7_insightvm+ * * `featurebase` - featurebase+ * * `frill` - frill+ * * `aha` - aha+ * * `uservoice` - uservoice+ * * `productboard` - productboard+ * * `canny` - canny+ * * `asknicely` - asknicely+ * * `retently` - retently+ * * `appfigures` - appfigures+ * * `appfollow` - appfollow+ * * `judgeme_reviews` - judgeme_reviews*/export type SignalSourceProductApi = (typeof SignalSourceProductApi)[keyof typeof SignalSourceProductApi]@@ -327,6 +357,36 @@ export const SignalSourceProductApi = {HealthChecks: 'health_checks',ReplayVision: 'replay_vision',Analytics: 'analytics',+ Freshdesk: 'freshdesk',+ Freshservice: 'freshservice',+ Front: 'front',+ Gorgias: 'gorgias',+ Kustomer: 'kustomer',+ Dixa: 'dixa',+ Plain: 'plain',+ Gitlab: 'gitlab',+ Gitea: 'gitea',+ Shortcut: 'shortcut',+ Sentry: 'sentry',+ Rollbar: 'rollbar',+ Bugsnag: 'bugsnag',+ Honeybadger: 'honeybadger',+ Raygun: 'raygun',+ Snyk: 'snyk',+ Sonarqube: 'sonarqube',+ Semgrep: 'semgrep',+ Rapid7Insightvm: 'rapid7_insightvm',+ Featurebase: 'featurebase',+ Frill: 'frill',+ Aha: 'aha',+ Uservoice: 'uservoice',+ Productboard: 'productboard',+ Canny: 'canny',+ Asknicely: 'asknicely',+ Retently: 'retently',+ Appfigures: 'appfigures',+ Appfollow: 'appfollow',+ JudgemeReviews: 'judgeme_reviews',} as const/**@@ -346,6 +406,8 @@ export const SignalSourceProductApi = {* * `health_issue` - health_issue* * `scanner_finding` - scanner_finding* * `anomaly_investigation` - anomaly_investigation+ * * `feedback` - feedback+ * * `review` - review*/export type SignalSourceTypeApi = (typeof SignalSourceTypeApi)[keyof typeof SignalSourceTypeApi]@@ -366,6 +428,8 @@ export const SignalSourceTypeApi = {HealthIssue: 'health_issue',ScannerFinding: 'scanner_finding',AnomalyInvestigation: 'anomaly_investigation',+ Feedback: 'feedback',+ Review: 'review',} as constexport type ProblemTypeEnumApi = (typeof ProblemTypeEnumApi)[keyof typeof ProblemTypeEnumApi]@@ -645,6 +709,234 @@ export interface HealthCheckSignalExtraApi {payload: HealthCheckSignalExtraApiPayload}+export interface FreshdeskTicketSignalExtraApi {+ status: string | null+ priority: string | null+ type: string | null+ tags: unknown[]+ created_at: string | null+}++export interface FreshserviceTicketSignalExtraApi {+ status: string | null+ priority: string | null+ type: string | null+ category: string | null+ tags: unknown[]+ created_at: string | null+}++export interface FrontConversationSignalExtraApi {+ status: string | null+ tags: unknown[]+ created_at: string | null+}++export interface GorgiasTicketSignalExtraApi {+ status: string | null+ priority: string | null+ channel: string | null+ tags: unknown[]+ created_datetime: string | null+}++export interface KustomerConversationSignalExtraApi {+ status: string | null+ priority: string | null+ tags: unknown[]+ createdAt: string | null+}++export interface DixaConversationSignalExtraApi {+ status: string | null+ channel: string | null+ tags: unknown[]+ created_at: string | null+}++export interface PlainThreadSignalExtraApi {+ status: string | null+ priority: string | null+ labels: unknown[]+ createdAt: string | null+}++export interface GitlabIssueSignalExtraApi {+ state: string | null+ labels: unknown[]+ iid: string | null+ project_id: string | null+ created_at: string | null+}++export interface GiteaIssueSignalExtraApi {+ state: string | null+ labels: unknown[]+ html_url: string | null+ number: string | null+ created_at: string | null+}++export interface ShortcutStorySignalExtraApi {+ story_type: string | null+ labels: unknown[]+ workflow_state_id: string | null+ created_at: string | null+}++export interface SentryIssueSignalExtraApi {+ level: string | null+ status: string | null+ permalink: string | null+ shortId: string | null+ firstSeen: string | null+}++export interface RollbarItemSignalExtraApi {+ level: string | null+ status: string | null+ environment: string | null+ framework: string | null+ last_occurrence_timestamp: string | null+}++export interface BugsnagErrorSignalExtraApi {+ severity: string | null+ status: string | null+ context: string | null+ first_seen: string | null+ last_seen: string | null+}++export interface HoneybadgerFaultSignalExtraApi {+ environment: string | null+ component: string | null+ action: string | null+ tags: unknown[]+ url: string | null+ created_at: string | null+}++export interface RaygunErrorGroupSignalExtraApi {+ status: string | null+ applicationUrl: string | null+ lastOccurredAt: string | null+ createdAt: string | null+}++export interface SnykScannerFindingSignalExtraApi {+ effective_severity_level: string | null+ status: string | null+ type: string | null+ created_at: string | null+}++export interface SonarqubeScannerFindingSignalExtraApi {+ severity: string | null+ type: string | null+ status: string | null+ component: string | null+ rule: string | null+ creationDate: string | null+}++export interface SemgrepScannerFindingSignalExtraApi {+ severity: string | null+ confidence: string | null+ status: string | null+ state: string | null+ created_at: string | null+}++export interface Rapid7InsightvmScannerFindingSignalExtraApi {+ severity: string | null+ cvss_v3_score: string | null+ published: string | null+ added: string | null+}++export interface FeaturebaseFeedbackSignalExtraApi {+ status: string | null+ tags: unknown[]+ upvotes: string | null+ createdAt: string | null+}++export interface FrillFeedbackSignalExtraApi {+ status: string | null+ vote_count: string | null+ topics: unknown[]+ created_at: string | null+}++export interface AhaFeedbackSignalExtraApi {+ workflow_status: string | null+ score: string | null+ votes: string | null+ url: string | null+ created_at: string | null+}++export interface UservoiceFeedbackSignalExtraApi {+ state: string | null+ vote_count: string | null+ category_name: string | null+ created_at: string | null+}++export interface ProductboardFeedbackSignalExtraApi {+ state: string | null+ tags: unknown[]+ displayUrl: string | null+ createdAt: string | null+}++export interface CannyFeedbackSignalExtraApi {+ status: string | null+ tags: unknown[]+ score: string | null+ voteCount: string | null+ url: string | null+ created: string | null+}++export interface AsknicelyFeedbackSignalExtraApi {+ score: string | null+ status: string | null+ question_type: string | null+ segment: string | null+ created: string | null+}++export interface RetentlyFeedbackSignalExtraApi {+ score: string | null+ ratingCategory: string | null+ feedbackTopics: unknown[]+ resolved: string | null+ createdDate: string | null+}++export interface AppfiguresReviewSignalExtraApi {+ stars: string | null+ version: string | null+ product: string | null+ date: string | null+}++export interface AppfollowReviewSignalExtraApi {+ rating: string | null+ store: string | null+ app_version: string | null+ date: string | null+}++export interface JudgemeReviewsReviewSignalExtraApi {+ rating: string | null+ product_title: string | null+ verified: string | null+ created_at: string | null+}+export type SignalExtraApi =| SessionProblemSignalExtraApi| LlmEvalSignalExtraApi@@ -663,6 +955,36 @@ export type SignalExtraApi =| ReplayVisionScannerFindingSignalExtraApi| AnalyticsAnomalyInvestigationSignalExtraApi| HealthCheckSignalExtraApi+ | FreshdeskTicketSignalExtraApi+ | FreshserviceTicketSignalExtraApi+ | FrontConversationSignalExtraApi+ | GorgiasTicketSignalExtraApi+ | KustomerConversationSignalExtraApi+ | DixaConversationSignalExtraApi+ | PlainThreadSignalExtraApi+ | GitlabIssueSignalExtraApi+ | GiteaIssueSignalExtraApi+ | ShortcutStorySignalExtraApi+ | SentryIssueSignalExtraApi+ | RollbarItemSignalExtraApi+ | BugsnagErrorSignalExtraApi+ | HoneybadgerFaultSignalExtraApi+ | RaygunErrorGroupSignalExtraApi+ | SnykScannerFindingSignalExtraApi+ | SonarqubeScannerFindingSignalExtraApi+ | SemgrepScannerFindingSignalExtraApi+ | Rapid7InsightvmScannerFindingSignalExtraApi+ | FeaturebaseFeedbackSignalExtraApi+ | FrillFeedbackSignalExtraApi+ | AhaFeedbackSignalExtraApi+ | UservoiceFeedbackSignalExtraApi+ | ProductboardFeedbackSignalExtraApi+ | CannyFeedbackSignalExtraApi+ | AsknicelyFeedbackSignalExtraApi+ | RetentlyFeedbackSignalExtraApi+ | AppfiguresReviewSignalExtraApi+ | AppfollowReviewSignalExtraApi+ | JudgemeReviewsReviewSignalExtraApiexport interface SpecificityMetadataApi {/** Title of the PR the specificity gate evaluated. */@@ -716,7 +1038,37 @@ export interface SignalNodeApi {* * `logs` - logs* * `health_checks` - health_checks* * `replay_vision` - replay_vision- * * `analytics` - analytics */+ * * `analytics` - analytics+ * * `freshdesk` - freshdesk+ * * `freshservice` - freshservice+ * * `front` - front+ * * `gorgias` - gorgias+ * * `kustomer` - kustomer+ * * `dixa` - dixa+ * * `plain` - plain+ * * `gitlab` - gitlab+ * * `gitea` - gitea+ * * `shortcut` - shortcut+ * * `sentry` - sentry+ * * `rollbar` - rollbar+ * * `bugsnag` - bugsnag+ * * `honeybadger` - honeybadger+ * * `raygun` - raygun+ * * `snyk` - snyk+ * * `sonarqube` - sonarqube+ * * `semgrep` - semgrep+ * * `rapid7_insightvm` - rapid7_insightvm+ * * `featurebase` - featurebase+ * * `frill` - frill+ * * `aha` - aha+ * * `uservoice` - uservoice+ * * `productboard` - productboard+ * * `canny` - canny+ * * `asknicely` - asknicely+ * * `retently` - retently+ * * `appfigures` - appfigures+ * * `appfollow` - appfollow+ * * `judgeme_reviews` - judgeme_reviews */source_product: SignalSourceProductApi/** Signal type within the source product.*@@ -735,7 +1087,9 @@ export interface SignalNodeApi {* * `alert_state_change` - alert_state_change* * `health_issue` - health_issue* * `scanner_finding` - scanner_finding- * * `anomaly_investigation` - anomaly_investigation */+ * * `anomaly_investigation` - anomaly_investigation+ * * `feedback` - feedback+ * * `review` - review */source_type: SignalSourceTypeApi/** Emitter-scoped id of the underlying object (issue, ticket, ...). */source_id: string@@ -2415,6 +2769,36 @@ export interface ForgetResponseApi {* * `endpoints` - Endpoints* * `replay_vision` - Replay Vision* * `analytics` - Product analytics+ * * `freshdesk` - Freshdesk+ * * `freshservice` - Freshservice+ * * `front` - Front+ * * `gorgias` - Gorgias+ * * `kustomer` - Kustomer+ * * `dixa` - Dixa+ * * `plain` - Plain+ * * `gitlab` - GitLab+ * * `gitea` - Gitea+ * * `shortcut` - Shortcut+ * * `sentry` - Sentry+ * * `rollbar` - Rollbar+ * * `bugsnag` - Bugsnag+ * * `honeybadger` - Honeybadger+ * * `raygun` - Raygun+ * * `snyk` - Snyk+ * * `sonarqube` - SonarQube+ * * `semgrep` - Semgrep+ * * `rapid7_insightvm` - Rapid7 InsightVM+ * * `featurebase` - Featurebase+ * * `frill` - Frill+ * * `aha` - Aha+ * * `uservoice` - UserVoice+ * * `productboard` - Productboard+ * * `canny` - Canny+ * * `asknicely` - AskNicely+ * * `retently` - Retently+ * * `appfigures` - Appfigures+ * * `appfollow` - AppFollow+ * * `judgeme_reviews` - Judge.me*/export type SignalSourceConfigSourceProductEnumApi =(typeof SignalSourceConfigSourceProductEnumApi)[keyof typeof SignalSourceConfigSourceProductEnumApi]@@ -2435,6 +2819,36 @@ export const SignalSourceConfigSourceProductEnumApi = {Endpoints: 'endpoints',ReplayVision: 'replay_vision',Analytics: 'analytics',+ Freshdesk: 'freshdesk',+ Freshservice: 'freshservice',+ Front: 'front',+ Gorgias: 'gorgias',+ Kustomer: 'kustomer',+ Dixa: 'dixa',+ Plain: 'plain',+ Gitlab: 'gitlab',+ Gitea: 'gitea',+ Shortcut: 'shortcut',+ Sentry: 'sentry',+ Rollbar: 'rollbar',+ Bugsnag: 'bugsnag',+ Honeybadger: 'honeybadger',+ Raygun: 'raygun',+ Snyk: 'snyk',+ Sonarqube: 'sonarqube',+ Semgrep: 'semgrep',+ Rapid7Insightvm: 'rapid7_insightvm',+ Featurebase: 'featurebase',+ Frill: 'frill',+ Aha: 'aha',+ Uservoice: 'uservoice',+ Productboard: 'productboard',+ Canny: 'canny',+ Asknicely: 'asknicely',+ Retently: 'retently',+ Appfigures: 'appfigures',+ Appfollow: 'appfollow',+ JudgemeReviews: 'judgeme_reviews',} as const/**diff --git a/products/signals/frontend/generated/api.zod.ts b/products/signals/frontend/generated/api.zod.tsindex 8715165fbf1e..fd29ddc3f483 100644--- a/products/signals/frontend/generated/api.zod.ts+++ b/products/signals/frontend/generated/api.zod.ts@@ -678,9 +678,39 @@ export const SignalsSourceConfigsCreateBody = /* @__PURE__ */ zod.object({'endpoints','replay_vision','analytics',+ 'freshdesk',+ 'freshservice',+ 'front',+ 'gorgias',+ 'kustomer',+ 'dixa',+ 'plain',+ 'gitlab',+ 'gitea',+ 'shortcut',+ 'sentry',+ 'rollbar',+ 'bugsnag',+ 'honeybadger',+ 'raygun',+ 'snyk',+ 'sonarqube',+ 'semgrep',+ 'rapid7_insightvm',+ 'featurebase',+ 'frill',+ 'aha',+ 'uservoice',+ 'productboard',+ 'canny',+ 'asknicely',+ 'retently',+ 'appfigures',+ 'appfollow',+ 'judgeme_reviews',]).describe(- '\* `session_replay` - Session replay\n\* `llm_analytics` - LLM analytics\n\* `github` - GitHub\n\* `linear` - Linear\n\* `jira` - Jira\n\* `zendesk` - Zendesk\n\* `conversations` - Conversations\n\* `error_tracking` - Error tracking\n\* `pganalyze` - pganalyze\n\* `signals_scout` - Signals scout\n\* `logs` - Logs\n\* `health_checks` - Health checks\n\* `endpoints` - Endpoints\n\* `replay_vision` - Replay Vision\n\* `analytics` - Product analytics'+ '\* `session_replay` - Session replay\n\* `llm_analytics` - LLM analytics\n\* `github` - GitHub\n\* `linear` - Linear\n\* `jira` - Jira\n\* `zendesk` - Zendesk\n\* `conversations` - Conversations\n\* `error_tracking` - Error tracking\n\* `pganalyze` - pganalyze\n\* `signals_scout` - Signals scout\n\* `logs` - Logs\n\* `health_checks` - Health checks\n\* `endpoints` - Endpoints\n\* `replay_vision` - Replay Vision\n\* `analytics` - Product analytics\n\* `freshdesk` - Freshdesk\n\* `freshservice` - Freshservice\n\* `front` - Front\n\* `gorgias` - Gorgias\n\* `kustomer` - Kustomer\n\* `dixa` - Dixa\n\* `plain` - Plain\n\* `gitlab` - GitLab\n\* `gitea` - Gitea\n\* `shortcut` - Shortcut\n\* `sentry` - Sentry\n\* `rollbar` - Rollbar\n\* `bugsnag` - Bugsnag\n\* `honeybadger` - Honeybadger\n\* `raygun` - Raygun\n\* `snyk` - Snyk\n\* `sonarqube` - SonarQube\n\* `semgrep` - Semgrep\n\* `rapid7_insightvm` - Rapid7 InsightVM\n\* `featurebase` - Featurebase\n\* `frill` - Frill\n\* `aha` - Aha\n\* `uservoice` - UserVoice\n\* `productboard` - Productboard\n\* `canny` - Canny\n\* `asknicely` - AskNicely\n\* `retently` - Retently\n\* `appfigures` - Appfigures\n\* `appfollow` - AppFollow\n\* `judgeme_reviews` - Judge.me'),source_type: zod.enum([@@ -725,9 +755,39 @@ export const SignalsSourceConfigsUpdateBody = /* @__PURE__ */ zod.object({'endpoints','replay_vision','analytics',+ 'freshdesk',+ 'freshservice',+ 'front',+ 'gorgias',+ 'kustomer',+ 'dixa',+ 'plain',+ 'gitlab',+ 'gitea',+ 'shortcut',+ 'sentry',+ 'rollbar',+ 'bugsnag',+ 'honeybadger',+ 'raygun',+ 'snyk',+ 'sonarqube',+ 'semgrep',+ 'rapid7_insightvm',+ 'featurebase',+ 'frill',+ 'aha',+ 'uservoice',+ 'productboard',+ 'canny',+ 'asknicely',+ 'retently',+ 'appfigures',+ 'appfollow',+ 'judgeme_reviews',]).describe(- '\* `session_replay` - Session replay\n\* `llm_analytics` - LLM analytics\n\* `github` - GitHub\n\* `linear` - Linear\n\* `jira` - Jira\n\* `zendesk` - Zendesk\n\* `conversations` - Conversations\n\* `error_tracking` - Error tracking\n\* `pganalyze` - pganalyze\n\* `signals_scout` - Signals scout\n\* `logs` - Logs\n\* `health_checks` - Health checks\n\* `endpoints` - Endpoints\n\* `replay_vision` - Replay Vision\n\* `analytics` - Product analytics'+ '\* `session_replay` - Session replay\n\* `llm_analytics` - LLM analytics\n\* `github` - GitHub\n\* `linear` - Linear\n\* `jira` - Jira\n\* `zendesk` - Zendesk\n\* `conversations` - Conversations\n\* `error_tracking` - Error tracking\n\* `pganalyze` - pganalyze\n\* `signals_scout` - Signals scout\n\* `logs` - Logs\n\* `health_checks` - Health checks\n\* `endpoints` - Endpoints\n\* `replay_vision` - Replay Vision\n\* `analytics` - Product analytics\n\* `freshdesk` - Freshdesk\n\* `freshservice` - Freshservice\n\* `front` - Front\n\* `gorgias` - Gorgias\n\* `kustomer` - Kustomer\n\* `dixa` - Dixa\n\* `plain` - Plain\n\* `gitlab` - GitLab\n\* `gitea` - Gitea\n\* `shortcut` - Shortcut\n\* `sentry` - Sentry\n\* `rollbar` - Rollbar\n\* `bugsnag` - Bugsnag\n\* `honeybadger` - Honeybadger\n\* `raygun` - Raygun\n\* `snyk` - Snyk\n\* `sonarqube` - SonarQube\n\* `semgrep` - Semgrep\n\* `rapid7_insightvm` - Rapid7 InsightVM\n\* `featurebase` - Featurebase\n\* `frill` - Frill\n\* `aha` - Aha\n\* `uservoice` - UserVoice\n\* `productboard` - Productboard\n\* `canny` - Canny\n\* `asknicely` - AskNicely\n\* `retently` - Retently\n\* `appfigures` - Appfigures\n\* `appfollow` - AppFollow\n\* `judgeme_reviews` - Judge.me'),source_type: zod.enum([@@ -772,10 +832,40 @@ export const SignalsSourceConfigsPartialUpdateBody = /* @__PURE__ */ zod.object('endpoints','replay_vision','analytics',+ 'freshdesk',+ 'freshservice',+ 'front',+ 'gorgias',+ 'kustomer',+ 'dixa',+ 'plain',+ 'gitlab',+ 'gitea',+ 'shortcut',+ 'sentry',+ 'rollbar',+ 'bugsnag',+ 'honeybadger',+ 'raygun',+ 'snyk',+ 'sonarqube',+ 'semgrep',+ 'rapid7_insightvm',+ 'featurebase',+ 'frill',+ 'aha',+ 'uservoice',+ 'productboard',+ 'canny',+ 'asknicely',+ 'retently',+ 'appfigures',+ 'appfollow',+ 'judgeme_reviews',]).optional().describe(- '\* `session_replay` - Session replay\n\* `llm_analytics` - LLM analytics\n\* `github` - GitHub\n\* `linear` - Linear\n\* `jira` - Jira\n\* `zendesk` - Zendesk\n\* `conversations` - Conversations\n\* `error_tracking` - Error tracking\n\* `pganalyze` - pganalyze\n\* `signals_scout` - Signals scout\n\* `logs` - Logs\n\* `health_checks` - Health checks\n\* `endpoints` - Endpoints\n\* `replay_vision` - Replay Vision\n\* `analytics` - Product analytics'+ '\* `session_replay` - Session replay\n\* `llm_analytics` - LLM analytics\n\* `github` - GitHub\n\* `linear` - Linear\n\* `jira` - Jira\n\* `zendesk` - Zendesk\n\* `conversations` - Conversations\n\* `error_tracking` - Error tracking\n\* `pganalyze` - pganalyze\n\* `signals_scout` - Signals scout\n\* `logs` - Logs\n\* `health_checks` - Health checks\n\* `endpoints` - Endpoints\n\* `replay_vision` - Replay Vision\n\* `analytics` - Product analytics\n\* `freshdesk` - Freshdesk\n\* `freshservice` - Freshservice\n\* `front` - Front\n\* `gorgias` - Gorgias\n\* `kustomer` - Kustomer\n\* `dixa` - Dixa\n\* `plain` - Plain\n\* `gitlab` - GitLab\n\* `gitea` - Gitea\n\* `shortcut` - Shortcut\n\* `sentry` - Sentry\n\* `rollbar` - Rollbar\n\* `bugsnag` - Bugsnag\n\* `honeybadger` - Honeybadger\n\* `raygun` - Raygun\n\* `snyk` - Snyk\n\* `sonarqube` - SonarQube\n\* `semgrep` - Semgrep\n\* `rapid7_insightvm` - Rapid7 InsightVM\n\* `featurebase` - Featurebase\n\* `frill` - Frill\n\* `aha` - Aha\n\* `uservoice` - UserVoice\n\* `productboard` - Productboard\n\* `canny` - Canny\n\* `asknicely` - AskNicely\n\* `retently` - Retently\n\* `appfigures` - Appfigures\n\* `appfollow` - AppFollow\n\* `judgeme_reviews` - Judge.me'),source_type: zod.enum([diff --git a/services/mcp/src/api/generated.ts b/services/mcp/src/api/generated.tsindex 2d9f7963c8b1..a36801785ca5 100644--- a/services/mcp/src/api/generated.ts+++ b/services/mcp/src/api/generated.ts@@ -9223,6 +9223,14 @@ export namespace Schemas {HistogramQuantile: 'histogram_quantile',} as const;+ export interface AhaFeedbackSignalExtra {+ workflow_status: string | null;+ score: string | null;+ votes: string | null;+ url: string | null;+ created_at: string | null;+ }+/*** * `good` - good* * `bad` - bad@@ -10144,6 +10152,20 @@ export namespace Schemas {totals: AppMetricsTotalsResponseTotals;}+ export interface AppfiguresReviewSignalExtra {+ stars: string | null;+ version: string | null;+ product: string | null;+ date: string | null;+ }++ export interface AppfollowReviewSignalExtra {+ rating: string | null;+ store: string | null;+ app_version: string | null;+ date: string | null;+ }+export interface ApprovalPolicy {readonly id: string;/** @maxLength 128 */@@ -10212,6 +10234,14 @@ export namespace Schemas {GithubPr: 'github_pr',} as const;+ export interface AsknicelyFeedbackSignalExtra {+ score: string | null;+ status: string | null;+ question_type: string | null;+ segment: string | null;+ created: string | null;+ }+/*** * `user` - user* * `role` - role@@ -13101,6 +13131,14 @@ export namespace Schemas {DeviceId: 'device_id',} as const;+ export interface BugsnagErrorSignalExtra {+ severity: string | null;+ status: string | null;+ context: string | null;+ first_seen: string | null;+ last_seen: string | null;+ }+/*** * `fully_rolled_out` - fully_rolled_out* * `not_rolled_out` - not_rolled_out@@ -13712,6 +13750,15 @@ export namespace Schemas {suggestion_reason: string;}+ export interface CannyFeedbackSignalExtra {+ status: string | null;+ tags: unknown[];+ score: string | null;+ voteCount: string | null;+ url: string | null;+ created: string | null;+ }+/*** 409 body for a guarded canvas publish based on a stale version.*/@@ -20891,6 +20938,13 @@ export namespace Schemas {CosineDistance: 'cosineDistance',} as const;+ export interface DixaConversationSignalExtra {+ status: string | null;+ channel: string | null;+ tags: unknown[];+ created_at: string | null;+ }+export interface DocsSearchRequest {/** Natural-language description of what to find in the PostHog documentation. Inkeep performs hybrid (semantic + full-text) RAG, so phrase the query the way a user would ask the question. */query: string;@@ -28711,6 +28765,13 @@ export namespace Schemas {readonly modified_by: number | null;}+ export interface FeaturebaseFeedbackSignalExtra {+ status: string | null;+ tags: unknown[];+ upvotes: string | null;+ createdAt: string | null;+ }+export interface FeedbackThemeSession {/** Observation whose feedback comment backs this theme. */observation_id: string;@@ -29164,6 +29225,36 @@ export namespace Schemas {deleted: boolean;}+ export interface FreshdeskTicketSignalExtra {+ status: string | null;+ priority: string | null;+ type: string | null;+ tags: unknown[];+ created_at: string | null;+ }++ export interface FreshserviceTicketSignalExtra {+ status: string | null;+ priority: string | null;+ type: string | null;+ category: string | null;+ tags: unknown[];+ created_at: string | null;+ }++ export interface FrillFeedbackSignalExtra {+ status: string | null;+ vote_count: string | null;+ topics: unknown[];+ created_at: string | null;+ }++ export interface FrontConversationSignalExtra {+ status: string | null;+ tags: unknown[];+ created_at: string | null;+ }+export interface GapAction {/*** Optional knowledge source to link when accepting.@@ -29428,6 +29519,14 @@ export namespace Schemas {error?: string;}+ export interface GiteaIssueSignalExtra {+ state: string | null;+ labels: unknown[];+ html_url: string | null;+ number: string | null;+ created_at: string | null;+ }+export interface GithubIssueSignalExtra {html_url: string;number: number;@@ -29438,6 +29537,14 @@ export namespace Schemas {state: string;}+ export interface GitlabIssueSignalExtra {+ state: string | null;+ labels: unknown[];+ iid: string | null;+ project_id: string | null;+ created_at: string | null;+ }+export interface Goal {/** Goal name (action name). */name: string;@@ -29539,6 +29646,14 @@ export namespace Schemas {notes: string[];}+ export interface GorgiasTicketSignalExtra {+ status: string | null;+ priority: string | null;+ channel: string | null;+ tags: unknown[];+ created_datetime: string | null;+ }+/*** * `line` - line* * `symbol` - symbol@@ -32759,6 +32874,15 @@ export namespace Schemas {tags?: TagDefinition[];}+ export interface HoneybadgerFaultSignalExtra {+ environment: string | null;+ component: string | null;+ action: string | null;+ tags: unknown[];+ url: string | null;+ created_at: string | null;+ }+export interface IdentityMatchingError {/** Human-readable explanation of why the request could not be served. */detail: string;@@ -33641,6 +33765,13 @@ export namespace Schemas {'20': '2.0',} as const;+ export interface JudgemeReviewsReviewSignalExtra {+ rating: string | null;+ product_title: string | null;+ verified: string | null;+ created_at: string | null;+ }+/*** One chunk in a drill-down window over a single knowledge document.*@@ -33814,6 +33945,13 @@ export namespace Schemas {readonly always_include: boolean;}+ export interface KustomerConversationSignalExtra {+ status: string | null;+ priority: string | null;+ tags: unknown[];+ createdAt: string | null;+ }+export interface LLMModelInfo {/** Provider-specific model identifier (e.g. 'gpt-4o-mini', 'claude-3-5-sonnet-20241022'). */id: string;@@ -40448,6 +40586,36 @@ export namespace Schemas {* * `endpoints` - Endpoints* * `replay_vision` - Replay Vision* * `analytics` - Product analytics+ * * `freshdesk` - Freshdesk+ * * `freshservice` - Freshservice+ * * `front` - Front+ * * `gorgias` - Gorgias+ * * `kustomer` - Kustomer+ * * `dixa` - Dixa+ * * `plain` - Plain+ * * `gitlab` - GitLab+ * * `gitea` - Gitea+ * * `shortcut` - Shortcut+ * * `sentry` - Sentry+ * * `rollbar` - Rollbar+ * * `bugsnag` - Bugsnag+ * * `honeybadger` - Honeybadger+ * * `raygun` - Raygun+ * * `snyk` - Snyk+ * * `sonarqube` - SonarQube+ * * `semgrep` - Semgrep+ * * `rapid7_insightvm` - Rapid7 InsightVM+ * * `featurebase` - Featurebase+ * * `frill` - Frill+ * * `aha` - Aha+ * * `uservoice` - UserVoice+ * * `productboard` - Productboard+ * * `canny` - Canny+ * * `asknicely` - AskNicely+ * * `retently` - Retently+ * * `appfigures` - Appfigures+ * * `appfollow` - AppFollow+ * * `judgeme_reviews` - Judge.me*/export type SignalSourceConfigSourceProductEnum = typeof SignalSourceConfigSourceProductEnum[keyof typeof SignalSourceConfigSourceProductEnum];@@ -40468,6 +40636,36 @@ export namespace Schemas {Endpoints: 'endpoints',ReplayVision: 'replay_vision',Analytics: 'analytics',+ Freshdesk: 'freshdesk',+ Freshservice: 'freshservice',+ Front: 'front',+ Gorgias: 'gorgias',+ Kustomer: 'kustomer',+ Dixa: 'dixa',+ Plain: 'plain',+ Gitlab: 'gitlab',+ Gitea: 'gitea',+ Shortcut: 'shortcut',+ Sentry: 'sentry',+ Rollbar: 'rollbar',+ Bugsnag: 'bugsnag',+ Honeybadger: 'honeybadger',+ Raygun: 'raygun',+ Snyk: 'snyk',+ Sonarqube: 'sonarqube',+ Semgrep: 'semgrep',+ Rapid7Insightvm: 'rapid7_insightvm',+ Featurebase: 'featurebase',+ Frill: 'frill',+ Aha: 'aha',+ Uservoice: 'uservoice',+ Productboard: 'productboard',+ Canny: 'canny',+ Asknicely: 'asknicely',+ Retently: 'retently',+ Appfigures: 'appfigures',+ Appfollow: 'appfollow',+ JudgemeReviews: 'judgeme_reviews',} as const;/**@@ -50692,6 +50890,13 @@ export namespace Schemas {homepage?: PinnedSceneTab | null;}+ export interface PlainThreadSignalExtra {+ status: string | null;+ priority: string | null;+ labels: unknown[];+ createdAt: string | null;+ }+/*** * `Postgres` - Postgres*/@@ -50912,6 +51117,13 @@ export namespace Schemas {creation_context?: ProductTourSerializerCreateUpdateOnlyCreationContextEnum;}+ export interface ProductboardFeedbackSignalExtra {+ state: string | null;+ tags: unknown[];+ displayUrl: string | null;+ createdAt: string | null;+ }+export type ProjectBackwardCompatGroupTypesItem = { [key: string]: unknown };export type ProjectBackwardCompatDefaultModifiers = { [key: string]: unknown };@@ -55442,6 +55654,13 @@ export namespace Schemas {code_usage_billing_active: boolean;}+ export interface Rapid7InsightvmScannerFindingSignalExtra {+ severity: string | null;+ cvss_v3_score: string | null;+ published: string | null;+ added: string | null;+ }+export interface RawUnmatchedSample {/** A raw utm_source value matching no integration */raw_utm_source: string;@@ -55454,6 +55673,13 @@ export namespace Schemas {suggested_integration: string | null;}+ export interface RaygunErrorGroupSignalExtra {+ status: string | null;+ applicationUrl: string | null;+ lastOccurredAt: string | null;+ createdAt: string | null;+ }+/*** Request body for triggering a metrics recalculation.*/@@ -55695,6 +55921,36 @@ export namespace Schemas {* * `health_checks` - health_checks* * `replay_vision` - replay_vision* * `analytics` - analytics+ * * `freshdesk` - freshdesk+ * * `freshservice` - freshservice+ * * `front` - front+ * * `gorgias` - gorgias+ * * `kustomer` - kustomer+ * * `dixa` - dixa+ * * `plain` - plain+ * * `gitlab` - gitlab+ * * `gitea` - gitea+ * * `shortcut` - shortcut+ * * `sentry` - sentry+ * * `rollbar` - rollbar+ * * `bugsnag` - bugsnag+ * * `honeybadger` - honeybadger+ * * `raygun` - raygun+ * * `snyk` - snyk+ * * `sonarqube` - sonarqube+ * * `semgrep` - semgrep+ * * `rapid7_insightvm` - rapid7_insightvm+ * * `featurebase` - featurebase+ * * `frill` - frill+ * * `aha` - aha+ * * `uservoice` - uservoice+ * * `productboard` - productboard+ * * `canny` - canny+ * * `asknicely` - asknicely+ * * `retently` - retently+ * * `appfigures` - appfigures+ * * `appfollow` - appfollow+ * * `judgeme_reviews` - judgeme_reviews*/export type SignalSourceProduct = typeof SignalSourceProduct[keyof typeof SignalSourceProduct];@@ -55715,6 +55971,36 @@ export namespace Schemas {HealthChecks: 'health_checks',ReplayVision: 'replay_vision',Analytics: 'analytics',+ Freshdesk: 'freshdesk',+ Freshservice: 'freshservice',+ Front: 'front',+ Gorgias: 'gorgias',+ Kustomer: 'kustomer',+ Dixa: 'dixa',+ Plain: 'plain',+ Gitlab: 'gitlab',+ Gitea: 'gitea',+ Shortcut: 'shortcut',+ Sentry: 'sentry',+ Rollbar: 'rollbar',+ Bugsnag: 'bugsnag',+ Honeybadger: 'honeybadger',+ Raygun: 'raygun',+ Snyk: 'snyk',+ Sonarqube: 'sonarqube',+ Semgrep: 'semgrep',+ Rapid7Insightvm: 'rapid7_insightvm',+ Featurebase: 'featurebase',+ Frill: 'frill',+ Aha: 'aha',+ Uservoice: 'uservoice',+ Productboard: 'productboard',+ Canny: 'canny',+ Asknicely: 'asknicely',+ Retently: 'retently',+ Appfigures: 'appfigures',+ Appfollow: 'appfollow',+ JudgemeReviews: 'judgeme_reviews',} as const;/**@@ -55734,6 +56020,8 @@ export namespace Schemas {* * `health_issue` - health_issue* * `scanner_finding` - scanner_finding* * `anomaly_investigation` - anomaly_investigation+ * * `feedback` - feedback+ * * `review` - review*/export type SignalSourceType = typeof SignalSourceType[keyof typeof SignalSourceType];@@ -55755,6 +56043,8 @@ export namespace Schemas {HealthIssue: 'health_issue',ScannerFinding: 'scanner_finding',AnomalyInvestigation: 'anomaly_investigation',+ Feedback: 'feedback',+ Review: 'review',} as const;export interface SessionProblemEventEntry {@@ -55817,7 +56107,69 @@ export namespace Schemas {mcp_trace_id?: string | null;}- export type SignalExtra = SessionProblemSignalExtra | LlmEvalSignalExtra | LlmEvalReportSignalExtra | ZendeskTicketSignalExtra | GithubIssueSignalExtra | LinearIssueSignalExtra | JiraIssueSignalExtra | ConversationsTicketSignalExtra | ErrorTrackingSignalExtra | PgAnalyzeIssueSignalExtra | EndpointExecutionFailedSignalExtra | EndpointBreakdownLimitExceededSignalExtra | SignalsScoutSignalExtra | LogsAlertStateChangeSignalExtra | ReplayVisionScannerFindingSignalExtra | AnalyticsAnomalyInvestigationSignalExtra | HealthCheckSignalExtra;+ export interface ShortcutStorySignalExtra {+ story_type: string | null;+ labels: unknown[];+ workflow_state_id: string | null;+ created_at: string | null;+ }++ export interface SentryIssueSignalExtra {+ level: string | null;+ status: string | null;+ permalink: string | null;+ shortId: string | null;+ firstSeen: string | null;+ }++ export interface RollbarItemSignalExtra {+ level: string | null;+ status: string | null;+ environment: string | null;+ framework: string | null;+ last_occurrence_timestamp: string | null;+ }++ export interface SnykScannerFindingSignalExtra {+ effective_severity_level: string | null;+ status: string | null;+ type: string | null;+ created_at: string | null;+ }++ export interface SonarqubeScannerFindingSignalExtra {+ severity: string | null;+ type: string | null;+ status: string | null;+ component: string | null;+ rule: string | null;+ creationDate: string | null;+ }++ export interface SemgrepScannerFindingSignalExtra {+ severity: string | null;+ confidence: string | null;+ status: string | null;+ state: string | null;+ created_at: string | null;+ }++ export interface UservoiceFeedbackSignalExtra {+ state: string | null;+ vote_count: string | null;+ category_name: string | null;+ created_at: string | null;+ }++ export interface RetentlyFeedbackSignalExtra {+ score: string | null;+ ratingCategory: string | null;+ feedbackTopics: unknown[];+ resolved: string | null;+ createdDate: string | null;+ }++ export type SignalExtra = SessionProblemSignalExtra | LlmEvalSignalExtra | LlmEvalReportSignalExtra | ZendeskTicketSignalExtra | GithubIssueSignalExtra | LinearIssueSignalExtra | JiraIssueSignalExtra | ConversationsTicketSignalExtra | ErrorTrackingSignalExtra | PgAnalyzeIssueSignalExtra | EndpointExecutionFailedSignalExtra | EndpointBreakdownLimitExceededSignalExtra | SignalsScoutSignalExtra | LogsAlertStateChangeSignalExtra | ReplayVisionScannerFindingSignalExtra | AnalyticsAnomalyInvestigationSignalExtra | HealthCheckSignalExtra | FreshdeskTicketSignalExtra | FreshserviceTicketSignalExtra | FrontConversationSignalExtra | GorgiasTicketSignalExtra | KustomerConversationSignalExtra | DixaConversationSignalExtra | PlainThreadSignalExtra | GitlabIssueSignalExtra | GiteaIssueSignalExtra | ShortcutStorySignalExtra | SentryIssueSignalExtra | RollbarItemSignalExtra | BugsnagErrorSignalExtra | HoneybadgerFaultSignalExtra | RaygunErrorGroupSignalExtra | SnykScannerFindingSignalExtra | SonarqubeScannerFindingSignalExtra | SemgrepScannerFindingSignalExtra | Rapid7InsightvmScannerFindingSignalExtra | FeaturebaseFeedbackSignalExtra | FrillFeedbackSignalExtra | AhaFeedbackSignalExtra | UservoiceFeedbackSignalExtra | ProductboardFeedbackSignalExtra | CannyFeedbackSignalExtra | AsknicelyFeedbackSignalExtra | RetentlyFeedbackSignalExtra | AppfiguresReviewSignalExtra | AppfollowReviewSignalExtra | JudgemeReviewsReviewSignalExtra;export type SignalMatchMetadata = MatchedMetadata | NoMatchMetadata;@@ -55842,7 +56194,37 @@ export namespace Schemas {* * `logs` - logs* * `health_checks` - health_checks* * `replay_vision` - replay_vision- * * `analytics` - analytics */+ * * `analytics` - analytics+ * * `freshdesk` - freshdesk+ * * `freshservice` - freshservice+ * * `front` - front+ * * `gorgias` - gorgias+ * * `kustomer` - kustomer+ * * `dixa` - dixa+ * * `plain` - plain+ * * `gitlab` - gitlab+ * * `gitea` - gitea+ * * `shortcut` - shortcut+ * * `sentry` - sentry+ * * `rollbar` - rollbar+ * * `bugsnag` - bugsnag+ * * `honeybadger` - honeybadger+ * * `raygun` - raygun+ * * `snyk` - snyk+ * * `sonarqube` - sonarqube+ * * `semgrep` - semgrep+ * * `rapid7_insightvm` - rapid7_insightvm+ * * `featurebase` - featurebase+ * * `frill` - frill+ * * `aha` - aha+ * * `uservoice` - uservoice+ * * `productboard` - productboard+ * * `canny` - canny+ * * `asknicely` - asknicely+ * * `retently` - retently+ * * `appfigures` - appfigures+ * * `appfollow` - appfollow+ * * `judgeme_reviews` - judgeme_reviews */source_product: SignalSourceProduct;/** Signal type within the source product.*@@ -55861,7 +56243,9 @@ export namespace Schemas {* * `alert_state_change` - alert_state_change* * `health_issue` - health_issue* * `scanner_finding` - scanner_finding- * * `anomaly_investigation` - anomaly_investigation */+ * * `anomaly_investigation` - anomaly_investigation+ * * `feedback` - feedback+ * * `review` - review */source_type: SignalSourceType;/** Emitter-scoped id of the underlying object (issue, ticket, ...). */source_id: string;diff --git a/services/mcp/src/generated/signals/api.ts b/services/mcp/src/generated/signals/api.tsindex 3acb521944ed..c2f567a7def7 100644--- a/services/mcp/src/generated/signals/api.ts+++ b/services/mcp/src/generated/signals/api.ts@@ -1158,9 +1158,39 @@ export const SignalsSourceConfigsCreateBody = /* @__PURE__ */ zod.object({'endpoints','replay_vision','analytics',+ 'freshdesk',+ 'freshservice',+ 'front',+ 'gorgias',+ 'kustomer',+ 'dixa',+ 'plain',+ 'gitlab',+ 'gitea',+ 'shortcut',+ 'sentry',+ 'rollbar',+ 'bugsnag',+ 'honeybadger',+ 'raygun',+ 'snyk',+ 'sonarqube',+ 'semgrep',+ 'rapid7_insightvm',+ 'featurebase',+ 'frill',+ 'aha',+ 'uservoice',+ 'productboard',+ 'canny',+ 'asknicely',+ 'retently',+ 'appfigures',+ 'appfollow',+ 'judgeme_reviews',]).describe(- '* `session_replay` - Session replay\n* `llm_analytics` - LLM analytics\n* `github` - GitHub\n* `linear` - Linear\n* `jira` - Jira\n* `zendesk` - Zendesk\n* `conversations` - Conversations\n* `error_tracking` - Error tracking\n* `pganalyze` - pganalyze\n* `signals_scout` - Signals scout\n* `logs` - Logs\n* `health_checks` - Health checks\n* `endpoints` - Endpoints\n* `replay_vision` - Replay Vision\n* `analytics` - Product analytics'+ '* `session_replay` - Session replay\n* `llm_analytics` - LLM analytics\n* `github` - GitHub\n* `linear` - Linear\n* `jira` - Jira\n* `zendesk` - Zendesk\n* `conversations` - Conversations\n* `error_tracking` - Error tracking\n* `pganalyze` - pganalyze\n* `signals_scout` - Signals scout\n* `logs` - Logs\n* `health_checks` - Health checks\n* `endpoints` - Endpoints\n* `replay_vision` - Replay Vision\n* `analytics` - Product analytics\n* `freshdesk` - Freshdesk\n* `freshservice` - Freshservice\n* `front` - Front\n* `gorgias` - Gorgias\n* `kustomer` - Kustomer\n* `dixa` - Dixa\n* `plain` - Plain\n* `gitlab` - GitLab\n* `gitea` - Gitea\n* `shortcut` - Shortcut\n* `sentry` - Sentry\n* `rollbar` - Rollbar\n* `bugsnag` - Bugsnag\n* `honeybadger` - Honeybadger\n* `raygun` - Raygun\n* `snyk` - Snyk\n* `sonarqube` - SonarQube\n* `semgrep` - Semgrep\n* `rapid7_insightvm` - Rapid7 InsightVM\n* `featurebase` - Featurebase\n* `frill` - Frill\n* `aha` - Aha\n* `uservoice` - UserVoice\n* `productboard` - Productboard\n* `canny` - Canny\n* `asknicely` - AskNicely\n* `retently` - Retently\n* `appfigures` - Appfigures\n* `appfollow` - AppFollow\n* `judgeme_reviews` - Judge.me'),source_type: zod.enum([@@ -1223,9 +1253,39 @@ export const SignalsSourceConfigsUpdateBody = /* @__PURE__ */ zod.object({'endpoints','replay_vision','analytics',+ 'freshdesk',+ 'freshservice',+ 'front',+ 'gorgias',+ 'kustomer',+ 'dixa',+ 'plain',+ 'gitlab',+ 'gitea',+ 'shortcut',+ 'sentry',+ 'rollbar',+ 'bugsnag',+ 'honeybadger',+ 'raygun',+ 'snyk',+ 'sonarqube',+ 'semgrep',+ 'rapid7_insightvm',+ 'featurebase',+ 'frill',+ 'aha',+ 'uservoice',+ 'productboard',+ 'canny',+ 'asknicely',+ 'retently',+ 'appfigures',+ 'appfollow',+ 'judgeme_reviews',]).describe(- '* `session_replay` - Session replay\n* `llm_analytics` - LLM analytics\n* `github` - GitHub\n* `linear` - Linear\n* `jira` - Jira\n* `zendesk` - Zendesk\n* `conversations` - Conversations\n* `error_tracking` - Error tracking\n* `pganalyze` - pganalyze\n* `signals_scout` - Signals scout\n* `logs` - Logs\n* `health_checks` - Health checks\n* `endpoints` - Endpoints\n* `replay_vision` - Replay Vision\n* `analytics` - Product analytics'+ '* `session_replay` - Session replay\n* `llm_analytics` - LLM analytics\n* `github` - GitHub\n* `linear` - Linear\n* `jira` - Jira\n* `zendesk` - Zendesk\n* `conversations` - Conversations\n* `error_tracking` - Error tracking\n* `pganalyze` - pganalyze\n* `signals_scout` - Signals scout\n* `logs` - Logs\n* `health_checks` - Health checks\n* `endpoints` - Endpoints\n* `replay_vision` - Replay Vision\n* `analytics` - Product analytics\n* `freshdesk` - Freshdesk\n* `freshservice` - Freshservice\n* `front` - Front\n* `gorgias` - Gorgias\n* `kustomer` - Kustomer\n* `dixa` - Dixa\n* `plain` - Plain\n* `gitlab` - GitLab\n* `gitea` - Gitea\n* `shortcut` - Shortcut\n* `sentry` - Sentry\n* `rollbar` - Rollbar\n* `bugsnag` - Bugsnag\n* `honeybadger` - Honeybadger\n* `raygun` - Raygun\n* `snyk` - Snyk\n* `sonarqube` - SonarQube\n* `semgrep` - Semgrep\n* `rapid7_insightvm` - Rapid7 InsightVM\n* `featurebase` - Featurebase\n* `frill` - Frill\n* `aha` - Aha\n* `uservoice` - UserVoice\n* `productboard` - Productboard\n* `canny` - Canny\n* `asknicely` - AskNicely\n* `retently` - Retently\n* `appfigures` - Appfigures\n* `appfollow` - AppFollow\n* `judgeme_reviews` - Judge.me'),source_type: zod.enum([@@ -1279,10 +1339,40 @@ export const SignalsSourceConfigsPartialUpdateBody = /* @__PURE__ */ zod.object('endpoints','replay_vision','analytics',+ 'freshdesk',+ 'freshservice',+ 'front',+ 'gorgias',+ 'kustomer',+ 'dixa',+ 'plain',+ 'gitlab',+ 'gitea',+ 'shortcut',+ 'sentry',+ 'rollbar',+ 'bugsnag',+ 'honeybadger',+ 'raygun',+ 'snyk',+ 'sonarqube',+ 'semgrep',+ 'rapid7_insightvm',+ 'featurebase',+ 'frill',+ 'aha',+ 'uservoice',+ 'productboard',+ 'canny',+ 'asknicely',+ 'retently',+ 'appfigures',+ 'appfollow',+ 'judgeme_reviews',]).optional().describe(- '* `session_replay` - Session replay\n* `llm_analytics` - LLM analytics\n* `github` - GitHub\n* `linear` - Linear\n* `jira` - Jira\n* `zendesk` - Zendesk\n* `conversations` - Conversations\n* `error_tracking` - Error tracking\n* `pganalyze` - pganalyze\n* `signals_scout` - Signals scout\n* `logs` - Logs\n* `health_checks` - Health checks\n* `endpoints` - Endpoints\n* `replay_vision` - Replay Vision\n* `analytics` - Product analytics'+ '* `session_replay` - Session replay\n* `llm_analytics` - LLM analytics\n* `github` - GitHub\n* `linear` - Linear\n* `jira` - Jira\n* `zendesk` - Zendesk\n* `conversations` - Conversations\n* `error_tracking` - Error tracking\n* `pganalyze` - pganalyze\n* `signals_scout` - Signals scout\n* `logs` - Logs\n* `health_checks` - Health checks\n* `endpoints` - Endpoints\n* `replay_vision` - Replay Vision\n* `analytics` - Product analytics\n* `freshdesk` - Freshdesk\n* `freshservice` - Freshservice\n* `front` - Front\n* `gorgias` - Gorgias\n* `kustomer` - Kustomer\n* `dixa` - Dixa\n* `plain` - Plain\n* `gitlab` - GitLab\n* `gitea` - Gitea\n* `shortcut` - Shortcut\n* `sentry` - Sentry\n* `rollbar` - Rollbar\n* `bugsnag` - Bugsnag\n* `honeybadger` - Honeybadger\n* `raygun` - Raygun\n* `snyk` - Snyk\n* `sonarqube` - SonarQube\n* `semgrep` - Semgrep\n* `rapid7_insightvm` - Rapid7 InsightVM\n* `featurebase` - Featurebase\n* `frill` - Frill\n* `aha` - Aha\n* `uservoice` - UserVoice\n* `productboard` - Productboard\n* `canny` - Canny\n* `asknicely` - AskNicely\n* `retently` - Retently\n* `appfigures` - Appfigures\n* `appfollow` - AppFollow\n* `judgeme_reviews` - Judge.me'),source_type: zod.enum([diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/inbox-source-configs-create.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/inbox-source-configs-create.jsonindex 8a74247adc4f..b40295330d16 100644--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/inbox-source-configs-create.json+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/inbox-source-configs-create.json@@ -6,7 +6,7 @@"type": "boolean"},"source_product": {- "description": "* `session_replay` - Session replay\n* `llm_analytics` - LLM analytics\n* `github` - GitHub\n* `linear` - Linear\n* `jira` - Jira\n* `zendesk` - Zendesk\n* `conversations` - Conversations\n* `error_tracking` - Error tracking\n* `pganalyze` - pganalyze\n* `signals_scout` - Signals scout\n* `logs` - Logs\n* `health_checks` - Health checks\n* `endpoints` - Endpoints\n* `replay_vision` - Replay Vision\n* `analytics` - Product analytics",+ "description": "* `session_replay` - Session replay\n* `llm_analytics` - LLM analytics\n* `github` - GitHub\n* `linear` - Linear\n* `jira` - Jira\n* `zendesk` - Zendesk\n* `conversations` - Conversations\n* `error_tracking` - Error tracking\n* `pganalyze` - pganalyze\n* `signals_scout` - Signals scout\n* `logs` - Logs\n* `health_checks` - Health checks\n* `endpoints` - Endpoints\n* `replay_vision` - Replay Vision\n* `analytics` - Product analytics\n* `freshdesk` - Freshdesk\n* `freshservice` - Freshservice\n* `front` - Front\n* `gorgias` - Gorgias\n* `kustomer` - Kustomer\n* `dixa` - Dixa\n* `plain` - Plain\n* `gitlab` - GitLab\n* `gitea` - Gitea\n* `shortcut` - Shortcut\n* `sentry` - Sentry\n* `rollbar` - Rollbar\n* `bugsnag` - Bugsnag\n* `honeybadger` - Honeybadger\n* `raygun` - Raygun\n* `snyk` - Snyk\n* `sonarqube` - SonarQube\n* `semgrep` - Semgrep\n* `rapid7_insightvm` - Rapid7 InsightVM\n* `featurebase` - Featurebase\n* `frill` - Frill\n* `aha` - Aha\n* `uservoice` - UserVoice\n* `productboard` - Productboard\n* `canny` - Canny\n* `asknicely` - AskNicely\n* `retently` - Retently\n* `appfigures` - Appfigures\n* `appfollow` - AppFollow\n* `judgeme_reviews` - Judge.me","enum": ["session_replay","llm_analytics",@@ -22,7 +22,37 @@"health_checks","endpoints","replay_vision",- "analytics"+ "analytics",+ "freshdesk",+ "freshservice",+ "front",+ "gorgias",+ "kustomer",+ "dixa",+ "plain",+ "gitlab",+ "gitea",+ "shortcut",+ "sentry",+ "rollbar",+ "bugsnag",+ "honeybadger",+ "raygun",+ "snyk",+ "sonarqube",+ "semgrep",+ "rapid7_insightvm",+ "featurebase",+ "frill",+ "aha",+ "uservoice",+ "productboard",+ "canny",+ "asknicely",+ "retently",+ "appfigures",+ "appfollow",+ "judgeme_reviews"],"type": "string"},diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/inbox-source-configs-partial-update.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/inbox-source-configs-partial-update.jsonindex 3bb6664ef105..405583031418 100644--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/inbox-source-configs-partial-update.json+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/inbox-source-configs-partial-update.json@@ -10,7 +10,7 @@"type": "string"},"source_product": {- "description": "* `session_replay` - Session replay\n* `llm_analytics` - LLM analytics\n* `github` - GitHub\n* `linear` - Linear\n* `jira` - Jira\n* `zendesk` - Zendesk\n* `conversations` - Conversations\n* `error_tracking` - Error tracking\n* `pganalyze` - pganalyze\n* `signals_scout` - Signals scout\n* `logs` - Logs\n* `health_checks` - Health checks\n* `endpoints` - Endpoints\n* `replay_vision` - Replay Vision\n* `analytics` - Product analytics",+ "description": "* `session_replay` - Session replay\n* `llm_analytics` - LLM analytics\n* `github` - GitHub\n* `linear` - Linear\n* `jira` - Jira\n* `zendesk` - Zendesk\n* `conversations` - Conversations\n* `error_tracking` - Error tracking\n* `pganalyze` - pganalyze\n* `signals_scout` - Signals scout\n* `logs` - Logs\n* `health_checks` - Health checks\n* `endpoints` - Endpoints\n* `replay_vision` - Replay Vision\n* `analytics` - Product analytics\n* `freshdesk` - Freshdesk\n* `freshservice` - Freshservice\n* `front` - Front\n* `gorgias` - Gorgias\n* `kustomer` - Kustomer\n* `dixa` - Dixa\n* `plain` - Plain\n* `gitlab` - GitLab\n* `gitea` - Gitea\n* `shortcut` - Shortcut\n* `sentry` - Sentry\n* `rollbar` - Rollbar\n* `bugsnag` - Bugsnag\n* `honeybadger` - Honeybadger\n* `raygun` - Raygun\n* `snyk` - Snyk\n* `sonarqube` - SonarQube\n* `semgrep` - Semgrep\n* `rapid7_insightvm` - Rapid7 InsightVM\n* `featurebase` - Featurebase\n* `frill` - Frill\n* `aha` - Aha\n* `uservoice` - UserVoice\n* `productboard` - Productboard\n* `canny` - Canny\n* `asknicely` - AskNicely\n* `retently` - Retently\n* `appfigures` - Appfigures\n* `appfollow` - AppFollow\n* `judgeme_reviews` - Judge.me","enum": ["session_replay","llm_analytics",@@ -26,7 +26,37 @@"health_checks","endpoints","replay_vision",- "analytics"+ "analytics",+ "freshdesk",+ "freshservice",+ "front",+ "gorgias",+ "kustomer",+ "dixa",+ "plain",+ "gitlab",+ "gitea",+ "shortcut",+ "sentry",+ "rollbar",+ "bugsnag",+ "honeybadger",+ "raygun",+ "snyk",+ "sonarqube",+ "semgrep",+ "rapid7_insightvm",+ "featurebase",+ "frill",+ "aha",+ "uservoice",+ "productboard",+ "canny",+ "asknicely",+ "retently",+ "appfigures",+ "appfollow",+ "judgeme_reviews"],"type": "string"},diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/inbox-source-configs-update.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/inbox-source-configs-update.jsonindex 932f92f63afd..43073ebd865d 100644--- a/services/mcp/tests/unit/__snapshots__/tool-schemas/inbox-source-configs-update.json+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/inbox-source-configs-update.json@@ -10,7 +10,7 @@"type": "string"},"source_product": {- "description": "* `session_replay` - Session replay\n* `llm_analytics` - LLM analytics\n* `github` - GitHub\n* `linear` - Linear\n* `jira` - Jira\n* `zendesk` - Zendesk\n* `conversations` - Conversations\n* `error_tracking` - Error tracking\n* `pganalyze` - pganalyze\n* `signals_scout` - Signals scout\n* `logs` - Logs\n* `health_checks` - Health checks\n* `endpoints` - Endpoints\n* `replay_vision` - Replay Vision\n* `analytics` - Product analytics",+ "description": "* `session_replay` - Session replay\n* `llm_analytics` - LLM analytics\n* `github` - GitHub\n* `linear` - Linear\n* `jira` - Jira\n* `zendesk` - Zendesk\n* `conversations` - Conversations\n* `error_tracking` - Error tracking\n* `pganalyze` - pganalyze\n* `signals_scout` - Signals scout\n* `logs` - Logs\n* `health_checks` - Health checks\n* `endpoints` - Endpoints\n* `replay_vision` - Replay Vision\n* `analytics` - Product analytics\n* `freshdesk` - Freshdesk\n* `freshservice` - Freshservice\n* `front` - Front\n* `gorgias` - Gorgias\n* `kustomer` - Kustomer\n* `dixa` - Dixa\n* `plain` - Plain\n* `gitlab` - GitLab\n* `gitea` - Gitea\n* `shortcut` - Shortcut\n* `sentry` - Sentry\n* `rollbar` - Rollbar\n* `bugsnag` - Bugsnag\n* `honeybadger` - Honeybadger\n* `raygun` - Raygun\n* `snyk` - Snyk\n* `sonarqube` - SonarQube\n* `semgrep` - Semgrep\n* `rapid7_insightvm` - Rapid7 InsightVM\n* `featurebase` - Featurebase\n* `frill` - Frill\n* `aha` - Aha\n* `uservoice` - UserVoice\n* `productboard` - Productboard\n* `canny` - Canny\n* `asknicely` - AskNicely\n* `retently` - Retently\n* `appfigures` - Appfigures\n* `appfollow` - AppFollow\n* `judgeme_reviews` - Judge.me","enum": ["session_replay","llm_analytics",@@ -26,7 +26,37 @@"health_checks","endpoints","replay_vision",- "analytics"+ "analytics",+ "freshdesk",+ "freshservice",+ "front",+ "gorgias",+ "kustomer",+ "dixa",+ "plain",+ "gitlab",+ "gitea",+ "shortcut",+ "sentry",+ "rollbar",+ "bugsnag",+ "honeybadger",+ "raygun",+ "snyk",+ "sonarqube",+ "semgrep",+ "rapid7_insightvm",+ "featurebase",+ "frill",+ "aha",+ "uservoice",+ "productboard",+ "canny",+ "asknicely",+ "retently",+ "appfigures",+ "appfollow",+ "judgeme_reviews"],"type": "string"},