Skip to content

SCA-567: Register SELFHEAL_MODE to restore release eligibility - #18900

Merged
Git-on-my-level merged 1 commit into
BasedHardware:mainfrom
Git-on-my-level:sca-567-selfheal-flag
Sep 25, 2026
Merged

Git-on-my-level merged 1 commit into
BasedHardware:mainfrom
Git-on-my-level:sca-567-selfheal-flag

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Restore the release-eligibility feature-flag-registry gate: main push run reports backend/services/conversation_selfheal.py:75: unregistered feature flag: SELFHEAL_MODE.
  • Root cause: merged feat(backend): self-heal for capture wedges and processing jams — sweeper, telemetry, Core dashboard spec #18855 introduced a SELFHEAL_MODE read after the registry gate was tightened on 2026-09-24, without registering the flag.
  • Register it as a backend environment-owned, fail-closed rollout (off|detect|nudge|heal; default off) and regenerate the registry. The Cloud Run Job is operator-provisioned, not part of runtime_env; no deployment manifest, overlay, behavior, or flag value changes. The job remains dormant pending a separate operator decision.

Verification

  • python3 scripts/check_feature_flag_registry.py — passed.
  • python3 scripts/test_check_feature_flag_registry.py — 13 tests passed.
  • python3 scripts/test_posthog_flag_sync.py — 11 tests passed.
  • make preflight — 17 manifest checks passed.
  • No backend behavior changed; no live job was run.

Failure-Class: none

Generated with Devin

Review in cubic

The merged self-heal job reads SELFHEAL_MODE, but the new registry gate
rejects its unregistered name on main. Record its fail-closed operator
lever and refresh the generated authority catalog without enabling it.

Failure-Class: none

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@Git-on-my-level
Git-on-my-level merged commit cccc576 into BasedHardware:main Sep 25, 2026
44 checks passed
undivisible added a commit that referenced this pull request Sep 25, 2026
Main moved capture_controller.dart forward (silent pendant capture, #18842/#18900)
and the branch conflicted. Resolution: keep main's _flushPhoneFrames() extraction
and apply this PR's phoneSync hoist inside that helper, so all four per-frame
loops still bind _wal.getSyncs().phone once.

Amp-Thread-ID: https://ampcode.com/threads/T-01a0d866-81c0-732a-aee5-a5d50ddad64c
Co-authored-by: Max Carter <[email protected]>
undivisible added a commit that referenced this pull request Sep 25, 2026
…2405605885

Main moved capture_controller.dart forward (silent pendant capture, #18842/#18900)
and the branch conflicted. Resolution: take main's constructor and _flushPhoneFrames()
extraction wholesale, apply this PR's phoneSync hoist inside the helper, and run
dart format --line-length 120 so CI's formatter check is clean.

Amp-Thread-ID: https://ampcode.com/threads/T-01a0d866-81c0-732a-aee5-a5d50ddad64c
Co-authored-by: Max Carter <[email protected]>
undivisible added a commit that referenced this pull request Sep 25, 2026
Main moved capture_controller.dart forward (silent pendant capture, #18842/#18900)
and the branch conflicted. Resolution: keep main's _flushPhoneFrames() extraction
and apply this PR's phoneSync hoist inside that helper, so all four per-frame
loops still bind _wal.getSyncs().phone once.

Amp-Thread-ID: https://ampcode.com/threads/T-01a0d866-81c0-732a-aee5-a5d50ddad64c
Co-authored-by: Max Carter <[email protected]>
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