: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
fix(signals): stop minting auto_pause_exempt on scout re-enable (#81964)
Andrew Maguire517aa2f5f434
diff --git a/products/desktop/packages/core/src/scouts/scoutPresentation.test.ts b/products/desktop/packages/core/src/scouts/scoutPresentation.test.tsindex b5bb950e5eb0..f5c56efc7179 100644--- a/products/desktop/packages/core/src/scouts/scoutPresentation.test.ts+++ b/products/desktop/packages/core/src/scouts/scoutPresentation.test.ts@@ -425,8 +425,8 @@ describe("lifecycle", () => {});it("says an inactivity pause never lifts itself", () => {- // The sweep has no probe: a human re-enable is the only exit, and that- // re-enable also marks the scout exempt.+ // The sweep has no probe: a human re-enable is the only exit, and the copy+ // must not promise the permanent exemption a resume no longer mints.const state = deriveScoutLifecycle(makeConfig({enabled: false,@@ -434,8 +434,8 @@ describe("lifecycle", () => {pause_reason: "ignored",}),);- expect(state.explanation).toContain("exempts it from inactivity pauses");- expect(state.explanation).not.toMatch(/retries|on its own/i);+ expect(state.explanation).toContain("can pause again later");+ expect(state.explanation).not.toMatch(/retries|on its own|exempt/i);});it("says a failure pause retries on its own", () => {diff --git a/products/desktop/packages/core/src/scouts/scoutPresentation.ts b/products/desktop/packages/core/src/scouts/scoutPresentation.tsindex 4cf84ce5262d..347c9921c1fc 100644--- a/products/desktop/packages/core/src/scouts/scoutPresentation.ts+++ b/products/desktop/packages/core/src/scouts/scoutPresentation.ts@@ -109,9 +109,9 @@ function systemPausedExplanation(): string {switch (reason) {case "ignored":- return "PostHog paused this scout because its findings were going unacted on. Switch it back on to resume — that also exempts it from inactivity pauses, so it will not happen again.";+ return "PostHog paused this scout because its findings were going unacted on. Switch it back on to resume. It can pause again later unless its findings get acted on.";case "no_output":- return "PostHog paused this scout because it stopped emitting findings. Switch it back on to resume — that also exempts it from inactivity pauses, so it will not happen again.";+ return "PostHog paused this scout because it stopped emitting findings. Switch it back on to resume. Staying quiet on its own will not pause it again.";case "repeated_failures":// The breaker keeps a half-open probe on this reason, so this one recovers// without anyone touching it. Say so, or the badge reads as terminal.diff --git a/products/signals/ARCHITECTURE.md b/products/signals/ARCHITECTURE.mdindex 2f5accf5b1aa..109edfd280c7 100644--- a/products/signals/ARCHITECTURE.md+++ b/products/signals/ARCHITECTURE.md@@ -556,7 +556,7 @@ Per-scout binding for the headless **Signals agent**: one row per `(team, skill_| `pause_reason` | Char (nullable) | Why the system paused or warned: `no_output` (warn-only: silence flags a scout but never pauses it) / `ignored` (nobody acts on its reports: warns, then pauses) / `repeated_failures`. Also names the writer that owns the pause: a system writer may only move a pause carrying a reason it owns, and the inactivity sweep owns both of its reasons (`transition_status_by_system()`). Null outside `pending_pause` / `paused_by_system`. || `status_changed_at` | DateTime (nullable) | When `status` last changed. Anchors the cold-start grace window (`in_cold_start_grace()`): any move back to `active` re-anchors it, deliberately independent of the actor so the window survives account deletion. || `status_changed_by` | FK → User (nullable) | The human behind the last status change; null on system transitions, so a human re-enable and a system resume are distinguishable and a system pause never reads as a person's action. |-| `auto_pause_exempt` | Boolean | Opt-out from the daily inactivity sweep (`scout_harness/inactivity.py`, the `no_output` / `ignored` writer), for watchdog scouts whose whole job is staying quiet. Defaults `False`. Also set automatically when a human re-enables a scout the sweep paused, so the sweep never overrules a person twice. |+| `auto_pause_exempt` | Boolean | Opt-out from the daily inactivity sweep (`scout_harness/inactivity.py`, the `no_output` / `ignored` writer), for watchdog scouts whose whole job is staying quiet. Defaults `False` and only ever set explicitly: a human re-enable of a swept scout relies on the `in_cold_start_grace` re-anchor for its fresh window instead of minting permanent immunity. || `emit` | Boolean | Dry-run vs emit. Defaults `True`: a freshly authored scout is live from its first tick. Flip to `False` for dry-run — the scout runs and logs but `emit_finding` writes nothing — to validate it on a team before its findings reach the inbox. || `run_interval_minutes` | PositiveInteger | Minutes between runs. The coordinator dispatches rolling schedules when `last_run_at is None or now - last_run_at >= run_interval_minutes`. Default `1440` (daily). Validated `30 <= N <= 43200`. || `run_cron_schedule` | Char (nullable) | Optional five-field cron expression anchoring runs to wall-clock slots; takes precedence over `run_interval_minutes` when set. Interpreted in the project's timezone so daylight-saving changes are applied automatically. Occurrences must be ≥ 30 minutes apart. Null keeps the rolling interval behavior. |diff --git a/products/signals/backend/models.py b/products/signals/backend/models.pyindex 5d62ab78b834..dddadade8d02 100644--- a/products/signals/backend/models.py+++ b/products/signals/backend/models.py@@ -1384,8 +1384,9 @@ class SignalScoutConfig(ModelActivityMixin, TeamScopedRootMixin, UUIDModel):# The pause reasons the inactivity sweep owns (`scout_harness/inactivity.py`): `no_output`# for a scout that surfaced nothing, `ignored` for one whose output nobody picked up. On the- # model rather than the sweep because the update serializer also reads them — a human- # re-enable of a pause carrying one of these marks the scout `auto_pause_exempt`.+ # model rather than the sweep because the update serializer also reads them: a human+ # re-enable of a pause carrying one of these emits the sweep's false-positive metric+ # (`signals_scout_auto_pause_reverted`).INACTIVITY_PAUSE_REASONS = (PauseReason.NO_OUTPUT, PauseReason.IGNORED)# How long a scout is treated as provisional after creation or a human re-enable, during@@ -1462,10 +1463,10 @@ class SignalScoutConfig(ModelActivityMixin, TeamScopedRootMixin, UUIDModel):)# Opt-out from the inactivity sweep (`scout_harness/inactivity.py`) — a watchdog whose whole# value is staying quiet (health checks, inbox validation) is *supposed* to surface nothing- # most weeks, so silence must never read as waste. Also set by the update serializer when a- # human re-enables a scout the sweep paused: that re-enable is a human overruling the rule,- # and the sweep must not undo it one window later. `db_default` alongside `default` keeps the- # AddField non-blocking and the column populated for writers that don't know about it yet.+ # most weeks, so silence must never read as waste. Only ever set explicitly: a re-enable of a+ # swept scout relies on the `in_cold_start_grace` re-anchor for its fresh window instead of+ # minting permanent immunity. `db_default` alongside `default` keeps the AddField+ # non-blocking and the column populated for writers that don't know about it yet.auto_pause_exempt = models.BooleanField(default=False, db_default=False)# Dry-run vs emit. Defaults emit-on so a freshly authored scout is live from its first# tick. Flip to False for dry-run — the scout runs and logs but `emit_finding` writesdiff --git a/products/signals/backend/scout_harness/AGENTS.md b/products/signals/backend/scout_harness/AGENTS.mdindex 543d5cf24626..220b4393feba 100644--- a/products/signals/backend/scout_harness/AGENTS.md+++ b/products/signals/backend/scout_harness/AGENTS.md@@ -42,7 +42,7 @@ In production it is driven by `SignalsScoutCoordinatorWorkflow` (periodic tick eThe two `pause_reason`s behave differently: `ignored` (the scout holds at least one report older than `ESTABLISHED_REPORT_AGE` and none of its reports show consumption) warns and then pauses after `WARNING_GRACE`; `no_output` (silent, with no judgeable report evidence) only ever warns, because a watch scout's silence can be its job. A scout with output but nothing judgeable on the report side — findings-only, Slack-routed (consumption happens in Slack where no evidence flows back), or every report younger than `ESTABLISHED_REPORT_AGE` — is left alone.It speaks the scout lifecycle vocabulary rather than keeping fields of its own: the warning is `status=pending_pause` (still scheduled), the pause is `status=paused_by_system` (syncing `enabled=False`), both through `transition_status_by_system`. The helper's ownership rule is writer-scoped: the sweep owns both of its reasons (so it can reclassify its own warning in either direction — `no_output` becomes `ignored` when report evidence establishes, restarting the grace clock, and `ignored` downgrades to `no_output` when its evidence ages out of the lookback, so a pause never lands on stale grounds), and neither the sweep nor the failure breaker can touch the other's pauses.Driven by the daily `pause_inactive_signal_scouts` Celery task rather than the coordinator tick, which stays short-lived and bounded. A dry-run scout, one inside `in_cold_start_grace()`, one that has barely run (`MIN_RUNS_IN_WINDOW`), and one flagged `auto_pause_exempt` (watchdogs whose value is staying quiet) are all left alone; new warnings are capped per sweep (`MAX_WARNS_PER_SWEEP`), which also bounds later pauses, since a pause only ever follows a warning by `WARNING_GRACE`.- Unlike the failure breaker there is no probe — an inactivity pause never runs again on its own. Re-enabling through the config API resumes the scout, re-anchors its grace window, and marks it `auto_pause_exempt` so the sweep never overrules a person twice; that resume also emits `signals_scout_auto_pause_reverted`, the sweep's false-positive metric (the warn and pause emit `signals_scout_auto_pause_warned` / `signals_scout_auto_paused`).+ Unlike the failure breaker there is no probe — an inactivity pause never runs again on its own. Re-enabling through the config API resumes the scout and re-anchors its grace window, so the sweep waits a full fresh `COLD_START_GRACE` and re-derives its verdict before judging it again (permanent immunity stays the explicit `auto_pause_exempt` field, never a resume side effect); that resume also emits `signals_scout_auto_pause_reverted`, the sweep's false-positive metric (the warn and pause emit `signals_scout_auto_pause_warned` / `signals_scout_auto_paused`).- `limits.py`Runtime ceilings as module constants: `DEFAULT_MAX_RUNTIME_S` (per-run budget), `ACTIVITY_SLACK_S`, and `WORKFLOW_HARD_CEILING_S` (`= DEFAULT_MAX_RUNTIME_S + ACTIVITY_SLACK_S`, the activity-level ceiling that gates the workflow's `start_to_close_timeout`).Also the failure-streak circuit breaker's knobs: `failure_streak_pause_threshold(runs_in_tolerance_window)` — consecutive failed runs before the breaker pauses the lane, derived per-lane so the same wall-clock tolerance holds at every cadence (one failure past the runs the schedule fits into `FAILURE_STREAK_MIN_SPAN_MINUTES` of continuous failure, `FAILURE_STREAK_MIN_RUNS` floor, capped at `FAILURE_STREAK_MAX_RUNS` + 1), with `interval_runs_in_tolerance_window` sizing the evenly spaced case — and `AUTO_PAUSE_PROBE_INTERVAL_S` (how long a paused lane holds before the coordinator dispatches one probe).diff --git a/products/signals/backend/scout_harness/inactivity.py b/products/signals/backend/scout_harness/inactivity.pyindex 5a36d9f99a29..0e7ce6f2ba81 100644--- a/products/signals/backend/scout_harness/inactivity.py+++ b/products/signals/backend/scout_harness/inactivity.py@@ -48,8 +48,10 @@ warning becomes `ignored` when report evidence establishes, and an `ignored` warto `no_output` when its evidence ages out, so a pause never lands on stale grounds), andwhose `evaluated_at` check makes a racing human edit win over a sweep decision made on stalereads. There is no half-open probe on this axis: an inactivity pause never runs again on its-own; a human re-enable is the only exit, and the update serializer marks that re-enable-`auto_pause_exempt` so the sweep never overrules it.+own; a human re-enable is the only exit. A resume re-anchors `in_cold_start_grace`, so the+sweep waits a full fresh window and re-derives its verdict before judging the scout again;+permanent immunity is the explicit `auto_pause_exempt` flag's job, never a side effect of the+resume."""from __future__ import annotationsdiff --git a/products/signals/backend/scout_harness/serializers.py b/products/signals/backend/scout_harness/serializers.pyindex 5c6554dfc2c3..275c37f888a5 100644--- a/products/signals/backend/scout_harness/serializers.py+++ b/products/signals/backend/scout_harness/serializers.py@@ -2294,8 +2294,8 @@ class SignalScoutConfigSerializer(serializers.ModelSerializer):help_text=("Whether this scout is exempt from the inactivity sweep, meaning both the `ignored` ""pause and the `no_output` quiet warning. Set it on watchdog scouts whose value is "- "staying quiet. Also set automatically when someone re-enables a scout the inactivity "- "sweep paused, so the sweep never overrules a person twice."+ "staying quiet. Only ever set explicitly: re-enabling a swept scout instead grants a "+ "fresh grace window before the sweep may judge it again."),)# Read through `tag_list`, not the column, so a pre-migration NULL reads as `[]`.@@ -2541,13 +2541,12 @@ class SignalScoutConfigUpdateSerializer(serializers.ModelSerializer):target = SignalScoutConfig.Status.ACTIVEelse:target = None- # A re-enable of an inactivity pause is a human overruling the sweep, and the sweep must- # never overrule them back: the same quiet fortnight that triggered the pause would- # otherwise re-qualify the scout the moment its fresh grace window lapses. Marking it- # exempt (unless the caller set the flag explicitly in the same request) makes the- # exemption visible and reversible where a hidden marker would not be.reverted_reason = instance.pause_reasonreverted_paused_at = instance.status_changed_at+ # Only feeds the revert metric below. A resume deliberately leaves `auto_pause_exempt`+ # alone: the move back to `active` re-anchors `in_cold_start_grace`, so the sweep+ # already waits a full fresh window and re-derives its verdict before judging the scout+ # again, and permanent immunity stays the explicit flag's choice.resumed_from_inactivity_pause = (target == SignalScoutConfig.Status.ACTIVEand instance.status == SignalScoutConfig.Status.PAUSED_BY_SYSTEM@@ -2563,8 +2562,6 @@ class SignalScoutConfigUpdateSerializer(serializers.ModelSerializer):# Same rule as `transition_status_by_system`: a resume starts with a clean# failure streak, or the next failed run re-trips the breaker off stale evidence.validated_data["consecutive_failure_count"] = 0- if resumed_from_inactivity_pause:- validated_data.setdefault("auto_pause_exempt", True)updated = super().update(instance, validated_data)if resumed_from_inactivity_pause:# The false-positive metric for the sweep: a re-enable soon after the pause means thediff --git a/products/signals/backend/test/test_scout_harness_api.py b/products/signals/backend/test/test_scout_harness_api.pyindex 7427acf37ae8..b3938dc7ea01 100644--- a/products/signals/backend/test/test_scout_harness_api.py+++ b/products/signals/backend/test/test_scout_harness_api.py@@ -1972,21 +1972,29 @@ class TestScoutHarnessConfigAPI(APIBaseTest):@parameterized.expand([- ("default_marks_exempt", {"enabled": True}, True),- ("explicit_false_wins", {"enabled": True, "auto_pause_exempt": False}, False),+ ("no_output", SignalScoutConfig.PauseReason.NO_OUTPUT, {"enabled": True}, False),+ ("ignored", SignalScoutConfig.PauseReason.IGNORED, {"enabled": True}, False),+ ("repeated_failures", SignalScoutConfig.PauseReason.REPEATED_FAILURES, {"enabled": True}, False),+ (+ "explicit_true_wins",+ SignalScoutConfig.PauseReason.IGNORED,+ {"enabled": True, "auto_pause_exempt": True},+ True,+ ),])- def test_re_enabling_an_inactivity_paused_scout_marks_it_exempt(- self, _name: str, payload: dict, expected_exempt: bool+ def test_re_enabling_a_system_paused_scout_does_not_mark_it_exempt(+ self, _name: str, pause_reason: SignalScoutConfig.PauseReason, payload: dict, expected_exempt: bool) -> None:- # A re-enable is a human overruling the sweep, and the sweep must not overrule them back:- # the same quiet fortnight would re-qualify the scout as soon as its grace window lapses.+ # A resume re-anchors the cold-start grace, which already keeps the sweep from+ # re-judging the scout soon; minting the exemption here would remove it from the+ # sweep's jurisdiction forever on every revert. Exemption stays an explicit choice.config = SignalScoutConfig.objects.create(team=self.team,skill_name="signals-scout-foo",enabled=False,status=SignalScoutConfig.Status.PAUSED_BY_SYSTEM,- pause_reason=SignalScoutConfig.PauseReason.NO_OUTPUT,+ pause_reason=pause_reason,)response = self.client.patch(self._detail_url(str(config.id)), data=payload, format="json")@@ -2019,24 +2027,6 @@ class TestScoutHarnessConfigAPI(APIBaseTest):assert call.kwargs["properties"]["pause_reason"] == SignalScoutConfig.PauseReason.IGNOREDassert call.kwargs["properties"]["reverted_within_24h"] is True- def test_re_enabling_a_breaker_paused_scout_does_not_mark_it_exempt(self) -> None:- # The exemption belongs to the inactivity sweep; a re-enable after repeated failures says- # nothing about whether the scout's silence is wanted.- config = SignalScoutConfig.objects.create(- team=self.team,- skill_name="signals-scout-foo",- enabled=False,- status=SignalScoutConfig.Status.PAUSED_BY_SYSTEM,- pause_reason=SignalScoutConfig.PauseReason.REPEATED_FAILURES,- )-- response = self.client.patch(self._detail_url(str(config.id)), data={"enabled": True}, format="json")-- assert response.status_code == status.HTTP_200_OK- config.refresh_from_db()- assert config.status == SignalScoutConfig.Status.ACTIVE- assert config.auto_pause_exempt is False-def test_exempting_a_scout_clears_its_pending_warning(self) -> None:# Exempting takes the scout out of the sweep, so nothing else would ever clear the# warning and the fleet page would keep saying it's about to pause.diff --git a/products/signals/frontend/generated/api.schemas.ts b/products/signals/frontend/generated/api.schemas.tsindex b5405f5eceb6..2e3f8572b712 100644--- a/products/signals/frontend/generated/api.schemas.ts+++ b/products/signals/frontend/generated/api.schemas.ts@@ -2102,7 +2102,7 @@ export interface SignalScoutConfigApi {* @nullable*/readonly status_changed_at: string | null- /** Whether this scout is exempt from the inactivity sweep, meaning both the `ignored` pause and the `no_output` quiet warning. Set it on watchdog scouts whose value is staying quiet. Also set automatically when someone re-enables a scout the inactivity sweep paused, so the sweep never overrules a person twice. */+ /** Whether this scout is exempt from the inactivity sweep, meaning both the `ignored` pause and the `no_output` quiet warning. Set it on watchdog scouts whose value is staying quiet. Only ever set explicitly: re-enabling a swept scout instead grants a fresh grace window before the sweep may judge it again. */readonly auto_pause_exempt: boolean/** Free-form labels for grouping the fleet, e.g. `["revenue", "on-call"]`. Normalized to lowercase kebab-case (`On Call` and `on_call` both become `on-call`), deduped, and stored sorted; at most 10 tags, each at most 50 characters once normalized. Pass the full desired set — a write replaces the existing tags rather than merging into them. Filter the config list with the `tags` query parameter. */tags?: string[]diff --git a/products/signals/skills/authoring-scouts/SKILL.md b/products/signals/skills/authoring-scouts/SKILL.mdindex 49a6e68fd849..8fef53159fe4 100644--- a/products/signals/skills/authoring-scouts/SKILL.md+++ b/products/signals/skills/authoring-scouts/SKILL.md@@ -122,7 +122,7 @@ For an **existing scout**, tune with `posthog:scout-config-update` (find the `idApplies from the scout's next run, and changes are activity-logged.- `auto_pause_exempt` — defaults to `false`.A scout whose reports nobody engages with (no open, rating, or action — the cloud web inbox records reads; other clients don't yet) is warned and then paused automatically (`pause_reason=ignored`) — every run costs a sandbox agent, so a scout producing output no human consumes shouldn't keep running forever. A scout that is merely quiet is only flagged (`pause_reason=no_output`, a warning that never advances to a pause), since a watch scout's silence can be its job.- `-config-list` shows the warning as `status=pending_pause` and the pause as `status=paused_by_system`; setting `enabled=true` again resumes the scout, and marks it exempt so the sweep never overrules a person twice.+ `-config-list` shows the warning as `status=pending_pause` and the pause as `status=paused_by_system`; setting `enabled=true` again resumes the scout with a fresh grace window before the sweep may judge it again.Set `auto_pause_exempt=true` up front for a watchdog scout whose whole job is to stay quiet, so it never even picks up the quiet flag.- `tags` — free-form labels grouping the fleet, e.g. `["revenue", "on-call"]`. Up to 10 per scout, normalized to lowercase kebab-case (`On Call` → `on-call`) and deduped.Set them at create time: a scout that lands already grouped saves a follow-up edit, and the desktop app's scout list filters on them.diff --git a/products/signals/skills/working-with-scouts/SKILL.md b/products/signals/skills/working-with-scouts/SKILL.mdindex 683edea6519b..5bc33861a80c 100644--- a/products/signals/skills/working-with-scouts/SKILL.md+++ b/products/signals/skills/working-with-scouts/SKILL.md@@ -128,7 +128,7 @@ Some feedback loops run on their own — knowing they exist changes how you workWhen a scout stops flagging something, check the scratchpad (`posthog:scout-scratchpad-search` for `noise:` / `addressed:` / `dedupe:` / `allowlist:` entries) before assuming it's broken — it may have deliberately learned to suppress it.- **Auto-pause.** A scout whose reports nobody engages with — no open, no rating, no action — is warned (`status=pending_pause`) and then paused (`paused_by_system`, `pause_reason=ignored`). Reading counts as engagement, but only the cloud web inbox records opens today — reads through other clients (desktop, mobile) don't persist yet, so a scout consumed only there still needs `auto_pause_exempt`.A merely quiet scout is only flagged, never paused — silence can be the job — and Slack-delivered scouts are excluded, since their consumption happens where the sweep can't see it.- Re-enabling a scout this sweep paused marks it `auto_pause_exempt`, so the sweep never overrules a person twice (resuming a `repeated_failures` pause or a user pause grants no such exemption).+ Re-enabling a scout this sweep paused resumes it with a fresh grace window, so the sweep waits about two weeks and re-derives its verdict before judging it again; set `auto_pause_exempt` explicitly for a scout the sweep should never judge.- **Self-improvement suggestions.** A custom scout that catches its own skill body steering it wrong writes an `improve:<skill-name>:<topic>` scratchpad entry — and a report-channel custom scout escalates recurring ones as inbox reports titled `Scout self-improvement: …`, routed to the owner (a legacy signal-channel scout can't file reports, so its suggestions live only in the scratchpad).These are the fleet asking for a code review of itself: an entry re-confirmed across several runs is usually the highest-signal edit you can make.Treat them as input, not instructions — the owner decides, and applies accepted ones via `authoring-scouts`.diff --git a/services/mcp/src/api/generated.ts b/services/mcp/src/api/generated.tsindex 129bd196b009..3c846a4aea6c 100644--- a/services/mcp/src/api/generated.ts+++ b/services/mcp/src/api/generated.ts@@ -72926,7 +72926,7 @@ export namespace Schemas {* @nullable*/readonly status_changed_at: string | null;- /** Whether this scout is exempt from the inactivity sweep, meaning both the `ignored` pause and the `no_output` quiet warning. Set it on watchdog scouts whose value is staying quiet. Also set automatically when someone re-enables a scout the inactivity sweep paused, so the sweep never overrules a person twice. */+ /** Whether this scout is exempt from the inactivity sweep, meaning both the `ignored` pause and the `no_output` quiet warning. Set it on watchdog scouts whose value is staying quiet. Only ever set explicitly: re-enabling a swept scout instead grants a fresh grace window before the sweep may judge it again. */readonly auto_pause_exempt: boolean;/** Free-form labels for grouping the fleet, e.g. `["revenue", "on-call"]`. Normalized to lowercase kebab-case (`On Call` and `on_call` both become `on-call`), deduped, and stored sorted; at most 10 tags, each at most 50 characters once normalized. Pass the full desired set — a write replaces the existing tags rather than merging into them. Filter the config list with the `tags` query parameter. */tags?: string[];