: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(signals): let a person file an inbox report through the mcp (#128789)
posthog[bot]7e0d032f2455
diff --git a/products/signals/backend/admin.py b/products/signals/backend/admin.pyindex c5d4c6144781..6fae37362bd7 100644--- a/products/signals/backend/admin.py+++ b/products/signals/backend/admin.py@@ -93,10 +93,12 @@ class SignalReportAdmin(admin.ModelAdmin):"updated_at","promoted_at","last_run_at",+ "user_authored",+ "created_by",)fieldsets = (- (None, {"fields": ("id", "team", "status")}),+ (None, {"fields": ("id", "team", "status", "user_authored", "created_by")}),("Content", {"fields": ("title", "summary", "error")}),("Stats", {"fields": ("signal_count", "total_weight", "signals_at_run")}),("Dates", {"fields": ("created_at", "updated_at", "promoted_at", "last_run_at")}),diff --git a/products/signals/backend/auto_start.py b/products/signals/backend/auto_start.pyindex 953a31558f69..acb1398e24ce 100644--- a/products/signals/backend/auto_start.py+++ b/products/signals/backend/auto_start.py@@ -1772,7 +1772,20 @@ async def maybe_autostart_from_report_artefacts(A report that a background-enrolled scout authored never auto-starts. Nobody on the projectasked for that scout, so its findings must not open pull requests on their own.++ A report a member filed by hand (`user_authored`) never auto-starts either, on creation or on any+ later reviewer edit, repository edit, or dispatcher retry. Its create endpoint needs only+ `inbox:write`, while every other write that automatic start reads needs `task:write`. A person+ who wants a run presses Implement, which carries its own authorization."""+ if await SignalReport.objects.filter(id=report_id, team_id=team_id, user_authored=True).aexists():+ logger.info(+ "signals auto-start re-eval skipped",+ report_id=report_id,+ team_id=team_id,+ reason="user-authored report",+ )+ return AutostartOutcome(status="blocked", reason="Reports filed by a person do not auto-start")if await database_sync_to_async(report_is_from_background_scout)(team_id, report_id):logger.info("signals auto-start re-eval skipped",diff --git a/products/signals/backend/enums.py b/products/signals/backend/enums.pyindex 0aa6c0244a03..511b841f01db 100644--- a/products/signals/backend/enums.py+++ b/products/signals/backend/enums.py@@ -104,6 +104,8 @@ class SignalSourceProduct(StrEnum):# A report check that failed after its report was resolved. Not a source a team connects:# the inbox emits it to itself so a fix that stopped holding starts a fresh report.SIGNALS_CHECK = "signals_check"+ # A report a project member filed by hand through the report API. Not a source a team connects.+ USER_AUTHORED = "user_authored"LOGS = "logs"HEALTH_CHECKS = "health_checks"REPLAY_VISION = "replay_vision"@@ -274,6 +276,7 @@ SIGNAL_SOURCE_PRODUCT_LABELS: dict[SignalSourceProduct, str] = {SignalSourceProduct.PGANALYZE: "pganalyze",SignalSourceProduct.SIGNALS_SCOUT: "Signals scout",SignalSourceProduct.SIGNALS_CHECK: "Report check",+ SignalSourceProduct.USER_AUTHORED: "Team member",SignalSourceProduct.LOGS: "Logs",SignalSourceProduct.HEALTH_CHECKS: "Health checks",SignalSourceProduct.ENDPOINTS: "Endpoints",diff --git a/products/signals/backend/migrations/0231_signalreport_user_authored.py b/products/signals/backend/migrations/0231_signalreport_user_authored.pynew file mode 100644index 000000000000..f4b6b696f1a3--- /dev/null+++ b/products/signals/backend/migrations/0231_signalreport_user_authored.py@@ -0,0 +1,32 @@+import django.db.models.deletion+from django.conf import settings+from django.db import migrations, models+++class Migration(migrations.Migration):+ dependencies = [+ ("posthog", "1421_oauth_supports_step_up"),+ ("signals", "0230_monitoring_research_delivery_indexes"),+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),+ ]++ operations = [+ migrations.AddField(+ model_name="signalreport",+ name="created_by",+ field=models.ForeignKey(+ blank=True,+ db_constraint=False,+ db_index=False,+ null=True,+ on_delete=django.db.models.deletion.SET_NULL,+ related_name="+",+ to=settings.AUTH_USER_MODEL,+ ),+ ),+ migrations.AddField(+ model_name="signalreport",+ name="user_authored",+ field=models.BooleanField(db_default=False, default=False),+ ),+ ]diff --git a/products/signals/backend/migrations/0232_signalreport_created_by_index.py b/products/signals/backend/migrations/0232_signalreport_created_by_index.pynew file mode 100644index 000000000000..10616d7bdc1d--- /dev/null+++ b/products/signals/backend/migrations/0232_signalreport_created_by_index.py@@ -0,0 +1,20 @@+from django.db import migrations, models++from posthog.migration_helpers import SafeAddIndexConcurrently+++class Migration(migrations.Migration):+ atomic = False++ dependencies = [("signals", "0231_signalreport_user_authored")]++ operations = [+ SafeAddIndexConcurrently(+ model_name="signalreport",+ index=models.Index(+ condition=models.Q(("created_by__isnull", False)),+ fields=["created_by", "created_at"],+ name="signals_report_created_by",+ ),+ ),+ ]diff --git a/products/signals/backend/migrations/max_migration.txt b/products/signals/backend/migrations/max_migration.txtindex f3a37a1aae29..5ce15909f164 100644--- a/products/signals/backend/migrations/max_migration.txt+++ b/products/signals/backend/migrations/max_migration.txt@@ -1 +1 @@-0230_monitoring_research_delivery_indexes+0232_signalreport_created_by_indexdiff --git a/products/signals/backend/models.py b/products/signals/backend/models.pyindex 67fffcc9171e..17651583f530 100644--- a/products/signals/backend/models.py+++ b/products/signals/backend/models.py@@ -497,6 +497,22 @@ class SignalReport(UUIDModel):# key is what makes the retry that follows return this report instead of authoring a second one.scout_idempotency_key = models.CharField(max_length=255, null=True, blank=True)+ # A project member filed this report through the report API rather than a scout or the pipeline.+ # Automatic start never runs for it, on creation or on any later re-evaluation, because the+ # create endpoint needs only `inbox:write` while an implementation run acts on the text. The+ # flag carries the gate, so deleting the user behind `created_by` does not reopen it.+ user_authored = models.BooleanField(default=False, db_default=False)+ # No field index: `signals_report_created_by` leads with this column and serves the user-delete lookup too.+ created_by = models.ForeignKey(+ "posthog.User",+ on_delete=models.SET_NULL,+ null=True,+ blank=True,+ db_constraint=False,+ db_index=False,+ related_name="+",+ )+# Video segment clustering fieldscluster_centroid = deprecate_field(ArrayField(@@ -534,6 +550,12 @@ class SignalReport(UUIDModel):condition=models.Q(first_visible_at__isnull=False),name="signals_report_first_visible",),+ # Partial: the per-user daily create cap counts one member's reports from the start of the day.+ models.Index(+ fields=["created_by", "created_at"],+ condition=models.Q(created_by__isnull=False),+ name="signals_report_created_by",+ ),# Back the inbox `search` filter. On UPPER(...) because icontains compiles to# UPPER(col) LIKE UPPER(pattern) on Postgres. Direct updates avoid pending-list# merges that make one insert absorb the batched GIN maintenance of earlier writes.diff --git a/products/signals/backend/scout_harness/AGENTS.md b/products/signals/backend/scout_harness/AGENTS.mdindex d09f88927f6f..cfede2e8c301 100644--- a/products/signals/backend/scout_harness/AGENTS.md+++ b/products/signals/backend/scout_harness/AGENTS.md@@ -219,6 +219,7 @@ In production it is driven by `SignalsScoutCoordinatorWorkflow` (periodic tick eHarness/tool code calls that service; it still never touches `SignalReport` or the embeddings pipeline directly. See `../scout_report/persistence.py` and the `scouts-emit-reports` spec.Both report-channel actions are tracked on the run as queryable columns: `emit_report` appends to `SignalScoutRun.emitted_report_ids` (via `_record_report_emit`), and `edit_report` appends — deduped — to `edited_report_ids` (via `record_report_edit`), so "which reports did this run author vs. edit?" is a column lookup, not an event-stream or artefact-log join. Both writes are best-effort and post-commit (an edit/emit never fails because its tally write did).`emit_report` is retry-safe, `edit_report` is not. Every emission is stored under a key (`_emit_idempotency_key`: the caller's `idempotency_key`, else a digest of the report's content, run-scoped either way) held by a partial unique index on `SignalReport.scout_idempotency_key`, so a retry after a proxy timeout returns the first report with `idempotent_replay` set instead of authoring a twin. The tool checks the key before the safety judge so a retry costs no LLM call; the index is what settles a retry that arrives while the first call is still judging, surfacing to the tool as `ScoutReportAlreadyEmittedError`. A replay never re-queues the Slack delivery or re-fires autostart, and books its own `idempotent_replay` outcome on `signals_scout_report_emitted` so retries stay measurable without counting as reports. This covers the transport failure only; telling a topic an earlier run already filed from a new one is still the scout's job (inbox search + the `report:` scratchpad pointer).+- A project member can author through the same channel. `tools/report_author.py` holds two `ReportAuthor` implementations: `ScoutRunReportAuthor` and `UserReportAuthor`, which backs `POST /signals/reports/` (`inbox-reports-create`, behind the `inbox-reports-create-mcp` flag). The user author has its own idempotency scope (`user:<id>`), checks AI-processing consent and a per-user daily cap (`USER_REPORT_DAILY_LIMIT`, returned as 429) in `preflight_skip_reason`, so a replay returns before the cap and the cap stops a call before the judge. The report is stored `user_authored`, and `auto_start.maybe_autostart_from_report_artefacts` blocks it on every evaluation, because the endpoint needs only `inbox:write`. Its backing signals carry the `user_authored` source product instead of `signals_scout`.- A report's routing is correctable in place. `edit_report` takes `suggested_reviewers` and `repository`, each replacing what the report holds and re-running autostart, so a report that surfaced routed to no one, or against the wrong codebase, is fixed rather than re-filed as a duplicate. `repository` takes the same `owner/repo` / `NO_REPO` input `emit_report` does (`_normalize_repository`), and the selection it writes is `autostart_eligible` because a scout naming a repository is a decision, not the reading of the prose that `_refresh_inferred_repository` may overturn. Omitting the field leaves the report's target alone, and a repository-only edit changes Inbox routing without queueing another Slack report delivery. The result's `repository` is the target the report holds once the edit settles, read back from the stored selection rather than echoed from the input, and a requested target the report did not take fails the call — `repository_set` alone reports only this process's intent, which a dropped field or a later write can outlive.- A report's work decision is correctable in place too. `edit_report` takes `actionability` + `actionability_explanation` (+ `already_addressed`) as one unit, and `priority` + `priority_explanation`. Each replaces the `actionability_judgment` / `priority_judgment` status artefact that autostart reads (`set_scout_report_decision`), logs an attributed work-log note, and re-runs autostart after the commit, so a promoted report can open a draft PR and a demoted or already-addressed one stops autostart from opening one. The report's inbox status does not move, because an edit must never take down a report someone else authored. A re-send of the stored decision is a no-op. The explanations pass the edit safety judge, since autostart copies the priority explanation into the implementation task. A decision-only edit changes Inbox routing without queueing another Slack report delivery.- An `edit_report` result carries `warnings`: one entry per request field the edit did not apply, with the reason, while the rest of the edit landed. `supersedes_implementation` uses it today.diff --git a/products/signals/backend/scout_harness/serializers.py b/products/signals/backend/scout_harness/serializers.pyindex 342c4bd5aa73..66e81e5e53e9 100644--- a/products/signals/backend/scout_harness/serializers.py+++ b/products/signals/backend/scout_harness/serializers.py@@ -1544,7 +1544,8 @@ class ReportLinkWriteSerializer(serializers.Serializer):class EmitReportRequestSerializer(serializers.Serializer):- """Request body for `emit-report`. Run attribution is taken from the URL path."""+ """Request body for the scout `emit-report` action and the inbox report `create` action. A scout run is+ taken from the URL path; a person is the authenticated caller."""title = serializers.CharField(max_length=MAX_REPORT_TITLE_LENGTH,@@ -1588,14 +1589,14 @@ class EmitReportRequestSerializer(serializers.Serializer):help_text=("Whether the issue is already being handled — fixed in recent changes, or with a fix in ""flight (an open PR, a recently active branch, an assigned / in-progress issue or agent "- "task). Gates autostart, so a wrong `false` opens a duplicate PR. Tracked separately."+ "task). Gates autostart of a scout report, so a wrong `false` opens a duplicate PR. Tracked separately."),)repository = serializers.CharField(required=False,allow_null=True,help_text=(- "Optional repo for opening a draft PR, by autostart or by a person from the inbox. Pass "+ "Optional repo for opening a draft PR, by autostart of a scout report or by a person from the inbox. Pass ""`owner/repo` whenever you can say where a fix would land. Omit the field when you can't, ""which triggers free-form selection across the team's repos (the slow path on a many-repo ""team). Keep the `NO_REPO` sentinel for the rare report where nothing under version control "@@ -1621,7 +1622,8 @@ class EmitReportRequestSerializer(serializers.Serializer):"Optional reviewers to route the report to (each a `github_login` and/or `user_uuid`). This is ""the primary way a report reaches a human — the inbox floats a reviewer's own reports to the top ""of their inbox even when no PR is involved — so set it whenever you can name a plausible owner. "- "It also gates autostart: a PR opens only if at least one reviewer clears their autonomy threshold."+ "On a scout report it also gates autostart: a PR opens only if at least one reviewer clears their "+ "autonomy threshold. A report a person files never autostarts."),)charts = serializers.ListField(@@ -1689,7 +1691,8 @@ class EmitReportRequestSerializer(serializers.Serializer):allow_null=True,max_length=MAX_IDEMPOTENCY_KEY_LENGTH,help_text=(- "Optional name for this emission, unique within the run. Reuse it verbatim to retry a call "+ "Optional name for this emission, unique within a scout's run or within a person's own reports. "+ "Reuse it verbatim to retry a call ""whose outcome you don't know (a timeout, a dropped connection): the retry returns the ""report the first call authored, with `idempotent_replay` true, instead of a second report. ""Omit it and the report's own content is the key, which covers a retry of the identical "diff --git a/products/signals/backend/scout_harness/tools/report.py b/products/signals/backend/scout_harness/tools/report.pyindex 7270b54ada0c..f75423ea4392 100644--- a/products/signals/backend/scout_harness/tools/report.py+++ b/products/signals/backend/scout_harness/tools/report.py@@ -104,7 +104,7 @@ from products.signals.backend.scout_harness.tools.emit import (remediation_for_skip,)from products.signals.backend.scout_harness.tools.notes import MAX_NOTE_CONTENT_LENGTH-from products.signals.backend.scout_harness.tools.report_author import ReportAuthor+from products.signals.backend.scout_harness.tools.report_author import USER_REPORT_DAILY_LIMIT_REASON, ReportAuthorfrom products.signals.backend.scout_harness.trial_gateway import create_trial_gateway_token, revoke_trial_gateway_tokenfrom products.signals.backend.scout_report import (INFERRED_REPOSITORY_REASON,@@ -1685,9 +1685,12 @@ _REPORT_EVENT_SOURCE = "signals_scout_report"# `source_disabled`) or fail-closed because its dispatch-time config is gone (`scout_config_missing`,# from a deleted/nulled `SignalScoutConfig`). See `_preflight_emit_gates`. An inactive scout must produce# no side effects, so its attempt is still recorded on the internal stream but is NOT fanned out as a-# customer-facing, automation-driving event. Other gate-skips that represent a real, customer-controlled+# customer-facing, automation-driving event. A member's capped create (`user_daily_report_limit`) is+# refused the same way, since nothing was filed. Other gate-skips that represent a real, customer-controlled# condition (e.g. `ai_processing_not_approved`) still forward the raw event.-_INACTIVE_SKIP_REASONS = frozenset({"scout_emit_disabled", "source_disabled", "scout_config_missing"})+_INACTIVE_SKIP_REASONS = frozenset(+ {"scout_emit_disabled", "source_disabled", "scout_config_missing", USER_REPORT_DAILY_LIMIT_REASON}+)@dataclass@@ -2236,6 +2239,7 @@ async def emit_report(summary=summary,evidence=evidence,wants_full_selection=trial_store is None+ and author.user_id is Noneand _wants_repo_selection(repository, priority_assessment, reviewers),)if surfaced@@ -2298,6 +2302,7 @@ async def emit_report(emit_signals=judgement.safety.choice,run=author.scout_run,idempotency_key=emit_key,+ created_by_id=author.user_id,)except ScoutReportAlreadyEmittedError as already_emitted:# The retry arrived while this call was still judging, so both reached the insert. The winner's@@ -2437,6 +2442,7 @@ def emit_report_sync(summary=summary,evidence=evidence,wants_full_selection=trial_store is None+ and author.user_id is Noneand _wants_repo_selection(repository, priority_assessment, reviewers),)if surfaced@@ -2495,6 +2501,7 @@ def emit_report_sync(emit_signals=judgement.safety.choice,run=author.scout_run,idempotency_key=emit_key,+ created_by_id=author.user_id,)except ScoutReportAlreadyEmittedError as already_emitted:# As in `emit_report`: a concurrent retry won the insert, so hand back its report.diff --git a/products/signals/backend/scout_harness/tools/report_author.py b/products/signals/backend/scout_harness/tools/report_author.pyindex ff025d21bcce..155f7bfed632 100644--- a/products/signals/backend/scout_harness/tools/report_author.py+++ b/products/signals/backend/scout_harness/tools/report_author.py@@ -1,19 +1,22 @@"""Who authors a report through the report channel.`emit_report` and `edit_report` read every author-specific value through `ReportAuthor`: the-idempotency scope, the telemetry identity, the preflight gates, and the artefact attribution. A scout-run is the only author that exists. Another author, such as a user who calls the channel over the MCP,-implements the same protocol, so neither path forks on who wrote the report.+idempotency scope, the telemetry identity, the preflight gates, and the artefact attribution. Two+authors exist: a scout run (`ScoutRunReportAuthor`) and a project member who files a report through the+report API, usually over the MCP (`UserReportAuthor`). Both implement the same protocol, so neither path+forks on who wrote the report."""from __future__ import annotations+from datetime import datetime, timedeltafrom typing import Any, Protocolfrom posthog.dataclasses import frozenfrom posthog.models import Team-from products.signals.backend.models import ArtefactAttribution, SignalScoutRun+from products.signals.backend.daily_limit import team_day_start+from products.signals.backend.models import ArtefactAttribution, SignalReport, SignalScoutRunfrom products.signals.backend.scout_harness.tools.emit import (_assert_team_owns_run,_preflight_emit_gates,@@ -35,6 +38,13 @@ class ReportAuthor(Protocol):"""The skill whose owners get reviewer provenance stamps. None stamps no one."""...+ @property+ def user_id(self) -> int | None:+ """The project member who filed the report by hand, or None for a scout. A set value stores the+ report as `user_authored`, which keeps automatic start off, and skips the repository selection+ sandbox."""+ ...+@propertydef idempotency_scope(self) -> str:"""The prefix of the stored emit key. A retry resolves to the first report only inside one@@ -74,6 +84,10 @@ class ScoutRunReportAuthor:def skill_name(self) -> str | None:return self.run.skill_name+ @property+ def user_id(self) -> int | None:+ return None+@propertydef idempotency_scope(self) -> str:# Stored keys and event uuids hash this value. Changing its format lets a retry that crosses@@ -121,3 +135,71 @@ class ScoutRunReportAuthor:def attribution(self) -> ArtefactAttribution:task_id = _resolve_task_id(self.run)return ArtefactAttribution.from_task(task_id) if task_id is not None else ArtefactAttribution.system()+++USER_REPORT_DAILY_LIMIT = 20+USER_REPORT_DAILY_LIMIT_REASON = "user_daily_report_limit"+++def user_reports_created_today(team: Team, user_id: int) -> int:+ """Reports this member filed by hand since the start of the project's day. Suppressed and deleted+ reports count too, because each one already paid for a safety judge call."""+ return SignalReport.objects.filter(+ team_id=team.id, created_by_id=user_id, user_authored=True, created_at__gte=team_day_start(team)+ ).count()+++def user_report_limit_resets_at(team: Team) -> datetime:+ return team_day_start(team) + timedelta(days=1)+++@frozen+class UserReportAuthor:+ """A project member who files a report through `POST /signals/reports/`.++ The scout source toggle and scout configs do not apply: they control scouts, not a person.+ Ownership needs no check, because the viewset already scopes the request to the team."""++ user_id: int+ user_distinct_id: str+ request_attribution: ArtefactAttribution+ client_name: str | None = None++ @property+ def scout_run(self) -> SignalScoutRun | None:+ return None++ @property+ def skill_name(self) -> str | None:+ return None++ @property+ def idempotency_scope(self) -> str:+ # Stored keys and event uuids hash this value, so changing its format breaks retries across a deploy.+ return f"user:{self.user_id}"++ @property+ def distinct_id(self) -> str:+ return self.user_distinct_id++ def event_properties(self) -> dict[str, Any]:+ properties: dict[str, Any] = {"author_type": "user"}+ if self.client_name:+ properties["mcp_client_name"] = self.client_name+ return properties++ def log_extra(self) -> dict[str, Any]:+ return {"author_type": "user", "user_id": self.user_id}++ def assert_owned_by(self, team: Team) -> None:+ return None++ def preflight_skip_reason(self, team: Team) -> str | None:+ if not team.organization.is_ai_data_processing_approved:+ return "ai_processing_not_approved"+ if user_reports_created_today(team, self.user_id) >= USER_REPORT_DAILY_LIMIT:+ return USER_REPORT_DAILY_LIMIT_REASON+ return None++ def attribution(self) -> ArtefactAttribution:+ return self.request_attributiondiff --git a/products/signals/backend/scout_harness/views.py b/products/signals/backend/scout_harness/views.pyindex fc494b703e04..6603e3913c8e 100644--- a/products/signals/backend/scout_harness/views.py+++ b/products/signals/backend/scout_harness/views.py@@ -234,6 +234,7 @@ from products.signals.backend.scout_harness.tools.notes import ()from products.signals.backend.scout_harness.tools.profile import get_project_profilefrom products.signals.backend.scout_harness.tools.report import (+ EmitReportResult,ReportChartInput,ReportEvidence,ReportLinkInput,@@ -243,7 +244,7 @@ from products.signals.backend.scout_harness.tools.report import (edit_report_sync,emit_report_sync,)-from products.signals.backend.scout_harness.tools.report_author import ScoutRunReportAuthor+from products.signals.backend.scout_harness.tools.report_author import ReportAuthor, ScoutRunReportAuthorfrom products.signals.backend.scout_harness.tools.runs import (DEFAULT_FINDINGS_WINDOW_HOURS,DEFAULT_RUNS_PER_SCOUT,@@ -562,6 +563,48 @@ def _to_reviewer_inputs(entries: list[dict] | None) -> list[ReviewerInput] | Non]+def emit_report_from_validated_data(*, team: Team, author: ReportAuthor, data: dict) -> EmitReportResult:+ """Author a report from a validated `EmitReportRequestSerializer` body. Shared by the scout+ `emit-report` action and the inbox `create` action, so both authors take one path."""+ try:+ return emit_report_sync(+ team=team,+ author=author,+ title=data["title"],+ summary=data["summary"],+ evidence=_to_report_evidence(data["evidence"]) or [],+ actionability_explanation=data["actionability_explanation"],+ actionability=data["actionability"],+ already_addressed=data.get("already_addressed", False),+ repository=data.get("repository"),+ priority=data.get("priority"),+ priority_explanation=data.get("priority_explanation"),+ suggested_reviewers=_to_reviewer_inputs(data.get("suggested_reviewers")),+ charts=_to_report_charts(data.get("charts")),+ metrics=_to_report_metrics(data.get("metrics")),+ suggested_prompts=data.get("suggested_prompts"),+ links=_to_report_links(data.get("links")),+ idempotency_key=data.get("idempotency_key"),+ tags=data.get("tags"),+ )+ except InvalidScoutReportError as exc:+ raise exceptions.ValidationError({"detail": str(exc)})+++def emit_report_response_data(result: EmitReportResult) -> dict[str, Any]:+ return EmitReportResponseSerializer(+ {+ "report_id": result.report_id,+ "report_status": result.status,+ "emitted": result.emitted,+ "skipped_reason": result.skipped_reason,+ "safety_explanation": result.safety_explanation,+ "remediation": result.remediation,+ "idempotent_replay": result.idempotent_replay,+ }+ ).data++def _resolve_emission_report_links(team_id: int, canonical_team: Team, emissions: list[SignalScoutEmission], *, log_context: dict) -> list[dict]:@@ -1283,47 +1326,12 @@ class SignalScoutRunViewSet(TeamAndOrgViewSetMixin, viewsets.GenericViewSet):@trial_state_errors()def emit_report(self, request: Request, **kwargs) -> Response:run = self._resolve_in_progress_run(kwargs, required_tool="emit_report")- data = request.validated_data- evidence = _to_report_evidence(data["evidence"]) or []- try:- result = emit_report_sync(- # `run.team` is the canonical (parent) team the run was resolved on; a child-environment- # request's `self.team` would mismatch the run's owner and trip `_assert_team_owns_run`.- team=run.team,- author=ScoutRunReportAuthor(run=run),- title=data["title"],- summary=data["summary"],- evidence=evidence,- actionability_explanation=data["actionability_explanation"],- actionability=data["actionability"],- already_addressed=data.get("already_addressed", False),- repository=data.get("repository"),- priority=data.get("priority"),- priority_explanation=data.get("priority_explanation"),- suggested_reviewers=_to_reviewer_inputs(data.get("suggested_reviewers")),- charts=_to_report_charts(data.get("charts")),- metrics=_to_report_metrics(data.get("metrics")),- suggested_prompts=data.get("suggested_prompts"),- links=_to_report_links(data.get("links")),- idempotency_key=data.get("idempotency_key"),- tags=data.get("tags"),- )- except InvalidScoutReportError as exc:- raise exceptions.ValidationError({"detail": str(exc)})- return Response(- EmitReportResponseSerializer(- {- "report_id": result.report_id,- "report_status": result.status,- "emitted": result.emitted,- "skipped_reason": result.skipped_reason,- "safety_explanation": result.safety_explanation,- "remediation": result.remediation,- "idempotent_replay": result.idempotent_replay,- }- ).data,- status=status.HTTP_200_OK,+ # `run.team` is the canonical (parent) team the run was resolved on; a child-environment+ # request's `self.team` would mismatch the run's owner and trip `_assert_team_owns_run`.+ result = emit_report_from_validated_data(+ team=run.team, author=ScoutRunReportAuthor(run=run), data=request.validated_data)+ return Response(emit_report_response_data(result), status=status.HTTP_200_OK)@validated_request(request_serializer=EditReportRequestSerializer,diff --git a/products/signals/backend/scout_report/__init__.py b/products/signals/backend/scout_report/__init__.pyindex 7329f3b191b2..1c4cffa01c1b 100644--- a/products/signals/backend/scout_report/__init__.py+++ b/products/signals/backend/scout_report/__init__.py@@ -50,6 +50,7 @@ from products.signals.backend.scout_report.persistence import (set_scout_report_tags,soft_delete_scout_signal,update_scout_report,+ user_report_provenance,validate_scout_report,validate_scout_report_text,)@@ -86,6 +87,7 @@ __all__ = ["record_scout_run_task_artefact","scout_report_exists","scout_report_provenance",+ "user_report_provenance","scout_report_tags_in_use","scout_task_run_content","set_report_charts",diff --git a/products/signals/backend/scout_report/persistence.py b/products/signals/backend/scout_report/persistence.pyindex d297a8cc83ba..e6e880d848a5 100644--- a/products/signals/backend/scout_report/persistence.py+++ b/products/signals/backend/scout_report/persistence.py@@ -66,7 +66,7 @@ from products.signals.backend.artefact_schemas import (TitleChange,)from products.signals.backend.constants import FIRST_REPORT_SCOUT, first_report_idempotency_key-from products.signals.backend.enums import ReportLinkWritePath+from products.signals.backend.enums import ReportLinkWritePath, SignalSourceProductfrom products.signals.backend.models import (MAX_SCOUT_CONTENT_REVISIONS,MAX_SCOUT_REPORT_NOTES,@@ -190,6 +190,7 @@ def create_scout_report(emit_signals: bool = True,run: SignalScoutRun | None = None,idempotency_key: str | None = None,+ created_by_id: int | None = None,) -> PersistedScoutReport:"""Author a `SignalReport` directly plus its backing signal rows, in one report-owning transaction.@@ -199,6 +200,10 @@ def create_scout_report(a `report_id` that doesn't exist. This function owns its transaction boundary; do not wrap it in anouter atomic block (that would defer the commit and the emits past your control).+ `created_by_id` marks a report a project member filed by hand. The row is stored `user_authored`,+ which keeps automatic start off for the report's whole life, and its backing signals carry the+ `user_authored` source product so the inbox does not label it as a scout's.+`status` is the status the report is born at. It defaults to READY (the custom-agent precedent);the safety/actionability judge (`judge.py`) is what chooses READY vs SUPPRESSED vs PENDING_INPUTand passes the resolved status here. `safety` / `actionability`, when provided, are written as the@@ -271,6 +276,8 @@ def create_scout_report(title=title,summary=summary,scout_idempotency_key=idempotency_key,+ user_authored=created_by_id is not None,+ created_by_id=created_by_id,triggering_signal_id=document_ids[0],signal_count=len(signals),total_weight=total_weight,@@ -292,7 +299,7 @@ def create_scout_report(SignalReportArtefact.append(team_id=team_id,report_id=report_id,- content=scout_report_provenance(run),+ content=user_report_provenance() if created_by_id is not None else scout_report_provenance(run),attribution=attribution,reevaluate_autostart=False,)@@ -395,9 +402,15 @@ def create_scout_report(# on the evidence card + header, matching the emit_signal path. `run` is the single place the# skill_name is available (bound signals otherwise ship empty extra, see `_build_signals`).skill_name = run.skill_name if run is not None else None+ source_product = SignalSourceProduct.USER_AUTHORED.value if created_by_id is not None else SOURCE_PRODUCTfor signal, document_id in zip(signals, document_ids):_emit_bound_signal(- team_id=team_id, report_id=report_id, signal=signal, document_id=document_id, skill_name=skill_name+ team_id=team_id,+ report_id=report_id,+ signal=signal,+ document_id=document_id,+ skill_name=skill_name,+ source_product=source_product,)logger.info(@@ -1492,6 +1505,7 @@ def _emit_bound_signal(signal: ScoutReportSignal,document_id: str,skill_name: str | None = None,+ source_product: str = SOURCE_PRODUCT,) -> None:"""Write one backing signal row to `document_embeddings`, mirroring `assign_and_emit_signal_activity`minus the matcher. `report_id` in metadata is what binds it to the report on the read side.@@ -1499,7 +1513,13 @@ def _emit_bound_signal(`skill_name`, when set, is merged into the signal's `extra` so the read side knows which scoutauthored the finding (the inbox renders it as "Scout · <name>")."""extra = {**signal.extra, "skill_name": skill_name} if skill_name else signal.extra- metadata = _signal_metadata(report_id=report_id, source_id=signal.source_id, weight=signal.weight, extra=extra)+ metadata = _signal_metadata(+ report_id=report_id,+ source_id=signal.source_id,+ weight=signal.weight,+ extra=extra,+ source_product=source_product,+ )emit_embedding_request(content=signal.description,team_id=team_id,@@ -1513,12 +1533,14 @@ def _emit_bound_signal()-def _signal_metadata(*, report_id: str, source_id: str, weight: float, extra: dict | None) -> dict:+def _signal_metadata(+ *, report_id: str, source_id: str, weight: float, extra: dict | None, source_product: str = SOURCE_PRODUCT+) -> dict:"""The `metadata` JSON for a backing signal row. Keys match the grouping pipeline's so the same`JSONExtractString(metadata, ...)` read queries resolve a scout-authored signal identically.`match_metadata` is intentionally omitted — these rows never went through the matcher."""return {- "source_product": SOURCE_PRODUCT,+ "source_product": source_product,"source_type": SOURCE_TYPE,"source_id": source_id,"weight": weight,@@ -1632,6 +1654,10 @@ def scout_report_provenance(run: SignalScoutRun | None) -> NoteArtefact:)+def user_report_provenance() -> NoteArtefact:+ return NoteArtefact(note="Filed directly by a project member through the report API.", author="user")++def validate_scout_report(title: str, summary: str, signals: Sequence[ScoutReportSignal]) -> None:if not title or not title.strip():raise InvalidScoutReportError("title must not be empty")diff --git a/products/signals/backend/test/test_reviewer_rules.py b/products/signals/backend/test/test_reviewer_rules.pyindex 4a72519018dc..7d5ef5648ef0 100644--- a/products/signals/backend/test/test_reviewer_rules.py+++ b/products/signals/backend/test/test_reviewer_rules.py@@ -592,7 +592,7 @@ class TestStandingExclusions(BaseTest):def test_login_only_writer_skips_identity_resolution_without_instructions(self) -> None:self.enabled = FalseUserSocialAuth.objects.create(user=self.member, provider="github", uid="1", extra_data={"login": "member"})- with self.assertNumQueries(25):+ with self.assertNumQueries(26):self.write(self.me, SuggestedReviewerEntry(github_login="member"), source="custom_agent")def test_revoked_instruction_stops_suppressing_and_keeps_history(self) -> None:diff --git a/products/signals/backend/test/test_scout_report_api.py b/products/signals/backend/test/test_scout_report_api.pyindex 7138d739e0fc..dee03d4c6a8f 100644--- a/products/signals/backend/test/test_scout_report_api.py+++ b/products/signals/backend/test/test_scout_report_api.py@@ -28,7 +28,7 @@ from products.signals.backend.artefact_schemas import (SuggestedReviewers,TaskRunArtefact,)-from products.signals.backend.auto_start import _evaluate_link_gates+from products.signals.backend.auto_start import _evaluate_link_gates, maybe_autostart_from_report_artefactsfrom products.signals.backend.models import (MAX_SCOUT_CONTENT_REVISIONS,ArtefactAttribution,@@ -60,7 +60,7 @@ from products.signals.backend.scout_harness.tools.report import (_wants_repo_selection,edit_report_sync,)-from products.signals.backend.scout_harness.tools.report_author import ScoutRunReportAuthor+from products.signals.backend.scout_harness.tools.report_author import USER_REPORT_DAILY_LIMIT, ScoutRunReportAuthorfrom products.signals.backend.scout_report import ScoutReportSignalfrom products.signals.backend.scout_report.judge import SAFETY_REFUSAL_EXPLANATIONfrom products.signals.backend.task_run_artefacts import record_implementation_task@@ -3179,3 +3179,115 @@ class TestEmitReportMetricGoalFields(SimpleTestCase):assert serializer.is_valid(), serializer.errorsassert "goal_grain" not in serializer.validated_data["metrics"][0]+++class TestUserReportCreateAPI(APIBaseTest):+ def setUp(self) -> None:+ super().setUp()+ self.organization.is_ai_data_processing_approved = True+ self.organization.save(update_fields=["is_ai_data_processing_approved"])+ self.flag_mock = patch("products.signals.backend.views.feature_enabled_or_false", return_value=True).start()+ patch(CAPTURE_INTERNAL_PATH).start()+ self.addCleanup(patch.stopall)++ def _url(self) -> str:+ return f"/api/projects/{self.team.id}/signals/reports/"++ def _payload(self, **overrides) -> dict:+ body: dict = {+ "title": "Checkout p99 regressed after 4.2",+ "summary": "The /checkout endpoint p99 doubled after the 4.2 deploy.",+ "evidence": [{"description": "p99 doubled on /checkout", "source_id": "obs-1"}],+ "actionability_explanation": "clear fix in the checkout handler",+ "actionability": "immediately_actionable",+ }+ body.update(overrides)+ return body++ def test_user_report_never_autostarts_on_create_or_on_a_later_reevaluation(self) -> None:+ payload = self._payload(+ repository="acme/widgets",+ priority="P1",+ priority_explanation="Checkout latency costs conversions.",+ suggested_reviewers=[{"user_uuid": str(self.user.uuid)}],+ )+ with (+ _safe_judge(),+ patch(EMBED_PATH) as embed,+ patch(+ "products.signals.backend.auto_start.maybe_autostart_implementation_task", new=AsyncMock()+ ) as start_task,+ patch("products.signals.backend.implementation_dispatch.ImplementationDispatcher.trigger") as dispatch,+ ):+ response = self.client.post(self._url(), payload, format="json")+ assert response.status_code == status.HTTP_201_CREATED, response.content+ report_id = response.json()["report_id"]+ outcome = async_to_sync(maybe_autostart_from_report_artefacts)(team_id=self.team.id, report_id=report_id)++ assert response.json()["report_status"] == SignalReport.Status.READY+ assert outcome.status == "blocked"+ start_task.assert_not_awaited()+ dispatch.assert_not_called()+ report = SignalReport.objects.get(id=report_id)+ assert (report.user_authored, report.created_by_id) == (True, self.user.id)+ assert {call.kwargs["metadata"]["source_product"] for call in embed.call_args_list} == {"user_authored"}++ @parameterized.expand(+ [+ ("inbox_write", ["inbox:write"], status.HTTP_201_CREATED),+ ("inbox_read", ["inbox:read"], status.HTTP_403_FORBIDDEN),+ ("task_read", ["task:read"], status.HTTP_403_FORBIDDEN),+ ]+ )+ def test_create_requires_inbox_write(self, _name: str, scopes: list[str], expected: int) -> None:+ api_key = self.create_personal_api_key_with_scopes(scopes)+ self.client.logout()+ self.client.credentials(HTTP_AUTHORIZATION=f"Bearer {api_key}")+ with _safe_judge(), patch(EMBED_PATH):+ response = self.client.post(self._url(), self._payload(), format="json")+ assert response.status_code == expected, response.content++ def test_create_refuses_a_task_sandbox_token(self) -> None:+ _authenticate_as_scout(+ self, scopes="signals_scout_reports", sandbox_task_id=_make_run(self.team).task_run.task_id+ )+ with _safe_judge() as judge, patch(EMBED_PATH):+ response = self.client.post(self._url(), self._payload(), format="json")+ assert response.status_code == status.HTTP_403_FORBIDDEN, response.content+ judge.assert_not_awaited()+ assert not SignalReport.objects.filter(team=self.team).exists()++ def test_create_is_refused_while_the_flag_is_off(self) -> None:+ self.flag_mock.return_value = False+ with _safe_judge() as judge, patch(EMBED_PATH):+ response = self.client.post(self._url(), self._payload(), format="json")+ assert response.status_code == status.HTTP_403_FORBIDDEN+ judge.assert_not_awaited()+ assert not SignalReport.objects.filter(team=self.team).exists()++ def test_daily_cap_is_per_user_and_checked_after_replay_and_before_the_judge(self) -> None:+ with _safe_judge(), patch(EMBED_PATH):+ first = self.client.post(self._url(), self._payload(idempotency_key="first"), format="json")+ assert first.status_code == status.HTTP_201_CREATED, first.content+ SignalReport.objects.bulk_create(+ [+ SignalReport(team=self.team, title=f"Filed {i}", user_authored=True, created_by=self.user)+ for i in range(USER_REPORT_DAILY_LIMIT - 1)+ ]+ )++ with _safe_judge() as judge, patch(EMBED_PATH):+ replay = self.client.post(self._url(), self._payload(idempotency_key="first"), format="json")+ capped = self.client.post(self._url(), self._payload(title="A different finding"), format="json")+ assert replay.status_code == status.HTTP_200_OK+ assert (replay.json()["report_id"], replay.json()["idempotent_replay"]) == (first.json()["report_id"], True)+ assert capped.status_code == status.HTTP_429_TOO_MANY_REQUESTS+ assert "resets at" in capped.json()["detail"]+ judge.assert_not_awaited()++ other = User.objects.create_and_join(self.organization, "[email protected]", "password")+ self.client.force_login(other)+ with _safe_judge(), patch(EMBED_PATH):+ same_content = self.client.post(self._url(), self._payload(idempotency_key="first"), format="json")+ assert same_content.status_code == status.HTTP_201_CREATED, same_content.content+ assert same_content.json()["report_id"] != first.json()["report_id"]diff --git a/products/signals/backend/throttles.py b/products/signals/backend/throttles.pyindex 9081b29efdd8..e234bc66ba04 100644--- a/products/signals/backend/throttles.py+++ b/products/signals/backend/throttles.py@@ -27,3 +27,10 @@ class ReportTaskActionRunBurstThrottle(UserRateThrottle):class ReportTaskActionRunSustainedThrottle(UserRateThrottle):scope = "signal_report_task_create_day"rate = "50/day"+++class UserReportCreateBurstThrottle(UserRateThrottle):+ # The daily cap counts stored reports, and a report is stored only after the safety judge returns.+ # This rate limits how far parallel creates can pass the cap during that wait.+ scope = "signal_report_user_create_burst"+ rate = "10/minute"diff --git a/products/signals/backend/views.py b/products/signals/backend/views.pyindex d5272b0a9cd9..1be8a26fa4ab 100644--- a/products/signals/backend/views.py+++ b/products/signals/backend/views.py@@ -46,6 +46,7 @@ from rest_framework.exceptions import NotFoundfrom rest_framework.permissions import BasePermission, IsAuthenticatedfrom rest_framework.request import Requestfrom rest_framework.response import Response+from rest_framework.throttling import BaseThrottlefrom rest_framework.views import APIViewfrom temporalio.common import RetryPolicy, WorkflowIDConflictPolicy, WorkflowIDReusePolicyfrom temporalio.exceptions import WorkflowAlreadyStartedError@@ -80,6 +81,7 @@ from posthog.permissions import (get_authenticator_scopes,is_service_auth,)+from posthog.ph_client import feature_enabled_or_falsefrom posthog.rate_limit import ClickHouseBurstRateThrottle, ClickHouseSustainedRateThrottlefrom posthog.temporal.common.client import sync_connectfrom posthog.user_permissions import UserPermissions@@ -243,7 +245,15 @@ from products.signals.backend.reviewer_correction_notes import ReviewerCorrectiofrom products.signals.backend.reviewer_pr_assignment import schedule_reviewer_pr_assignmentfrom products.signals.backend.reviewer_rules import ReviewerRules, ReviewerWriteError, StaleReviewerProposalfrom products.signals.backend.scout_authorship import inbox_hidden_report_filter+from products.signals.backend.scout_harness.serializers import EmitReportRequestSerializer, EmitReportResponseSerializer+from products.signals.backend.scout_harness.tools.report_author import (+ USER_REPORT_DAILY_LIMIT,+ USER_REPORT_DAILY_LIMIT_REASON,+ UserReportAuthor,+ user_report_limit_resets_at,+)from products.signals.backend.scout_harness.trial_access import trial_state_errors, trial_store_for_request+from products.signals.backend.scout_harness.views import emit_report_from_validated_data, emit_report_response_datafrom products.signals.backend.scout_report.trial_inbox import TrialInboxReads, private_report_artefactsfrom products.signals.backend.serializers import (CommitDiffResponseSerializer,@@ -306,7 +316,11 @@ from products.signals.backend.slack_notification_targets import (from products.signals.backend.source_suggestions import current_source_suggestionfrom products.signals.backend.spend_reporting import SpendReportingfrom products.signals.backend.suggested_reviewer_index import report_ids_naming_reviewers-from products.signals.backend.task_attribution import TASK_ID_HEADER, resolve_request_attribution+from products.signals.backend.task_attribution import (+ TASK_ID_HEADER,+ resolve_external_agent_name,+ resolve_request_attribution,+)from products.signals.backend.task_run_artefacts import ReportTaskCapExceededfrom products.signals.backend.tasks import send_reviewer_added_slack_notifications, sync_signals_refund_creditfrom products.signals.backend.temporal.backfill_error_tracking import (@@ -330,6 +344,7 @@ from products.signals.backend.throttles import (ReportMetricRefreshThrottle,ReportTaskActionRunBurstThrottle,ReportTaskActionRunSustainedThrottle,+ UserReportCreateBurstThrottle,)from products.signals.backend.tracker_issues import tracker_issue_completion_lockfrom products.tasks.backend.facade import api as tasks_facade@@ -1157,6 +1172,7 @@ class SignalReportFeedbackResponseSerializer(serializers.Serializer):# Whole PR-refund feature gate. Checked server-side (not just in the UI) and keyed on the# organization, matching the refund window (the org's billing period).SIGNALS_PR_REFUNDS_FEATURE_FLAG = "signals-pr-refunds"+USER_REPORT_CREATE_FEATURE_FLAG = "inbox-reports-create-mcp"# User-facing message for each shared `refund_ineligibility_reason` the refund action rejects on@@ -2839,6 +2855,87 @@ class SignalReportViewSet(report = self.get_object()return Response(ReportSpendSerializer(SpendReporting(self.team).report(report)).data)+ def get_throttles(self) -> list[BaseThrottle]:+ if self.action == "create":+ return [UserReportCreateBurstThrottle()]+ return super().get_throttles()++ def _user_report_create_enabled(self, user: User) -> bool:+ # Fails closed: a flag-service error must not open report filing to a member who is not opted in.+ try:+ return feature_enabled_or_false(+ USER_REPORT_CREATE_FEATURE_FLAG,+ str(user.distinct_id),+ groups={"organization": str(self.organization.id), "project": str(self.team.uuid)},+ group_properties={+ "organization": {"id": str(self.organization.id)},+ "project": {"id": str(self.team.uuid)},+ },+ send_feature_flag_events=False,+ )+ except Exception:+ logger.warning("signals.reports.create.flag_check_failed", team_id=self.team.id, exc_info=True)+ return False++ @validated_request(+ request_serializer=EmitReportRequestSerializer,+ responses={+ 201: OpenApiResponse(+ response=EmitReportResponseSerializer,+ description="Report filed: READY, PENDING_INPUT, or suppressed by the safety judge.",+ ),+ 200: OpenApiResponse(+ response=EmitReportResponseSerializer,+ description=(+ "Nothing new was filed: a retry returned the first report (`idempotent_replay` true), "+ "or a preflight gate skipped the call (`skipped_reason` set)."+ ),+ ),+ 400: OpenApiResponse(description="Invalid report shape (empty title, summary, or evidence)."),+ 403: OpenApiResponse(+ description="The caller is not a person, is a task sandbox, or report filing is not enabled."+ ),+ 429: OpenApiResponse(description="The caller filed the daily maximum of reports for this project."),+ },+ summary="File an inbox report",+ description=(+ "File a complete inbox report yourself, with the same validation and safety judge a scout report "+ "passes. The report surfaces at the status `actionability` implies, or is suppressed. It never "+ "starts an implementation run or opens a pull request on its own, now or after a later edit: "+ "start one from the report's actions. Safe to retry: a resend returns the first report with "+ "`idempotent_replay` true. Each person can file a limited number of reports per project per day."+ ),+ )+ def create(self, request: ValidatedRequest, *args, **kwargs) -> Response:+ user = request.user+ if not isinstance(user, User) or user.id is None:+ raise exceptions.PermissionDenied("Only a person can file an inbox report.")+ # A task-bound token authenticates as its acting member, so the user check above does not refuse it.+ if is_sandbox_origin_request(request):+ raise exceptions.PermissionDenied("A task sandbox cannot file an inbox report.")+ if not self._user_report_create_enabled(user):+ raise exceptions.PermissionDenied("Filing inbox reports is not enabled for this project.")+ author = UserReportAuthor(+ user_id=user.id,+ user_distinct_id=str(user.distinct_id),+ request_attribution=resolve_request_attribution(request, self.team.id),+ client_name=resolve_external_agent_name(request),+ )+ result = emit_report_from_validated_data(team=self.team, author=author, data=request.validated_data)+ if result.skipped_reason == USER_REPORT_DAILY_LIMIT_REASON:+ resets_at = user_report_limit_resets_at(self.team)+ raise exceptions.Throttled(+ wait=max((resets_at - timezone.now()).total_seconds(), 1),+ detail=(+ f"You filed {USER_REPORT_DAILY_LIMIT} reports in this project today, the daily maximum. "+ f"The limit resets at {resets_at.isoformat()}."+ ),+ )+ filed = result.report_id is not None and not result.idempotent_replay+ return Response(+ emit_report_response_data(result), status=status.HTTP_201_CREATED if filed else status.HTTP_200_OK+ )+def retrieve(self, request, *args, **kwargs):with trial_state_errors():store = trial_store_for_request(request, self.team_id)diff --git a/products/signals/frontend/generated/api.schemas.ts b/products/signals/frontend/generated/api.schemas.tsindex 09489809cd0d..6b5618d68ccf 100644--- a/products/signals/frontend/generated/api.schemas.ts+++ b/products/signals/frontend/generated/api.schemas.ts@@ -1014,6 +1014,7 @@ export const InboxOnboardingSetupModeEnumApi = {* * `pganalyze` - pganalyze* * `signals_scout` - Signals scout* * `signals_check` - Report check+ * * `user_authored` - Team member* * `logs` - Logs* * `health_checks` - Health checks* * `endpoints` - Endpoints@@ -1130,6 +1131,7 @@ export const SignalSourceProductEnumApi = {Pganalyze: 'pganalyze',SignalsScout: 'signals_scout',SignalsCheck: 'signals_check',+ UserAuthored: 'user_authored',Logs: 'logs',HealthChecks: 'health_checks',Endpoints: 'endpoints',@@ -1297,6 +1299,7 @@ export interface InboxOnboardingSourceApi {* * `pganalyze` - pganalyze* * `signals_scout` - Signals scout* * `signals_check` - Report check+ * * `user_authored` - Team member* * `logs` - Logs* * `health_checks` - Health checks* * `endpoints` - Endpoints@@ -2544,6 +2547,292 @@ export interface PaginatedSignalReportListListApi {ranking_pill?: boolean | null}+/**+ * One observation backing an authored report — becomes a bound signal row on the report.+ */+export interface ReportEvidenceApi {+ /**+ * Prose for this observation. Embedded and rendered to the safety/research surfaces.+ * @maxLength 4000+ */+ description: string+ /** Stable id for this observation within the report (lets a later edit address it). */+ source_id: string+}++/**+ * * `immediately_actionable` - immediately_actionable+ * * `requires_human_input` - requires_human_input+ * * `not_actionable` - not_actionable+ */+export type ActionabilityEnumApi = (typeof ActionabilityEnumApi)[keyof typeof ActionabilityEnumApi]++export const ActionabilityEnumApi = {+ ImmediatelyActionable: 'immediately_actionable',+ RequiresHumanInput: 'requires_human_input',+ NotActionable: 'not_actionable',+} as const++/**+ * One suggested reviewer — identified by `github_login`, `user_uuid`, or both.+ *+ * A reviewer is a PostHog user, so a `user_uuid` only has to name an org member of this team: a+ * member with no linked GitHub account routes the report like anyone else. A `user_uuid` that+ * isn't an org member of this team is rejected — so a reviewer is never silently dropped.+ */+export interface SuggestedReviewerApi {+ /**+ * GitHub login (case-insensitive, stored lowercased) — e.g. `octocat`, no `@`, no display name. Resolve one via `scout-members-list` (each member row carries a resolved `github_login`) or git history when you only have a name.+ * @maxLength 200+ */+ github_login?: string+ /** PostHog user UUID (e.g. from `scout-members-list`, or an entity's `created_by`). Use this when you know the PostHog user, whether or not they have a GitHub handle — every member is routable this way. Must be a concrete UUID; the `@me` alias is not valid here. */+ user_uuid?: string+ /**+ * One sentence of evidence for WHY this person: what ties them to the affected surface (e.g. 'authored 4 of the last 10 commits touching products/tracing/mcp/', 'human correction routed the prior tracing report to them'). Persisted on the report so the routing is auditable — always set it when you can name the evidence; 'precedent' alone is weak, prefer code-derived ownership.+ * @maxLength 500+ * @nullable+ */+ reason?: string | null+}++export interface ReportMetricComparisonApi {+ /** Baseline or previous value, formatted like the current value. */+ value: number+ /**+ * Short context for the comparison, such as `Previous period`.+ * @maxLength 40+ */+ label: string+}++/**+ * Authoring shape: unlike a read response, the live query cannot be absent or redacted.+ */+export interface ReportMetricWriteApi {+ /**+ * Stable slug for this metric within the report: lowercase letters, numbers, underscores, and hyphens, starting with a letter or number.+ * @maxLength 100+ */+ metric_id: string+ /**+ * Short human-readable label for the measurement.+ * @maxLength 200+ */+ title: string+ /** What the value measures, independent of how it is formatted or drawn.+ *+ * * `affected_users` - affected_users+ * * `affected_sessions` - affected_sessions+ * * `occurrences` - occurrences+ * * `conversion_rate` - conversion_rate+ * * `error_rate` - error_rate+ * * `duration` - duration+ * * `revenue` - revenue+ * * `custom` - custom */+ kind: ReportMetricKindEnumApi+ /** `primary` for the report's key observation, otherwise `supporting`.+ *+ * * `primary` - primary+ * * `supporting` - supporting */+ role?: RoleEnumApi+ /**+ * Latest saved snapshot, initially observed during authoring and replaced when a person opens the inbox or the report. Null means no snapshot is available to this viewer; it never means zero. The required live query remains the source of truth.+ * @nullable+ */+ value?: number | null+ /**+ * When the visible snapshot value was measured; null when value is null.+ * @nullable+ */+ value_at?: string | null+ /**+ * Trailing per-bucket values of the live query, oldest first, saved with the value snapshot so a list row can draw the trend without running the query; at most 14 points. Null when no snapshot series is available to this viewer.+ * @maxItems 14+ * @nullable+ */+ series?: number[] | null+ /** How to format the numeric value; semantic meaning remains in kind. `percentage` uses percentage points, so 34 renders as 34%; `percentage_scaled` uses a 0–1 ratio, so 0.34 renders as 34%. Sessions and occurrences use count; duration uses duration with an ms/s unit; revenue uses currency with an ISO currency unit.+ *+ * * `number` - number+ * * `count` - count+ * * `percentage` - percentage+ * * `percentage_scaled` - percentage_scaled+ * * `duration` - duration+ * * `currency` - currency */+ value_format?: ValueFormatEnumApi+ /**+ * Optional short suffix or currency code, such as `users`, `ms`, or `USD`.+ * @maxLength 40+ * @nullable+ */+ unit?: string | null+ /** Required when authoring: a live InsightVizNode wrapping one bounded TrendsQuery. Consumers derive a BoldNumber execution for the whole-window aggregate and an ActionsBar execution for longitudinal buckets. The query must produce exactly one output series and no more than 1000 estimated longitudinal points; one formula may combine up to ten event or action source series. An affected_users metric uses exactly one source with `math: dau`; never sum its per-bucket unique-user values. A response omits this on list or redacts it to null on detail when the viewer lacks access to the definition. */+ query: unknown+ /**+ * Optional context the tile cannot show, such as a filter that narrows the count or a caveat on the data. Omit it rather than restate the title, unit, or window.+ * @maxLength 500+ * @nullable+ */+ caption?: string | null+ /** Legacy optional comparison. New report metrics must omit it. */+ comparison?: ReportMetricComparisonApi | null+}++/**+ * * `depends_on` - Depends on+ * * `part_of` - Part of+ * * `follow_up_of` - Follow-up of+ * * `duplicate_of` - Duplicate of+ * * `recurrence_of` - Recurrence of+ */+export type ReportLinkKindEnumApi = (typeof ReportLinkKindEnumApi)[keyof typeof ReportLinkKindEnumApi]++export const ReportLinkKindEnumApi = {+ DependsOn: 'depends_on',+ PartOf: 'part_of',+ FollowUpOf: 'follow_up_of',+ DuplicateOf: 'duplicate_of',+ RecurrenceOf: 'recurrence_of',+} as const++/**+ * One typed, directed link to write on the report being emitted or edited.+ */+export interface ReportLinkWriteApi {+ /** How this report relates to `report_id`. `depends_on` for work that cannot land until the other report's fix does, `part_of` for one piece of a larger report, `follow_up_of` for work the other report left behind, `duplicate_of` for the same problem filed twice, and `recurrence_of` for a problem a resolved report already covered.+ *+ * * `depends_on` - Depends on+ * * `part_of` - Part of+ * * `follow_up_of` - Follow-up of+ * * `duplicate_of` - Duplicate of+ * * `recurrence_of` - Recurrence of */+ kind: ReportLinkKindEnumApi+ /** Id of the report to link to. Must be another report in this project. */+ report_id: string+ /**+ * Optional one-line note on why the reports are linked this way.+ * @maxLength 500+ */+ reason?: string+}++/**+ * Request body for the scout `emit-report` action and the inbox report `create` action. A scout run is+ * taken from the URL path; a person is the authenticated caller.+ */+export interface EmitReportRequestApi {+ /**+ * One-line report title the inbox shows. Conventional-commit style (`type(scope): description`, e.g. `fix(insights): missing series color`) renders with type/scope styling.+ * @maxLength 300+ */+ title: string+ /** The report body the inbox shows. Markdown is supported (headings, lists, code, links; images are not rendered). Lead with one plain declarative sentence — the inbox card uses your first line verbatim as the headline (~140 chars, emphasis stripped), then renders the full markdown in the detail view. A heading, or a bold label on a line of its own with a blank line above it, marks a section that a threaded Slack delivery splits into its own reply. */+ summary: string+ /**+ * The observations backing the report — each becomes a bound signal. At least one.+ * @minItems 1+ */+ evidence: ReportEvidenceApi[]+ /** 2-3 sentence evidence-grounded justification for the actionability call below. */+ actionability_explanation: string+ /** The scout's actionability call: `immediately_actionable` -> the report surfaces READY; `requires_human_input` -> PENDING_INPUT; `not_actionable` -> suppressed. A safety-judge failure suppresses the report regardless. A root cause you have not found is not human input: a report that names the evidence, the code surface, or a reproducible failure path is `immediately_actionable`, because investigating it is the action. Reserve `requires_human_input` for a report blocked on a decision only a person can make.+ *+ * * `immediately_actionable` - immediately_actionable+ * * `requires_human_input` - requires_human_input+ * * `not_actionable` - not_actionable */+ actionability: ActionabilityEnumApi+ /** Whether the issue is already being handled — fixed in recent changes, or with a fix in flight (an open PR, a recently active branch, an assigned / in-progress issue or agent task). Gates autostart of a scout report, so a wrong `false` opens a duplicate PR. Tracked separately. */+ already_addressed?: boolean+ /**+ * Optional repo for opening a draft PR, by autostart of a scout report or by a person from the inbox. Pass `owner/repo` whenever you can say where a fix would land. Omit the field when you can't, which triggers free-form selection across the team's repos (the slow path on a many-repo team). Keep the `NO_REPO` sentinel for the rare report where nothing under version control could change, since a skill body, a config file, or a doc still lives in a repo.+ * @nullable+ */+ repository?: string | null+ /** Optional priority (`P0`-`P4`). Required for autostart; pair with `priority_explanation`.+ *+ * * `P0` - P0+ * * `P1` - P1+ * * `P2` - P2+ * * `P3` - P3+ * * `P4` - P4 */+ priority?: AutonomyPriorityEnumApi | null+ /**+ * 2-3 sentence justification for `priority`. Required when `priority` is set.+ * @nullable+ */+ priority_explanation?: string | null+ /**+ * Optional reviewers to route the report to (each a `github_login` and/or `user_uuid`). This is the primary way a report reaches a human — the inbox floats a reviewer's own reports to the top of their inbox even when no PR is involved — so set it whenever you can name a plausible owner. On a scout report it also gates autostart: a PR opens only if at least one reviewer clears their autonomy threshold. A report a person files never autostarts.+ * @maxItems 10+ */+ suggested_reviewers?: SuggestedReviewerApi[]+ /**+ * Optional charts to attach to the report — the inbox renders them inline, so a metric move is something the reader sees rather than a number they take on trust. Attach one whenever the finding rests on a trend, a spike, or a comparison you already queried.+ * @maxItems 20+ */+ charts?: ReportChartApi[]+ /**+ * Optional typed impact measurements. Use one primary metric for the key observation and supporting metrics for users, sessions, occurrences, conversion, latency, or revenue. Every metric requires a bounded live InsightVizNode/TrendsQuery built only from EventsNode or ActionsNode sources and capped at 1,000 estimated longitudinal points. Consumers derive BoldNumber and ActionsBar shapes. A value/value_at snapshot is an optional cached fallback. Affected users must use one series with `math: dau`. Snapshot-only/queryless payloads are invalid; legacy rows of that shape are always redacted.+ * @maxItems 6+ */+ metrics?: ReportMetricWriteApi[]+ /**+ * Optional follow-up prompts to offer above the report's `Ask AI` box: questions to ask, or next-step actions to request (e.g. carrying out the report's recommendation). The reader clicks one to fill the box with it, then sends or edits it. Write the prompts your own research left open, phrased as the reader would send them.+ * @maxItems 3+ * @items.maxLength 200+ */+ suggested_prompts?: string[]+ /**+ * Typed, directed links from the new report to reports that already exist. Send them here, not in a later `edit-report` call, because autostart reads them when the report is created: a `duplicate_of` link to a report that already has a pull request, or a `depends_on` link to a report with no pull request yet, stops a second draft PR. Only the new report gets a row, so link from the side the sentence starts at. Links of the same kind must stay acyclic and every report must be in this project.+ * @maxItems 10+ */+ links?: ReportLinkWriteApi[]+ /**+ * Optional slug tags that group the report with related ones, at most 10. Write lowercase kebab-case slugs that name the category of the report (`cost-spike`, `tracking-gap`), not the specific entity. Reuse a slug the project already uses before you coin a new one. Near-miss formats are normalized to slugs, and a tag that is empty or longer than 50 characters after normalization is rejected.+ * @maxItems 10+ */+ tags?: string[]+ /**+ * Optional name for this emission, unique within a scout's run or within a person's own reports. Reuse it verbatim to retry a call whose outcome you don't know (a timeout, a dropped connection): the retry returns the report the first call authored, with `idempotent_replay` true, instead of a second report. Omit it and the report's own content is the key, which covers a retry of the identical call — pass one when a retry might reword the report.+ * @maxLength 200+ * @nullable+ */+ idempotency_key?: string | null+}++export interface EmitReportResponseApi {+ /**+ * The authored report's id (null only when a preflight gate skipped the call). Returned even when suppressed, so you can edit/dedup against it.+ * @nullable+ */+ report_id: string | null+ /**+ * Birth status: `ready` | `pending_input` | `suppressed`, or null when gate-skipped.+ * @nullable+ */+ report_status: string | null+ /** True when the report actually surfaced in the inbox (READY or PENDING_INPUT). */+ emitted: boolean+ /**+ * `scout_config_missing` | `scout_emit_disabled` | `ai_processing_not_approved` | `source_disabled` | null when not gate-skipped.+ * @nullable+ */+ skipped_reason: string | null+ /**+ * When the safety judge suppressed the report, why; null when safe.+ * @nullable+ */+ safety_explanation: string | null+ /**+ * One-line, actionable next step when `skipped_reason` is set and the block is fixable (e.g. an org admin must approve AI data processing). Null when the report was authored or the skip isn't something the scout can act on.+ * @nullable+ */+ remediation: string | null+ /** True when this call authored nothing because the emission had already landed — the fields above describe that first report. Expected on a retry; treat the report as filed and don't send it again. */+ idempotent_replay: boolean+}+/*** One impact measurement shown on a report.*/@@ -3596,6 +3885,7 @@ export interface SignalReportLeaveReviewersApi {* * `pganalyze` - pganalyze* * `signals_scout` - signals_scout* * `signals_check` - signals_check+ * * `user_authored` - user_authored* * `logs` - logs* * `health_checks` - health_checks* * `replay_vision` - replay_vision@@ -3712,6 +4002,7 @@ export const SignalSourceProductApi = {Pganalyze: 'pganalyze',SignalsScout: 'signals_scout',SignalsCheck: 'signals_check',+ UserAuthored: 'user_authored',Logs: 'logs',HealthChecks: 'health_checks',ReplayVision: 'replay_vision',@@ -5146,6 +5437,7 @@ export interface SignalNodeApi {* * `pganalyze` - pganalyze* * `signals_scout` - signals_scout* * `signals_check` - signals_check+ * * `user_authored` - user_authored* * `logs` - logs* * `health_checks` - health_checks* * `replay_vision` - replay_vision@@ -9534,279 +9826,109 @@ export interface SignalScoutRunDetailApi {/** Canonical skill name the run executed (e.g. `signals-scout-general`). */skill_name: string/** Skill version snapshotted at run start. */- skill_version: number- /** Status from the linked TaskRun.- *- * * `not_started` - not_started- * * `queued` - queued- * * `in_progress` - in_progress- * * `completed` - completed- * * `failed` - failed- * * `cancelled` - cancelled */- status: RunStatusEnumApi- /** ISO-8601 timestamp the bridge row was created — the field `date_from` / `date_to` filter and order on. Use this (not `started_at`) as the `date_to` cursor when walking past the 100-row cap, so runs created in the gap between a boundary run's TaskRun and its bridge row aren't skipped. */- created_at: string- /** ISO-8601 timestamp the TaskRun was created. */- started_at: string- /**- * ISO-8601 timestamp the TaskRun completed; null while still running.- * @nullable- */- completed_at: string | null- /**- * UUID of the Tasks `Task` the scout span ran inside.- * @nullable- */- task_id?: string | null- /**- * UUID of the Tasks `TaskRun`. Pairs with `task_id` to deep-link.- * @nullable- */- task_run_id?: string | null- /**- * Relative deep-link to the Tasks UI for this run, e.g. `/project/{team_id}/tasks/{task_id}?runId={task_run_id}`.- * @nullable- */- task_url?: string | null- /** One-paragraph close-out the scout wrote at end-of-run. Empty string for runs that errored before close-out. The dedupe key for non-emitting runs. */- summary: string- /**- * Full `error_message` from the linked TaskRun, surfaced only for failed/cancelled runs (null otherwise, including on success). Use `failure_reason` for a concise scan-friendly summary.- * @nullable- */- error?: string | null- /**- * Concise derived reason the run didn't complete cleanly — the first line of `error` (bounded), or a status-derived fallback. Null unless the run terminated failed/cancelled. Read this to see at a glance *why* a run emitted nothing without pulling full stack traces.- * @nullable- */- failure_reason?: string | null- /** Number of findings this run actually emitted to the inbox. 0 for runs that investigated but surfaced nothing, or ran dry-run / before AI approval. `> 0` means the run produced at least one `Signal`. */- emitted_count: number- /** The `finding_id`s behind `emitted_count`, in emit order. Each maps to a `Signal` with `source_id = run:<run_id>:finding:<finding_id>`. Empty for non-emitting runs. */- emitted_finding_ids: string[]- /** The `SignalReport` ids this run authored directly via the `emit_report` channel, in emit order. Separate from `emitted_finding_ids` (weak `emit_signal` findings) — a report-authoring scout writes a full report here instead. Empty for runs that authored no report. */- emitted_report_ids: string[]- /** The `SignalReport` ids this run mutated via the `edit_report` channel (rewrote title/summary and/or appended a note), deduped. Distinct from `emitted_report_ids`: edit can target any inbox report, so these are generally not reports the run authored. Empty for runs that edited no report. */- edited_report_ids: string[]- /** Scout-owned per-run context, in two regions. Top-level keys are stamped by the runner at run start. Always present: `harness_prompt_version` (id of the harness prompt build the run was given), `report_channel` (which report tools the run held: `none`, `emit`, `edit`, or `both`), `skill_origin` (`canonical` or `custom`), `github_guidance` (whether the run got the GitHub evidence section), and `business_knowledge_maintained` (whether the run got the business-knowledge section: the product flag is on and the team's knowledge base looks maintained) — the provenance set that says which instructions the run actually got, so runs are only compared against runs of the same shape. Present only when the run departed from a default: `model`, `runtime_adapter`, and `reasoning_effort` (routing overrode the agent-server default), `network_access` (`full` when the scout's config lifted the trusted-domain network restriction for this run), `write_scopes` (the extra write access the run's token carried, when the scout was granted any), and `triggered_by` (`manual` or `workflow` when the run was fired off-schedule; absent means the run came from the coordinator's schedule). The nested `derived` object is the harness's own map of boolean run dimensions, computed server-side at finalize: `has_emit_report`, `has_edit_report`, `has_self_improvement`, `has_chart`, `has_self_validation`, `has_structured_output`, and `has_not_in_use_closeout` (the run wrote a `not-in-use:` scratchpad entry and produced no report, finding, or structured output). Use `derived` to answer 'what kind of run was this?' instead of parsing the `summary` prose. Note the flags describe the reports the run authored as they stand now, so charts attached to someone else's report via an edit are not counted. A missing `derived` object is unknown, not all-false: the run predates the field, never finalized, or its stamp failed. */- metadata: SignalScoutRunDetailApiMetadata-}--/**- * Request body for `scout-check-record-result`: the verdict on one dispatched report check.- */-export interface RecordCheckResultRequestApi {- /** The check this run was dispatched to answer, as given in the run note. */- check_id: string- /** `passed` when the evidence meets the check's stated bar and the expectation holds, `failed` when the evidence meets the bar and the expectation does not hold. `inconclusive` when your tools worked but the evidence cannot settle the question; give a `reason`. `errored` only when a tool, query, or model call failed. `failed` retires the check, so use it for a conclusion, not a suspicion.- *- * * `passed` - Passed- * * `failed` - Failed- * * `errored` - Errored- * * `inconclusive` - Inconclusive */- outcome: SignalReportCheckOutcomeEnumApi- /** Required with `inconclusive`, and refused with any other outcome. `awaiting_data`: the data can still arrive (a rollout lag, a soak not complete, too few samples so far), so the check looks again later. `unmeasurable`: the data the check needs is not captured. `needs_manual_verification`: only a person or another environment can verify it. `no_fix_to_measure`: nothing was changed to fix the claim, so no window after a fix exists. A report resolved without a pull request still has a window that starts when it resolved. Every reason except `awaiting_data` ends the check.- *- * * `awaiting_data` - Awaiting Data- * * `unmeasurable` - Unmeasurable- * * `needs_manual_verification` - Needs Manual Verification- * * `no_fix_to_measure` - No Fix To Measure */- reason?: SignalReportCheckInconclusiveReasonEnumApi | null- /**- * One or two sentences on what you looked at and what it showed. This is what a person reads on the report, so write it for them, with the numbers or entities you checked.- * @maxLength 1000- */- explanation: string- /**- * The number you measured, when the check came down to one. Leave it out otherwise.- * @nullable- */- observed_value?: number | null-}--/**- * Outcome of an accepted `scout-check-record-result` call.- */-export interface RecordCheckResultResponseApi {- /** The check that was closed. */- check_id: string- /** The verdict that was recorded. */- outcome: string- /** The check's status after the verdict. `active` means a recurring check re-armed for its next run; anything else is terminal. */- check_status: string- /** Evaluations the check still owes after this one. */- runs_remaining: number-}--/**- * One observation backing an authored report — becomes a bound signal row on the report.- */-export interface ReportEvidenceApi {- /**- * Prose for this observation. Embedded and rendered to the safety/research surfaces.- * @maxLength 4000- */- description: string- /** Stable id for this observation within the report (lets a later edit address it). */- source_id: string-}--/**- * One suggested reviewer — identified by `github_login`, `user_uuid`, or both.- *- * A reviewer is a PostHog user, so a `user_uuid` only has to name an org member of this team: a- * member with no linked GitHub account routes the report like anyone else. A `user_uuid` that- * isn't an org member of this team is rejected — so a reviewer is never silently dropped.- */-export interface SuggestedReviewerApi {- /**- * GitHub login (case-insensitive, stored lowercased) — e.g. `octocat`, no `@`, no display name. Resolve one via `scout-members-list` (each member row carries a resolved `github_login`) or git history when you only have a name.- * @maxLength 200- */- github_login?: string- /** PostHog user UUID (e.g. from `scout-members-list`, or an entity's `created_by`). Use this when you know the PostHog user, whether or not they have a GitHub handle — every member is routable this way. Must be a concrete UUID; the `@me` alias is not valid here. */- user_uuid?: string- /**- * One sentence of evidence for WHY this person: what ties them to the affected surface (e.g. 'authored 4 of the last 10 commits touching products/tracing/mcp/', 'human correction routed the prior tracing report to them'). Persisted on the report so the routing is auditable — always set it when you can name the evidence; 'precedent' alone is weak, prefer code-derived ownership.- * @maxLength 500- * @nullable- */- reason?: string | null-}--export interface ReportMetricComparisonApi {- /** Baseline or previous value, formatted like the current value. */- value: number- /**- * Short context for the comparison, such as `Previous period`.- * @maxLength 40- */- label: string-}--/**- * Authoring shape: unlike a read response, the live query cannot be absent or redacted.- */-export interface ReportMetricWriteApi {- /**- * Stable slug for this metric within the report: lowercase letters, numbers, underscores, and hyphens, starting with a letter or number.- * @maxLength 100- */- metric_id: string- /**- * Short human-readable label for the measurement.- * @maxLength 200- */- title: string- /** What the value measures, independent of how it is formatted or drawn.- *- * * `affected_users` - affected_users- * * `affected_sessions` - affected_sessions- * * `occurrences` - occurrences- * * `conversion_rate` - conversion_rate- * * `error_rate` - error_rate- * * `duration` - duration- * * `revenue` - revenue- * * `custom` - custom */- kind: ReportMetricKindEnumApi- /** `primary` for the report's key observation, otherwise `supporting`.+ skill_version: number+ /** Status from the linked TaskRun.*- * * `primary` - primary- * * `supporting` - supporting */- role?: RoleEnumApi+ * * `not_started` - not_started+ * * `queued` - queued+ * * `in_progress` - in_progress+ * * `completed` - completed+ * * `failed` - failed+ * * `cancelled` - cancelled */+ status: RunStatusEnumApi+ /** ISO-8601 timestamp the bridge row was created — the field `date_from` / `date_to` filter and order on. Use this (not `started_at`) as the `date_to` cursor when walking past the 100-row cap, so runs created in the gap between a boundary run's TaskRun and its bridge row aren't skipped. */+ created_at: string+ /** ISO-8601 timestamp the TaskRun was created. */+ started_at: string/**- * Latest saved snapshot, initially observed during authoring and replaced when a person opens the inbox or the report. Null means no snapshot is available to this viewer; it never means zero. The required live query remains the source of truth.+ * ISO-8601 timestamp the TaskRun completed; null while still running.* @nullable*/- value?: number | null+ completed_at: string | null/**- * When the visible snapshot value was measured; null when value is null.+ * UUID of the Tasks `Task` the scout span ran inside.* @nullable*/- value_at?: string | null+ task_id?: string | null/**- * Trailing per-bucket values of the live query, oldest first, saved with the value snapshot so a list row can draw the trend without running the query; at most 14 points. Null when no snapshot series is available to this viewer.- * @maxItems 14+ * UUID of the Tasks `TaskRun`. Pairs with `task_id` to deep-link.* @nullable*/- series?: number[] | null- /** How to format the numeric value; semantic meaning remains in kind. `percentage` uses percentage points, so 34 renders as 34%; `percentage_scaled` uses a 0–1 ratio, so 0.34 renders as 34%. Sessions and occurrences use count; duration uses duration with an ms/s unit; revenue uses currency with an ISO currency unit.- *- * * `number` - number- * * `count` - count- * * `percentage` - percentage- * * `percentage_scaled` - percentage_scaled- * * `duration` - duration- * * `currency` - currency */- value_format?: ValueFormatEnumApi+ task_run_id?: string | null/**- * Optional short suffix or currency code, such as `users`, `ms`, or `USD`.- * @maxLength 40+ * Relative deep-link to the Tasks UI for this run, e.g. `/project/{team_id}/tasks/{task_id}?runId={task_run_id}`.* @nullable*/- unit?: string | null- /** Required when authoring: a live InsightVizNode wrapping one bounded TrendsQuery. Consumers derive a BoldNumber execution for the whole-window aggregate and an ActionsBar execution for longitudinal buckets. The query must produce exactly one output series and no more than 1000 estimated longitudinal points; one formula may combine up to ten event or action source series. An affected_users metric uses exactly one source with `math: dau`; never sum its per-bucket unique-user values. A response omits this on list or redacts it to null on detail when the viewer lacks access to the definition. */- query: unknown+ task_url?: string | null+ /** One-paragraph close-out the scout wrote at end-of-run. Empty string for runs that errored before close-out. The dedupe key for non-emitting runs. */+ summary: string/**- * Optional context the tile cannot show, such as a filter that narrows the count or a caveat on the data. Omit it rather than restate the title, unit, or window.- * @maxLength 500+ * Full `error_message` from the linked TaskRun, surfaced only for failed/cancelled runs (null otherwise, including on success). Use `failure_reason` for a concise scan-friendly summary.* @nullable*/- caption?: string | null- /** Legacy optional comparison. New report metrics must omit it. */- comparison?: ReportMetricComparisonApi | null+ error?: string | null+ /**+ * Concise derived reason the run didn't complete cleanly — the first line of `error` (bounded), or a status-derived fallback. Null unless the run terminated failed/cancelled. Read this to see at a glance *why* a run emitted nothing without pulling full stack traces.+ * @nullable+ */+ failure_reason?: string | null+ /** Number of findings this run actually emitted to the inbox. 0 for runs that investigated but surfaced nothing, or ran dry-run / before AI approval. `> 0` means the run produced at least one `Signal`. */+ emitted_count: number+ /** The `finding_id`s behind `emitted_count`, in emit order. Each maps to a `Signal` with `source_id = run:<run_id>:finding:<finding_id>`. Empty for non-emitting runs. */+ emitted_finding_ids: string[]+ /** The `SignalReport` ids this run authored directly via the `emit_report` channel, in emit order. Separate from `emitted_finding_ids` (weak `emit_signal` findings) — a report-authoring scout writes a full report here instead. Empty for runs that authored no report. */+ emitted_report_ids: string[]+ /** The `SignalReport` ids this run mutated via the `edit_report` channel (rewrote title/summary and/or appended a note), deduped. Distinct from `emitted_report_ids`: edit can target any inbox report, so these are generally not reports the run authored. Empty for runs that edited no report. */+ edited_report_ids: string[]+ /** Scout-owned per-run context, in two regions. Top-level keys are stamped by the runner at run start. Always present: `harness_prompt_version` (id of the harness prompt build the run was given), `report_channel` (which report tools the run held: `none`, `emit`, `edit`, or `both`), `skill_origin` (`canonical` or `custom`), `github_guidance` (whether the run got the GitHub evidence section), and `business_knowledge_maintained` (whether the run got the business-knowledge section: the product flag is on and the team's knowledge base looks maintained) — the provenance set that says which instructions the run actually got, so runs are only compared against runs of the same shape. Present only when the run departed from a default: `model`, `runtime_adapter`, and `reasoning_effort` (routing overrode the agent-server default), `network_access` (`full` when the scout's config lifted the trusted-domain network restriction for this run), `write_scopes` (the extra write access the run's token carried, when the scout was granted any), and `triggered_by` (`manual` or `workflow` when the run was fired off-schedule; absent means the run came from the coordinator's schedule). The nested `derived` object is the harness's own map of boolean run dimensions, computed server-side at finalize: `has_emit_report`, `has_edit_report`, `has_self_improvement`, `has_chart`, `has_self_validation`, `has_structured_output`, and `has_not_in_use_closeout` (the run wrote a `not-in-use:` scratchpad entry and produced no report, finding, or structured output). Use `derived` to answer 'what kind of run was this?' instead of parsing the `summary` prose. Note the flags describe the reports the run authored as they stand now, so charts attached to someone else's report via an edit are not counted. A missing `derived` object is unknown, not all-false: the run predates the field, never finalized, or its stamp failed. */+ metadata: SignalScoutRunDetailApiMetadata}/**- * * `depends_on` - Depends on- * * `part_of` - Part of- * * `follow_up_of` - Follow-up of- * * `duplicate_of` - Duplicate of- * * `recurrence_of` - Recurrence of- */-export type ReportLinkKindEnumApi = (typeof ReportLinkKindEnumApi)[keyof typeof ReportLinkKindEnumApi]--export const ReportLinkKindEnumApi = {- DependsOn: 'depends_on',- PartOf: 'part_of',- FollowUpOf: 'follow_up_of',- DuplicateOf: 'duplicate_of',- RecurrenceOf: 'recurrence_of',-} as const--/**- * One typed, directed link to write on the report being emitted or edited.+ * Request body for `scout-check-record-result`: the verdict on one dispatched report check.*/-export interface ReportLinkWriteApi {- /** How this report relates to `report_id`. `depends_on` for work that cannot land until the other report's fix does, `part_of` for one piece of a larger report, `follow_up_of` for work the other report left behind, `duplicate_of` for the same problem filed twice, and `recurrence_of` for a problem a resolved report already covered.+export interface RecordCheckResultRequestApi {+ /** The check this run was dispatched to answer, as given in the run note. */+ check_id: string+ /** `passed` when the evidence meets the check's stated bar and the expectation holds, `failed` when the evidence meets the bar and the expectation does not hold. `inconclusive` when your tools worked but the evidence cannot settle the question; give a `reason`. `errored` only when a tool, query, or model call failed. `failed` retires the check, so use it for a conclusion, not a suspicion.*- * * `depends_on` - Depends on- * * `part_of` - Part of- * * `follow_up_of` - Follow-up of- * * `duplicate_of` - Duplicate of- * * `recurrence_of` - Recurrence of */- kind: ReportLinkKindEnumApi- /** Id of the report to link to. Must be another report in this project. */- report_id: string+ * * `passed` - Passed+ * * `failed` - Failed+ * * `errored` - Errored+ * * `inconclusive` - Inconclusive */+ outcome: SignalReportCheckOutcomeEnumApi+ /** Required with `inconclusive`, and refused with any other outcome. `awaiting_data`: the data can still arrive (a rollout lag, a soak not complete, too few samples so far), so the check looks again later. `unmeasurable`: the data the check needs is not captured. `needs_manual_verification`: only a person or another environment can verify it. `no_fix_to_measure`: nothing was changed to fix the claim, so no window after a fix exists. A report resolved without a pull request still has a window that starts when it resolved. Every reason except `awaiting_data` ends the check.+ *+ * * `awaiting_data` - Awaiting Data+ * * `unmeasurable` - Unmeasurable+ * * `needs_manual_verification` - Needs Manual Verification+ * * `no_fix_to_measure` - No Fix To Measure */+ reason?: SignalReportCheckInconclusiveReasonEnumApi | null/**- * Optional one-line note on why the reports are linked this way.- * @maxLength 500+ * One or two sentences on what you looked at and what it showed. This is what a person reads on the report, so write it for them, with the numbers or entities you checked.+ * @maxLength 1000*/- reason?: string+ explanation: string+ /**+ * The number you measured, when the check came down to one. Leave it out otherwise.+ * @nullable+ */+ observed_value?: number | null}/**- * * `immediately_actionable` - immediately_actionable- * * `requires_human_input` - requires_human_input- * * `not_actionable` - not_actionable+ * Outcome of an accepted `scout-check-record-result` call.*/-export type ActionabilityEnumApi = (typeof ActionabilityEnumApi)[keyof typeof ActionabilityEnumApi]--export const ActionabilityEnumApi = {- ImmediatelyActionable: 'immediately_actionable',- RequiresHumanInput: 'requires_human_input',- NotActionable: 'not_actionable',-} as const+export interface RecordCheckResultResponseApi {+ /** The check that was closed. */+ check_id: string+ /** The verdict that was recorded. */+ outcome: string+ /** The check's status after the verdict. `active` means a recurring check re-armed for its next run; anything else is terminal. */+ check_status: string+ /** Evaluations the check still owes after this one. */+ runs_remaining: number+}/*** Request body for `edit-report`. Can target ANY of the team's inbox reports, not just scout-authored ones.@@ -10049,121 +10171,6 @@ export interface ScoutEmissionReportLinkApi {report: LinkedSignalReportApi | null}-/**- * Request body for `emit-report`. Run attribution is taken from the URL path.- */-export interface EmitReportRequestApi {- /**- * One-line report title the inbox shows. Conventional-commit style (`type(scope): description`, e.g. `fix(insights): missing series color`) renders with type/scope styling.- * @maxLength 300- */- title: string- /** The report body the inbox shows. Markdown is supported (headings, lists, code, links; images are not rendered). Lead with one plain declarative sentence — the inbox card uses your first line verbatim as the headline (~140 chars, emphasis stripped), then renders the full markdown in the detail view. A heading, or a bold label on a line of its own with a blank line above it, marks a section that a threaded Slack delivery splits into its own reply. */- summary: string- /**- * The observations backing the report — each becomes a bound signal. At least one.- * @minItems 1- */- evidence: ReportEvidenceApi[]- /** 2-3 sentence evidence-grounded justification for the actionability call below. */- actionability_explanation: string- /** The scout's actionability call: `immediately_actionable` -> the report surfaces READY; `requires_human_input` -> PENDING_INPUT; `not_actionable` -> suppressed. A safety-judge failure suppresses the report regardless. A root cause you have not found is not human input: a report that names the evidence, the code surface, or a reproducible failure path is `immediately_actionable`, because investigating it is the action. Reserve `requires_human_input` for a report blocked on a decision only a person can make.- *- * * `immediately_actionable` - immediately_actionable- * * `requires_human_input` - requires_human_input- * * `not_actionable` - not_actionable */- actionability: ActionabilityEnumApi- /** Whether the issue is already being handled — fixed in recent changes, or with a fix in flight (an open PR, a recently active branch, an assigned / in-progress issue or agent task). Gates autostart, so a wrong `false` opens a duplicate PR. Tracked separately. */- already_addressed?: boolean- /**- * Optional repo for opening a draft PR, by autostart or by a person from the inbox. Pass `owner/repo` whenever you can say where a fix would land. Omit the field when you can't, which triggers free-form selection across the team's repos (the slow path on a many-repo team). Keep the `NO_REPO` sentinel for the rare report where nothing under version control could change, since a skill body, a config file, or a doc still lives in a repo.- * @nullable- */- repository?: string | null- /** Optional priority (`P0`-`P4`). Required for autostart; pair with `priority_explanation`.- *- * * `P0` - P0- * * `P1` - P1- * * `P2` - P2- * * `P3` - P3- * * `P4` - P4 */- priority?: AutonomyPriorityEnumApi | null- /**- * 2-3 sentence justification for `priority`. Required when `priority` is set.- * @nullable- */- priority_explanation?: string | null- /**- * Optional reviewers to route the report to (each a `github_login` and/or `user_uuid`). This is the primary way a report reaches a human — the inbox floats a reviewer's own reports to the top of their inbox even when no PR is involved — so set it whenever you can name a plausible owner. It also gates autostart: a PR opens only if at least one reviewer clears their autonomy threshold.- * @maxItems 10- */- suggested_reviewers?: SuggestedReviewerApi[]- /**- * Optional charts to attach to the report — the inbox renders them inline, so a metric move is something the reader sees rather than a number they take on trust. Attach one whenever the finding rests on a trend, a spike, or a comparison you already queried.- * @maxItems 20- */- charts?: ReportChartApi[]- /**- * Optional typed impact measurements. Use one primary metric for the key observation and supporting metrics for users, sessions, occurrences, conversion, latency, or revenue. Every metric requires a bounded live InsightVizNode/TrendsQuery built only from EventsNode or ActionsNode sources and capped at 1,000 estimated longitudinal points. Consumers derive BoldNumber and ActionsBar shapes. A value/value_at snapshot is an optional cached fallback. Affected users must use one series with `math: dau`. Snapshot-only/queryless payloads are invalid; legacy rows of that shape are always redacted.- * @maxItems 6- */- metrics?: ReportMetricWriteApi[]- /**- * Optional follow-up prompts to offer above the report's `Ask AI` box: questions to ask, or next-step actions to request (e.g. carrying out the report's recommendation). The reader clicks one to fill the box with it, then sends or edits it. Write the prompts your own research left open, phrased as the reader would send them.- * @maxItems 3- * @items.maxLength 200- */- suggested_prompts?: string[]- /**- * Typed, directed links from the new report to reports that already exist. Send them here, not in a later `edit-report` call, because autostart reads them when the report is created: a `duplicate_of` link to a report that already has a pull request, or a `depends_on` link to a report with no pull request yet, stops a second draft PR. Only the new report gets a row, so link from the side the sentence starts at. Links of the same kind must stay acyclic and every report must be in this project.- * @maxItems 10- */- links?: ReportLinkWriteApi[]- /**- * Optional slug tags that group the report with related ones, at most 10. Write lowercase kebab-case slugs that name the category of the report (`cost-spike`, `tracking-gap`), not the specific entity. Reuse a slug the project already uses before you coin a new one. Near-miss formats are normalized to slugs, and a tag that is empty or longer than 50 characters after normalization is rejected.- * @maxItems 10- */- tags?: string[]- /**- * Optional name for this emission, unique within the run. Reuse it verbatim to retry a call whose outcome you don't know (a timeout, a dropped connection): the retry returns the report the first call authored, with `idempotent_replay` true, instead of a second report. Omit it and the report's own content is the key, which covers a retry of the identical call — pass one when a retry might reword the report.- * @maxLength 200- * @nullable- */- idempotency_key?: string | null-}--export interface EmitReportResponseApi {- /**- * The authored report's id (null only when a preflight gate skipped the call). Returned even when suppressed, so you can edit/dedup against it.- * @nullable- */- report_id: string | null- /**- * Birth status: `ready` | `pending_input` | `suppressed`, or null when gate-skipped.- * @nullable- */- report_status: string | null- /** True when the report actually surfaced in the inbox (READY or PENDING_INPUT). */- emitted: boolean- /**- * `scout_config_missing` | `scout_emit_disabled` | `ai_processing_not_approved` | `source_disabled` | null when not gate-skipped.- * @nullable- */- skipped_reason: string | null- /**- * When the safety judge suppressed the report, why; null when safe.- * @nullable- */- safety_explanation: string | null- /**- * One-line, actionable next step when `skipped_reason` is set and the block is fixable (e.g. an org admin must approve AI data processing). Null when the report was authored or the skip isn't something the scout can act on.- * @nullable- */- remediation: string | null- /** True when this call authored nothing because the emission had already landed — the fields above describe that first report. Expected on a retry; treat the report as filed and don't send it again. */- idempotent_replay: boolean-}-/*** One citation attached to a finding. Mirrors `SignalsScoutEvidenceEntry`.*/diff --git a/products/signals/frontend/generated/api.ts b/products/signals/frontend/generated/api.tsindex 366c7be2c35e..a1bb13e486b1 100644--- a/products/signals/frontend/generated/api.ts+++ b/products/signals/frontend/generated/api.ts@@ -564,6 +564,27 @@ export const signalsReportsList = async (})}+export const getSignalsReportsCreateUrl = (projectId: string) => {+ return `/api/projects/${projectId}/signals/reports/`+}++/**+ * File a complete inbox report yourself, with the same validation and safety judge a scout report passes. The report surfaces at the status `actionability` implies, or is suppressed. It never starts an implementation run or opens a pull request on its own, now or after a later edit: start one from the report's actions. Safe to retry: a resend returns the first report with `idempotent_replay` true. Each person can file a limited number of reports per project per day.+ * @summary File an inbox report+ */+export const signalsReportsCreate = async (+ projectId: string,+ emitReportRequestApi: EmitReportRequestApi,+ options?: RequestInit+): Promise<EmitReportResponseApi> => {+ return apiMutator<EmitReportResponseApi>(getSignalsReportsCreateUrl(projectId), {+ ...options,+ method: 'POST',+ headers: { 'Content-Type': 'application/json', ...options?.headers },+ body: JSON.stringify(emitReportRequestApi),+ })+}+export const getSignalsReportsRetrieveUrl = (projectId: string, id: string) => {return `/api/projects/${projectId}/signals/reports/${id}/`}diff --git a/products/signals/frontend/generated/api.zod.ts b/products/signals/frontend/generated/api.zod.tsindex 846936b73f48..07bf3fe32964 100644--- a/products/signals/frontend/generated/api.zod.ts+++ b/products/signals/frontend/generated/api.zod.ts@@ -187,6 +187,7 @@ export const SignalsOnboardingCreateBody = /* @__PURE__ */ zod.object({'pganalyze','signals_scout','signals_check',+ 'user_authored','logs','health_checks','endpoints',@@ -290,10 +291,10 @@ export const SignalsOnboardingCreateBody = /* @__PURE__ */ zod.object({'cursor',]).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\* `signals_check` - Report check\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor'+ '\* `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\* `signals_check` - Report check\n\* `user_authored` - Team member\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor').describe(- 'Source product selected during setup.\n\n\* `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\* `signals_check` - Report check\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor'+ 'Source product selected during setup.\n\n\* `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\* `signals_check` - Report check\n\* `user_authored` - Team member\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor'),source_type: zod.enum([@@ -440,6 +441,7 @@ export const SignalsOnboardingCompleteCreateBody = /* @__PURE__ */ zod.object({'pganalyze','signals_scout','signals_check',+ 'user_authored','logs','health_checks','endpoints',@@ -543,10 +545,10 @@ export const SignalsOnboardingCompleteCreateBody = /* @__PURE__ */ zod.object({'cursor',]).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\* `signals_check` - Report check\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor'+ '\* `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\* `signals_check` - Report check\n\* `user_authored` - Team member\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor').describe(- 'Source product selected during setup.\n\n\* `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\* `signals_check` - Report check\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor'+ 'Source product selected during setup.\n\n\* `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\* `signals_check` - Report check\n\* `user_authored` - Team member\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor'),source_type: zod.enum([@@ -659,6 +661,365 @@ export const SignalsProcessingPauseUpdateBody = /* @__PURE__ */ zod.object({.describe('Pause the grouping pipeline until this timestamp (ISO 8601).'),})+/**+ * File a complete inbox report yourself, with the same validation and safety judge a scout report passes. The report surfaces at the status `actionability` implies, or is suppressed. It never starts an implementation run or opens a pull request on its own, now or after a later edit: start one from the report's actions. Safe to retry: a resend returns the first report with `idempotent_replay` true. Each person can file a limited number of reports per project per day.+ * @summary File an inbox report+ */+export const signalsReportsCreateBodyTitleMax = 300++export const signalsReportsCreateBodyEvidenceItemDescriptionMax = 4000++export const signalsReportsCreateBodyAlreadyAddressedDefault = false+export const signalsReportsCreateBodySuggestedReviewersItemGithubLoginMax = 200++export const signalsReportsCreateBodySuggestedReviewersItemReasonMax = 500++export const signalsReportsCreateBodySuggestedReviewersMax = 10++export const signalsReportsCreateBodyChartsItemChartIdMax = 100++export const signalsReportsCreateBodyChartsItemTitleMax = 200++export const signalsReportsCreateBodyChartsItemCaptionMax = 500++export const signalsReportsCreateBodyChartsMax = 20++export const signalsReportsCreateBodyMetricsItemMetricIdMax = 100++export const signalsReportsCreateBodyMetricsItemTitleMax = 200++export const signalsReportsCreateBodyMetricsItemRoleDefault = `supporting`+export const signalsReportsCreateBodyMetricsItemSeriesMax = 14++export const signalsReportsCreateBodyMetricsItemValueFormatDefault = `number`+export const signalsReportsCreateBodyMetricsItemUnitMax = 40++export const signalsReportsCreateBodyMetricsItemCaptionMax = 500++export const signalsReportsCreateBodyMetricsItemComparisonOneLabelMax = 40++export const signalsReportsCreateBodyMetricsMax = 6++export const signalsReportsCreateBodySuggestedPromptsItemMax = 200++export const signalsReportsCreateBodySuggestedPromptsMax = 3++export const signalsReportsCreateBodyLinksItemReasonMax = 500++export const signalsReportsCreateBodyLinksMax = 10++export const signalsReportsCreateBodyTagsMax = 10++export const signalsReportsCreateBodyIdempotencyKeyMax = 200++export const SignalsReportsCreateBody = /* @__PURE__ */ zod+ .object({+ title: zod+ .string()+ .max(signalsReportsCreateBodyTitleMax)+ .describe(+ 'One-line report title the inbox shows. Conventional-commit style (`type(scope): description`, e.g. `fix(insights): missing series color`) renders with type\/scope styling.'+ ),+ summary: zod+ .string()+ .describe(+ 'The report body the inbox shows. Markdown is supported (headings, lists, code, links; images are not rendered). Lead with one plain declarative sentence — the inbox card uses your first line verbatim as the headline (~140 chars, emphasis stripped), then renders the full markdown in the detail view. A heading, or a bold label on a line of its own with a blank line above it, marks a section that a threaded Slack delivery splits into its own reply.'+ ),+ evidence: zod+ .array(+ zod+ .object({+ description: zod+ .string()+ .max(signalsReportsCreateBodyEvidenceItemDescriptionMax)+ .describe(+ 'Prose for this observation. Embedded and rendered to the safety\/research surfaces.'+ ),+ source_id: zod+ .string()+ .describe(+ 'Stable id for this observation within the report (lets a later edit address it).'+ ),+ })+ .describe('One observation backing an authored report — becomes a bound signal row on the report.')+ )+ .min(1)+ .describe('The observations backing the report — each becomes a bound signal. At least one.'),+ actionability_explanation: zod+ .string()+ .describe('2-3 sentence evidence-grounded justification for the actionability call below.'),+ actionability: zod+ .enum(['immediately_actionable', 'requires_human_input', 'not_actionable'])+ .describe(+ '\* `immediately_actionable` - immediately_actionable\n\* `requires_human_input` - requires_human_input\n\* `not_actionable` - not_actionable'+ )+ .describe(+ "The scout's actionability call: `immediately_actionable` -> the report surfaces READY; `requires_human_input` -> PENDING_INPUT; `not_actionable` -> suppressed. A safety-judge failure suppresses the report regardless. A root cause you have not found is not human input: a report that names the evidence, the code surface, or a reproducible failure path is `immediately_actionable`, because investigating it is the action. Reserve `requires_human_input` for a report blocked on a decision only a person can make.\n\n\* `immediately_actionable` - immediately_actionable\n\* `requires_human_input` - requires_human_input\n\* `not_actionable` - not_actionable"+ ),+ already_addressed: zod+ .boolean()+ .default(signalsReportsCreateBodyAlreadyAddressedDefault)+ .describe(+ 'Whether the issue is already being handled — fixed in recent changes, or with a fix in flight (an open PR, a recently active branch, an assigned \/ in-progress issue or agent task). Gates autostart of a scout report, so a wrong `false` opens a duplicate PR. Tracked separately.'+ ),+ repository: zod+ .string()+ .nullish()+ .describe(+ "Optional repo for opening a draft PR, by autostart of a scout report or by a person from the inbox. Pass `owner\/repo` whenever you can say where a fix would land. Omit the field when you can't, which triggers free-form selection across the team's repos (the slow path on a many-repo team). Keep the `NO_REPO` sentinel for the rare report where nothing under version control could change, since a skill body, a config file, or a doc still lives in a repo."+ ),+ priority: zod+ .union([+ zod+ .enum(['P0', 'P1', 'P2', 'P3', 'P4'])+ .describe('\* `P0` - P0\n\* `P1` - P1\n\* `P2` - P2\n\* `P3` - P3\n\* `P4` - P4'),+ zod.null(),+ ])+ .optional()+ .describe(+ 'Optional priority (`P0`-`P4`). Required for autostart; pair with `priority_explanation`.\n\n\* `P0` - P0\n\* `P1` - P1\n\* `P2` - P2\n\* `P3` - P3\n\* `P4` - P4'+ ),+ priority_explanation: zod+ .string()+ .nullish()+ .describe('2-3 sentence justification for `priority`. Required when `priority` is set.'),+ suggested_reviewers: zod+ .array(+ zod+ .object({+ github_login: zod+ .string()+ .max(signalsReportsCreateBodySuggestedReviewersItemGithubLoginMax)+ .optional()+ .describe(+ 'GitHub login (case-insensitive, stored lowercased) — e.g. `octocat`, no `@`, no display name. Resolve one via `scout-members-list` (each member row carries a resolved `github_login`) or git history when you only have a name.'+ ),+ user_uuid: zod+ .uuid()+ .optional()+ .describe(+ "PostHog user UUID (e.g. from `scout-members-list`, or an entity's `created_by`). Use this when you know the PostHog user, whether or not they have a GitHub handle — every member is routable this way. Must be a concrete UUID; the `@me` alias is not valid here."+ ),+ reason: zod+ .string()+ .max(signalsReportsCreateBodySuggestedReviewersItemReasonMax)+ .nullish()+ .describe(+ "One sentence of evidence for WHY this person: what ties them to the affected surface (e.g. 'authored 4 of the last 10 commits touching products\/tracing\/mcp\/', 'human correction routed the prior tracing report to them'). Persisted on the report so the routing is auditable — always set it when you can name the evidence; 'precedent' alone is weak, prefer code-derived ownership."+ ),+ })+ .describe(+ "One suggested reviewer — identified by `github_login`, `user_uuid`, or both.\n\nA reviewer is a PostHog user, so a `user_uuid` only has to name an org member of this team: a\nmember with no linked GitHub account routes the report like anyone else. A `user_uuid` that\nisn't an org member of this team is rejected — so a reviewer is never silently dropped."+ )+ )+ .max(signalsReportsCreateBodySuggestedReviewersMax)+ .optional()+ .describe(+ "Optional reviewers to route the report to (each a `github_login` and\/or `user_uuid`). This is the primary way a report reaches a human — the inbox floats a reviewer's own reports to the top of their inbox even when no PR is involved — so set it whenever you can name a plausible owner. On a scout report it also gates autostart: a PR opens only if at least one reviewer clears their autonomy threshold. A report a person files never autostarts."+ ),+ charts: zod+ .array(+ zod+ .object({+ chart_id: zod+ .string()+ .max(signalsReportsCreateBodyChartsItemChartIdMax)+ .describe(+ "Stable slug for this chart within the report (lowercase letters, numbers, underscores, hyphens; must start with a letter or number). Reference it from `summary` as a markdown link with a `chart:` target — `[Daily signups](chart:signups-drop)` — to place the chart at that point in the body. A chart you don't reference still renders, below the summary."+ ),+ title: zod+ .string()+ .max(signalsReportsCreateBodyChartsItemTitleMax)+ .describe('Short heading shown above the chart.'),+ query: zod+ .unknown()+ .describe(+ 'The query node to render. `kind` must be `InsightVizNode` (an ad-hoc product analytics chart), `DataVisualizationNode` (a SQL series — a `HogQLQuery` source plus a `display`), or `SavedInsightNode` (an existing insight by `shortId`). Pin the window to absolute dates where the node supports it, so the reader sees the data you wrote about rather than whatever a relative range resolves to when they open the report.'+ ),+ caption: zod+ .string()+ .max(signalsReportsCreateBodyChartsItemCaptionMax)+ .nullish()+ .describe('Optional one-line note on what to look at in the chart.'),+ size: zod+ .union([+ zod+ .enum(['small', 'medium', 'large'])+ .describe('\* `small` - small\n\* `medium` - medium\n\* `large` - large'),+ zod.null(),+ ])+ .optional()+ .describe(+ 'How much height the chart gets: `small` for a single number or a short series, `medium` for an ordinary graph, `large` when there are rows or a grid to read (retention, paths, a wide breakdown). Leave it out unless the default looks wrong — the inbox sizes a chart from its query, and two charts referenced from the same paragraph sit side by side.\n\n\* `small` - small\n\* `medium` - medium\n\* `large` - large'+ ),+ })+ .describe(+ 'One chart attached to a report — rendered in the inbox and referenceable from the summary.'+ )+ )+ .max(signalsReportsCreateBodyChartsMax)+ .optional()+ .describe(+ 'Optional charts to attach to the report — the inbox renders them inline, so a metric move is something the reader sees rather than a number they take on trust. Attach one whenever the finding rests on a trend, a spike, or a comparison you already queried.'+ ),+ metrics: zod+ .array(+ zod+ .object({+ metric_id: zod+ .string()+ .max(signalsReportsCreateBodyMetricsItemMetricIdMax)+ .describe(+ 'Stable slug for this metric within the report: lowercase letters, numbers, underscores, and hyphens, starting with a letter or number.'+ ),+ title: zod+ .string()+ .max(signalsReportsCreateBodyMetricsItemTitleMax)+ .describe('Short human-readable label for the measurement.'),+ kind: zod+ .enum([+ 'affected_users',+ 'affected_sessions',+ 'occurrences',+ 'conversion_rate',+ 'error_rate',+ 'duration',+ 'revenue',+ 'custom',+ ])+ .describe(+ '\* `affected_users` - affected_users\n\* `affected_sessions` - affected_sessions\n\* `occurrences` - occurrences\n\* `conversion_rate` - conversion_rate\n\* `error_rate` - error_rate\n\* `duration` - duration\n\* `revenue` - revenue\n\* `custom` - custom'+ )+ .describe(+ 'What the value measures, independent of how it is formatted or drawn.\n\n\* `affected_users` - affected_users\n\* `affected_sessions` - affected_sessions\n\* `occurrences` - occurrences\n\* `conversion_rate` - conversion_rate\n\* `error_rate` - error_rate\n\* `duration` - duration\n\* `revenue` - revenue\n\* `custom` - custom'+ ),+ role: zod+ .enum(['primary', 'supporting'])+ .describe('\* `primary` - primary\n\* `supporting` - supporting')+ .default(signalsReportsCreateBodyMetricsItemRoleDefault)+ .describe(+ "`primary` for the report's key observation, otherwise `supporting`.\n\n\* `primary` - primary\n\* `supporting` - supporting"+ ),+ value: zod+ .number()+ .nullish()+ .describe(+ 'Latest saved snapshot, initially observed during authoring and replaced when a person opens the inbox or the report. Null means no snapshot is available to this viewer; it never means zero. The required live query remains the source of truth.'+ ),+ value_at: zod.iso+ .datetime({ offset: true })+ .nullish()+ .describe('When the visible snapshot value was measured; null when value is null.'),+ series: zod+ .array(zod.number())+ .max(signalsReportsCreateBodyMetricsItemSeriesMax)+ .nullish()+ .describe(+ 'Trailing per-bucket values of the live query, oldest first, saved with the value snapshot so a list row can draw the trend without running the query; at most 14 points. Null when no snapshot series is available to this viewer.'+ ),+ value_format: zod+ .enum(['number', 'count', 'percentage', 'percentage_scaled', 'duration', 'currency'])+ .describe(+ '\* `number` - number\n\* `count` - count\n\* `percentage` - percentage\n\* `percentage_scaled` - percentage_scaled\n\* `duration` - duration\n\* `currency` - currency'+ )+ .default(signalsReportsCreateBodyMetricsItemValueFormatDefault)+ .describe(+ 'How to format the numeric value; semantic meaning remains in kind. `percentage` uses percentage points, so 34 renders as 34%; `percentage_scaled` uses a 0–1 ratio, so 0.34 renders as 34%. Sessions and occurrences use count; duration uses duration with an ms\/s unit; revenue uses currency with an ISO currency unit.\n\n\* `number` - number\n\* `count` - count\n\* `percentage` - percentage\n\* `percentage_scaled` - percentage_scaled\n\* `duration` - duration\n\* `currency` - currency'+ ),+ unit: zod+ .string()+ .max(signalsReportsCreateBodyMetricsItemUnitMax)+ .nullish()+ .describe('Optional short suffix or currency code, such as `users`, `ms`, or `USD`.'),+ query: zod+ .unknown()+ .describe(+ 'Required when authoring: a live InsightVizNode wrapping one bounded TrendsQuery. Consumers derive a BoldNumber execution for the whole-window aggregate and an ActionsBar execution for longitudinal buckets. The query must produce exactly one output series and no more than 1000 estimated longitudinal points; one formula may combine up to ten event or action source series. An affected_users metric uses exactly one source with `math: dau`; never sum its per-bucket unique-user values. A response omits this on list or redacts it to null on detail when the viewer lacks access to the definition.'+ ),+ caption: zod+ .string()+ .max(signalsReportsCreateBodyMetricsItemCaptionMax)+ .nullish()+ .describe(+ 'Optional context the tile cannot show, such as a filter that narrows the count or a caveat on the data. Omit it rather than restate the title, unit, or window.'+ ),+ comparison: zod+ .union([+ zod.object({+ value: zod+ .number()+ .describe('Baseline or previous value, formatted like the current value.'),+ label: zod+ .string()+ .max(signalsReportsCreateBodyMetricsItemComparisonOneLabelMax)+ .describe('Short context for the comparison, such as `Previous period`.'),+ }),+ zod.null(),+ ])+ .optional()+ .describe('Legacy optional comparison. New report metrics must omit it.'),+ })+ .describe('Authoring shape: unlike a read response, the live query cannot be absent or redacted.')+ )+ .max(signalsReportsCreateBodyMetricsMax)+ .optional()+ .describe(+ 'Optional typed impact measurements. Use one primary metric for the key observation and supporting metrics for users, sessions, occurrences, conversion, latency, or revenue. Every metric requires a bounded live InsightVizNode\/TrendsQuery built only from EventsNode or ActionsNode sources and capped at 1,000 estimated longitudinal points. Consumers derive BoldNumber and ActionsBar shapes. A value\/value_at snapshot is an optional cached fallback. Affected users must use one series with `math: dau`. Snapshot-only\/queryless payloads are invalid; legacy rows of that shape are always redacted.'+ ),+ suggested_prompts: zod+ .array(zod.string().max(signalsReportsCreateBodySuggestedPromptsItemMax))+ .max(signalsReportsCreateBodySuggestedPromptsMax)+ .optional()+ .describe(+ "Optional follow-up prompts to offer above the report's `Ask AI` box: questions to ask, or next-step actions to request (e.g. carrying out the report's recommendation). The reader clicks one to fill the box with it, then sends or edits it. Write the prompts your own research left open, phrased as the reader would send them."+ ),+ links: zod+ .array(+ zod+ .object({+ kind: zod+ .enum(['depends_on', 'part_of', 'follow_up_of', 'duplicate_of', 'recurrence_of'])+ .describe(+ '\* `depends_on` - Depends on\n\* `part_of` - Part of\n\* `follow_up_of` - Follow-up of\n\* `duplicate_of` - Duplicate of\n\* `recurrence_of` - Recurrence of'+ )+ .describe(+ "How this report relates to `report_id`. `depends_on` for work that cannot land until the other report's fix does, `part_of` for one piece of a larger report, `follow_up_of` for work the other report left behind, `duplicate_of` for the same problem filed twice, and `recurrence_of` for a problem a resolved report already covered.\n\n\* `depends_on` - Depends on\n\* `part_of` - Part of\n\* `follow_up_of` - Follow-up of\n\* `duplicate_of` - Duplicate of\n\* `recurrence_of` - Recurrence of"+ ),+ report_id: zod+ .string()+ .describe('Id of the report to link to. Must be another report in this project.'),+ reason: zod+ .string()+ .max(signalsReportsCreateBodyLinksItemReasonMax)+ .optional()+ .describe('Optional one-line note on why the reports are linked this way.'),+ })+ .describe('One typed, directed link to write on the report being emitted or edited.')+ )+ .max(signalsReportsCreateBodyLinksMax)+ .optional()+ .describe(+ 'Typed, directed links from the new report to reports that already exist. Send them here, not in a later `edit-report` call, because autostart reads them when the report is created: a `duplicate_of` link to a report that already has a pull request, or a `depends_on` link to a report with no pull request yet, stops a second draft PR. Only the new report gets a row, so link from the side the sentence starts at. Links of the same kind must stay acyclic and every report must be in this project.'+ ),+ tags: zod+ .array(zod.string())+ .max(signalsReportsCreateBodyTagsMax)+ .optional()+ .describe(+ 'Optional slug tags that group the report with related ones, at most 10. Write lowercase kebab-case slugs that name the category of the report (`cost-spike`, `tracking-gap`), not the specific entity. Reuse a slug the project already uses before you coin a new one. Near-miss formats are normalized to slugs, and a tag that is empty or longer than 50 characters after normalization is rejected.'+ ),+ idempotency_key: zod+ .string()+ .max(signalsReportsCreateBodyIdempotencyKeyMax)+ .nullish()+ .describe(+ "Optional name for this emission, unique within a scout's run or within a person's own reports. Reuse it verbatim to retry a call whose outcome you don't know (a timeout, a dropped connection): the retry returns the report the first call authored, with `idempotent_replay` true, instead of a second report. Omit it and the report's own content is the key, which covers a retry of the identical call — pass one when a retry might reword the report."+ ),+ })+ .describe(+ 'Request body for the scout `emit-report` action and the inbox report `create` action. A scout run is\ntaken from the URL path; a person is the authenticated caller.'+ )+/*** Edit the human-facing title and/or summary (description) of a signal report, addressed by id. Both fields are optional — supply only the ones you want to change; at least one is required. Every other report field (status, weights, judgments) is managed by the signals pipeline and cannot be set here. Returns the full updated report.* @summary Edit a report's title or summary@@ -3201,13 +3562,13 @@ export const SignalsScoutEmitReportBody = /* @__PURE__ */ zod.boolean().default(signalsScoutEmitReportBodyAlreadyAddressedDefault).describe(- 'Whether the issue is already being handled — fixed in recent changes, or with a fix in flight (an open PR, a recently active branch, an assigned \/ in-progress issue or agent task). Gates autostart, so a wrong `false` opens a duplicate PR. Tracked separately.'+ 'Whether the issue is already being handled — fixed in recent changes, or with a fix in flight (an open PR, a recently active branch, an assigned \/ in-progress issue or agent task). Gates autostart of a scout report, so a wrong `false` opens a duplicate PR. Tracked separately.'),repository: zod.string().nullish().describe(- "Optional repo for opening a draft PR, by autostart or by a person from the inbox. Pass `owner\/repo` whenever you can say where a fix would land. Omit the field when you can't, which triggers free-form selection across the team's repos (the slow path on a many-repo team). Keep the `NO_REPO` sentinel for the rare report where nothing under version control could change, since a skill body, a config file, or a doc still lives in a repo."+ "Optional repo for opening a draft PR, by autostart of a scout report or by a person from the inbox. Pass `owner\/repo` whenever you can say where a fix would land. Omit the field when you can't, which triggers free-form selection across the team's repos (the slow path on a many-repo team). Keep the `NO_REPO` sentinel for the rare report where nothing under version control could change, since a skill body, a config file, or a doc still lives in a repo."),priority: zod.union([@@ -3256,7 +3617,7 @@ export const SignalsScoutEmitReportBody = /* @__PURE__ */ zod.max(signalsScoutEmitReportBodySuggestedReviewersMax).optional().describe(- "Optional reviewers to route the report to (each a `github_login` and\/or `user_uuid`). This is the primary way a report reaches a human — the inbox floats a reviewer's own reports to the top of their inbox even when no PR is involved — so set it whenever you can name a plausible owner. It also gates autostart: a PR opens only if at least one reviewer clears their autonomy threshold."+ "Optional reviewers to route the report to (each a `github_login` and\/or `user_uuid`). This is the primary way a report reaches a human — the inbox floats a reviewer's own reports to the top of their inbox even when no PR is involved — so set it whenever you can name a plausible owner. On a scout report it also gates autostart: a PR opens only if at least one reviewer clears their autonomy threshold. A report a person files never autostarts."),charts: zod.array(@@ -3454,10 +3815,12 @@ export const SignalsScoutEmitReportBody = /* @__PURE__ */ zod.max(signalsScoutEmitReportBodyIdempotencyKeyMax).nullish().describe(- "Optional name for this emission, unique within the run. Reuse it verbatim to retry a call whose outcome you don't know (a timeout, a dropped connection): the retry returns the report the first call authored, with `idempotent_replay` true, instead of a second report. Omit it and the report's own content is the key, which covers a retry of the identical call — pass one when a retry might reword the report."+ "Optional name for this emission, unique within a scout's run or within a person's own reports. Reuse it verbatim to retry a call whose outcome you don't know (a timeout, a dropped connection): the retry returns the report the first call authored, with `idempotent_replay` true, instead of a second report. Omit it and the report's own content is the key, which covers a retry of the identical call — pass one when a retry might reword the report."),})- .describe('Request body for `emit-report`. Run attribution is taken from the URL path.')+ .describe(+ 'Request body for the scout `emit-report` action and the inbox report `create` action. A scout run is\ntaken from the URL path; a person is the authenticated caller.'+ )/*** Fire `emit_signal` with `source_product = signals_scout`. The `finding_id` is baked into the deterministic `Signal.source_id = run:<id>:finding:<id>` for traceability, but this is NOT idempotent — a second call with the same `finding_id` emits a second signal, so do not retry an emit that may have already succeeded.@@ -3992,6 +4355,7 @@ export const SignalsSourceConfigsCreateBody = /* @__PURE__ */ zod.object({'pganalyze','signals_scout','signals_check',+ 'user_authored','logs','health_checks','endpoints',@@ -4095,7 +4459,7 @@ export const SignalsSourceConfigsCreateBody = /* @__PURE__ */ zod.object({'cursor',]).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\* `signals_check` - Report check\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor'+ '\* `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\* `signals_check` - Report check\n\* `user_authored` - Team member\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor'),source_type: zod.enum([@@ -4159,6 +4523,7 @@ export const SignalsSourceConfigsUpdateBody = /* @__PURE__ */ zod.object({'pganalyze','signals_scout','signals_check',+ 'user_authored','logs','health_checks','endpoints',@@ -4262,7 +4627,7 @@ export const SignalsSourceConfigsUpdateBody = /* @__PURE__ */ zod.object({'cursor',]).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\* `signals_check` - Report check\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor'+ '\* `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\* `signals_check` - Report check\n\* `user_authored` - Team member\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor'),source_type: zod.enum([@@ -4326,6 +4691,7 @@ export const SignalsSourceConfigsPartialUpdateBody = /* @__PURE__ */ zod.object('pganalyze','signals_scout','signals_check',+ 'user_authored','logs','health_checks','endpoints',@@ -4430,7 +4796,7 @@ export const SignalsSourceConfigsPartialUpdateBody = /* @__PURE__ */ zod.object(]).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\* `signals_check` - Report check\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor'+ '\* `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\* `signals_check` - Report check\n\* `user_authored` - Team member\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor'),source_type: zod.enum([diff --git a/products/signals/frontend/inbox/components/badges/sourceProductIcons.tsx b/products/signals/frontend/inbox/components/badges/sourceProductIcons.tsxindex 025cfd97542a..6e3569d0ff47 100644--- a/products/signals/frontend/inbox/components/badges/sourceProductIcons.tsx+++ b/products/signals/frontend/inbox/components/badges/sourceProductIcons.tsx@@ -10,6 +10,7 @@ import {IconGraph,IconHeartPlus,IconList,+ IconPerson,IconRewindPlay,IconStack,IconSupport,@@ -100,6 +101,11 @@ export const SOURCE_PRODUCT_META: Partial<Record<SignalSourceProduct, SourceProdcolorClass: 'text-accent',label: 'Scout',},+ [SignalSourceProduct.UserAuthored]: {+ Icon: IconPerson,+ colorClass: 'text-secondary',+ label: 'Team member',+ },[SignalSourceProduct.Endpoints]: {Icon: IconBolt,colorClass: 'text-warning',diff --git a/products/signals/frontend/inbox/filterOptions.tsx b/products/signals/frontend/inbox/filterOptions.tsxindex 1e479fd8ee9b..3d80fb074497 100644--- a/products/signals/frontend/inbox/filterOptions.tsx+++ b/products/signals/frontend/inbox/filterOptions.tsx@@ -12,6 +12,7 @@ import {IconGithub,IconGraph,IconList,+ IconPerson,IconReceipt,IconRefresh,IconStack,@@ -197,6 +198,7 @@ export const INBOX_SOURCE_OPTIONS: { value: string; label: string; icon: JSX.Eleicon: <IconGear />,},{ value: 'signals_scout', label: 'Scout', icon: <IconCompass /> },+ { value: 'user_authored', label: 'Team member', icon: <IconPerson /> },]/** Priority codes in rank order (P0 highest → P4 lowest), driving the Priority filter popover. */diff --git a/products/signals/mcp/tools.yaml b/products/signals/mcp/tools.yamlindex a86160ecc3c8..bbfb898e07c4 100644--- a/products/signals/mcp/tools.yaml+++ b/products/signals/mcp/tools.yaml@@ -410,6 +410,37 @@ tools:id:aliases:- report_id+ inbox-reports-create:+ operation: signals_reports_create+ enabled: true+ scopes:+ - inbox:write+ annotations:+ readOnly: false+ destructive: false+ idempotent: true+ enrich_url: '{report_id}'+ title: File an inbox report+ description: >+ File a finding as an inbox report in this project, for example something your own agent found. Search+ `inbox-reports-list` first and update an existing report rather than filing a near-duplicate. The report+ passes the same safety judge a scout report passes, then surfaces at the status your `actionability` call+ implies (`immediately_actionable` → READY, `requires_human_input` → PENDING_INPUT, `not_actionable` →+ suppressed); an unsafe report is suppressed regardless. `evidence` lists the observations behind the report,+ at least one. Safe to retry: resending a call returns the first report (`idempotent_replay` true) instead of+ a second one, keyed on `idempotency_key` or, without one, on the report's content. A filed report never+ starts an implementation run or opens a pull request on its own, even when it names a `repository`,+ `priority`, and `suggested_reviewers`: a person starts one from the report's actions. `suggested_reviewers`+ routes the report to the people who should read it. A `priority` requires a `priority_explanation`. Each+ person can file 20 reports per project per day; a 429 says when the limit resets, so do not retry before+ then.+ exclude_params:+ - metrics+ required_when_set:+ priority:+ - priority_explanation+ feature_flag: inbox-reports-create-mcp+ feature_flag_behavior: enableinbox-reports-feedback-create:operation: signals_reports_feedback_createenabled: truediff --git a/products/signals/skills/inbox-exploration/SKILL.md b/products/signals/skills/inbox-exploration/SKILL.mdindex 5917a2aae750..e1aa6842e46f 100644--- a/products/signals/skills/inbox-exploration/SKILL.md+++ b/products/signals/skills/inbox-exploration/SKILL.md@@ -67,6 +67,7 @@ _underlying detail_ — pair them when the user wants to dig in.| `inbox-reports-list` | Paginated list of reports with filters (status, search, etc.) || `inbox-reports-retrieve` | Full detail for a single report || `inbox-reports-claim` | Claim or release a report, and optionally attach its implementation PR |+| `inbox-reports-create` | File a finding of your own as a report. It never starts an implementation run on its own || `inbox-report-artefacts-list` | A report's full work log — `signal_finding` evidence, status judgments, commits, task runs, notes (read-only) || `inbox-report-artefacts-retrieve` | Full detail for a single artefact (read-only) || `inbox-reports-set-state` | Resolve (`resolved`), dismiss (`suppressed`), or snooze (`potential`) a single report |@@ -83,7 +84,8 @@ The `inbox-reports-*-list` / `-retrieve`, `inbox-report-artefacts-list` / `-retr`inbox-source-configs-*-list` / `-retrieve` tools are read-only. The exposed writes are `inbox-reports-set-state` (resolve / dismiss / snooze a single report),`inbox-reports-bulk-set-state` (the same transition for 1–100 reports in one call),`inbox-reports-claim` (claim / release / attach a PR), see-_Workflow: resolve, dismiss, or snooze a report_ — `inbox-report-actions-run` (start an agent run+_Workflow: resolve, dismiss, or snooze a report_ — `inbox-reports-create` (file a report), see+_Workflow: file a report_ — `inbox-report-actions-run` (start an agent runfrom a report action), see _Workflow: run an action on a report_ — and `inbox-source-configs-partial-update`, which flips asource's `enabled` flag on or off (e.g. `{enabled: false}` to stop a source feeding the inbox);`-create` / `-update` exist too for standing a source up or replacing it wholesale. Pausing@@ -519,6 +521,22 @@ Every refusal carries a `code`. Do not retry any of them unchanged.| 402 | `self_driving_free_trial` | The organization is on a Self-driving free trial, which cannot open pull requests. || 404 | none | The report has no suggested prompt at that index. List the actions again and use a fresh index. |+## Workflow: file a report++Use `inbox-reports-create` when the user wants a finding of their own, often from their own+agent, to land in the inbox. The tool is behind a rollout flag, so it is not always present.++1. Search first. Call `inbox-reports-list` with `search` for the topic. If a report already covers+ it, tell the user and work on that report instead of filing a near-duplicate.+2. Send `title`, `summary`, at least one `evidence` entry, `actionability`, and+ `actionability_explanation`. Add `suggested_reviewers` to route it to the people who should read it.+3. Read the result. `report_status` is `ready`, `pending_input`, or `suppressed`. A suppressed report+ carries `safety_explanation`. A resend returns the first report with `idempotent_replay` true.++A filed report never starts an implementation run or opens a pull request on its own, even after a+later edit. To start one, use _Workflow: run an action on a report_. Each person can file 20+reports per project per day. A 429 says when the limit resets.+## Workflow: resolve, dismiss, or snooze a reportThree outcomes, one tool. Pick by what actually happened to the underlying issue:diff --git a/services/mcp/schema/generated-tool-definitions.json b/services/mcp/schema/generated-tool-definitions.jsonindex 43e91875e0b3..ed86b7afd39d 100644--- a/services/mcp/schema/generated-tool-definitions.json+++ b/services/mcp/schema/generated-tool-definitions.json@@ -8058,6 +8058,23 @@"readOnlyHint": false}},+ "inbox-reports-create": {+ "description": "File a finding as an inbox report in this project, for example something your own agent found. Search `inbox-reports-list` first and update an existing report rather than filing a near-duplicate. The report passes the same safety judge a scout report passes, then surfaces at the status your `actionability` call implies (`immediately_actionable` → READY, `requires_human_input` → PENDING_INPUT, `not_actionable` → suppressed); an unsafe report is suppressed regardless. `evidence` lists the observations behind the report, at least one. Safe to retry: resending a call returns the first report (`idempotent_replay` true) instead of a second one, keyed on `idempotency_key` or, without one, on the report's content. A filed report never starts an implementation run or opens a pull request on its own, even when it names a `repository`, `priority`, and `suggested_reviewers`: a person starts one from the report's actions. `suggested_reviewers` routes the report to the people who should read it. A `priority` requires a `priority_explanation`. Each person can file 20 reports per project per day; a 429 says when the limit resets, so do not retry before then.",+ "category": "Signals",+ "feature": "signals",+ "summary": "File an inbox report",+ "title": "File an inbox report",+ "required_scopes": ["inbox:write"],+ "api_operations": ["POST /api/projects/{project_id}/signals/reports/"],+ "annotations": {+ "destructiveHint": false,+ "idempotentHint": true,+ "openWorldHint": true,+ "readOnlyHint": false+ },+ "feature_flag": "inbox-reports-create-mcp",+ "feature_flag_behavior": "enable"+ },"inbox-reports-feedback-create": {"description": "Record a person's thumbs up or thumbs down on an inbox report, with their context for why. Pass the person's verdict, never your own interpretation of the report. The note is forwarded to the scout that authored or edited the report as steering context for its next run; the response says whether it was forwarded. This does not dismiss, resolve, or otherwise change the report's state. Each successful call can create a new steering note, so do not retry after a confirmed success.","category": "Signals",diff --git a/services/mcp/schema/tool-definitions-all.json b/services/mcp/schema/tool-definitions-all.jsonindex 5669fc2fd31c..4ed3231c5241 100644--- a/services/mcp/schema/tool-definitions-all.json+++ b/services/mcp/schema/tool-definitions-all.json@@ -8290,6 +8290,23 @@"readOnlyHint": false}},+ "inbox-reports-create": {+ "description": "File a finding as an inbox report in this project, for example something your own agent found. Search `inbox-reports-list` first and update an existing report rather than filing a near-duplicate. The report passes the same safety judge a scout report passes, then surfaces at the status your `actionability` call implies (`immediately_actionable` → READY, `requires_human_input` → PENDING_INPUT, `not_actionable` → suppressed); an unsafe report is suppressed regardless. `evidence` lists the observations behind the report, at least one. Safe to retry: resending a call returns the first report (`idempotent_replay` true) instead of a second one, keyed on `idempotency_key` or, without one, on the report's content. A filed report never starts an implementation run or opens a pull request on its own, even when it names a `repository`, `priority`, and `suggested_reviewers`: a person starts one from the report's actions. `suggested_reviewers` routes the report to the people who should read it. A `priority` requires a `priority_explanation`. Each person can file 20 reports per project per day; a 429 says when the limit resets, so do not retry before then.",+ "category": "Signals",+ "feature": "signals",+ "summary": "File an inbox report",+ "title": "File an inbox report",+ "required_scopes": ["inbox:write"],+ "api_operations": ["POST /api/projects/{project_id}/signals/reports/"],+ "annotations": {+ "destructiveHint": false,+ "idempotentHint": true,+ "openWorldHint": true,+ "readOnlyHint": false+ },+ "feature_flag": "inbox-reports-create-mcp",+ "feature_flag_behavior": "enable"+ },"inbox-reports-feedback-create": {"description": "Record a person's thumbs up or thumbs down on an inbox report, with their context for why. Pass the person's verdict, never your own interpretation of the report. The note is forwarded to the scout that authored or edited the report as steering context for its next run; the response says whether it was forwarded. This does not dismiss, resolve, or otherwise change the report's state. Each successful call can create a new steering note, so do not retry after a confirmed success.","category": "Signals",diff --git a/services/mcp/src/api/generated.ts b/services/mcp/src/api/generated.tsindex af739595a16e..cc8a1f0a28c5 100644--- a/services/mcp/src/api/generated.ts+++ b/services/mcp/src/api/generated.ts@@ -37385,7 +37385,8 @@ export namespace Schemas {}/**- * Request body for `emit-report`. Run attribution is taken from the URL path.+ * Request body for the scout `emit-report` action and the inbox report `create` action. A scout run is+ * taken from the URL path; a person is the authenticated caller.*/export interface EmitReportRequest {/**@@ -37408,10 +37409,10 @@ export namespace Schemas {* * `requires_human_input` - requires_human_input* * `not_actionable` - not_actionable */actionability: ActionabilityEnum;- /** Whether the issue is already being handled — fixed in recent changes, or with a fix in flight (an open PR, a recently active branch, an assigned / in-progress issue or agent task). Gates autostart, so a wrong `false` opens a duplicate PR. Tracked separately. */+ /** Whether the issue is already being handled — fixed in recent changes, or with a fix in flight (an open PR, a recently active branch, an assigned / in-progress issue or agent task). Gates autostart of a scout report, so a wrong `false` opens a duplicate PR. Tracked separately. */already_addressed?: boolean;/**- * Optional repo for opening a draft PR, by autostart or by a person from the inbox. Pass `owner/repo` whenever you can say where a fix would land. Omit the field when you can't, which triggers free-form selection across the team's repos (the slow path on a many-repo team). Keep the `NO_REPO` sentinel for the rare report where nothing under version control could change, since a skill body, a config file, or a doc still lives in a repo.+ * Optional repo for opening a draft PR, by autostart of a scout report or by a person from the inbox. Pass `owner/repo` whenever you can say where a fix would land. Omit the field when you can't, which triggers free-form selection across the team's repos (the slow path on a many-repo team). Keep the `NO_REPO` sentinel for the rare report where nothing under version control could change, since a skill body, a config file, or a doc still lives in a repo.* @nullable*/repository?: string | null;@@ -37429,7 +37430,7 @@ export namespace Schemas {*/priority_explanation?: string | null;/**- * Optional reviewers to route the report to (each a `github_login` and/or `user_uuid`). This is the primary way a report reaches a human — the inbox floats a reviewer's own reports to the top of their inbox even when no PR is involved — so set it whenever you can name a plausible owner. It also gates autostart: a PR opens only if at least one reviewer clears their autonomy threshold.+ * Optional reviewers to route the report to (each a `github_login` and/or `user_uuid`). This is the primary way a report reaches a human — the inbox floats a reviewer's own reports to the top of their inbox even when no PR is involved — so set it whenever you can name a plausible owner. On a scout report it also gates autostart: a PR opens only if at least one reviewer clears their autonomy threshold. A report a person files never autostarts.* @maxItems 10*/suggested_reviewers?: SuggestedReviewer[];@@ -37460,7 +37461,7 @@ export namespace Schemas {*/tags?: string[];/**- * Optional name for this emission, unique within the run. Reuse it verbatim to retry a call whose outcome you don't know (a timeout, a dropped connection): the retry returns the report the first call authored, with `idempotent_replay` true, instead of a second report. Omit it and the report's own content is the key, which covers a retry of the identical call — pass one when a retry might reword the report.+ * Optional name for this emission, unique within a scout's run or within a person's own reports. Reuse it verbatim to retry a call whose outcome you don't know (a timeout, a dropped connection): the retry returns the report the first call authored, with `idempotent_replay` true, instead of a second report. Omit it and the report's own content is the key, which covers a retry of the identical call — pass one when a retry might reword the report.* @maxLength 200* @nullable*/@@ -57123,6 +57124,7 @@ export namespace Schemas {* * `pganalyze` - pganalyze* * `signals_scout` - Signals scout* * `signals_check` - Report check+ * * `user_authored` - Team member* * `logs` - Logs* * `health_checks` - Health checks* * `endpoints` - Endpoints@@ -57240,6 +57242,7 @@ export namespace Schemas {Pganalyze: 'pganalyze',SignalsScout: 'signals_scout',SignalsCheck: 'signals_check',+ UserAuthored: 'user_authored',Logs: 'logs',HealthChecks: 'health_checks',Endpoints: 'endpoints',@@ -57407,6 +57410,7 @@ export namespace Schemas {* * `pganalyze` - pganalyze* * `signals_scout` - Signals scout* * `signals_check` - Report check+ * * `user_authored` - Team member* * `logs` - Logs* * `health_checks` - Health checks* * `endpoints` - Endpoints@@ -97880,6 +97884,7 @@ export namespace Schemas {* * `pganalyze` - pganalyze* * `signals_scout` - signals_scout* * `signals_check` - signals_check+ * * `user_authored` - user_authored* * `logs` - logs* * `health_checks` - health_checks* * `replay_vision` - replay_vision@@ -97997,6 +98002,7 @@ export namespace Schemas {Pganalyze: 'pganalyze',SignalsScout: 'signals_scout',SignalsCheck: 'signals_check',+ UserAuthored: 'user_authored',Logs: 'logs',HealthChecks: 'health_checks',ReplayVision: 'replay_vision',@@ -98457,6 +98463,7 @@ export namespace Schemas {* * `pganalyze` - pganalyze* * `signals_scout` - signals_scout* * `signals_check` - signals_check+ * * `user_authored` - user_authored* * `logs` - logs* * `health_checks` - health_checks* * `replay_vision` - replay_visiondiff --git a/services/mcp/src/generated/signals/api.ts b/services/mcp/src/generated/signals/api.tsindex ca27742606c5..39cf33959b66 100644--- a/services/mcp/src/generated/signals/api.ts+++ b/services/mcp/src/generated/signals/api.ts@@ -3,7 +3,7 @@* MCP service uses these Zod schemas for generated tool handlers.* To regenerate: hogli build:openapi*- * PostHog API - MCP 82 enabled ops+ * PostHog API - MCP 83 enabled ops* OpenAPI spec version: 1.0.0*/import * as zod from 'zod'@@ -577,6 +577,253 @@ export const SignalsReportsListQueryParams = () => zod.object({),})+/**+ * File a complete inbox report yourself, with the same validation and safety judge a scout report passes. The report surfaces at the status `actionability` implies, or is suppressed. It never starts an implementation run or opens a pull request on its own, now or after a later edit: start one from the report's actions. Safe to retry: a resend returns the first report with `idempotent_replay` true. Each person can file a limited number of reports per project per day.+ * @summary File an inbox report+ */+export const SignalsReportsCreateParams = () => zod.object({+ project_id: zod+ .string()+ .describe(+ "Project ID of the project you're trying to access. To find the ID of the project, make a call to \/api\/projects\/."+ ),+})++export const signalsReportsCreateBodyTitleMax = 300++export const signalsReportsCreateBodyEvidenceItemDescriptionMax = 4000++export const signalsReportsCreateBodyAlreadyAddressedDefault = false+export const signalsReportsCreateBodySuggestedReviewersItemGithubLoginMax = 200++export const signalsReportsCreateBodySuggestedReviewersItemReasonMax = 500++export const signalsReportsCreateBodySuggestedReviewersMax = 10++export const signalsReportsCreateBodyChartsItemChartIdMax = 100++export const signalsReportsCreateBodyChartsItemTitleMax = 200++export const signalsReportsCreateBodyChartsItemCaptionMax = 500++export const signalsReportsCreateBodyChartsMax = 20++export const signalsReportsCreateBodySuggestedPromptsItemMax = 200++export const signalsReportsCreateBodySuggestedPromptsMax = 3++export const signalsReportsCreateBodyLinksItemReasonMax = 500++export const signalsReportsCreateBodyLinksMax = 10++export const signalsReportsCreateBodyTagsMax = 10++export const signalsReportsCreateBodyIdempotencyKeyMax = 200++export const SignalsReportsCreateBody = () => zod+ .object({+ title: zod+ .string()+ .max(signalsReportsCreateBodyTitleMax)+ .describe(+ 'One-line report title the inbox shows. Conventional-commit style (`type(scope): description`, e.g. `fix(insights): missing series color`) renders with type\/scope styling.'+ ),+ summary: zod+ .string()+ .describe(+ 'The report body the inbox shows. Markdown is supported (headings, lists, code, links; images are not rendered). Lead with one plain declarative sentence — the inbox card uses your first line verbatim as the headline (~140 chars, emphasis stripped), then renders the full markdown in the detail view. A heading, or a bold label on a line of its own with a blank line above it, marks a section that a threaded Slack delivery splits into its own reply.'+ ),+ evidence: zod+ .array(+ zod+ .object({+ description: zod+ .string()+ .max(signalsReportsCreateBodyEvidenceItemDescriptionMax)+ .describe(+ 'Prose for this observation. Embedded and rendered to the safety\/research surfaces.'+ ),+ source_id: zod+ .string()+ .describe(+ 'Stable id for this observation within the report (lets a later edit address it).'+ ),+ })+ .describe('One observation backing an authored report — becomes a bound signal row on the report.')+ )+ .min(1)+ .describe('The observations backing the report — each becomes a bound signal. At least one.'),+ actionability_explanation: zod+ .string()+ .describe('2-3 sentence evidence-grounded justification for the actionability call below.'),+ actionability: zod+ .enum(['immediately_actionable', 'requires_human_input', 'not_actionable'])+ .describe(+ '\* `immediately_actionable` - immediately_actionable\n\* `requires_human_input` - requires_human_input\n\* `not_actionable` - not_actionable'+ )+ .describe(+ "The scout's actionability call: `immediately_actionable` -> the report surfaces READY; `requires_human_input` -> PENDING_INPUT; `not_actionable` -> suppressed. A safety-judge failure suppresses the report regardless. A root cause you have not found is not human input: a report that names the evidence, the code surface, or a reproducible failure path is `immediately_actionable`, because investigating it is the action. Reserve `requires_human_input` for a report blocked on a decision only a person can make.\n\n\* `immediately_actionable` - immediately_actionable\n\* `requires_human_input` - requires_human_input\n\* `not_actionable` - not_actionable"+ ),+ already_addressed: zod+ .boolean()+ .default(signalsReportsCreateBodyAlreadyAddressedDefault)+ .describe(+ 'Whether the issue is already being handled — fixed in recent changes, or with a fix in flight (an open PR, a recently active branch, an assigned \/ in-progress issue or agent task). Gates autostart of a scout report, so a wrong `false` opens a duplicate PR. Tracked separately.'+ ),+ repository: zod+ .string()+ .nullish()+ .describe(+ "Optional repo for opening a draft PR, by autostart of a scout report or by a person from the inbox. Pass `owner\/repo` whenever you can say where a fix would land. Omit the field when you can't, which triggers free-form selection across the team's repos (the slow path on a many-repo team). Keep the `NO_REPO` sentinel for the rare report where nothing under version control could change, since a skill body, a config file, or a doc still lives in a repo."+ ),+ priority: zod+ .union([+ zod+ .enum(['P0', 'P1', 'P2', 'P3', 'P4'])+ .describe('\* `P0` - P0\n\* `P1` - P1\n\* `P2` - P2\n\* `P3` - P3\n\* `P4` - P4'),+ zod.null(),+ ])+ .optional()+ .describe(+ 'Optional priority (`P0`-`P4`). Required for autostart; pair with `priority_explanation`.\n\n\* `P0` - P0\n\* `P1` - P1\n\* `P2` - P2\n\* `P3` - P3\n\* `P4` - P4'+ ),+ priority_explanation: zod+ .string()+ .nullish()+ .describe('2-3 sentence justification for `priority`. Required when `priority` is set.'),+ suggested_reviewers: zod+ .array(+ zod+ .object({+ github_login: zod+ .string()+ .max(signalsReportsCreateBodySuggestedReviewersItemGithubLoginMax)+ .optional()+ .describe(+ 'GitHub login (case-insensitive, stored lowercased) — e.g. `octocat`, no `@`, no display name. Resolve one via `scout-members-list` (each member row carries a resolved `github_login`) or git history when you only have a name.'+ ),+ user_uuid: zod+ .string()+ .optional()+ .describe(+ "PostHog user UUID (e.g. from `scout-members-list`, or an entity's `created_by`). Use this when you know the PostHog user, whether or not they have a GitHub handle — every member is routable this way. Must be a concrete UUID; the `@me` alias is not valid here."+ ),+ reason: zod+ .string()+ .max(signalsReportsCreateBodySuggestedReviewersItemReasonMax)+ .nullish()+ .describe(+ "One sentence of evidence for WHY this person: what ties them to the affected surface (e.g. 'authored 4 of the last 10 commits touching products\/tracing\/mcp\/', 'human correction routed the prior tracing report to them'). Persisted on the report so the routing is auditable — always set it when you can name the evidence; 'precedent' alone is weak, prefer code-derived ownership."+ ),+ })+ .describe(+ "One suggested reviewer — identified by `github_login`, `user_uuid`, or both.\n\nA reviewer is a PostHog user, so a `user_uuid` only has to name an org member of this team: a\nmember with no linked GitHub account routes the report like anyone else. A `user_uuid` that\nisn't an org member of this team is rejected — so a reviewer is never silently dropped."+ )+ )+ .max(signalsReportsCreateBodySuggestedReviewersMax)+ .optional()+ .describe(+ "Optional reviewers to route the report to (each a `github_login` and\/or `user_uuid`). This is the primary way a report reaches a human — the inbox floats a reviewer's own reports to the top of their inbox even when no PR is involved — so set it whenever you can name a plausible owner. On a scout report it also gates autostart: a PR opens only if at least one reviewer clears their autonomy threshold. A report a person files never autostarts."+ ),+ charts: zod+ .array(+ zod+ .object({+ chart_id: zod+ .string()+ .max(signalsReportsCreateBodyChartsItemChartIdMax)+ .describe(+ "Stable slug for this chart within the report (lowercase letters, numbers, underscores, hyphens; must start with a letter or number). Reference it from `summary` as a markdown link with a `chart:` target — `[Daily signups](chart:signups-drop)` — to place the chart at that point in the body. A chart you don't reference still renders, below the summary."+ ),+ title: zod+ .string()+ .max(signalsReportsCreateBodyChartsItemTitleMax)+ .describe('Short heading shown above the chart.'),+ query: zod+ .unknown()+ .describe(+ 'The query node to render. `kind` must be `InsightVizNode` (an ad-hoc product analytics chart), `DataVisualizationNode` (a SQL series — a `HogQLQuery` source plus a `display`), or `SavedInsightNode` (an existing insight by `shortId`). Pin the window to absolute dates where the node supports it, so the reader sees the data you wrote about rather than whatever a relative range resolves to when they open the report.'+ ),+ caption: zod+ .string()+ .max(signalsReportsCreateBodyChartsItemCaptionMax)+ .nullish()+ .describe('Optional one-line note on what to look at in the chart.'),+ size: zod+ .union([+ zod+ .enum(['small', 'medium', 'large'])+ .describe('\* `small` - small\n\* `medium` - medium\n\* `large` - large'),+ zod.null(),+ ])+ .optional()+ .describe(+ 'How much height the chart gets: `small` for a single number or a short series, `medium` for an ordinary graph, `large` when there are rows or a grid to read (retention, paths, a wide breakdown). Leave it out unless the default looks wrong — the inbox sizes a chart from its query, and two charts referenced from the same paragraph sit side by side.\n\n\* `small` - small\n\* `medium` - medium\n\* `large` - large'+ ),+ })+ .describe(+ 'One chart attached to a report — rendered in the inbox and referenceable from the summary.'+ )+ )+ .max(signalsReportsCreateBodyChartsMax)+ .optional()+ .describe(+ 'Optional charts to attach to the report — the inbox renders them inline, so a metric move is something the reader sees rather than a number they take on trust. Attach one whenever the finding rests on a trend, a spike, or a comparison you already queried.'+ ),+ suggested_prompts: zod+ .array(zod.string().max(signalsReportsCreateBodySuggestedPromptsItemMax))+ .max(signalsReportsCreateBodySuggestedPromptsMax)+ .optional()+ .describe(+ "Optional follow-up prompts to offer above the report's `Ask AI` box: questions to ask, or next-step actions to request (e.g. carrying out the report's recommendation). The reader clicks one to fill the box with it, then sends or edits it. Write the prompts your own research left open, phrased as the reader would send them."+ ),+ links: zod+ .array(+ zod+ .object({+ kind: zod+ .enum(['depends_on', 'part_of', 'follow_up_of', 'duplicate_of', 'recurrence_of'])+ .describe(+ '\* `depends_on` - Depends on\n\* `part_of` - Part of\n\* `follow_up_of` - Follow-up of\n\* `duplicate_of` - Duplicate of\n\* `recurrence_of` - Recurrence of'+ )+ .describe(+ "How this report relates to `report_id`. `depends_on` for work that cannot land until the other report's fix does, `part_of` for one piece of a larger report, `follow_up_of` for work the other report left behind, `duplicate_of` for the same problem filed twice, and `recurrence_of` for a problem a resolved report already covered.\n\n\* `depends_on` - Depends on\n\* `part_of` - Part of\n\* `follow_up_of` - Follow-up of\n\* `duplicate_of` - Duplicate of\n\* `recurrence_of` - Recurrence of"+ ),+ report_id: zod+ .string()+ .describe('Id of the report to link to. Must be another report in this project.'),+ reason: zod+ .string()+ .max(signalsReportsCreateBodyLinksItemReasonMax)+ .optional()+ .describe('Optional one-line note on why the reports are linked this way.'),+ })+ .describe('One typed, directed link to write on the report being emitted or edited.')+ )+ .max(signalsReportsCreateBodyLinksMax)+ .optional()+ .describe(+ 'Typed, directed links from the new report to reports that already exist. Send them here, not in a later `edit-report` call, because autostart reads them when the report is created: a `duplicate_of` link to a report that already has a pull request, or a `depends_on` link to a report with no pull request yet, stops a second draft PR. Only the new report gets a row, so link from the side the sentence starts at. Links of the same kind must stay acyclic and every report must be in this project.'+ ),+ tags: zod+ .array(zod.string())+ .max(signalsReportsCreateBodyTagsMax)+ .optional()+ .describe(+ 'Optional slug tags that group the report with related ones, at most 10. Write lowercase kebab-case slugs that name the category of the report (`cost-spike`, `tracking-gap`), not the specific entity. Reuse a slug the project already uses before you coin a new one. Near-miss formats are normalized to slugs, and a tag that is empty or longer than 50 characters after normalization is rejected.'+ ),+ idempotency_key: zod+ .string()+ .max(signalsReportsCreateBodyIdempotencyKeyMax)+ .nullish()+ .describe(+ "Optional name for this emission, unique within a scout's run or within a person's own reports. Reuse it verbatim to retry a call whose outcome you don't know (a timeout, a dropped connection): the retry returns the report the first call authored, with `idempotent_replay` true, instead of a second report. Omit it and the report's own content is the key, which covers a retry of the identical call — pass one when a retry might reword the report."+ ),+ })+ .describe(+ 'Request body for the scout `emit-report` action and the inbox report `create` action. A scout run is\ntaken from the URL path; a person is the authenticated caller.'+ )+export const SignalsReportsRetrieveParams = () => zod.object({id: zod.string().describe('A UUID string identifying this signal report.'),project_id: zod@@ -3797,13 +4044,13 @@ export const SignalsScoutEmitReportBody = () => zod.boolean().default(signalsScoutEmitReportBodyAlreadyAddressedDefault).describe(- 'Whether the issue is already being handled — fixed in recent changes, or with a fix in flight (an open PR, a recently active branch, an assigned \/ in-progress issue or agent task). Gates autostart, so a wrong `false` opens a duplicate PR. Tracked separately.'+ 'Whether the issue is already being handled — fixed in recent changes, or with a fix in flight (an open PR, a recently active branch, an assigned \/ in-progress issue or agent task). Gates autostart of a scout report, so a wrong `false` opens a duplicate PR. Tracked separately.'),repository: zod.string().nullish().describe(- "Optional repo for opening a draft PR, by autostart or by a person from the inbox. Pass `owner\/repo` whenever you can say where a fix would land. Omit the field when you can't, which triggers free-form selection across the team's repos (the slow path on a many-repo team). Keep the `NO_REPO` sentinel for the rare report where nothing under version control could change, since a skill body, a config file, or a doc still lives in a repo."+ "Optional repo for opening a draft PR, by autostart of a scout report or by a person from the inbox. Pass `owner\/repo` whenever you can say where a fix would land. Omit the field when you can't, which triggers free-form selection across the team's repos (the slow path on a many-repo team). Keep the `NO_REPO` sentinel for the rare report where nothing under version control could change, since a skill body, a config file, or a doc still lives in a repo."),priority: zod.union([@@ -3852,7 +4099,7 @@ export const SignalsScoutEmitReportBody = () => zod.max(signalsScoutEmitReportBodySuggestedReviewersMax).optional().describe(- "Optional reviewers to route the report to (each a `github_login` and\/or `user_uuid`). This is the primary way a report reaches a human — the inbox floats a reviewer's own reports to the top of their inbox even when no PR is involved — so set it whenever you can name a plausible owner. It also gates autostart: a PR opens only if at least one reviewer clears their autonomy threshold."+ "Optional reviewers to route the report to (each a `github_login` and\/or `user_uuid`). This is the primary way a report reaches a human — the inbox floats a reviewer's own reports to the top of their inbox even when no PR is involved — so set it whenever you can name a plausible owner. On a scout report it also gates autostart: a PR opens only if at least one reviewer clears their autonomy threshold. A report a person files never autostarts."),charts: zod.array(@@ -4050,10 +4297,12 @@ export const SignalsScoutEmitReportBody = () => zod.max(signalsScoutEmitReportBodyIdempotencyKeyMax).nullish().describe(- "Optional name for this emission, unique within the run. Reuse it verbatim to retry a call whose outcome you don't know (a timeout, a dropped connection): the retry returns the report the first call authored, with `idempotent_replay` true, instead of a second report. Omit it and the report's own content is the key, which covers a retry of the identical call — pass one when a retry might reword the report."+ "Optional name for this emission, unique within a scout's run or within a person's own reports. Reuse it verbatim to retry a call whose outcome you don't know (a timeout, a dropped connection): the retry returns the report the first call authored, with `idempotent_replay` true, instead of a second report. Omit it and the report's own content is the key, which covers a retry of the identical call — pass one when a retry might reword the report."),})- .describe('Request body for `emit-report`. Run attribution is taken from the URL path.')+ .describe(+ 'Request body for the scout `emit-report` action and the inbox report `create` action. A scout run is\ntaken from the URL path; a person is the authenticated caller.'+ )/*** Fire `emit_signal` with `source_product = signals_scout`. The `finding_id` is baked into the deterministic `Signal.source_id = run:<id>:finding:<id>` for traceability, but this is NOT idempotent — a second call with the same `finding_id` emits a second signal, so do not retry an emit that may have already succeeded.@@ -4771,6 +5020,7 @@ export const SignalsSourceConfigsCreateBody = () => zod.object({'pganalyze','signals_scout','signals_check',+ 'user_authored','logs','health_checks','endpoints',@@ -4874,7 +5124,7 @@ export const SignalsSourceConfigsCreateBody = () => zod.object({'cursor',]).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\* `signals_check` - Report check\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor'+ '\* `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\* `signals_check` - Report check\n\* `user_authored` - Team member\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor'),source_type: zod.enum([@@ -4956,6 +5206,7 @@ export const SignalsSourceConfigsUpdateBody = () => zod.object({'pganalyze','signals_scout','signals_check',+ 'user_authored','logs','health_checks','endpoints',@@ -5059,7 +5310,7 @@ export const SignalsSourceConfigsUpdateBody = () => zod.object({'cursor',]).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\* `signals_check` - Report check\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor'+ '\* `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\* `signals_check` - Report check\n\* `user_authored` - Team member\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor'),source_type: zod.enum([@@ -5132,6 +5383,7 @@ export const SignalsSourceConfigsPartialUpdateBody = () => zod.object({'pganalyze','signals_scout','signals_check',+ 'user_authored','logs','health_checks','endpoints',@@ -5236,7 +5488,7 @@ export const SignalsSourceConfigsPartialUpdateBody = () => zod.object({]).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\* `signals_check` - Report check\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor'+ '\* `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\* `signals_check` - Report check\n\* `user_authored` - Team member\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\* `datadog` - Datadog\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\n\* `intercom` - Intercom\n\* `hubspot` - HubSpot\n\* `engineering_analytics` - Engineering analytics\n\* `google_search_console` - Google Search Console\n\* `pagerduty` - PagerDuty\n\* `opsgenie` - Opsgenie\n\* `incident_io` - incident.io\n\* `firehydrant` - FireHydrant\n\* `squadcast` - Squadcast\n\* `servicenow` - ServiceNow\n\* `solarwinds_service_desk` - SolarWinds Service Desk\n\* `grafana_irm` - Grafana IRM\n\* `xmatters` - xMatters\n\* `betterstack` - Better Stack\n\* `newrelic` - New Relic\n\* `trigger_dev` - Trigger.dev\n\* `checkly` - Checkly\n\* `roark` - Roark\n\* `monte_carlo` - Monte Carlo\n\* `bigeye` - Bigeye\n\* `aws_security_hub` - AWS Security Hub\n\* `aws_guardduty` - AWS GuardDuty\n\* `aws_inspector` - AWS Inspector\n\* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n\* `clickup` - ClickUp\n\* `wrike` - Wrike\n\* `trello` - Trello\n\* `bugherd` - BugHerd\n\* `dynamics365` - Dynamics 365\n\* `zoho_crm` - Zoho CRM\n\* `planhat` - Planhat\n\* `trustpilot` - Trustpilot\n\* `okendo` - Okendo\n\* `sleekplan` - Sleekplan\n\* `bettermode` - Bettermode\n\* `discourse` - Discourse\n\* `mintlify` - Mintlify\n\* `langsmith` - LangSmith\n\* `sprig` - Sprig\n\* `gainsight_px` - Gainsight PX\n\* `dynatrace` - Dynatrace\n\* `statuspage` - Statuspage\n\* `cronitor` - Cronitor\n\* `instatus` - Instatus\n\* `asana` - Asana\n\* `monday` - monday.com\n\* `plane` - Plane\n\* `azure_devops` - Azure DevOps\n\* `helpscout` - Help Scout\n\* `decagon` - Decagon\n\* `vitally` - Vitally\n\* `usersnap` - Usersnap\n\* `typeform` - Typeform\n\* `qualtrics` - Qualtrics\n\* `surveymonkey` - SurveyMonkey\n\* `formbricks` - Formbricks\n\* `survicate` - Survicate\n\* `surveysparrow` - SurveySparrow\n\* `lacework` - Lacework\n\* `orca_security` - Orca Security\n\* `tenable_vulnerability_management` - Tenable Vulnerability Management\n\* `google_play_console` - Google Play Console\n\* `azure_application_insights` - Azure Application Insights\n\* `appsignal` - AppSignal\n\* `cursor` - Cursor'),source_type: zod.enum([diff --git a/services/mcp/src/tools/generated/signals.ts b/services/mcp/src/tools/generated/signals.tsindex aa52c1df1be9..b3ae6f95d141 100644--- a/services/mcp/src/tools/generated/signals.ts+++ b/services/mcp/src/tools/generated/signals.ts@@ -630,6 +630,74 @@ const inboxReportsClaim = (): ToolBase<},})+const InboxReportsCreateSchema = () => {+ const SignalsReportsCreateBody = orvalSchemas.SignalsReportsCreateBody()+ return SignalsReportsCreateBody.meta({ 'x-required-when-set': { priority: ['priority_explanation'] } })+}++const inboxReportsCreate = (): ToolBase<+ ReturnType<typeof InboxReportsCreateSchema>,+ WithPostHogUrl<Schemas.EmitReportResponse>+> => ({+ name: 'inbox-reports-create',+ schema: InboxReportsCreateSchema(),+ handler: async (context: Context, params: z.infer<ReturnType<typeof InboxReportsCreateSchema>>) => {+ const projectId = await context.stateManager.getProjectId()+ const body: Record<string, unknown> = {}+ if (params.title !== undefined) {+ body['title'] = params.title+ }+ if (params.summary !== undefined) {+ body['summary'] = params.summary+ }+ if (params.evidence !== undefined) {+ body['evidence'] = params.evidence+ }+ if (params.actionability_explanation !== undefined) {+ body['actionability_explanation'] = params.actionability_explanation+ }+ if (params.actionability !== undefined) {+ body['actionability'] = params.actionability+ }+ if (params.already_addressed !== undefined) {+ body['already_addressed'] = params.already_addressed+ }+ if (params.repository !== undefined) {+ body['repository'] = params.repository+ }+ if (params.priority !== undefined) {+ body['priority'] = params.priority+ }+ if (params.priority_explanation !== undefined) {+ body['priority_explanation'] = params.priority_explanation+ }+ if (params.suggested_reviewers !== undefined) {+ body['suggested_reviewers'] = params.suggested_reviewers+ }+ if (params.charts !== undefined) {+ body['charts'] = params.charts+ }+ if (params.suggested_prompts !== undefined) {+ body['suggested_prompts'] = params.suggested_prompts+ }+ if (params.links !== undefined) {+ body['links'] = params.links+ }+ if (params.tags !== undefined) {+ body['tags'] = params.tags+ }+ if (params.idempotency_key !== undefined) {+ body['idempotency_key'] = params.idempotency_key+ }+ const result = await context.api.request<Schemas.EmitReportResponse>({+ method: 'POST',+ path: `/api/projects/${encodeURIComponent(String(projectId))}/signals/reports/`,+ body,+ })+ return await withPostHogUrl(context, result, `/inbox/${result.report_id}`)+ },+})+const InboxReportsFeedbackCreateSchema = () => {const SignalsReportsFeedbackCreateBody = orvalSchemas.SignalsReportsFeedbackCreateBody()const SignalsReportsFeedbackCreateParams = orvalSchemas.SignalsReportsFeedbackCreateParams()@@ -3688,6 +3756,7 @@ export const GENERATED_TOOLS: Record<string, () => ToolBase<ZodObjectAny>> = {'inbox-report-reviewers-update': inboxReportReviewersUpdate,'inbox-reports-bulk-set-state': inboxReportsBulkSetState,'inbox-reports-claim': inboxReportsClaim,+ 'inbox-reports-create': inboxReportsCreate,'inbox-reports-feedback-create': inboxReportsFeedbackCreate,'inbox-reports-for-me': inboxReportsForMe,'inbox-reports-leave-reviewers': inboxReportsLeaveReviewers,diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/inbox-reports-create.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/inbox-reports-create.jsonnew file mode 100644index 000000000000..24cb5da4da73--- /dev/null+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/inbox-reports-create.json@@ -0,0 +1,227 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "description": "Request body for the scout `emit-report` action and the inbox report `create` action. A scout run is\ntaken from the URL path; a person is the authenticated caller.",+ "properties": {+ "actionability": {+ "description": "The scout's actionability call: `immediately_actionable` -> the report surfaces READY; `requires_human_input` -> PENDING_INPUT; `not_actionable` -> suppressed. A safety-judge failure suppresses the report regardless. A root cause you have not found is not human input: a report that names the evidence, the code surface, or a reproducible failure path is `immediately_actionable`, because investigating it is the action. Reserve `requires_human_input` for a report blocked on a decision only a person can make.\n\n* `immediately_actionable` - immediately_actionable\n* `requires_human_input` - requires_human_input\n* `not_actionable` - not_actionable",+ "enum": ["immediately_actionable", "requires_human_input", "not_actionable"],+ "type": "string"+ },+ "actionability_explanation": {+ "description": "2-3 sentence evidence-grounded justification for the actionability call below.",+ "type": "string"+ },+ "already_addressed": {+ "default": false,+ "description": "Whether the issue is already being handled — fixed in recent changes, or with a fix in flight (an open PR, a recently active branch, an assigned / in-progress issue or agent task). Gates autostart of a scout report, so a wrong `false` opens a duplicate PR. Tracked separately.",+ "type": "boolean"+ },+ "charts": {+ "description": "Optional charts to attach to the report — the inbox renders them inline, so a metric move is something the reader sees rather than a number they take on trust. Attach one whenever the finding rests on a trend, a spike, or a comparison you already queried.",+ "items": {+ "description": "One chart attached to a report — rendered in the inbox and referenceable from the summary.",+ "properties": {+ "caption": {+ "anyOf": [+ {+ "maxLength": 500,+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Optional one-line note on what to look at in the chart."+ },+ "chart_id": {+ "description": "Stable slug for this chart within the report (lowercase letters, numbers, underscores, hyphens; must start with a letter or number). Reference it from `summary` as a markdown link with a `chart:` target — `[Daily signups](chart:signups-drop)` — to place the chart at that point in the body. A chart you don't reference still renders, below the summary.",+ "maxLength": 100,+ "type": "string"+ },+ "query": {+ "description": "The query node to render. `kind` must be `InsightVizNode` (an ad-hoc product analytics chart), `DataVisualizationNode` (a SQL series — a `HogQLQuery` source plus a `display`), or `SavedInsightNode` (an existing insight by `shortId`). Pin the window to absolute dates where the node supports it, so the reader sees the data you wrote about rather than whatever a relative range resolves to when they open the report."+ },+ "size": {+ "anyOf": [+ {+ "description": "* `small` - small\n* `medium` - medium\n* `large` - large",+ "enum": ["small", "medium", "large"],+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "How much height the chart gets: `small` for a single number or a short series, `medium` for an ordinary graph, `large` when there are rows or a grid to read (retention, paths, a wide breakdown). Leave it out unless the default looks wrong — the inbox sizes a chart from its query, and two charts referenced from the same paragraph sit side by side.\n\n* `small` - small\n* `medium` - medium\n* `large` - large"+ },+ "title": {+ "description": "Short heading shown above the chart.",+ "maxLength": 200,+ "type": "string"+ }+ },+ "required": ["chart_id", "title", "query"],+ "type": "object"+ },+ "maxItems": 20,+ "type": "array"+ },+ "evidence": {+ "description": "The observations backing the report — each becomes a bound signal. At least one.",+ "items": {+ "description": "One observation backing an authored report — becomes a bound signal row on the report.",+ "properties": {+ "description": {+ "description": "Prose for this observation. Embedded and rendered to the safety/research surfaces.",+ "maxLength": 4000,+ "type": "string"+ },+ "source_id": {+ "description": "Stable id for this observation within the report (lets a later edit address it).",+ "type": "string"+ }+ },+ "required": ["description", "source_id"],+ "type": "object"+ },+ "minItems": 1,+ "type": "array"+ },+ "idempotency_key": {+ "anyOf": [+ {+ "maxLength": 200,+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Optional name for this emission, unique within a scout's run or within a person's own reports. Reuse it verbatim to retry a call whose outcome you don't know (a timeout, a dropped connection): the retry returns the report the first call authored, with `idempotent_replay` true, instead of a second report. Omit it and the report's own content is the key, which covers a retry of the identical call — pass one when a retry might reword the report."+ },+ "links": {+ "description": "Typed, directed links from the new report to reports that already exist. Send them here, not in a later `edit-report` call, because autostart reads them when the report is created: a `duplicate_of` link to a report that already has a pull request, or a `depends_on` link to a report with no pull request yet, stops a second draft PR. Only the new report gets a row, so link from the side the sentence starts at. Links of the same kind must stay acyclic and every report must be in this project.",+ "items": {+ "description": "One typed, directed link to write on the report being emitted or edited.",+ "properties": {+ "kind": {+ "description": "How this report relates to `report_id`. `depends_on` for work that cannot land until the other report's fix does, `part_of` for one piece of a larger report, `follow_up_of` for work the other report left behind, `duplicate_of` for the same problem filed twice, and `recurrence_of` for a problem a resolved report already covered.\n\n* `depends_on` - Depends on\n* `part_of` - Part of\n* `follow_up_of` - Follow-up of\n* `duplicate_of` - Duplicate of\n* `recurrence_of` - Recurrence of",+ "enum": ["depends_on", "part_of", "follow_up_of", "duplicate_of", "recurrence_of"],+ "type": "string"+ },+ "reason": {+ "description": "Optional one-line note on why the reports are linked this way.",+ "maxLength": 500,+ "type": "string"+ },+ "report_id": {+ "description": "Id of the report to link to. Must be another report in this project.",+ "type": "string"+ }+ },+ "required": ["kind", "report_id"],+ "type": "object"+ },+ "maxItems": 10,+ "type": "array"+ },+ "priority": {+ "anyOf": [+ {+ "description": "* `P0` - P0\n* `P1` - P1\n* `P2` - P2\n* `P3` - P3\n* `P4` - P4",+ "enum": ["P0", "P1", "P2", "P3", "P4"],+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Optional priority (`P0`-`P4`). Required for autostart; pair with `priority_explanation`.\n\n* `P0` - P0\n* `P1` - P1\n* `P2` - P2\n* `P3` - P3\n* `P4` - P4"+ },+ "priority_explanation": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "2-3 sentence justification for `priority`. Required when `priority` is set."+ },+ "repository": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Optional repo for opening a draft PR, by autostart of a scout report or by a person from the inbox. Pass `owner/repo` whenever you can say where a fix would land. Omit the field when you can't, which triggers free-form selection across the team's repos (the slow path on a many-repo team). Keep the `NO_REPO` sentinel for the rare report where nothing under version control could change, since a skill body, a config file, or a doc still lives in a repo."+ },+ "suggested_prompts": {+ "description": "Optional follow-up prompts to offer above the report's `Ask AI` box: questions to ask, or next-step actions to request (e.g. carrying out the report's recommendation). The reader clicks one to fill the box with it, then sends or edits it. Write the prompts your own research left open, phrased as the reader would send them.",+ "items": {+ "maxLength": 200,+ "type": "string"+ },+ "maxItems": 3,+ "type": "array"+ },+ "suggested_reviewers": {+ "description": "Optional reviewers to route the report to (each a `github_login` and/or `user_uuid`). This is the primary way a report reaches a human — the inbox floats a reviewer's own reports to the top of their inbox even when no PR is involved — so set it whenever you can name a plausible owner. On a scout report it also gates autostart: a PR opens only if at least one reviewer clears their autonomy threshold. A report a person files never autostarts.",+ "items": {+ "description": "One suggested reviewer — identified by `github_login`, `user_uuid`, or both.\n\nA reviewer is a PostHog user, so a `user_uuid` only has to name an org member of this team: a\nmember with no linked GitHub account routes the report like anyone else. A `user_uuid` that\nisn't an org member of this team is rejected — so a reviewer is never silently dropped.",+ "properties": {+ "github_login": {+ "description": "GitHub login (case-insensitive, stored lowercased) — e.g. `octocat`, no `@`, no display name. Resolve one via `scout-members-list` (each member row carries a resolved `github_login`) or git history when you only have a name.",+ "maxLength": 200,+ "type": "string"+ },+ "reason": {+ "anyOf": [+ {+ "maxLength": 500,+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "One sentence of evidence for WHY this person: what ties them to the affected surface (e.g. 'authored 4 of the last 10 commits touching products/tracing/mcp/', 'human correction routed the prior tracing report to them'). Persisted on the report so the routing is auditable — always set it when you can name the evidence; 'precedent' alone is weak, prefer code-derived ownership."+ },+ "user_uuid": {+ "description": "PostHog user UUID (e.g. from `scout-members-list`, or an entity's `created_by`). Use this when you know the PostHog user, whether or not they have a GitHub handle — every member is routable this way. Must be a concrete UUID; the `@me` alias is not valid here.",+ "type": "string"+ }+ },+ "type": "object"+ },+ "maxItems": 10,+ "type": "array"+ },+ "summary": {+ "description": "The report body the inbox shows. Markdown is supported (headings, lists, code, links; images are not rendered). Lead with one plain declarative sentence — the inbox card uses your first line verbatim as the headline (~140 chars, emphasis stripped), then renders the full markdown in the detail view. A heading, or a bold label on a line of its own with a blank line above it, marks a section that a threaded Slack delivery splits into its own reply.",+ "type": "string"+ },+ "tags": {+ "description": "Optional slug tags that group the report with related ones, at most 10. Write lowercase kebab-case slugs that name the category of the report (`cost-spike`, `tracking-gap`), not the specific entity. Reuse a slug the project already uses before you coin a new one. Near-miss formats are normalized to slugs, and a tag that is empty or longer than 50 characters after normalization is rejected.",+ "items": {+ "type": "string"+ },+ "maxItems": 10,+ "type": "array"+ },+ "title": {+ "description": "One-line report title the inbox shows. Conventional-commit style (`type(scope): description`, e.g. `fix(insights): missing series color`) renders with type/scope styling.",+ "maxLength": 300,+ "type": "string"+ }+ },+ "required": ["title", "summary", "evidence", "actionability_explanation", "actionability"],+ "type": "object",+ "x-required-when-set": {+ "priority": ["priority_explanation"]+ }+}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 30b3d7c3cf66..49fb3c0885dd 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@@ -28,7 +28,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* `signals_check` - Report check\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* `datadog` - Datadog\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\n* `intercom` - Intercom\n* `hubspot` - HubSpot\n* `engineering_analytics` - Engineering analytics\n* `google_search_console` - Google Search Console\n* `pagerduty` - PagerDuty\n* `opsgenie` - Opsgenie\n* `incident_io` - incident.io\n* `firehydrant` - FireHydrant\n* `squadcast` - Squadcast\n* `servicenow` - ServiceNow\n* `solarwinds_service_desk` - SolarWinds Service Desk\n* `grafana_irm` - Grafana IRM\n* `xmatters` - xMatters\n* `betterstack` - Better Stack\n* `newrelic` - New Relic\n* `trigger_dev` - Trigger.dev\n* `checkly` - Checkly\n* `roark` - Roark\n* `monte_carlo` - Monte Carlo\n* `bigeye` - Bigeye\n* `aws_security_hub` - AWS Security Hub\n* `aws_guardduty` - AWS GuardDuty\n* `aws_inspector` - AWS Inspector\n* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n* `clickup` - ClickUp\n* `wrike` - Wrike\n* `trello` - Trello\n* `bugherd` - BugHerd\n* `dynamics365` - Dynamics 365\n* `zoho_crm` - Zoho CRM\n* `planhat` - Planhat\n* `trustpilot` - Trustpilot\n* `okendo` - Okendo\n* `sleekplan` - Sleekplan\n* `bettermode` - Bettermode\n* `discourse` - Discourse\n* `mintlify` - Mintlify\n* `langsmith` - LangSmith\n* `sprig` - Sprig\n* `gainsight_px` - Gainsight PX\n* `dynatrace` - Dynatrace\n* `statuspage` - Statuspage\n* `cronitor` - Cronitor\n* `instatus` - Instatus\n* `asana` - Asana\n* `monday` - monday.com\n* `plane` - Plane\n* `azure_devops` - Azure DevOps\n* `helpscout` - Help Scout\n* `decagon` - Decagon\n* `vitally` - Vitally\n* `usersnap` - Usersnap\n* `typeform` - Typeform\n* `qualtrics` - Qualtrics\n* `surveymonkey` - SurveyMonkey\n* `formbricks` - Formbricks\n* `survicate` - Survicate\n* `surveysparrow` - SurveySparrow\n* `lacework` - Lacework\n* `orca_security` - Orca Security\n* `tenable_vulnerability_management` - Tenable Vulnerability Management\n* `google_play_console` - Google Play Console\n* `azure_application_insights` - Azure Application Insights\n* `appsignal` - AppSignal\n* `cursor` - Cursor",+ "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* `signals_check` - Report check\n* `user_authored` - Team member\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* `datadog` - Datadog\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\n* `intercom` - Intercom\n* `hubspot` - HubSpot\n* `engineering_analytics` - Engineering analytics\n* `google_search_console` - Google Search Console\n* `pagerduty` - PagerDuty\n* `opsgenie` - Opsgenie\n* `incident_io` - incident.io\n* `firehydrant` - FireHydrant\n* `squadcast` - Squadcast\n* `servicenow` - ServiceNow\n* `solarwinds_service_desk` - SolarWinds Service Desk\n* `grafana_irm` - Grafana IRM\n* `xmatters` - xMatters\n* `betterstack` - Better Stack\n* `newrelic` - New Relic\n* `trigger_dev` - Trigger.dev\n* `checkly` - Checkly\n* `roark` - Roark\n* `monte_carlo` - Monte Carlo\n* `bigeye` - Bigeye\n* `aws_security_hub` - AWS Security Hub\n* `aws_guardduty` - AWS GuardDuty\n* `aws_inspector` - AWS Inspector\n* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n* `clickup` - ClickUp\n* `wrike` - Wrike\n* `trello` - Trello\n* `bugherd` - BugHerd\n* `dynamics365` - Dynamics 365\n* `zoho_crm` - Zoho CRM\n* `planhat` - Planhat\n* `trustpilot` - Trustpilot\n* `okendo` - Okendo\n* `sleekplan` - Sleekplan\n* `bettermode` - Bettermode\n* `discourse` - Discourse\n* `mintlify` - Mintlify\n* `langsmith` - LangSmith\n* `sprig` - Sprig\n* `gainsight_px` - Gainsight PX\n* `dynatrace` - Dynatrace\n* `statuspage` - Statuspage\n* `cronitor` - Cronitor\n* `instatus` - Instatus\n* `asana` - Asana\n* `monday` - monday.com\n* `plane` - Plane\n* `azure_devops` - Azure DevOps\n* `helpscout` - Help Scout\n* `decagon` - Decagon\n* `vitally` - Vitally\n* `usersnap` - Usersnap\n* `typeform` - Typeform\n* `qualtrics` - Qualtrics\n* `surveymonkey` - SurveyMonkey\n* `formbricks` - Formbricks\n* `survicate` - Survicate\n* `surveysparrow` - SurveySparrow\n* `lacework` - Lacework\n* `orca_security` - Orca Security\n* `tenable_vulnerability_management` - Tenable Vulnerability Management\n* `google_play_console` - Google Play Console\n* `azure_application_insights` - Azure Application Insights\n* `appsignal` - AppSignal\n* `cursor` - Cursor","enum": ["session_replay","llm_analytics",@@ -41,6 +41,7 @@"pganalyze","signals_scout","signals_check",+ "user_authored","logs","health_checks","endpoints",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 92479d461968..56b9754b68e2 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@@ -32,7 +32,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* `signals_check` - Report check\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* `datadog` - Datadog\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\n* `intercom` - Intercom\n* `hubspot` - HubSpot\n* `engineering_analytics` - Engineering analytics\n* `google_search_console` - Google Search Console\n* `pagerduty` - PagerDuty\n* `opsgenie` - Opsgenie\n* `incident_io` - incident.io\n* `firehydrant` - FireHydrant\n* `squadcast` - Squadcast\n* `servicenow` - ServiceNow\n* `solarwinds_service_desk` - SolarWinds Service Desk\n* `grafana_irm` - Grafana IRM\n* `xmatters` - xMatters\n* `betterstack` - Better Stack\n* `newrelic` - New Relic\n* `trigger_dev` - Trigger.dev\n* `checkly` - Checkly\n* `roark` - Roark\n* `monte_carlo` - Monte Carlo\n* `bigeye` - Bigeye\n* `aws_security_hub` - AWS Security Hub\n* `aws_guardduty` - AWS GuardDuty\n* `aws_inspector` - AWS Inspector\n* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n* `clickup` - ClickUp\n* `wrike` - Wrike\n* `trello` - Trello\n* `bugherd` - BugHerd\n* `dynamics365` - Dynamics 365\n* `zoho_crm` - Zoho CRM\n* `planhat` - Planhat\n* `trustpilot` - Trustpilot\n* `okendo` - Okendo\n* `sleekplan` - Sleekplan\n* `bettermode` - Bettermode\n* `discourse` - Discourse\n* `mintlify` - Mintlify\n* `langsmith` - LangSmith\n* `sprig` - Sprig\n* `gainsight_px` - Gainsight PX\n* `dynatrace` - Dynatrace\n* `statuspage` - Statuspage\n* `cronitor` - Cronitor\n* `instatus` - Instatus\n* `asana` - Asana\n* `monday` - monday.com\n* `plane` - Plane\n* `azure_devops` - Azure DevOps\n* `helpscout` - Help Scout\n* `decagon` - Decagon\n* `vitally` - Vitally\n* `usersnap` - Usersnap\n* `typeform` - Typeform\n* `qualtrics` - Qualtrics\n* `surveymonkey` - SurveyMonkey\n* `formbricks` - Formbricks\n* `survicate` - Survicate\n* `surveysparrow` - SurveySparrow\n* `lacework` - Lacework\n* `orca_security` - Orca Security\n* `tenable_vulnerability_management` - Tenable Vulnerability Management\n* `google_play_console` - Google Play Console\n* `azure_application_insights` - Azure Application Insights\n* `appsignal` - AppSignal\n* `cursor` - Cursor",+ "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* `signals_check` - Report check\n* `user_authored` - Team member\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* `datadog` - Datadog\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\n* `intercom` - Intercom\n* `hubspot` - HubSpot\n* `engineering_analytics` - Engineering analytics\n* `google_search_console` - Google Search Console\n* `pagerduty` - PagerDuty\n* `opsgenie` - Opsgenie\n* `incident_io` - incident.io\n* `firehydrant` - FireHydrant\n* `squadcast` - Squadcast\n* `servicenow` - ServiceNow\n* `solarwinds_service_desk` - SolarWinds Service Desk\n* `grafana_irm` - Grafana IRM\n* `xmatters` - xMatters\n* `betterstack` - Better Stack\n* `newrelic` - New Relic\n* `trigger_dev` - Trigger.dev\n* `checkly` - Checkly\n* `roark` - Roark\n* `monte_carlo` - Monte Carlo\n* `bigeye` - Bigeye\n* `aws_security_hub` - AWS Security Hub\n* `aws_guardduty` - AWS GuardDuty\n* `aws_inspector` - AWS Inspector\n* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n* `clickup` - ClickUp\n* `wrike` - Wrike\n* `trello` - Trello\n* `bugherd` - BugHerd\n* `dynamics365` - Dynamics 365\n* `zoho_crm` - Zoho CRM\n* `planhat` - Planhat\n* `trustpilot` - Trustpilot\n* `okendo` - Okendo\n* `sleekplan` - Sleekplan\n* `bettermode` - Bettermode\n* `discourse` - Discourse\n* `mintlify` - Mintlify\n* `langsmith` - LangSmith\n* `sprig` - Sprig\n* `gainsight_px` - Gainsight PX\n* `dynatrace` - Dynatrace\n* `statuspage` - Statuspage\n* `cronitor` - Cronitor\n* `instatus` - Instatus\n* `asana` - Asana\n* `monday` - monday.com\n* `plane` - Plane\n* `azure_devops` - Azure DevOps\n* `helpscout` - Help Scout\n* `decagon` - Decagon\n* `vitally` - Vitally\n* `usersnap` - Usersnap\n* `typeform` - Typeform\n* `qualtrics` - Qualtrics\n* `surveymonkey` - SurveyMonkey\n* `formbricks` - Formbricks\n* `survicate` - Survicate\n* `surveysparrow` - SurveySparrow\n* `lacework` - Lacework\n* `orca_security` - Orca Security\n* `tenable_vulnerability_management` - Tenable Vulnerability Management\n* `google_play_console` - Google Play Console\n* `azure_application_insights` - Azure Application Insights\n* `appsignal` - AppSignal\n* `cursor` - Cursor","enum": ["session_replay","llm_analytics",@@ -45,6 +45,7 @@"pganalyze","signals_scout","signals_check",+ "user_authored","logs","health_checks","endpoints",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 22407b9844fa..e353b08452ee 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@@ -32,7 +32,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* `signals_check` - Report check\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* `datadog` - Datadog\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\n* `intercom` - Intercom\n* `hubspot` - HubSpot\n* `engineering_analytics` - Engineering analytics\n* `google_search_console` - Google Search Console\n* `pagerduty` - PagerDuty\n* `opsgenie` - Opsgenie\n* `incident_io` - incident.io\n* `firehydrant` - FireHydrant\n* `squadcast` - Squadcast\n* `servicenow` - ServiceNow\n* `solarwinds_service_desk` - SolarWinds Service Desk\n* `grafana_irm` - Grafana IRM\n* `xmatters` - xMatters\n* `betterstack` - Better Stack\n* `newrelic` - New Relic\n* `trigger_dev` - Trigger.dev\n* `checkly` - Checkly\n* `roark` - Roark\n* `monte_carlo` - Monte Carlo\n* `bigeye` - Bigeye\n* `aws_security_hub` - AWS Security Hub\n* `aws_guardduty` - AWS GuardDuty\n* `aws_inspector` - AWS Inspector\n* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n* `clickup` - ClickUp\n* `wrike` - Wrike\n* `trello` - Trello\n* `bugherd` - BugHerd\n* `dynamics365` - Dynamics 365\n* `zoho_crm` - Zoho CRM\n* `planhat` - Planhat\n* `trustpilot` - Trustpilot\n* `okendo` - Okendo\n* `sleekplan` - Sleekplan\n* `bettermode` - Bettermode\n* `discourse` - Discourse\n* `mintlify` - Mintlify\n* `langsmith` - LangSmith\n* `sprig` - Sprig\n* `gainsight_px` - Gainsight PX\n* `dynatrace` - Dynatrace\n* `statuspage` - Statuspage\n* `cronitor` - Cronitor\n* `instatus` - Instatus\n* `asana` - Asana\n* `monday` - monday.com\n* `plane` - Plane\n* `azure_devops` - Azure DevOps\n* `helpscout` - Help Scout\n* `decagon` - Decagon\n* `vitally` - Vitally\n* `usersnap` - Usersnap\n* `typeform` - Typeform\n* `qualtrics` - Qualtrics\n* `surveymonkey` - SurveyMonkey\n* `formbricks` - Formbricks\n* `survicate` - Survicate\n* `surveysparrow` - SurveySparrow\n* `lacework` - Lacework\n* `orca_security` - Orca Security\n* `tenable_vulnerability_management` - Tenable Vulnerability Management\n* `google_play_console` - Google Play Console\n* `azure_application_insights` - Azure Application Insights\n* `appsignal` - AppSignal\n* `cursor` - Cursor",+ "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* `signals_check` - Report check\n* `user_authored` - Team member\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* `datadog` - Datadog\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\n* `intercom` - Intercom\n* `hubspot` - HubSpot\n* `engineering_analytics` - Engineering analytics\n* `google_search_console` - Google Search Console\n* `pagerduty` - PagerDuty\n* `opsgenie` - Opsgenie\n* `incident_io` - incident.io\n* `firehydrant` - FireHydrant\n* `squadcast` - Squadcast\n* `servicenow` - ServiceNow\n* `solarwinds_service_desk` - SolarWinds Service Desk\n* `grafana_irm` - Grafana IRM\n* `xmatters` - xMatters\n* `betterstack` - Better Stack\n* `newrelic` - New Relic\n* `trigger_dev` - Trigger.dev\n* `checkly` - Checkly\n* `roark` - Roark\n* `monte_carlo` - Monte Carlo\n* `bigeye` - Bigeye\n* `aws_security_hub` - AWS Security Hub\n* `aws_guardduty` - AWS GuardDuty\n* `aws_inspector` - AWS Inspector\n* `microsoft_defender_cloud_apps` - Microsoft Defender for Cloud Apps\n* `clickup` - ClickUp\n* `wrike` - Wrike\n* `trello` - Trello\n* `bugherd` - BugHerd\n* `dynamics365` - Dynamics 365\n* `zoho_crm` - Zoho CRM\n* `planhat` - Planhat\n* `trustpilot` - Trustpilot\n* `okendo` - Okendo\n* `sleekplan` - Sleekplan\n* `bettermode` - Bettermode\n* `discourse` - Discourse\n* `mintlify` - Mintlify\n* `langsmith` - LangSmith\n* `sprig` - Sprig\n* `gainsight_px` - Gainsight PX\n* `dynatrace` - Dynatrace\n* `statuspage` - Statuspage\n* `cronitor` - Cronitor\n* `instatus` - Instatus\n* `asana` - Asana\n* `monday` - monday.com\n* `plane` - Plane\n* `azure_devops` - Azure DevOps\n* `helpscout` - Help Scout\n* `decagon` - Decagon\n* `vitally` - Vitally\n* `usersnap` - Usersnap\n* `typeform` - Typeform\n* `qualtrics` - Qualtrics\n* `surveymonkey` - SurveyMonkey\n* `formbricks` - Formbricks\n* `survicate` - Survicate\n* `surveysparrow` - SurveySparrow\n* `lacework` - Lacework\n* `orca_security` - Orca Security\n* `tenable_vulnerability_management` - Tenable Vulnerability Management\n* `google_play_console` - Google Play Console\n* `azure_application_insights` - Azure Application Insights\n* `appsignal` - AppSignal\n* `cursor` - Cursor","enum": ["session_replay","llm_analytics",@@ -45,6 +45,7 @@"pganalyze","signals_scout","signals_check",+ "user_authored","logs","health_checks","endpoints",diff --git a/services/mcp/tests/unit/tool-filtering.test.ts b/services/mcp/tests/unit/tool-filtering.test.tsindex c57395b2bdeb..6aba385b7005 100644--- a/services/mcp/tests/unit/tool-filtering.test.ts+++ b/services/mcp/tests/unit/tool-filtering.test.ts@@ -1110,6 +1110,7 @@ describe('Tool Filtering - Feature Flags', () => {'scout-trials','signals-report-checks-replace','inbox-report-actions-mcp',+ 'inbox-reports-create-mcp','signals-reviewer-exclusions-mcp','cross-project-dashboards','warehouse-suggestions',diff --git a/services/mcp/tests/unit/tool-schema-snapshots.test.ts b/services/mcp/tests/unit/tool-schema-snapshots.test.tsindex 2797409d0ac8..1e1b1fbf9539 100644--- a/services/mcp/tests/unit/tool-schema-snapshots.test.ts+++ b/services/mcp/tests/unit/tool-schema-snapshots.test.ts@@ -100,6 +100,7 @@ async function loadSnapshotTools(): Promise<Tool<ZodObjectAny>[]> {'scout-trials': true,'signals-report-checks-replace': true,'inbox-report-actions-mcp': true,+ 'inbox-reports-create-mcp': true,'signals-reviewer-exclusions-mcp': true,'ai-observability-offline-evaluations': true,'workflows-supabase-auth-emails': true,