: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): track edited reports on scout runs (#66539)
Andrew Maguire534c6e4420e5
diff --git a/products/signals/backend/migrations/0052_signalscoutrun_edited_report_ids.py b/products/signals/backend/migrations/0052_signalscoutrun_edited_report_ids.pynew file mode 100644index 000000000000..a611d77d16b7--- /dev/null+++ b/products/signals/backend/migrations/0052_signalscoutrun_edited_report_ids.py@@ -0,0 +1,17 @@+# Generated by Django 5.2.14 on 2026-06-27 19:59++from django.db import migrations, models+++class Migration(migrations.Migration):+ dependencies = [+ ("signals", "0051_signalscoutrun_emitted_report_ids"),+ ]++ operations = [+ migrations.AddField(+ model_name="signalscoutrun",+ name="edited_report_ids",+ field=models.JSONField(blank=True, db_default=[], default=list, null=True),+ ),+ ]diff --git a/products/signals/backend/migrations/max_migration.txt b/products/signals/backend/migrations/max_migration.txtindex 347232852127..9ad92bc046ae 100644--- a/products/signals/backend/migrations/max_migration.txt+++ b/products/signals/backend/migrations/max_migration.txt@@ -1 +1 @@-0051_signalscoutrun_emitted_report_ids+0052_signalscoutrun_edited_report_idsdiff --git a/products/signals/backend/models.py b/products/signals/backend/models.pyindex ce3768ad7527..387126ea88fa 100644--- a/products/signals/backend/models.py+++ b/products/signals/backend/models.py@@ -1149,6 +1149,14 @@ class SignalScoutRun(TeamScopedRootMixin, UUIDModel):# run create/edit?" be a column lookup. Nullable with a `[]` db_default so the AddField stays# non-blocking on the populated table — new and historical rows both read `[]`.emitted_report_ids = models.JSONField(null=True, blank=True, default=list, db_default=[])+ # The `SignalReport` ids a run *mutated* via `edit_report` (rewrote title/summary and/or appended a+ # note) — the edit-channel counterpart to `emitted_report_ids`. Deduped (set-membership, not a+ # multiset): a run that edits the same report twice records it once, because the queryable question+ # is "which reports did this run touch?", not "how many edits did it make" — that detail lives in the+ # per-report artefact log. Distinct from `emitted_report_ids` because `edit_report` targets ANY inbox+ # report (pipeline-authored included), so an edited id is generally NOT one the run authored. Nullable+ # with a `[]` db_default so the AddField stays non-blocking on the populated table.+ edited_report_ids = models.JSONField(null=True, blank=True, default=list, db_default=[])created_at = models.DateTimeField(auto_now_add=True)class Meta:diff --git a/products/signals/backend/scout_harness/AGENTS.md b/products/signals/backend/scout_harness/AGENTS.mdindex dcbd085a0cc5..42941d5c4ce7 100644--- a/products/signals/backend/scout_harness/AGENTS.md+++ b/products/signals/backend/scout_harness/AGENTS.md@@ -204,6 +204,11 @@ one sandbox session → zero or more emitted signals.row + the bound `document_embeddings` signal write (the grouping substrate, minus the matcher).Harness/tool code calls that service; it still never touches `SignalReport` or the embeddingspipeline 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).- **If you add or rename a workflow/activity in `temporal/agentic/`, update`posthog/temporal/tests/ai/test_module_integrity.py` (`TestSignalsProductModuleIntegrity`)to match.**diff --git a/products/signals/backend/scout_harness/serializers.py b/products/signals/backend/scout_harness/serializers.pyindex 7fd60b1e9290..c95508d9ce64 100644--- a/products/signals/backend/scout_harness/serializers.py+++ b/products/signals/backend/scout_harness/serializers.py@@ -109,6 +109,23 @@ class SignalScoutRunSummarySerializer(serializers.Serializer):"non-emitting runs."),)+ emitted_report_ids = serializers.ListField(+ child=serializers.CharField(),+ help_text=(+ "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."+ ),+ )+ edited_report_ids = serializers.ListField(+ child=serializers.CharField(),+ help_text=(+ "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."+ ),+ )class SignalScoutRunDetailSerializer(SignalScoutRunSummarySerializer):diff --git a/products/signals/backend/scout_harness/tools/report.py b/products/signals/backend/scout_harness/tools/report.pyindex e43691555b95..d39b858530c9 100644--- a/products/signals/backend/scout_harness/tools/report.py+++ b/products/signals/backend/scout_harness/tools/report.py@@ -52,6 +52,7 @@ from products.signals.backend.scout_report import (ScoutReportSignal,append_report_note,create_scout_report,+ record_report_edit,update_scout_report,)from products.signals.backend.scout_report.judge import ScoutReportJudgement, judge_scout_report@@ -576,6 +577,10 @@ def _do_edit_report(extra={"team_id": team.id, "report_id": report_id, "fields": updated_fields, "note": note_appended},)result = EditReportResult(report_id=report_id, updated_fields=updated_fields, note_appended=note_appended)+ # Record the edit on the run tally only when something actually changed — a no-op edit (e.g. a+ # title rewrite to its current value) must not claim the run touched the report.+ if updated_fields or note_appended:+ record_report_edit(team_id=team.id, run_id=run.id, report_id=report_id)_capture_report_edited(team=team, run=run, result=result)return resultdiff --git a/products/signals/backend/scout_harness/tools/runs.py b/products/signals/backend/scout_harness/tools/runs.pyindex d4676ea35887..5bd5850ab0da 100644--- a/products/signals/backend/scout_harness/tools/runs.py+++ b/products/signals/backend/scout_harness/tools/runs.py@@ -58,6 +58,10 @@ class RunSummary:# (which count weak `emit_signal` findings), so a run that only authored a report still reads as# having emitted something.emitted_report_ids: list[str] = field(default_factory=list)+ # Reports 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. Lets "which reports did this run edit?" be a column lookup.+ edited_report_ids: list[str] = field(default_factory=list)task_id: str | None = Nonetask_run_id: str | None = Nonetask_url: str | None = None@@ -93,6 +97,10 @@ class RunDetail:# (which count weak `emit_signal` findings), so a run that only authored a report still reads as# having emitted something.emitted_report_ids: list[str] = field(default_factory=list)+ # Reports 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. Lets "which reports did this run edit?" be a column lookup.+ edited_report_ids: list[str] = field(default_factory=list)task_id: str | None = Nonetask_run_id: str | None = Nonetask_url: str | None = None@@ -185,6 +193,7 @@ def _to_summary(row: SignalScoutRun, *, team_id: int) -> RunSummary:emitted_count=row.emitted_count or 0,emitted_finding_ids=list(row.emitted_finding_ids or []),emitted_report_ids=list(row.emitted_report_ids or []),+ edited_report_ids=list(row.edited_report_ids or []),task_id=task_id,task_run_id=task_run_id,task_url=_build_task_url(team_id=team_id, task_id=task_id, task_run_id=task_run_id),diff --git a/products/signals/backend/scout_report/__init__.py b/products/signals/backend/scout_report/__init__.pyindex 767cab3e6e6f..9f4948e95d01 100644--- a/products/signals/backend/scout_report/__init__.py+++ b/products/signals/backend/scout_report/__init__.py@@ -13,6 +13,7 @@ from products.signals.backend.scout_report.persistence import (ScoutReportSignal,append_report_note,create_scout_report,+ record_report_edit,soft_delete_scout_signal,update_scout_report,)@@ -24,6 +25,7 @@ __all__ = ["ScoutReportSignal","append_report_note","create_scout_report",+ "record_report_edit","soft_delete_scout_signal","update_scout_report",]diff --git a/products/signals/backend/scout_report/persistence.py b/products/signals/backend/scout_report/persistence.pyindex 3cf0a5415e8b..8be94b3c26f8 100644--- a/products/signals/backend/scout_report/persistence.py+++ b/products/signals/backend/scout_report/persistence.py@@ -403,6 +403,33 @@ def _record_report_emit(*, team_id: int, run_id: uuid.UUID, report_id: str) -> Nlogger.exception("signals_scout.emit_report: failed to record report emit for run %s", run_id)+def record_report_edit(*, team_id: int, run_id: uuid.UUID, report_id: str) -> None:+ """Append `report_id` to the run's `edited_report_ids` tally so "which reports did this run edit?" is a+ column lookup — the edit-channel counterpart to `_record_report_emit`. Public (unlike its emit+ counterpart) because the edit channel records from the tool layer: one `edit_report` call is one+ logical "run edited this report" event, so `_do_edit_report` calls this across the module boundary+ rather than threading a run through `update_scout_report` / `append_report_note`. Deduped: a run that+ edits the same report twice records it once (the per-edit detail lives in the report's artefact log).+ Best-effort+ and observability only: the edit has already committed by the time this runs, so any failure here is+ swallowed rather than surfaced as a false edit failure. Runs under `select_for_update` so the+ read-modify-write on the JSON list is safe, and scopes the lookup to `team_id` via the fail-closed+ manager so the tally write can never touch a foreign team's run."""+ try:+ with transaction.atomic():+ run = SignalScoutRun.objects.for_team(team_id).select_for_update().filter(pk=run_id).first()+ if run is None:+ logger.warning("signals_scout.edit_report: run %s gone, skipping edit tally", run_id)+ return+ existing = run.edited_report_ids or []+ if report_id in existing:+ return+ run.edited_report_ids = [*existing, report_id]+ run.save(update_fields=["edited_report_ids"])+ except Exception:+ logger.exception("signals_scout.edit_report: failed to record report edit for run %s", run_id)++def _provenance_note_text(run: SignalScoutRun | None) -> str:if run is not None:return f"Authored directly by the `{run.skill_name}` Signals scout via emit_report."diff --git a/products/signals/backend/test/test_scout_harness_api.py b/products/signals/backend/test/test_scout_harness_api.pyindex 636fbca06b7c..672c119af7e4 100644--- a/products/signals/backend/test/test_scout_harness_api.py+++ b/products/signals/backend/test/test_scout_harness_api.py@@ -145,12 +145,23 @@ class TestScoutHarnessRunsAPI(APIBaseTest):assert ids == [str(keep.id)]def test_list_surfaces_emit_tally(self) -> None:- _make_run(self.team, emitted_count=2, emitted_finding_ids=["f-a", "f-b"])+ _make_run(+ self.team,+ emitted_count=2,+ emitted_finding_ids=["f-a", "f-b"],+ emitted_report_ids=["r-1"],+ edited_report_ids=["r-2"],+ )response = self.client.get(self._list_url())assert response.status_code == status.HTTP_200_OKrow = response.json()[0]assert row["emitted_count"] == 2assert row["emitted_finding_ids"] == ["f-a", "f-b"]+ # Both report-id channels must surface through the serializer. Guards a real gap: these are+ # carried on the run DTO but were not declared on the serializer, so they were silently dropped+ # from the API/MCP response.+ assert row["emitted_report_ids"] == ["r-1"]+ assert row["edited_report_ids"] == ["r-2"]@parameterized.expand([("emitted_true", "true"), ("emitted_false", "false")])def test_list_emitted_filter_keeps_only_the_matching_runs(self, _name: str, emitted_param: str) -> None:diff --git a/products/signals/backend/test/test_scout_report_api.py b/products/signals/backend/test/test_scout_report_api.pyindex 9d5b1724763e..5e1a13d9e0a8 100644--- a/products/signals/backend/test/test_scout_report_api.py+++ b/products/signals/backend/test/test_scout_report_api.py@@ -144,6 +144,24 @@ class TestScoutReportAPI(APIBaseTest):assert "title" in response.json()["updated_fields"]assert response.json()["note_appended"] is Trueassert SignalReport.objects.get(id=created["report_id"]).title == "new title"+ # The run records which report it edited so "which reports did this run touch?" is a column lookup.+ run.refresh_from_db()+ assert run.edited_report_ids == [created["report_id"]]++ def test_edit_report_records_edited_report_once_across_repeated_edits(self) -> None:+ # The edited tally is set-membership, not a per-edit log: a run editing the same report twice+ # records it once (the per-edit detail lives in the report's artefact log).+ run = _make_run(self.team)+ with _safe_judge(), patch(EMBED_PATH):+ created = self.client.post(self._emit_url(str(run.id)), data=self._payload(), format="json").json()+ report_id = created["report_id"]+ for title in ("first edit", "second edit"):+ response = self.client.post(+ self._edit_url(str(run.id)), data={"report_id": report_id, "title": title}, format="json"+ )+ assert response.status_code == status.HTTP_200_OK, response.json()+ run.refresh_from_db()+ assert run.edited_report_ids == [report_id]def test_edit_report_fails_closed_on_cross_team_report(self) -> None:other_org = Organization.objects.create(name="other")diff --git a/products/signals/frontend/generated/api.schemas.ts b/products/signals/frontend/generated/api.schemas.tsindex 30a50ce3e0b6..e677b88ac930 100644--- a/products/signals/frontend/generated/api.schemas.ts+++ b/products/signals/frontend/generated/api.schemas.ts@@ -1106,6 +1106,10 @@ export interface SignalScoutRunSummaryApi {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[]}/**@@ -1162,6 +1166,10 @@ export interface SignalScoutRunDetailApi {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[]}/**diff --git a/products/signals/mcp/tools.yaml b/products/signals/mcp/tools.yamlindex eff9a338ea86..8e15ca801c79 100644--- a/products/signals/mcp/tools.yaml+++ b/products/signals/mcp/tools.yaml@@ -516,14 +516,16 @@ tools:description: >Return the most recent `SignalScoutRun` summaries for this project, newest first. Used by the headless scoutto dedupe against work other runs already covered. Each row carries `emitted_count` (how many findings the- run surfaced to the inbox), `emitted_finding_ids`, and — for runs that didn't complete cleanly — `error`- (full TaskRun error) plus `failure_reason` (a concise derived one-liner). Pass `skill_name` (optionally with- `skill_version`) to scope the dump to a single scout instead of every scout on the team — the primary- scoping path when a specialist dedupes against its own past runs. Pass `emitted=true` to return only runs- that emitted at least one finding (or `emitted=false` for runs that surfaced nothing). Pass `text` for a- case-insensitive substring match on the run's `summary` (the primary dedupe key for runs that didn't emit- findings). Pass `date_from` / `date_to` (ISO-8601, inclusive lower / exclusive upper bound on `created_at`)- to scope to a window. Results capped at 100.+ run surfaced to the inbox) and `emitted_finding_ids`; `emitted_report_ids` (reports the run authored+ directly via `emit_report`) and `edited_report_ids` (reports the run mutated via `edit_report`) for the+ report channel; and — for runs that didn't complete cleanly — `error` (full TaskRun error) plus+ `failure_reason` (a concise derived one-liner). Pass `skill_name` (optionally with `skill_version`) to scope+ the dump to a single scout instead of every scout on the team — the primary scoping path when a specialist+ dedupes against its own past runs. Pass `emitted=true` to return only runs that emitted at least one finding+ (or `emitted=false` for runs that surfaced nothing). Pass `text` for a case-insensitive substring match on+ the run's `summary` (the primary dedupe key for runs that didn't emit findings). Pass `date_from` /+ `date_to` (ISO-8601, inclusive lower / exclusive upper bound on `created_at`) to scope to a window. Results+ capped at 100.signals-scout-runs-retrieve:operation: signals_scout_runs_retrieveenabled: truediff --git a/services/mcp/schema/generated-tool-definitions.json b/services/mcp/schema/generated-tool-definitions.jsonindex 98d9cb456a6f..ea2239095d43 100644--- a/services/mcp/schema/generated-tool-definitions.json+++ b/services/mcp/schema/generated-tool-definitions.json@@ -6542,7 +6542,7 @@}},"signals-scout-runs-list": {- "description": "Return the most recent `SignalScoutRun` summaries for this project, newest first. Used by the headless scout to dedupe against work other runs already covered. Each row carries `emitted_count` (how many findings the run surfaced to the inbox), `emitted_finding_ids`, and — for runs that didn't complete cleanly — `error` (full TaskRun error) plus `failure_reason` (a concise derived one-liner). Pass `skill_name` (optionally with `skill_version`) to scope the dump to a single scout instead of every scout on the team — the primary scoping path when a specialist dedupes against its own past runs. Pass `emitted=true` to return only runs that emitted at least one finding (or `emitted=false` for runs that surfaced nothing). Pass `text` for a case-insensitive substring match on the run's `summary` (the primary dedupe key for runs that didn't emit findings). Pass `date_from` / `date_to` (ISO-8601, inclusive lower / exclusive upper bound on `created_at`) to scope to a window. Results capped at 100.",+ "description": "Return the most recent `SignalScoutRun` summaries for this project, newest first. Used by the headless scout to dedupe against work other runs already covered. Each row carries `emitted_count` (how many findings the run surfaced to the inbox) and `emitted_finding_ids`; `emitted_report_ids` (reports the run authored directly via `emit_report`) and `edited_report_ids` (reports the run mutated via `edit_report`) for the report channel; and — for runs that didn't complete cleanly — `error` (full TaskRun error) plus `failure_reason` (a concise derived one-liner). Pass `skill_name` (optionally with `skill_version`) to scope the dump to a single scout instead of every scout on the team — the primary scoping path when a specialist dedupes against its own past runs. Pass `emitted=true` to return only runs that emitted at least one finding (or `emitted=false` for runs that surfaced nothing). Pass `text` for a case-insensitive substring match on the run's `summary` (the primary dedupe key for runs that didn't emit findings). Pass `date_from` / `date_to` (ISO-8601, inclusive lower / exclusive upper bound on `created_at`) to scope to a window. Results capped at 100.","category": "Signals","feature": "signals","summary": "List recent scout runs",diff --git a/services/mcp/schema/tool-definitions-all.json b/services/mcp/schema/tool-definitions-all.jsonindex 50679396edd4..55b98adc14ef 100644--- a/services/mcp/schema/tool-definitions-all.json+++ b/services/mcp/schema/tool-definitions-all.json@@ -7053,7 +7053,7 @@}},"signals-scout-runs-list": {- "description": "Return the most recent `SignalScoutRun` summaries for this project, newest first. Used by the headless scout to dedupe against work other runs already covered. Each row carries `emitted_count` (how many findings the run surfaced to the inbox), `emitted_finding_ids`, and — for runs that didn't complete cleanly — `error` (full TaskRun error) plus `failure_reason` (a concise derived one-liner). Pass `skill_name` (optionally with `skill_version`) to scope the dump to a single scout instead of every scout on the team — the primary scoping path when a specialist dedupes against its own past runs. Pass `emitted=true` to return only runs that emitted at least one finding (or `emitted=false` for runs that surfaced nothing). Pass `text` for a case-insensitive substring match on the run's `summary` (the primary dedupe key for runs that didn't emit findings). Pass `date_from` / `date_to` (ISO-8601, inclusive lower / exclusive upper bound on `created_at`) to scope to a window. Results capped at 100.",+ "description": "Return the most recent `SignalScoutRun` summaries for this project, newest first. Used by the headless scout to dedupe against work other runs already covered. Each row carries `emitted_count` (how many findings the run surfaced to the inbox) and `emitted_finding_ids`; `emitted_report_ids` (reports the run authored directly via `emit_report`) and `edited_report_ids` (reports the run mutated via `edit_report`) for the report channel; and — for runs that didn't complete cleanly — `error` (full TaskRun error) plus `failure_reason` (a concise derived one-liner). Pass `skill_name` (optionally with `skill_version`) to scope the dump to a single scout instead of every scout on the team — the primary scoping path when a specialist dedupes against its own past runs. Pass `emitted=true` to return only runs that emitted at least one finding (or `emitted=false` for runs that surfaced nothing). Pass `text` for a case-insensitive substring match on the run's `summary` (the primary dedupe key for runs that didn't emit findings). Pass `date_from` / `date_to` (ISO-8601, inclusive lower / exclusive upper bound on `created_at`) to scope to a window. Results capped at 100.","category": "Signals","feature": "signals","summary": "List recent scout runs",diff --git a/services/mcp/src/api/generated.ts b/services/mcp/src/api/generated.tsindex 9f1000dc8380..ba7e51c9d2e1 100644--- a/services/mcp/src/api/generated.ts+++ b/services/mcp/src/api/generated.ts@@ -47903,6 +47903,10 @@ export namespace Schemas {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[];}/**@@ -47959,6 +47963,10 @@ export namespace Schemas {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[];}export interface SignalUserAutonomyConfig {