Skip to content

harden(flags): one due date, bounded extensions, owner cap on real debt, ops_kill defaults on - #24954

Merged
Git-on-my-level merged 17 commits into
mainfrom
lane/flag-registry-v2
Nov 9, 2026
Merged

Git-on-my-level merged 17 commits into
mainfrom
lane/flag-registry-v2

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Requested by David

David approved 2026-11-08 17:09Z: enforce review_by and done_by in CI, sweep the registry metadata, and make ops_kill mean default on. This applies those rules and the lead's subsequent sweep rulings. The pre-sweep registry had 82 rollout/experiment rows whose review dates would fail the old seven-day-grace checker on 2026-11-12, turning every PR red without a sweep (measured against the saved pre-sweep registry on 2026-11-08 19:24Z).

  • Use UTC for the default check date so UTC+7 pre-push hooks agree with CI.
  • Enforce review dates and pending rollout ramp completion dates with the same seven-day grace. A row's single extension affects both deadlines. Decided flags still read by code must retire their code paths.
  • Validate a single self-service extension of at most 14 days, with a meaningful reason, lane, and grant date that has already occurred. Compare against the merge-base to refuse second extensions and later original deadlines, for pending and already-decided rows. Existing ramp plans cannot lose their deadline while ramp enforcement still applies. Missing merge-base data explicitly warns and skips diff rules.
  • Count only pending rollout debt without a live dated ramp toward the owner cap of five, including all new debt added in the same PR. Reject any account token on new rows (existing rows are grandfathered), split shared owners on /, comma, &, +, | and whitespace-delimited "and", and count each debt row once per distinct normalized lane token. Remove the dazheng backlog exception.
  • Reject default-off ops_kill rows except the 18 remaining migration exceptions, which expire 2026-11-29. Retain stale-entry and expiry enforcement. Warn about rollout rows decided keep/with_legacy.
  • Emit FLAG_DUE_SOON, FLAG_OVERDUE_COUNT, FLAG_DARK_OVER_14D and the revised FLAG_OWNER_BACKLOG counts; regenerate the registry documentation with its existing 2026-11-05 header.

The CSV contains 307 rows: 304 active rows were applied; SYNC_BACKFILL_INFLIGHT_LIMIT was already retired in #19352, and two DREAM_NO_PROGRESS_STOP_MODE rows retired in #24955 were preserved when merging current main. None was recreated. All other 286 rows still owned by dazheng were reassigned. Owner assignments to omi-pipeline now require an existing origin/main assignment or PROJECTION_DRAIN_LIVE_TARGET_BACKOFF. Assignments to backlog-refactor require an existing origin/main assignment or the accepted BATCH_/SYNC_ scope; other previously inferred assignments go to auditfix pending retirement or an explicit owner claim. No account owner token remains in flags, ignored entries, or retired entries (verified with the same tokenizer used by the checker). The ignored entries localEmbeddingsEnabled and meeting_note_screenshots_enabled also move from dazheng to auditfix; active flag owner counts below are unchanged. All 97 exceptions introduced by #24950 are now extended rows, permanent lifecycles, or retired upstream; REVIEW_OVERDUE and _AD1268_SWEEP are removed.

CSV action Rows Applied treatment
A 15 Extension through Nov22; two subsequently retired in #24955
B 65 Extension through Nov22, preserving client-surface reason
C 12 Extension through Nov22
D 88 Extension through Nov22
E 15 Extension through Nov22
E-MISMATCH 40 Extension through Nov22
F → config_switch 32 Relabel permanent opt-in controls
F → rollout 17 Relabel and add missing review_by Nov22 only
G → config_switch 15 Relabel 14 active rows; one already retired
G → ops_kill 8 Per lead ruling, use config_switch because all eight default off

There are 234 bounded extensions, all granted Nov8 by auditfix and ending Nov22. One additional extension covers AUDIO_ARCHIVE_STOP_PCM_PERCENT, outside the CSV, whose unchanged Nov14 ramp deadline would otherwise fail Nov23. Permanent G relabels drop inapplicable review/ramp metadata and preserve the old review date in notes. No decision, terminal, parser fail/default, runtime value, or production value changed. Existing dates were not postponed: the only original review/ramp metadata changes are the explicitly approved G removals; 17 missing F review dates were added. The checker change also aligns the policy validation script (backend/config/policy/guard.py): default-on live controls must remain ops_kill; opt-in live controls may be config_switch or rollout. Hermetic fixtures cover both accepted and rejected lifecycles. The backend flag-budget fixture also follows the approved rollout labels and lane ownership, rather than freezing the former account owner. No workflow or runtime application code changed. No production access was used.

CSV proposed-owner counts (unowned mapped to auditfix): omi-pipeline 122; auditfix 82; backlog-refactor 78; uicleanup 19; firestore-lead 2; cl2-coordkit 2; pgfoundation 1; cl2-deploy 1. The already-retired limit row is included in the backlog-refactor source count; the two subsequently retired Dream rows are included in the auditfix source count.

Registry-wide owner counts after reassignment (712 rows). The ownership correction moves 179 rows from omi-pipeline and 62 from backlog-refactor to auditfix. The ownership correction changes no decision, deadline, lifecycle, extension, fail/default, or runtime value. Shared-owner validation now refuses account tokens on added rows and applies the cap separately to each named lane, with duplicate lane tokens counted once; existing rows remain exempt from the new-row account rule. Regression fixtures cover every separator, lane-only acceptance, legacy rows, shared existing debt and batched additions.

Owner Before correction After correction
auditfix 190 431
backlog-refactor 181 119
unowned 40 40
two-lane lead 27 27
uicleanup 23 23
backend 14 14
planscost 8 8
merge-desk 6 6
omi-pipeline 184 5
firestore-lead 4 4
home-overlap 4 4
review-desk 4 4
lead2 3 3
two-lane rollout lead 3 3
cl2-coordkit 2 2
cl2-deploy 2 2
pgfoundation 2 2
speaker rollout lead 2 2
vroute-c / batch rollout lead 2 2
backend listen 1 1
backend runtime_env (PR #18855) 1 1
cl2-cost / lead2 1 1
flightcut / batch rollout lead 1 1
fswrites 1 1
nik 1 1
omi-lifecycle 1 1
rollout-meetings 1 1
speakerrename 1 1
uicleanup (omi-lifecycle) 1 1
uicleanup / omi-lifecycle 1 1

Validation (measured locally; CI is separate). The owner correction reruns the fixtures, six as-of CLI checks, and unchanged normal push hooks; historical broader audit results below are identified by scope. No owner backlog exception has been added.

  • nice -n 15 timeout 1500 backend/.venv/bin/python -m unittest discover -s scripts -p 'test_*flag*.py': 102 passed, 146.373 seconds (91 checker fixtures and 11 PostHog fixtures). The focused owner subset passed 14 tests, including all requested spellings and shared-lane cap cases.

  • nice -n 15 timeout 1500 backend/.venv/bin/python -m pytest -q backend/tests/unit/test_flag_budget.py: 24 passed in the normal push hook.

  • Earlier registry-coupled backend audit using canonical backend/test.sh, an explicit nine-file list and two isolated workers: 430 tests passed across all 9 files (includes the 24 budget tests above). Default/off runtime assertions remain intact.

  • Full local manifest preflight and supplied PR-body validation, through the unchanged normal pre-push hook (same manifest as make preflight): 40 checks passed, 285 seconds. No skip flags. The remaining normal pre-push gates also passed, and the branch was pushed successfully.

  • Full checker CLI scripts/check_feature_flag_registry.py --as-of DATE on head 99c25a16e58695b1e49729ea88070cb882e32c12:

As of Errors Result
2026-11-08 0 Pass
2026-11-12 0 Pass
2026-11-16 0 Pass
2026-11-19 0 Pass
2026-11-23 28 Only pre-existing duplicate-declaration exceptions expired Nov20 (workstream B)
2026-11-30 18 Expected default-off ops_kill migration exceptions expired Nov29

All twelve daily schema/deadline boundary checks for Nov8 through Nov19 also pass. Nov30 returns at schema validation on the 18 migration expiries, so that output does not enumerate the subsequent row-deadline failures. Raw outputs and UTC measurement receipts are saved in the owning run directory as out-checker-asof-<date>.txt and checker-asof-receipt.json.

Product invariants affected: none (scripts/pr-preflight --suggest).

Failure-Class: none

This hardens repository registry governance; no existing semantic runtime failure class matches these validation bypasses. Reusable guards and regression fixtures live in scripts/check_feature_flag_registry.py, scripts/feature_flag_registry.py and scripts/test_check_feature_flag_registry.py.

View guided diff Turn on auto-fix

🤖 Generated with Claude Code.

@Git-on-my-level Git-on-my-level self-assigned this Nov 8, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T05:47:59.185893Z 45cb514 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7cee83f29c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +132 to +133
if len(dates) == 2 and not 0 <= (dates["until"] - dates["granted"]).days <= 14:
errors.append(f"{key}: extension.until must be 0 to 14 days after extension.granted")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reject extension grants dated after the check date

When a row receives its first extension, a future granted date lets it bypass the intended 14-day bound. For example, checking on 2026-11-08 accepts granted: 2030-11-01 and until: 2030-11-15; both schema validation and check_diff_rules() return no errors, and effective_due() immediately postpones enforcement until 2030. Pass the check's UTC/as-of date into extension validation and reject grants after that date so a mistyped or future-dated grant cannot suppress review and ramp enforcement for years.

Useful? React with 👍 / 👎.

Comment thread scripts/check_feature_flag_registry.py Outdated
Comment on lines +130 to +131
if entry.get("decision") not in {"pending", "undecided"}:
continue

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve original deadlines for decided flags too

For an existing rollout or experiment decided ship, graduate, or kill, this early return allows review_by to move arbitrarily later without an extension. Those rows are still subject to the new code-retirement deadline in check(), so changing a shipped row's review date from 2026-11-01 to 2030-11-01 passes the diff rules and suppresses the retirement error while code continues reading the flag. Apply the original-date comparison to decided rows that retain deadlines as well as pending rows.

Useful? React with 👍 / 👎.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 9 files

Confidence score: 3/5

  • In scripts/feature_flag_registry.py, a future-dated granted value can push the effective due date arbitrarily late. Anchor the until cap to the original deadline or merge-base date.

You’re at about 99% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact [email protected].

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="scripts/feature_flag_registry.py">

<violation number="1" location="scripts/feature_flag_registry.py:132">
P2: The extension bound is measured from a caller-supplied `granted` date rather than the original deadline or merge-base date, allowing a future-dated grant to create an arbitrarily late effective due date. Cap `until` relative to the original deadline and reject future `granted` dates.</violation>
</file>

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread scripts/check_feature_flag_registry.py Resolved
Comment thread backend/config/policy/guard.py Resolved
dates[field] = date.fromisoformat(extension[field])
except (KeyError, TypeError, ValueError):
errors.append(f"{key}: extension.{field} must be an ISO date")
if len(dates) == 2 and not 0 <= (dates["until"] - dates["granted"]).days <= 14:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: The extension bound is measured from a caller-supplied granted date rather than the original deadline or merge-base date, allowing a future-dated grant to create an arbitrarily late effective due date. Cap until relative to the original deadline and reject future granted dates.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At scripts/feature_flag_registry.py, line 132:

<comment>The extension bound is measured from a caller-supplied `granted` date rather than the original deadline or merge-base date, allowing a future-dated grant to create an arbitrarily late effective due date. Cap `until` relative to the original deadline and reject future `granted` dates.</comment>

<file context>
@@ -68,6 +91,57 @@ def _ramp_applies_to(entry: dict[str, Any]) -> bool:
+            dates[field] = date.fromisoformat(extension[field])
+        except (KeyError, TypeError, ValueError):
+            errors.append(f"{key}: extension.{field} must be an ISO date")
+    if len(dates) == 2 and not 0 <= (dates["until"] - dates["granted"]).days <= 14:
+        errors.append(f"{key}: extension.until must be 0 to 14 days after extension.granted")
+    reason = extension.get("reason")
</file context>

Comment thread scripts/check_feature_flag_registry.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 562a220f12

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +134 to +136
(old.get("ramp", {}).get("done_by"), entry.get("ramp", {}).get("done_by")),
):
if previous and current and date.fromisoformat(current) > date.fromisoformat(previous):

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve existing ramp deadlines when a plan is removed

For a pending rollout created before the ramp-required cutoff, deleting its existing ramp makes current absent, so this comparison accepts the change. Schema validation also accepts it because the row is grandfathered, and due_dates() then stops enforcing its ramp deadline. For example, a row created on 2026-08-01 with done_by: 2026-11-01 and review_by: 2026-12-01 can escape the November 9 ramp failure simply by removing its plan, without using an extension or retiring the flag. Reject removal of an existing ramp deadline while the row remains subject to ramp enforcement.

Useful? React with 👍 / 👎.

@Git-on-my-level

Copy link
Copy Markdown
Member Author

Lead ruling on #24954 Luna BLOCK at 99c25a1 (2026-11-09)

Finding: a new row owned by fresh / auditfix that carries a live ramp plan is rejected once auditfix is at the 5-row cap, though the row adds no unramped debt.

Ruling: working as designed. The cap is a pay-down gate: an owner at cap must ramp or retire existing debt before adding any new rollout row. The message says "ramp or retire before adding". The test test_owner_at_cap_cannot_add_rollout_but_under_cap_can asserts it, rejecting a zero-debt decision: ship row at cap.

At e689dd7 the same at-cap rule applied (identical condition, check_owner_backlog lines 148-153). The scenario only passed there because owners were matched as whole strings, so fresh / auditfix did not count against auditfix. Matching on owner tokens is the fix #24954 exists to make. It is not a regression.

Luna's other checks all confirmed: tokenization, once-per-row counting, the shared 4 to 6 rejection, and no account tokens. #24954 ships at 99c25a1 under this ruling.

Git-on-my-level and others added 3 commits November 9, 2026 11:51
Registry rows merged per field against the merge base: 153 field changes
from main's review extensions (#24964, #24965) and record-seal age order
apply as-is. Four rows (PARAKEET_PACKING_ENABLED, BATCH_PIPELINE_RECOVERY_MODE,
BATCH_PIPELINE_SERVING_ENABLED, DREAM_PAYOFF_ORDER_MODE) keep this branch's
ad1268 relabel to config_switch (decision keep), which carries no review_by,
so main's renewed review_by does not apply to them. The checker keeps v2's
per-row extension fields in place of REVIEW_OVERDUE. Rendered doc regenerated.

Failure-Class: none
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…sion

PARAKEET_PACKING_ENABLED keeps main's rollout row and its 2026-11-18
review: its canary is still outstanding, so the config_switch relabel
would drop an active follow-up. ACTION_ITEM_REFRESH_PRESERVE_ENABLED
drops the ad1268 sweep extension (until 2026-11-22): David's later
review_by 2026-12-08 (#24965) already governs, so the row carries no
second, dead grant.

Failure-Class: none
Co-Authored-By: Claude Opus 5.5 <[email protected]>
CodeQL javascript-typescript (run 42568823071) and backend unit shard 1
died on HTTP 504 downloads at 45cb514; the dynamic CodeQL run cannot
be retried. Tree identical to 45cb514.

Failure-Class: none
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Git-on-my-level

Copy link
Copy Markdown
Member Author

At-cap owner gate disposition (lead2 ruling 1c91db, 2026-11-09 05:58Z): KEEP. An owner at the cap must ramp or retire before adding any new rollout row, including a row that adds no review debt. This has been the rule since e689dd7 and is pinned by scripts/test_check_feature_flag_registry.py:199. The earlier reviewer BLOCK on that point is dispositioned "by design" under this ruling.

Since the last review, the branch merged origin/main (#24964/#24965 review extensions) with a per-row three-way merge, then took two reviewer-found fixes in 45cb514: PARAKEET_PACKING_ENABLED keeps its 2026-11-18 rollout review, and ACTION_ITEM_REFRESH_PRESERVE_ENABLED drops a superseded extension. Re-review: SHIP at 45cb514. b10e062 is an empty retrigger commit with the same tree, pushed because the CodeQL run hit a GitHub 504 and cannot be retried.

@Git-on-my-level

Copy link
Copy Markdown
Member Author

Merge disposition per lead2 ruling on the bus (id=dfc510, cc on auditfix ask fc34dc, 2026-11-09 05:58Z):

Exact head: 45cb514 (Luna SHIP on delta 99c25a1..45cb514; shard 1/8 setup-python 504 infra failure rerun once per ci-flake delegation, run 42568826983 now success).

@Git-on-my-level
Git-on-my-level merged commit 95aa2b4 into main Nov 9, 2026
68 of 70 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/flag-registry-v2 branch November 9, 2026 06:52
Git-on-my-level added a commit that referenced this pull request Nov 9, 2026
#24954 (registry checker v2) landed on main. Both sides deleted a module-level
exception table in scripts/check_feature_flag_registry.py: this branch removed
DUPLICATE_DECLARATION_ALLOWLIST and main removed REVIEW_OVERDUE, so neither
survives. Both sides added --as-of; main's form (with the stdout flush) is
kept. The rendered registry doc is regenerated and equals main's.

Failure-Class: none
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Git-on-my-level added a commit that referenced this pull request Nov 9, 2026
…e the duplicate-declaration allowlist (#24959)

<!-- claude-projects-attribution: {"github_login":"Git-on-my-level"} -->
_Requested by **David**_

## Summary

Count logical declaration sources per flag, platform, workload and
environment instead of counting raw files. Base plus overlays compose
one manifest source. A GKE section and the chart named by its effective
`values_file` are one validated source: `_validate_gke` enforces the
expected/actual contract through `_validate_env_entries`. Pairing is
derived from the manifest, including environment-specific overrides,
with no hard-coded service or flag list.

Keep the GKE manifest entries because `_validate_gke` enforces them
against the charts and the lake-admission guard reads
`OBJECT_LAKE_WRITE_PERCENT` / `OBJECT_LAKE_WRITE_ENABLED` from them. The
Parakeet admission contract, `test_backend_runtime_env_validator.py` and
`test_render_backend_runtime_env.py` remain exactly as on main.

No runtime_env value changed except collapsing identical doubled lines.
The 16 duplicate scalar mapping lines have identical values (two are
under AUDIO_ARCHIVE_REGIONAL_CACHE_PERCENT; the others are under
AUDIO_ARCHIVE_STOP_PCM_PERCENT). No declaration entries are removed. The
redundant DEMAND_PROCESSING prod zeros stay. Regenerating
runtime_env.yaml yields output byte-identical to main, including every
GKE, Cloud Run, desktop and jobs section. Charts and all guard
implementations are unchanged.

Delete `DUPLICATE_DECLARATION_ALLOWLIST`, its expiry, and its
warning/expiry/stale branches without a replacement allowlist.
Independent declarations still fail for the same
key/platform/workload/environment. Platforms are distinct: Cloud Run
services, Cloud Run jobs, GKE, desktop and generic actions. A `gcloud
run` action uses its Cloud Run target platform and remains a separate
file source; matching a GKE chart name never changes its platform. Two
GKE charts for one workload/environment still fail. Add `--as-of` to
main(), retaining unrelated review-date/backlog policy. YAML node
discovery covers quoted/compact mappings and aliases using the existing
CI PyYAML dependency.

## Product invariants affected

- INV-MEM-4 — preserved. The generated runtime manifest matches current
main byte-for-byte; canonical intake, consolidation, promotion authority
and every guard value are unchanged. The older branch base makes the
upstream manifest restoration part of the diff, so this invariant is
cited explicitly.

## Failure class (fixes)

Failure-Class: none

Preventive checker maintenance removes an expiring CI exception while
recognizing an already enforced expected/actual contract. No runtime
failure class or guard relaxation is introduced. The reusable
protections are the platform-aware logical-source checker fixtures and
the composer's duplicate-mapping-key rejection.

## Per-key table

Every existing declaration stays. Charts serve the GKE values; the
manifest declares expected values and supplies guard inputs. Cloud Run,
desktop and jobs retain their own declarations.

| Key | Deleted sites | Serving source / retained guard declaration |
| --- | --- | --- |
| `AUDIO_ARCHIVE_PERCENT` | None | backend-listen charts (dev/prod);
pusher charts (dev/prod); GKE manifest expected values retained |
| `AUDIO_ARCHIVE_REGIONAL_CACHE_PERCENT` | None | backend-listen charts
(dev/prod); pusher charts (dev/prod); GKE manifest expected values
retained |
| `AUDIO_ARCHIVE_STOP_PCM_PERCENT` | None | backend-listen charts
(dev/prod); pusher charts (dev/prod); GKE manifest expected values
retained |
| `AUDIO_ARCHIVE_UID_ALLOWLIST` | None | backend-listen charts
(dev/prod); pusher charts (dev/prod); GKE manifest expected values
retained |
| `BATCH_LIVE_STT_RETIRE_PERCENT` | None | backend-listen charts
(dev/prod); pusher charts (dev/prod); GKE manifest expected values
retained |
| `BATCH_PIPELINE_RECOVERY_UID_ALLOWLIST` | None | backend-listen charts
(dev/prod); GKE manifest expected values retained |
| `BATCH_PIPELINE_SHADOW_PERCENT` | None | Cloud Run base + overlays
retained |
| `BATCH_PIPELINE_UID_ALLOWLIST` | None | backend-listen charts (dev);
GKE manifest expected values retained |
| `CONVERSATION_RELEVANCE_JEV_PERCENT` | None | backend-listen charts
(dev/prod); pusher charts (dev/prod); GKE manifest expected values
retained |
| `DEMAND_PROCESSING_PERCENT` | None | backend-listen charts (dev/prod);
pusher charts (dev/prod); GKE manifest expected values retained |
| `DEMAND_PROCESSING_UID_ALLOWLIST` | None | backend-listen charts
(dev/prod); pusher charts (dev/prod); GKE manifest expected values
retained |
| `DREAM_AGENT_UID_ALLOWLIST` | None | backend-listen charts (dev/prod);
pusher charts (dev/prod); GKE manifest expected values retained |
| `FIRST_SUMMARY_DEADLINE_PERCENT` | None | backend-listen charts
(dev/prod); pusher charts (dev/prod); GKE manifest expected values
retained |
| `MOBILE_STANDARD_BATCH_PERCENT` | None | backend-listen charts (prod);
GKE manifest expected values retained |
| `OBJECT_LAKE_WRITE_PERCENT` | None | backend-listen charts (dev/prod);
pusher charts (dev/prod); GKE manifest expected values retained |
| `PARAKEET_STREAM_ALLOCATION_PERCENT` | None | parakeet charts
(dev/prod); GKE manifest expected values retained |
| `PARAKEET_WINDOW_ALLOCATION_PERCENT` | None | backend-listen charts
(dev/prod); GKE manifest expected values retained |
| `SPEAKER_GROUPING_SHADOW_PERCENT` | None | backend-listen charts
(prod); pusher charts (prod); GKE manifest expected values retained |
| `SPEAKER_GROUPING_SHADOW_UID_ALLOWLIST` | None | backend-listen charts
(prod); pusher charts (prod); GKE manifest expected values retained |
| `STT_LIVE_DEMAND_PERCENT` | None | backend-listen charts (dev/prod);
GKE manifest expected values retained |
| `STT_LIVE_DEMAND_UID_ALLOWLIST` | None | backend-listen charts
(dev/prod); GKE manifest expected values retained |
| `STT_NON_EN_MULTI_PREFER_HINTABLE_PERCENT` | None | backend-listen
charts (dev/prod); GKE manifest expected values retained |
| `STT_ROUTING_ON_PERCENT` | None | backend-listen charts (dev/prod);
GKE manifest expected values retained |
| `SYNC_LINEAGE_RESOLVE_UID_ALLOWLIST` | None | backend-listen charts
(prod); GKE manifest expected values retained |
| `TRANSCRIPTION_FINAL_PASS_PERCENT` | None | pusher charts (prod); GKE
manifest expected values retained |
| `TRANSCRIPTION_FINAL_PASS_UID_ALLOWLIST` | None | pusher charts
(prod); GKE manifest expected values retained |
| `TRANSCRIPTION_SHADOW_PERCENT` | None | backend-listen charts (dev);
pusher charts (dev/prod); GKE manifest expected values retained |
| `TRANSCRIPTION_SHADOW_UID_ALLOWLIST` | None | backend-listen charts
(dev); pusher charts (dev/prod); GKE manifest expected values retained |

## Value preservation and compose proof

`out-dupes-compose-diff.txt` in
`/Users/dazheng/workspace/omi/data/run-2026-11-08-audit-fixes/` records
the measured UTC time, main SHA, commands and equality proof. The three
source documents parse to exactly the same mappings as main; only the 16
identical repeated fields are collapsed. Generated
`backend/deploy/runtime_env.yaml` is byte-identical to main. The PR does
not edit charts, the Parakeet contract, backend runtime validator tests,
`_validate_gke`, `_validate_env_entries`, and lake-admission guard code
are unchanged.

The review correction restores every runtime-env source file, its
pending patch, the matching rendered registry row,
`test_render_backend_runtime_env.py` and its served-defaults fixture
from current main before reapplying only hygiene. This preserves
#24934's current `FIRESTORE_READ_LEVERS`, including
`privacy_checks_shadow`, `privacy_negative_lookup_cache:100` and
`batch_timeliness_leader:0`.

Measured 2026-11-09T01:12:55.181983+00:00 against main
`6a03440964b9ecf21330cc87a8b2c30dcce712da`:

```bash
git diff origin/main -- backend/deploy/runtime_env/
git show origin/main:backend/deploy/runtime_env.yaml | cmp - backend/deploy/runtime_env.yaml
```

The first command shows only 16 deleted identical scalar lines across
the three source YAML files. The second exits 0: the entire generated
manifest is byte-identical to main. `python3
backend/deploy/compose_runtime_env.py --check` also exits 0. The proof
file includes the complete source diff and generated SHA256
`8345aa3d7f1025eaaf147847223128a822f0e59ebd5c635d9df4ce82e0325bb9`.

The composer now rejects repeated mapping keys, including identical
duplicates, rather than applying YAML's last-value-wins behavior.
Fixtures cover repeated value/category keys and compact mappings.

## Verification

Measured UTC on 2026-11-09:

- `python3 scripts/test_check_feature_flag_registry.py`: **77 passed**,
00:56:07–00:58:51.
- `python3 scripts/test_posthog_flag_sync.py`: **11 passed**,
00:58:51–00:58:51.
- `python3 -m pytest backend/tests/unit/test_runtime_env_sources.py -q`:
**3 passed**, 00:58:51–00:58:55.
- `python3 backend/deploy/compose_runtime_env.py --check`: passed,
00:58:55–00:58:56.
- `python3 backend/scripts/validate-backend-runtime-env.py --env dev
--check-workflows`: passed, 00:58:56–00:58:58.
- The same validator for prod: passed, 00:58:58–00:59:00.
- Full `backend/scripts/pre-deploy-check.sh`: **511 passed** plus
source/admission checks, 01:00:30–01:01:27, through `omi-heavy` with the
900-second local budget.
- `python3 -m pytest backend/tests/unit/test_qualify_usage_month.py -q`:
**107 passed**, 01:01:05–01:01:11.
- `backend/scripts/cross_service_contract.py`: **0 new violations, 34
known gaps, 0 stale gaps**, 00:59:55–01:00:46.
- Full `make preflight` through `omi-heavy`: **44 selected checks
passed**, 01:06:31–01:12:32, with the 900-second local budget, UTC and
serial checks.
- Normal guarded push through `omi-heavy run --wait 3600 -- git push -u
origin lane/dup-decl`: passed, 01:13:04–01:20:11, with credential
variables unset, the 900-second budget, UTC and serial checks. No
pre-push gate was bypassed.
- `scripts/pr-preflight --suggest` and `scripts/pr-preflight
--metadata-only --pr-body-file ...`: passed (00:54:39–00:54:42 and
00:58:14–00:58:23).

The documented local setting is `BACKEND_UNIT_FILE_BUDGET_SECONDS=900
TZ=UTC`; heavy suites and the normal guarded push run through
`omi-heavy` without bypassing gates.

The Nov 21 checker has zero duplicate errors and exactly the same 204
unrelated review-date errors as measured main
`6a03440964b9ecf21330cc87a8b2c30dcce712da` (2026-11-09 00:54:55–00:55:06
UTC, exit 1). The original main checker/declarations were read from that
immutable ref; its 28 retired duplicate-exception errors are removed. No
review exceptions are extended. The full list is saved to
`out-dupes-unrelated-errors.txt` in the run directory.

<details>
<summary>Unrelated 2026-11-21 baseline errors (204)</summary>

```text
review overdue beyond the 7-day grace: ACCOUNT_CUTOVER_COHORT (review_by 2026-11-08)
review overdue beyond the 7-day grace: ACCOUNT_CUTOVER_ENFORCEMENT (review_by 2026-11-08)
review overdue beyond the 7-day grace: ACTION_ITEMS_V2_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: ACTION_ITEMS_V2_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: ACTION_ITEMS_V2_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: ACTION_ITEM_IDENTITY_PRESERVE_ENABLED (review_by 2026-11-07)
review overdue beyond the 7-day grace: ACTION_ITEM_VALIDITY_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: BATCH_PIPELINE_ASR_LEFT_CONTEXT_SECONDS (review_by 2026-11-07)
review overdue beyond the 7-day grace: BATCH_PIPELINE_FLIGHT_BATCHING_ENABLED (review_by 2026-11-07)
review overdue beyond the 7-day grace: CALLS_RECAP_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: CALLS_RECAP_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: CALLS_RECAP_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: CAPTURE_COVERAGE_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: CAPTURE_COVERAGE_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: CAPTURE_COVERAGE_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: CAPTURE_COVERAGE_MODE_SHADOW_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: CLIENTS_FROM_SEGMENTS_CHUNKS_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: CLIENTS_FROM_SEGMENTS_CHUNKS_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: CLIENTS_FROM_SEGMENTS_CHUNKS_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: CONVERSATION_NOTES_AGENT_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: CONVERSATION_NOTES_AGENT_UID_ALLOWLIST (review_by 2026-11-07)
review overdue beyond the 7-day grace: DAY3_REENGAGEMENT_EMAIL_ENABLED (review_by 2026-11-07)
review overdue beyond the 7-day grace: DREAM_HUNT_BACKOFF_MODE (review_by 2026-11-08)
review overdue beyond the 7-day grace: DREAM_HUNT_BACKOFF_MODE_SERVE_PERCENT (review_by 2026-11-08)
review overdue beyond the 7-day grace: DREAM_PRESCAN_MODE (review_by 2026-11-10)
review overdue beyond the 7-day grace: DREAM_PRESCAN_MODE_SERVE_PERCENT (review_by 2026-11-10)
review overdue beyond the 7-day grace: DREAM_REQUIRED_INTAKE_BACKLOG_COHORT (review_by 2026-11-07)
review overdue beyond the 7-day grace: DREAM_REQUIRED_INTAKE_BACKLOG_ENABLED (review_by 2026-11-07)
review overdue beyond the 7-day grace: DREAM_VERIFY_HOLD_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: DREAM_VERIFY_HOLD_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: ENRICHMENT_ROUTE (review_by 2026-11-09)
review overdue beyond the 7-day grace: EPISODE_BOUNDARIES_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: EPISODE_BOUNDARIES_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: EPISODE_BOUNDARIES_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: EPISODE_BOUNDARIES_MODE_SHADOW_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: HELD_CONTENT_COHORT (review_by 2026-11-12)
review overdue beyond the 7-day grace: HELD_CONTENT_ENABLED (review_by 2026-11-12)
review overdue beyond the 7-day grace: LADDER_V1_BUDGET_ENFORCEMENT_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: LADDER_V1_LANE_METERING_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: LADDER_V1_MCP_DAILY_CAPS_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: LADDER_V1_PRO_GATES_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: LADDER_V1_RETIRE_PRO_ALIAS_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: LADDER_V1_WIRE_IDENTITY_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: LIFECYCLE_V2_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: LIFECYCLE_V2_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: LIFECYCLE_V2_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: LOCKED_CONTENT_RESET_RECOVERY_ENABLED (review_by 2026-11-12)
review overdue beyond the 7-day grace: MEDIA_NOISE_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: MEDIA_NOISE_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: MEDIA_NOISE_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: MEDIA_NOISE_MODE_SHADOW_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: MEMORY_L1_OWNER_NEUTRAL_PREFIX_ENABLED (review_by 2026-11-07)
review overdue beyond the 7-day grace: NOTES_PACKET_V2_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: NOTES_PACKET_V2_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: NOTES_PACKET_V2_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: NOTES_TIER_ESCALATION_ENABLED (review_by 2026-11-08)
review overdue beyond the 7-day grace: OMI_EXTERNAL_LIST_POLLING_CACHE_ENABLED (review_by 2026-11-09)
review overdue beyond the 7-day grace: OMI_EXTERNAL_LIST_POLLING_CACHE_PERCENT (review_by 2026-11-09)
review overdue beyond the 7-day grace: OMI_FLAGS_SOURCE (review_by 2026-11-12)
review overdue beyond the 7-day grace: OMI_IMESSAGE_CONTACT_CARD (review_by 2026-11-09)
review overdue beyond the 7-day grace: OMI_IMESSAGE_ENABLED (review_by 2026-11-09)
review overdue beyond the 7-day grace: OMI_LIST_VERSION_EPOCH (review_by 2026-11-07)
review overdue beyond the 7-day grace: OMI_MESSAGING_CHANNELS (review_by 2026-11-09)
review overdue beyond the 7-day grace: OMI_MESSAGING_CHANNELS_UIDS (review_by 2026-11-09)
review overdue beyond the 7-day grace: OMI_TELEGRAM_ENABLED (review_by 2026-11-09)
review overdue beyond the 7-day grace: OWNER_IDENTITY_RETRY_COALESCE_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: PARAKEET_WINDOW_DEADLINE_CUT_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: REVIEW_SURFACE_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: SERVER_BATCH_ONLY_AUTO_LANGUAGE_PERCENT (review_by 2026-11-10)
review overdue beyond the 7-day grace: SERVER_BATCH_ONLY_MOBILE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: SPEAKER_EVIDENCE_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: SPEAKER_EVIDENCE_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: SPEAKER_EVIDENCE_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: SPEAKER_EVIDENCE_MODE_SHADOW_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: SPEAKER_GROUPING_MODE (review_by 2026-11-08)
review overdue beyond the 7-day grace: STOREFRONT_LADDER_V1_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: STT_CAP_DISPATCH_COHORT (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_CAP_DISPATCH_ENFORCEMENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_CAP_DISPATCH_LANES (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_LANGUAGE_HINTS_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_LANGUAGE_HINTS_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_LANGUAGE_HINTS_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_LIVE_DEMAND_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: STT_LIVE_DEMAND_MIN_DWELL_SECONDS (review_by 2026-11-13)
review overdue beyond the 7-day grace: STT_LIVE_DEMAND_PERCENT (review_by 2026-11-13)
review overdue beyond the 7-day grace: STT_LIVE_DEMAND_UID_ALLOWLIST (review_by 2026-11-13)
review overdue beyond the 7-day grace: STT_PRERECORDED_LANGUAGE_GATE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_VOCAB_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_VOCAB_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_VOCAB_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_VOCAB_MODE_SHADOW_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: SYNC_BACKFILL_WORKER_PERCENT (review_by 2026-11-09)
review overdue beyond the 7-day grace: SYNC_SAFETY_WAL_DEDUPE_ENABLED (review_by 2026-11-12)
review overdue beyond the 7-day grace: X-Omi-Memory-Canonical-Lifecycle-Exposed (review_by 2026-11-08)
review overdue beyond the 7-day grace: client_telemetry_transport_shadow (review_by 2026-11-12)
review overdue beyond the 7-day grace: clients_boundary_evidence (review_by 2026-11-07)
review overdue beyond the 7-day grace: clients_from_segments_chunks (review_by 2026-11-07)
review overdue beyond the 7-day grace: clients_refactor (review_by 2026-11-07)
review overdue beyond the 7-day grace: custody_capture_committed_release (review_by 2026-11-07)
review overdue beyond the 7-day grace: desktop-contextual-upsells (review_by 2026-11-13)
review overdue beyond the 7-day grace: desktop-plan-storefront (review_by 2026-11-13)
review overdue beyond the 7-day grace: mobile-chat-apps (review_by 2026-11-09)
review overdue beyond the 7-day grace: mobile-contextual-upsells (review_by 2026-11-12)
review overdue beyond the 7-day grace: mobile-on-device-overflow (review_by 2026-11-13)
review overdue beyond the 7-day grace: mobile-plan-storefront (review_by 2026-11-12)
review overdue beyond the 7-day grace: onboarding-variant (review_by 2026-11-13)
review overdue beyond the 7-day grace: paywall-variant (review_by 2026-11-12)
review overdue beyond the 7-day grace: web-contextual-upsells (review_by 2026-11-13)
review overdue beyond the 7-day grace: web-plan-storefront (review_by 2026-11-13)
review_overdue exception expired 2026-11-15: ACTION_ITEM_REFRESH_PRESERVE_ENABLED (review_by 2026-11-01)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_ASYNC_PROJECTION_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_AUTHORITATIVE_LABELS_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_CORRECTNESS_METRICS_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_EMPTY_ASR_DISPOSITION_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_EMPTY_ASR_RECOVERY_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_HEAD_PRIORITY_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_LIVE_ADMISSION_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_PROJECTION_CONTENTION_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_PROJECTION_TIMING_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_READ_ONLY_METRICS_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_RECOVERY_ALL_ADMITTED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_RECOVERY_MODE (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_RECOVERY_UID_ALLOWLIST (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_REQUIRE_LIVE_TARGET_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_SERVING_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_SHADOW_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_SHARED_LIVE_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_SPEECH_EMPTY_MULTILINGUAL_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_TERMINAL_EMPTY_DISPOSITION_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_UID_ALLOWLIST (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_WORKER_SILENCE_DISPOSITION_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: CAPTURE_GROUP_CONTAINMENT_MODE (review_by 2026-11-03)
review_overdue exception expired 2026-11-15: CONVERSATION_REPROCESS_RESULT_CONTRACT_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: DREAM_AGENT_PAID_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: DREAM_HISTORY_COMPACT_MODE (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: DREAM_HISTORY_COMPACT_MODE_SERVE_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: DREAM_IDLE_SKIP_MODE (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: DREAM_IDLE_SKIP_MODE_SERVE_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: DREAM_MATERIAL_BUDGET_MODE (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: DREAM_MATERIAL_BUDGET_MODE_SERVE_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: DREAM_PAYOFF_ORDER_MODE (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: EPISODES_CLIENT_CHANNELS (review_by 2026-11-03)
review_overdue exception expired 2026-11-15: EPISODES_PERCENT (review_by 2026-11-03)
review_overdue exception expired 2026-11-15: FIRST_SUMMARY_DEADLINE_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: FIRST_SUMMARY_DEADLINE_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: FIRST_SUMMARY_PRESERVE_ADMITTED_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: FIRST_SUMMARY_UID_ALLOWLIST (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: LIVE_CAPTURE_WINDOW_MERGE_PRESERVATION (review_by 2026-11-03)
review_overdue exception expired 2026-11-15: LIVE_CAPTURE_WINDOW_MERGE_UNION (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: LIVE_CAPTURE_WINDOW_RETENTION (review_by 2026-11-03)
review_overdue exception expired 2026-11-15: LIVE_CAPTURE_WINDOW_STRICT_PROJECTION (review_by 2026-11-03)
review_overdue exception expired 2026-11-15: LIVE_CAPTURE_WINDOW_TRANSLATOR_SENDS (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: MEETING_NOTES_EPISODE_C6_TIMEOUT_SECONDS (review_by 2026-11-05)
review_overdue exception expired 2026-11-15: MEETING_NOTES_EPISODE_CLAIMS_ENABLED (review_by 2026-11-05)
review_overdue exception expired 2026-11-15: MEETING_NOTES_EPISODE_TIERED_ENABLED (review_by 2026-11-05)
review_overdue exception expired 2026-11-15: MEETING_NOTES_EPISODE_TIER_MIN_SOURCE_KINDS (review_by 2026-11-05)
review_overdue exception expired 2026-11-15: MEETING_NOTES_EPISODE_TIER_MIN_WORDS (review_by 2026-11-05)
review_overdue exception expired 2026-11-15: MEETING_NOTES_EPISODE_WRITER_TIMEOUT_SECONDS (review_by 2026-11-05)
review_overdue exception expired 2026-11-15: OMI_SHAPED_AGENT_MODE (review_by 2026-11-05)
review_overdue exception expired 2026-11-15: PARAKEET_EXPLICIT_CUDA_GRAPHS (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: PARAKEET_PACKING_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: PARAKEET_WINDOW_DIARIZATION (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SERVER_BATCH_ONLY_VISIBLE_RESTORE_PERCENT (review_by 2026-11-03)
review_overdue exception expired 2026-11-15: SONIOX_CAPTURE_AXIS_DIAGNOSTICS (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SONIOX_ELAPSED_AXIS (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SONIOX_ORDERED_FINALIZE (review_by 2026-11-05)
review_overdue exception expired 2026-11-15: SONIOX_WIRE_LEDGER (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SPEAKER_MATCH_SCORES_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: STT_CAP_RECOVERY_COHORT (review_by 2026-11-06)
review_overdue exception expired 2026-11-15: STT_FAILOVER_RECOVERY_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: STT_LEARNED_LANGUAGE_PROFILE (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: STT_MULTI_LANGUAGE_HINTS (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: STT_NON_EN_MULTI_PREFER_HINTABLE_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: STT_PAID_SPILLOVER_BUDGET_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: STT_RESILIENT_RECONNECT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: STT_ROUTING_MODE (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: STT_ROUTING_ON_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SUMMARY_DEBT_REPAIR_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SYNC_ASSIGNMENT_CONTENTION_RETRY_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SYNC_BACKFILL_ORDER (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SYNC_BACKFILL_ORDER_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SYNC_BACKFILL_ORDER_UID_ALLOWLIST (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SYNC_BACKFILL_RETIRE_EXPIRED_AT_CLAIM (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SYNC_DURABLE_REDRIVE_GUARD (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SYNC_LEGACY_COMPLETION_CONVERGENCE (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SYNC_LINEAGE_LIVE_DEDUPE_ENABLED (review_by 2026-11-06)
review_overdue exception expired 2026-11-15: SYNC_LINEAGE_RESOLVE_ENABLED (review_by 2026-11-06)
review_overdue exception expired 2026-11-15: SYNC_LINEAGE_RESOLVE_UID_ALLOWLIST (review_by 2026-11-06)
review_overdue exception expired 2026-11-15: SYNC_POLL_BACKOFF_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: TRANSCRIPTION_FINAL_PASS_AUTHORITATIVE (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: TRANSCRIPTION_FINAL_PASS_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: TRANSCRIPTION_FINAL_PASS_SYNC_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: TRANSCRIPTION_FINAL_PASS_UID_ALLOWLIST (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: TRANSCRIPTION_FINAL_PASS_VAD_COMPACTION_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: TRANSCRIPTION_SHADOW_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: TRANSCRIPTION_SHADOW_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: TRANSCRIPTION_SHADOW_UID_ALLOWLIST (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: onboarding-setup-rating-prompt (review_by 2026-11-05)
review_overdue exception expired 2026-11-15: proactivity_v2 (review_by 2026-11-03)
review_overdue exception expired 2026-11-15: screen_activity_lossless_sync (review_by 2026-11-06)
review_overdue exception expired 2026-11-15: screen_activity_lossless_sync_kill (review_by 2026-11-06)
review_overdue exception expired 2026-11-15: summary-generation-v2 (review_by 2026-11-04)
```

</details>

## Landing and rollback

Merge after #24954; no serving value changes; rollback = revert this PR.

Rebase after #24954 merges, keeping both its registry v2 changes and
this PR's duplicate logic/main() changes. No GCP tier was used; there
were no production reads/writes, flag flips, deploys or merges.




<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/BasedHardware/omi/pull/24959?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="View guided diff"
src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a>
<a
href="https://www.cubic.dev/action/auto-fix/pr/BasedHardware/omi/24959?returnTo=https%3A%2F%2Fgithub.com%2FBasedHardware%2Fomi%2Fpull%2F24959&source=description"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img
alt="Turn on auto-fix"
src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a>
<!-- End of auto-generated description by cubic. -->

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Git-on-my-level added a commit that referenced this pull request Nov 10, 2026
…y (main red) (#25015)

_Requested by **David**_ (P0 main-red, lead2 ruling 287b9c)

## What changed and why


`tests/unit/test_flag_budget.py::test_pipeline_env_surface_holds_its_budget`
fails on every backend unit shard: `SYNC_BACKFILL_WORKER_API_URL` and
`SYNC_BACKFILL_WORKER_AUDIENCE` passed `review_by` 2026-11-09 in
`backend/config/flag_budget.json`. This extends both once, to
2026-11-23, with a reason under the bounded-extension rule (#24954),
owner unchanged (infracost / syncsplit), who confirms keep or delete
before then. Branch pushed from m1 with the full hook by flagrulings
(a005354); same content as the renewal staged on #24998, so
whichever merges second sees no conflict. The test is unchanged; this is
not a skip.

## Product invariants affected

none

## How it was verified

`tests/unit/test_flag_budget.py` passes on this head. The pre-push hook
passed in full.

## UI evidence

UI-Evidence: none -- config only

## Failure class (fixes)

Failure-Class: none

Rollback: revert (CI goes red again until the owner decides).

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/BasedHardware/omi/pull/25015?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="View guided diff"
src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a>
<a
href="https://www.cubic.dev/action/auto-fix/pr/BasedHardware/omi/25015?returnTo=https%3A%2F%2Fgithub.com%2FBasedHardware%2Fomi%2Fpull%2F25015&source=description"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img
alt="Turn on auto-fix"
src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a>
<!-- End of auto-generated description by cubic. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant