: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
chore(signals): drop the scout-side residue of signal weight (#103824)
posthog[bot]2eebe7396be7
diff --git a/products/signals/backend/migrations/0141_signalscoutemission_weight_nullable.py b/products/signals/backend/migrations/0141_signalscoutemission_weight_nullable.pynew file mode 100644index 000000000000..c9bcdd3a55f8--- /dev/null+++ b/products/signals/backend/migrations/0141_signalscoutemission_weight_nullable.py@@ -0,0 +1,16 @@+from django.db import migrations+++class Migration(migrations.Migration):+ dependencies = [+ ("signals", "0140_signalreportcheck_soak_minutes_and_more"),+ ]++ operations = [+ # Phase 1 of retiring the column. It is NOT NULL with no database default, and the release+ # that untracks the field stops naming it in INSERTs, so the constraint has to go first.+ migrations.RunSQL(+ sql="ALTER TABLE signals_signalscoutemission ALTER COLUMN weight DROP NOT NULL;",+ reverse_sql="ALTER TABLE signals_signalscoutemission ALTER COLUMN weight SET NOT NULL;",+ ),+ ]diff --git a/products/signals/backend/migrations/0142_untrack_signalscoutemission_weight.py b/products/signals/backend/migrations/0142_untrack_signalscoutemission_weight.pynew file mode 100644index 000000000000..a1f6ee51f9e0--- /dev/null+++ b/products/signals/backend/migrations/0142_untrack_signalscoutemission_weight.py@@ -0,0 +1,15 @@+from django.db import migrations++from posthog.migration_helpers import untrack_field+++class Migration(migrations.Migration):+ dependencies = [+ ("signals", "0141_signalscoutemission_weight_nullable"),+ ]++ operations = [+ # Phase 2: the field leaves model state while the column stays, so a pod on either release+ # can still write an emission row. The column drop follows one deploy cycle later.+ untrack_field("signalscoutemission", "weight"),+ ]diff --git a/products/signals/backend/migrations/max_migration.txt b/products/signals/backend/migrations/max_migration.txtindex 1d49112c1473..5a497f7ede81 100644--- a/products/signals/backend/migrations/max_migration.txt+++ b/products/signals/backend/migrations/max_migration.txt@@ -1 +1 @@-0140_signalreportcheck_soak_minutes_and_more+0142_untrack_signalscoutemission_weightdiff --git a/products/signals/backend/models.py b/products/signals/backend/models.pyindex 8e8d37164d32..adf4c474cf8d 100644--- a/products/signals/backend/models.py+++ b/products/signals/backend/models.py@@ -2689,7 +2689,6 @@ class SignalScoutEmission(TeamScopedRootMixin, UUIDModel):# upstream by `MAX_FINDING_DESCRIPTION_LENGTH` on the emit serializer and the emit_signal# token cap, so it stays well clear of row-size concerns.description = models.TextField()- weight = models.FloatField()confidence = models.FloatField()severity = models.CharField(max_length=20, null=True, blank=True)# Slug tags the scout attached to the finding (normalized lowercase kebab-case, capped atdiff --git a/products/signals/backend/scout_harness/AGENTS.md b/products/signals/backend/scout_harness/AGENTS.mdindex d8297cb7ad79..d101525f79f1 100644--- a/products/signals/backend/scout_harness/AGENTS.md+++ b/products/signals/backend/scout_harness/AGENTS.md@@ -142,9 +142,8 @@ In production it is driven by `SignalsScoutCoordinatorWorkflow` (periodic tick eThe report channel adds `signals_scout_report_emitted` / `signals_scout_report_edited` (plus customer-facing `$scout_report_*` copies), stamped with derived classification properties (`report_kind` = `finding`/`self_improvement`, `is_self_improvement_report`) via `_report_classification_props` in `tools/report.py` — classified server-side off the prompt's mandated title prefix (`prompt.SELF_IMPROVEMENT_REPORT_TITLE_PREFIX`), so self-improvement reports are separable without downstream title heuristics. That helper is the single extension point for future derived telemetry dimensions on these events — add new flags there (both events pick them up), not as model columns.- Emit happens via the harness's `emit_signal_*` tools, which call `emit_signal()` with `source_product="signals_scout"` and `source_type="cross_source_issue"`.From there the signal flows through the same emitter → buffer → grouping v2 path as any other source.-- Scouts do not set a per-signal `weight`. The harness pins every emitted finding to `SCOUT_SIGNAL_WEIGHT = 1.0` (`tools/emit.py`), so a fresh report's `total_weight` meets `WEIGHT_THRESHOLD` (default 1.0) on the first signal and promotes immediately.- `weight` is the pipeline's promotion knob, not a scout judgment — promotion is governed by the `confidence` emit-gate (≥ ~0.65), dedupe, and the safety filter.- The scout-facing schema and skills carry no `weight` field.+- `weight` is the pipeline's promotion knob, not a scout judgment, so no scout surface carries it: not the emit schema, not the skills, not the emission rows the API returns. The harness pins every emitted finding to `SCOUT_SIGNAL_WEIGHT = 1.0` (`tools/emit.py`), so a fresh report's `total_weight` meets `WEIGHT_THRESHOLD` (default 1.0) on the first signal and promotes immediately.+ Promotion is governed by the `confidence` emit-gate (≥ ~0.65), dedupe, and the safety filter.- Findings can carry `tags` — lowercase kebab-case category slugs, normalized and capped by `normalize_tags` in `tools/emit.py`. Tags persist in the signal's `extra.tags` (queryable in the signal store) and on the `SignalScoutEmission` row.The vocabulary lives in the scout loop, not the harness: the base prompt's _Tagging your findings_ section instructs each scout to maintain a `tags:<domain>:taxonomy` scratchpad entry (read first-move like any memory, evolved as categories emerge), and the emission rows are the queryable ground truth a scout can audit its taxonomy against. The harness only normalizes, caps, and persists.- Scratchpad entries and run history are read at prompt assembly time. The agent can also write scratchpad entries mid-run via `remember` / `forget` — that's how a specialist with no anomalies to chase records "no LLM activity here, close out fast" so future runs of the same skill short-circuit cold.diff --git a/products/signals/backend/scout_harness/serializers.py b/products/signals/backend/scout_harness/serializers.pyindex c54e0dd0dcf4..76b652ed8acb 100644--- a/products/signals/backend/scout_harness/serializers.py+++ b/products/signals/backend/scout_harness/serializers.py@@ -316,11 +316,6 @@ class SignalScoutEmissionSerializer(serializers.ModelSerializer):description = serializers.CharField(help_text="The emitted finding prose — the signal's `description` as surfaced to the inbox.",)- weight = serializers.FloatField(- min_value=0.0,- max_value=1.0,- help_text="Agent's weight for the signal in [0, 1]. Drives ranking in the inbox.",- )confidence = serializers.FloatField(min_value=0.0,max_value=1.0,@@ -347,7 +342,6 @@ class SignalScoutEmissionSerializer(serializers.ModelSerializer):"run_id","finding_id","description",- "weight","confidence","severity","tags",diff --git a/products/signals/backend/scout_harness/tools/emit.py b/products/signals/backend/scout_harness/tools/emit.pyindex 3049eb66d3e4..890c14c39863 100644--- a/products/signals/backend/scout_harness/tools/emit.py+++ b/products/signals/backend/scout_harness/tools/emit.py@@ -194,7 +194,6 @@ async def emit_finding(run_id=run.id,finding_id=finding_id,description=description,- weight=SCOUT_SIGNAL_WEIGHT,confidence=confidence,severity=severity,source_id=source_id,@@ -289,7 +288,6 @@ def emit_finding_sync(run_id=run.id,finding_id=finding_id,description=description,- weight=SCOUT_SIGNAL_WEIGHT,confidence=confidence,severity=severity,source_id=source_id,@@ -429,7 +427,6 @@ def _record_emit(run_id: Any,finding_id: str,description: str,- weight: float,confidence: float,severity: str | None,source_id: str,@@ -464,7 +461,6 @@ def _record_emit(scout_run=run,finding_id=finding_id,description=description,- weight=weight,confidence=confidence,severity=severity,source_id=source_id,diff --git a/products/signals/backend/scout_harness/tools/report.py b/products/signals/backend/scout_harness/tools/report.pyindex 0e3e48b55a02..c6c4c22948f9 100644--- a/products/signals/backend/scout_harness/tools/report.py+++ b/products/signals/backend/scout_harness/tools/report.py@@ -158,7 +158,6 @@ class ReportEvidence:description: strsource_id: str- weight: float = SCOUT_SIGNAL_WEIGHT@dataclass(frozen=True)@@ -1389,12 +1388,12 @@ def _capture_report_edited(# an empty encoding can't collide with another field's, for the reasons the prompts part below# gives. A genuinely identical re-send still hashes the same and stays one event, like the charts.#- # `source_id` and `weight` ride in the key with the description, because the same prose recorded- # under two source ids is two distinct rows on the report. Keyed on the description alone, the- # second append hashes like the first and ingestion drops its event.+ # `source_id` rides in the key with the description, because the same prose recorded under two+ # source ids is two distinct rows on the report. Keyed on the description alone, the second+ # append hashes like the first and ingestion drops its event.appended_evidence = evidence if result.evidence_appended and evidence else Noneif appended_evidence:- observations = [[signal.description, signal.source_id, signal.weight] for signal in appended_evidence]+ observations = [[signal.description, signal.source_id] for signal in appended_evidence]parts.append(f"evidence:{json.dumps(observations, separators=(',', ':'))}")# Charts are a valid *sole* input to an edit, so the same reasoning applies: two chart-only edits to# one report in a run carry no updated_fields and no title/summary/note, and would hash identically —diff --git a/products/signals/backend/scout_harness/views.py b/products/signals/backend/scout_harness/views.pyindex 44205cdc57dc..12770942ab14 100644--- a/products/signals/backend/scout_harness/views.py+++ b/products/signals/backend/scout_harness/views.py@@ -466,19 +466,11 @@ def _to_report_metrics(entries: list[dict] | None) -> list[ReportMetricInput] |def _to_report_evidence(entries: list[dict] | None) -> list[ReportEvidence] | None:- """Map validated evidence entries to `ReportEvidence`s for the report tools. `weight` is omitted- when unset so the dataclass default stands. Empty/None yields None, which the edit path reads as- "no evidence supplied"."""+ """Map validated evidence entries to `ReportEvidence`s for the report tools. Empty/None yields+ None, which the edit path reads as "no evidence supplied"."""if not entries:return None- return [- ReportEvidence(- description=entry["description"],- source_id=entry["source_id"],- **({"weight": entry["weight"]} if entry.get("weight") is not None else {}),- )- for entry in entries- ]+ return [ReportEvidence(description=entry["description"], source_id=entry["source_id"]) for entry in entries]def _to_report_links(entries: list[dict] | None) -> list[ReportLinkInput] | None:@@ -768,7 +760,7 @@ class SignalScoutRunViewSet(TeamAndOrgViewSetMixin, viewsets.GenericViewSet):summary="List a run's emitted findings",description=("Return the findings a `SignalScoutRun` emitted to the inbox, newest first — one row per emit "- "with its `description` (the finding text as surfaced), `weight`, `confidence`, `severity`, and "+ "with its `description` (the finding text as surfaced), `confidence`, `severity`, and ""the deterministic `source_id` that joins back to the underlying signal. Lets a team and its ""agents see *what* a run surfaced without parsing `emitted_finding_ids` or scanning the signal ""store. Strictly team-scoped — a run UUID belonging to another team returns 404."@@ -1054,7 +1046,7 @@ class SignalScoutRunViewSet(TeamAndOrgViewSetMixin, viewsets.GenericViewSet):200: OpenApiResponse(response=EmitFindingResponseSerializer, description="Finding emitted, or skipped by a preflight gate."),- 400: OpenApiResponse(description="Invalid emit shape (description, weight, confidence, evidence cap)."),+ 400: OpenApiResponse(description="Invalid emit shape (description, confidence, evidence cap)."),404: OpenApiResponse(description="Run not found for this project."),},summary="Emit a finding for a run",diff --git a/products/signals/backend/scout_report/persistence.py b/products/signals/backend/scout_report/persistence.pyindex d1517f441e6a..c635deb0e099 100644--- a/products/signals/backend/scout_report/persistence.py+++ b/products/signals/backend/scout_report/persistence.py@@ -136,7 +136,7 @@ class ScoutReportSignal:description: strsource_id: str- weight: float = SCOUT_SIGNAL_WEIGHT+ weight: floattimestamp: datetime | None = Noneextra: dict = field(default_factory=dict)document_id: str | None = Nonediff --git a/products/signals/backend/test/test_scout_harness_api.py b/products/signals/backend/test/test_scout_harness_api.pyindex c6d7df68128f..c7923e9e4e8e 100644--- a/products/signals/backend/test/test_scout_harness_api.py+++ b/products/signals/backend/test/test_scout_harness_api.py@@ -287,7 +287,6 @@ class TestScoutHarnessRunsAPI(APIBaseTest):def _make_emission(team: Team, run: SignalScoutRun, *, finding_id: str, **overrides) -> SignalScoutEmission:defaults: dict = {"description": "Checkout 500s post-deploy",- "weight": 0.7,"confidence": 0.85,"severity": "P1","source_id": f"run:{run.id}:finding:{finding_id}",@@ -311,7 +310,7 @@ class TestScoutHarnessRunEmissionsAPI(APIBaseTest):first = body[0]assert first["run_id"] == str(run.id)assert first["description"] == "Checkout 500s post-deploy"- assert first["weight"] == 0.7+ assert "weight" not in firstassert first["confidence"] == 0.85assert first["severity"] == "P1"assert first["tags"] == ["cost-spike"]diff --git a/products/signals/backend/test/test_scout_harness_tools.py b/products/signals/backend/test/test_scout_harness_tools.pyindex efa084428953..24b1e23291f5 100644--- a/products/signals/backend/test/test_scout_harness_tools.py+++ b/products/signals/backend/test/test_scout_harness_tools.py@@ -1284,7 +1284,6 @@ async def test_emit_finding_persists_emission_rows(ateam_emit, arun_emit):assert emission.team_id == ateam_emit.idassert emission.finding_id == "f-emit"assert emission.description == "Checkout 500s post-deploy"- assert emission.weight == SCOUT_SIGNAL_WEIGHTassert emission.confidence == 0.85assert emission.severity == "P1"assert emission.tags == ["post-deploy-regression"]diff --git a/products/signals/backend/test/test_scout_report_api.py b/products/signals/backend/test/test_scout_report_api.pyindex 409312db0d77..21e4fe61397a 100644--- a/products/signals/backend/test/test_scout_report_api.py+++ b/products/signals/backend/test/test_scout_report_api.py@@ -2233,18 +2233,17 @@ class TestScoutReportAPI(APIBaseTest):assert captured is not Nonereturn captured.event_uuid- def observation(source_id: str, description: str = "Checkout errors doubled", weight: float = 1.0):- return ScoutReportSignal(description=description, source_id=source_id, weight=weight)+ def observation(source_id: str, description: str = "Checkout errors doubled"):+ return ScoutReportSignal(description=description, source_id=source_id, weight=1.0)checkout = forward([observation("checkout-errors")])assert checkout == forward([observation("checkout-errors")])# The rail carries a row per source id, so the same prose recorded twice is two observations.assert checkout != forward([observation("checkout-errors-eu")])assert checkout != forward([observation("checkout-errors", description="Signups fell")])- assert checkout != forward([observation("checkout-errors", weight=2.0)])# A description is scout-authored free text, so on a pipe-joined key a note carrying the# evidence part verbatim hashes like the evidence edit itself and one of the two is dropped.- assert checkout != forward([], note='|evidence:[["Checkout errors doubled","checkout-errors",1.0]]')+ assert checkout != forward([], note='|evidence:[["Checkout errors doubled","checkout-errors"]]')@parameterized.expand([diff --git a/products/signals/backend/test/test_scout_report_persistence.py b/products/signals/backend/test/test_scout_report_persistence.pyindex e849d16af618..9a51bcc29d54 100644--- a/products/signals/backend/test/test_scout_report_persistence.py+++ b/products/signals/backend/test/test_scout_report_persistence.py@@ -301,10 +301,15 @@ class TestScoutReportPersistence(BaseTest):@parameterized.expand([- ("empty_title", "", "summary", [ScoutReportSignal(description="d", source_id="s")]),- ("empty_summary", "title", " ", [ScoutReportSignal(description="d", source_id="s")]),+ ("empty_title", "", "summary", [ScoutReportSignal(description="d", source_id="s", weight=1.0)]),+ ("empty_summary", "title", " ", [ScoutReportSignal(description="d", source_id="s", weight=1.0)]),("no_signals", "title", "summary", []),- ("blank_signal_description", "title", "summary", [ScoutReportSignal(description=" ", source_id="s")]),+ (+ "blank_signal_description",+ "title",+ "summary",+ [ScoutReportSignal(description=" ", source_id="s", weight=1.0)],+ ),])def test_create_rejects_invalid_shape(self, _name, title, summary, signals) -> None:@@ -324,7 +329,7 @@ class TestScoutReportPersistence(BaseTest):team_id=self.team.id,title="old title",summary="old summary",- signals=[ScoutReportSignal(description="d", source_id="s")],+ signals=[ScoutReportSignal(description="d", source_id="s", weight=1.0)],attribution=ArtefactAttribution.system(),)updated = update_scout_report(@@ -369,7 +374,7 @@ class TestScoutReportPersistence(BaseTest):team_id=self.team.id,title="t",summary="s",- signals=[ScoutReportSignal(description="d", source_id="s")],+ signals=[ScoutReportSignal(description="d", source_id="s", weight=1.0)],attribution=ArtefactAttribution.system(),)before = SignalReport.objects.get(id=result.report_id).updated_at@@ -404,7 +409,7 @@ class TestScoutReportPersistence(BaseTest):team_id=self.team.id,title=f"t{index}",summary="s",- signals=[ScoutReportSignal(description="d", source_id=f"s{index}")],+ signals=[ScoutReportSignal(description="d", source_id=f"s{index}", weight=1.0)],attribution=ArtefactAttribution.system(),)for index in range(2)@@ -425,7 +430,7 @@ class TestScoutReportPersistence(BaseTest):team_id=other_team.id,title="theirs",summary="theirs",- signals=[ScoutReportSignal(description="d", source_id="s")],+ signals=[ScoutReportSignal(description="d", source_id="s", weight=1.0)],attribution=ArtefactAttribution.system(),)with pytest.raises(InvalidScoutReportError):@@ -454,7 +459,7 @@ class TestScoutReportPersistence(BaseTest):team_id=self.team.id,title="t",summary="s",- signals=[ScoutReportSignal(description="d", source_id="obs")],+ signals=[ScoutReportSignal(description="d", source_id="obs", weight=1.0)],attribution=ArtefactAttribution.system(),status=SignalReport.Status.PENDING_INPUT,safety=SafetyJudgment(choice=True, explanation=None),@@ -509,8 +514,8 @@ class TestScoutReportPersistence(BaseTest):title="t",summary="s",signals=[- ScoutReportSignal(description="a", source_id="obs-1", document_id="dup"),- ScoutReportSignal(description="b", source_id="obs-2", document_id="dup"),+ ScoutReportSignal(description="a", source_id="obs-1", document_id="dup", weight=1.0),+ ScoutReportSignal(description="b", source_id="obs-2", document_id="dup", weight=1.0),],attribution=ArtefactAttribution.system(),)@@ -569,7 +574,7 @@ class TestScoutReportCharts(BaseTest):team_id=self.team.id,title="Signups dropped",summary="Signups fell 60% on the 6th. [Daily signups](chart:signups-drop)",- signals=[ScoutReportSignal(description="d", source_id="obs")],+ signals=[ScoutReportSignal(description="d", source_id="obs", weight=1.0)],attribution=ArtefactAttribution.system(),charts=charts or [],)@@ -587,7 +592,7 @@ class TestScoutReportCharts(BaseTest):team_id=self.team.id,title="t",summary="s",- signals=[ScoutReportSignal(description="d", source_id="obs")],+ signals=[ScoutReportSignal(description="d", source_id="obs", weight=1.0)],attribution=ArtefactAttribution.system(),status=SignalReport.Status.SUPPRESSED,charts=[self._chart("signups-drop", "Daily signups")],@@ -688,7 +693,7 @@ class TestScoutReportCharts(BaseTest):team_id=other_team.id,title="theirs",summary="s",- signals=[ScoutReportSignal(description="d", source_id="obs")],+ signals=[ScoutReportSignal(description="d", source_id="obs", weight=1.0)],attribution=ArtefactAttribution.system(),)@@ -747,7 +752,7 @@ class TestScoutReportMetrics(BaseTest):team_id=self.team.id,title="Exceptions affect 17 users",summary="Seventeen users saw the same exception.",- signals=[ScoutReportSignal(description="same exception", source_id="obs")],+ signals=[ScoutReportSignal(description="same exception", source_id="obs", weight=1.0)],attribution=ArtefactAttribution.system(),metrics=metrics,)@@ -832,7 +837,7 @@ class TestScoutReportRepository(BaseTest):team_id=self.team.id,title="Signups dropped",summary="Signups fell 60% on the 6th.",- signals=[ScoutReportSignal(description="d", source_id="obs")],+ signals=[ScoutReportSignal(description="d", source_id="obs", weight=1.0)],attribution=ArtefactAttribution.system(),)return result.report_id@@ -908,7 +913,7 @@ class TestScoutReportSuggestedPrompts(BaseTest):team_id=self.team.id,title="Signups dropped",summary="Signups fell 60% on the 6th.",- signals=[ScoutReportSignal(description="d", source_id="obs")],+ signals=[ScoutReportSignal(description="d", source_id="obs", weight=1.0)],attribution=ArtefactAttribution.system(),suggested_prompts=suggested_prompts or [],)@@ -1008,7 +1013,7 @@ class TestScoutReportSuggestedPrompts(BaseTest):team_id=other_team.id,title="theirs",summary="s",- signals=[ScoutReportSignal(description="d", source_id="obs")],+ signals=[ScoutReportSignal(description="d", source_id="obs", weight=1.0)],attribution=ArtefactAttribution.system(),)diff --git a/products/signals/backend/test/test_scout_slack_delivery.py b/products/signals/backend/test/test_scout_slack_delivery.pyindex f3b3723374b8..e4127c8beef9 100644--- a/products/signals/backend/test/test_scout_slack_delivery.py+++ b/products/signals/backend/test/test_scout_slack_delivery.py@@ -116,7 +116,6 @@ class TestScoutSlackDelivery(BaseTest):scout_run=run,finding_id="checkout/500s",description=description,- weight=1.0,confidence=0.84,severity="P1",tags=["checkout", "regression"],diff --git a/products/signals/backend/test/test_signal_scout_models.py b/products/signals/backend/test/test_signal_scout_models.pyindex 2c07d69b769d..a23837fb8501 100644--- a/products/signals/backend/test/test_signal_scout_models.py+++ b/products/signals/backend/test/test_signal_scout_models.py@@ -104,7 +104,6 @@ class TestSignalScoutModels(_ScoutTeamScopedTestMixin, BaseTest):run_id=run.id,finding_id="finding-1",description="A finding",- weight=1.0,confidence=0.8,severity="P1",source_id=f"run:{run.id}:finding:finding-1",@@ -146,7 +145,6 @@ class TestSignalScoutModels(_ScoutTeamScopedTestMixin, BaseTest):run_id=run.id,finding_id="finding-1",description="A finding",- weight=1.0,confidence=0.8,severity="P1",source_id=f"run:{run.id}:finding:finding-1",diff --git a/products/signals/frontend/generated/api.schemas.ts b/products/signals/frontend/generated/api.schemas.tsindex af0dd1e72be5..a0993ac2c9d9 100644--- a/products/signals/frontend/generated/api.schemas.ts+++ b/products/signals/frontend/generated/api.schemas.ts@@ -4657,12 +4657,6 @@ export interface SignalScoutEmissionApi {finding_id: string/** The emitted finding prose — the signal's `description` as surfaced to the inbox. */description: string- /**- * Agent's weight for the signal in [0, 1]. Drives ranking in the inbox.- * @minimum 0- * @maximum 1- */- weight: number/*** Agent's confidence the finding is real in [0, 1].* @minimum 0diff --git a/products/signals/frontend/generated/api.ts b/products/signals/frontend/generated/api.tsindex 6f35246c383f..dc0eaedf004f 100644--- a/products/signals/frontend/generated/api.ts+++ b/products/signals/frontend/generated/api.ts@@ -1448,7 +1448,7 @@ export const getSignalsScoutRunsEmissionsUrl = (projectId: string, runId: string}/**- * Return the findings a `SignalScoutRun` emitted to the inbox, newest first — one row per emit with its `description` (the finding text as surfaced), `weight`, `confidence`, `severity`, and the deterministic `source_id` that joins back to the underlying signal. Lets a team and its agents see *what* a run surfaced without parsing `emitted_finding_ids` or scanning the signal store. Strictly team-scoped — a run UUID belonging to another team returns 404.+ * Return the findings a `SignalScoutRun` emitted to the inbox, newest first — one row per emit with its `description` (the finding text as surfaced), `confidence`, `severity`, and the deterministic `source_id` that joins back to the underlying signal. Lets a team and its agents see *what* a run surfaced without parsing `emitted_finding_ids` or scanning the signal store. Strictly team-scoped — a run UUID belonging to another team returns 404.* @summary List a run's emitted findings*/export const signalsScoutRunsEmissions = async (diff --git a/products/signals/frontend/inbox/types.ts b/products/signals/frontend/inbox/types.tsindex 021c263c2902..188a2563e7d8 100644--- a/products/signals/frontend/inbox/types.ts+++ b/products/signals/frontend/inbox/types.ts@@ -468,7 +468,6 @@ export interface SignalScoutEmission {run_id: stringfinding_id: stringdescription: string- weight: numberconfidence: numberseverity: SignalReportPriority | null/** Slug tags the scout attached to this finding (lowercase kebab-case, e.g. `cost-spike`). */diff --git a/products/signals/mcp/tools.yaml b/products/signals/mcp/tools.yamlindex b3cbb4307129..f0f9695a5578 100644--- a/products/signals/mcp/tools.yaml+++ b/products/signals/mcp/tools.yaml@@ -1004,10 +1004,10 @@ tools:title: List a scout run's emitted findingsdescription: >Return the findings a `SignalScoutRun` emitted to the inbox, newest first — one row per emit with its- `description` (the finding text as surfaced), `weight`, `confidence`, `severity`, `tags`, and the- deterministic `source_id` (`run:<run_id>:finding:<finding_id>`) that joins back to the underlying signal.- Use this to see *what* a run actually surfaced, not just how many (`emitted_count`) or which ids- (`emitted_finding_ids`). Strictly team-scoped — a run UUID belonging to another team returns 404.+ `description` (the finding text as surfaced), `confidence`, `severity`, `tags`, and the deterministic+ `source_id` (`run:<run_id>:finding:<finding_id>`) that joins back to the underlying signal. Use this to see+ *what* a run actually surfaced, not just how many (`emitted_count`) or which ids (`emitted_finding_ids`).+ Strictly team-scoped — a run UUID belonging to another team returns 404.scout-runs-findings-summary:operation: signals_scout_runs_findings_summaryenabled: false@@ -1049,7 +1049,7 @@ tools:description: >Return the team's recently emitted scout findings across *every* `SignalScoutRun`, newest first — thecross-run counterpart to `scout-runs-emissions-list` (which is scoped to one run). Each row carries its- `run_id`, `description` (the finding text as surfaced), `weight`, `confidence`, `severity`, `tags`, and the+ `run_id`, `description` (the finding text as surfaced), `confidence`, `severity`, `tags`, and thedeterministic `source_id` (`run:<run_id>:finding:<finding_id>`). Use this to answer "what has the fleetsurfaced lately?" in one call instead of listing runs and fanning out an emissions request per run. Pass`skill_name` to scope to a single scout, and `date_from` / `date_to` (ISO-8601, inclusive lower / exclusivediff --git a/services/mcp/schema/generated-tool-definitions.json b/services/mcp/schema/generated-tool-definitions.jsonindex 5810995690cf..3e42a83f0df6 100644--- a/services/mcp/schema/generated-tool-definitions.json+++ b/services/mcp/schema/generated-tool-definitions.json@@ -10188,7 +10188,7 @@}},"scout-runs-emissions-list": {- "description": "Return the findings a `SignalScoutRun` emitted to the inbox, newest first — one row per emit with its `description` (the finding text as surfaced), `weight`, `confidence`, `severity`, `tags`, and the deterministic `source_id` (`run:<run_id>:finding:<finding_id>`) that joins back to the underlying signal. Use this to see *what* a run actually surfaced, not just how many (`emitted_count`) or which ids (`emitted_finding_ids`). Strictly team-scoped — a run UUID belonging to another team returns 404.",+ "description": "Return the findings a `SignalScoutRun` emitted to the inbox, newest first — one row per emit with its `description` (the finding text as surfaced), `confidence`, `severity`, `tags`, and the deterministic `source_id` (`run:<run_id>:finding:<finding_id>`) that joins back to the underlying signal. Use this to see *what* a run actually surfaced, not just how many (`emitted_count`) or which ids (`emitted_finding_ids`). Strictly team-scoped — a run UUID belonging to another team returns 404.","category": "Signals","feature": "signals","summary": "List a scout run's emitted findings",@@ -10216,7 +10216,7 @@}},"scout-runs-recent-emissions": {- "description": "Return the team's recently emitted scout findings across *every* `SignalScoutRun`, newest first — the cross-run counterpart to `scout-runs-emissions-list` (which is scoped to one run). Each row carries its `run_id`, `description` (the finding text as surfaced), `weight`, `confidence`, `severity`, `tags`, and the deterministic `source_id` (`run:<run_id>:finding:<finding_id>`). Use this to answer \"what has the fleet surfaced lately?\" in one call instead of listing runs and fanning out an emissions request per run. Pass `skill_name` to scope to a single scout, and `date_from` / `date_to` (ISO-8601, inclusive lower / exclusive upper bound on `emitted_at`) to bound or paginate — set `date_to` to the oldest emission's `emitted_at` to walk back past the cap. Capped at 200 rows (default 50). Strictly team-scoped.",+ "description": "Return the team's recently emitted scout findings across *every* `SignalScoutRun`, newest first — the cross-run counterpart to `scout-runs-emissions-list` (which is scoped to one run). Each row carries its `run_id`, `description` (the finding text as surfaced), `confidence`, `severity`, `tags`, and the deterministic `source_id` (`run:<run_id>:finding:<finding_id>`). Use this to answer \"what has the fleet surfaced lately?\" in one call instead of listing runs and fanning out an emissions request per run. Pass `skill_name` to scope to a single scout, and `date_from` / `date_to` (ISO-8601, inclusive lower / exclusive upper bound on `emitted_at`) to bound or paginate — set `date_to` to the oldest emission's `emitted_at` to walk back past the cap. Capped at 200 rows (default 50). Strictly team-scoped.","category": "Signals","feature": "signals","summary": "List recent emitted findings across all scout runs",diff --git a/services/mcp/schema/tool-definitions-all.json b/services/mcp/schema/tool-definitions-all.jsonindex 46a2734fc5ac..4b7fb5b24220 100644--- a/services/mcp/schema/tool-definitions-all.json+++ b/services/mcp/schema/tool-definitions-all.json@@ -10760,7 +10760,7 @@}},"scout-runs-emissions-list": {- "description": "Return the findings a `SignalScoutRun` emitted to the inbox, newest first — one row per emit with its `description` (the finding text as surfaced), `weight`, `confidence`, `severity`, `tags`, and the deterministic `source_id` (`run:<run_id>:finding:<finding_id>`) that joins back to the underlying signal. Use this to see *what* a run actually surfaced, not just how many (`emitted_count`) or which ids (`emitted_finding_ids`). Strictly team-scoped — a run UUID belonging to another team returns 404.",+ "description": "Return the findings a `SignalScoutRun` emitted to the inbox, newest first — one row per emit with its `description` (the finding text as surfaced), `confidence`, `severity`, `tags`, and the deterministic `source_id` (`run:<run_id>:finding:<finding_id>`) that joins back to the underlying signal. Use this to see *what* a run actually surfaced, not just how many (`emitted_count`) or which ids (`emitted_finding_ids`). Strictly team-scoped — a run UUID belonging to another team returns 404.","category": "Signals","feature": "signals","summary": "List a scout run's emitted findings",@@ -10788,7 +10788,7 @@}},"scout-runs-recent-emissions": {- "description": "Return the team's recently emitted scout findings across *every* `SignalScoutRun`, newest first — the cross-run counterpart to `scout-runs-emissions-list` (which is scoped to one run). Each row carries its `run_id`, `description` (the finding text as surfaced), `weight`, `confidence`, `severity`, `tags`, and the deterministic `source_id` (`run:<run_id>:finding:<finding_id>`). Use this to answer \"what has the fleet surfaced lately?\" in one call instead of listing runs and fanning out an emissions request per run. Pass `skill_name` to scope to a single scout, and `date_from` / `date_to` (ISO-8601, inclusive lower / exclusive upper bound on `emitted_at`) to bound or paginate — set `date_to` to the oldest emission's `emitted_at` to walk back past the cap. Capped at 200 rows (default 50). Strictly team-scoped.",+ "description": "Return the team's recently emitted scout findings across *every* `SignalScoutRun`, newest first — the cross-run counterpart to `scout-runs-emissions-list` (which is scoped to one run). Each row carries its `run_id`, `description` (the finding text as surfaced), `confidence`, `severity`, `tags`, and the deterministic `source_id` (`run:<run_id>:finding:<finding_id>`). Use this to answer \"what has the fleet surfaced lately?\" in one call instead of listing runs and fanning out an emissions request per run. Pass `skill_name` to scope to a single scout, and `date_from` / `date_to` (ISO-8601, inclusive lower / exclusive upper bound on `emitted_at`) to bound or paginate — set `date_to` to the oldest emission's `emitted_at` to walk back past the cap. Capped at 200 rows (default 50). Strictly team-scoped.","category": "Signals","feature": "signals","summary": "List recent emitted findings across all scout runs",diff --git a/services/mcp/src/api/generated.ts b/services/mcp/src/api/generated.tsindex e730c49a6a88..81cc2d62290c 100644--- a/services/mcp/src/api/generated.ts+++ b/services/mcp/src/api/generated.ts@@ -85429,12 +85429,6 @@ export namespace Schemas {finding_id: string;/** The emitted finding prose — the signal's `description` as surfaced to the inbox. */description: string;- /**- * Agent's weight for the signal in [0, 1]. Drives ranking in the inbox.- * @minimum 0- * @maximum 1- */- weight: number;/*** Agent's confidence the finding is real in [0, 1].* @minimum 0diff --git a/services/mcp/src/generated/signals/api.ts b/services/mcp/src/generated/signals/api.tsindex befee1d36491..4125fb2a6a0c 100644--- a/services/mcp/src/generated/signals/api.ts+++ b/services/mcp/src/generated/signals/api.ts@@ -1956,7 +1956,7 @@ export const SignalsScoutEditReportBody = () => zod)/**- * Return the findings a `SignalScoutRun` emitted to the inbox, newest first — one row per emit with its `description` (the finding text as surfaced), `weight`, `confidence`, `severity`, and the deterministic `source_id` that joins back to the underlying signal. Lets a team and its agents see *what* a run surfaced without parsing `emitted_finding_ids` or scanning the signal store. Strictly team-scoped — a run UUID belonging to another team returns 404.+ * Return the findings a `SignalScoutRun` emitted to the inbox, newest first — one row per emit with its `description` (the finding text as surfaced), `confidence`, `severity`, and the deterministic `source_id` that joins back to the underlying signal. Lets a team and its agents see *what* a run surfaced without parsing `emitted_finding_ids` or scanning the signal store. Strictly team-scoped — a run UUID belonging to another team returns 404.* @summary List a run's emitted findings*/export const SignalsScoutRunsEmissionsParams = () => zod.object({