Skip to content

chore(failure-class): desktop/windows scope hint for FC-runtime-image-boundary - #13869

Merged
kodjima33 merged 2 commits into
BasedHardware:mainfrom
apoorvdarshan:cursor/fc-runtime-boundary-scope-hints-0b88
Sep 15, 2026
Merged

kodjima33 merged 2 commits into
BasedHardware:mainfrom
apoorvdarshan:cursor/fc-runtime-boundary-scope-hints-0b88

Conversation

@apoorvdarshan

@apoorvdarshan apoorvdarshan commented Sep 14, 2026 •

Copy link
Copy Markdown
Collaborator

What changed and why

Registry-only companion to #13858 (cubic P3 on the Windows packaged-main probe).

Adds desktop/windows/** to scope_hints on FC-runtime-image-boundary so failure-class prepare surfaces this class for Windows packaging and probe changes.

The instance-fix PR (#13858) cannot include this edit: Failure-Class protocol allows only canonical_prevention_artifact updates on the declared class during instance fixes; scope_hints must land in a separate registry-only change.

Product invariants affected

none

How it was verified

scripts/failure-class validate with Failure-Class: none (registry-only branch; no fix: commits).

Tests

No test change — JSON registry metadata only.

Failure class (fixes)

Failure-Class: none

Failure-class transition narrative (only when needed)

N/A — advisory scope_hints only; no class lifecycle change.

Review in cubic

apoorvdarshan and others added 2 commits September 8, 2026 22:29
chore: sync fork main from BasedHardware/omi
…mage-boundary

Registry-only scope_hints update so failure-class prepare surfaces
FC-runtime-image-boundary for Windows packaging/probe work.

Addresses cubic P3 on BasedHardware#13858.

Co-authored-by: Apoorv Darshan <[email protected]>
@apoorvdarshan
apoorvdarshan marked this pull request as ready for review September 14, 2026 17:02

@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.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

You’re at about 92% 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].

Re-trigger cubic

@Git-on-my-level

Copy link
Copy Markdown
Member

Verified against the failure-class machinery — this checks out cleanly.

.github/failure-classes/FC-runtime-image-boundary.json:

  • Adds desktop/windows/** to scope_hints (expanding the array to one entry per line). The blob at the PR head parses as valid JSON and matches the documented schema (scope_hints: array of non-empty strings).
  • Semantics check: scope_hints is display-only. scripts/failure-class prepare uses fnmatch(path, hint) purely to narrow which classes get listed for a change's paths — it never classifies and never gates. So even a wrong glob could only over- or under-list an advisory suggestion; nothing behavioral depends on it.
  • The glob is meaningful: desktop/windows/ is a real tree (~1.7k paths), and companion fix fix(desktop-windows): guard packaged startup before auto-update handoff #13858 adds desktop/windows/scripts/verify-packaged-main-runtime.mjs as this class's prevention artifact — after both land, Windows packaging/probe changes will surface this class in prepare. That coupling is right: the class's contract (a runtime image must contain the reachable modules its entrypoint requires) is exactly the packaged-Cannot find module 'ms' failure fix(desktop-windows): guard packaged startup before auto-update handoff #13858 guards against.
  • The registry-only split is correct per protocol: an instance-fix PR may only update canonical_prevention_artifact on its declared class; scope_hints edits belong in exactly this kind of standalone registry change. Confirmed fix(desktop-windows): guard packaged startup before auto-update handoff #13858's version of this file adds the artifact and leaves scope_hints untouched, so the two PRs are genuinely complementary rather than duplicated effort. Failure-Class: none is the correct declaration for a registry-only branch.
  • The existing canonical_prevention_artifact path (backend/scripts/runtime_image_contracts.py) still resolves at the head SHA, so validation has nothing dangling.

One merge-order note: this PR and #13858 edit adjacent regions of the same JSON file (artifact array vs scope_hints array). Whichever merges second should rebase — the conflict, if any, is trivial.

Checks: Hygiene (the lane that validates this registry) and Backend Hermetic Merge Gate pass; other lanes skipped as expected for a metadata-only diff.

Clean, protocol-following registry change — thanks for keeping it separate from the instance fix.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@Git-on-my-level Git-on-my-level added positive-signal Automation verified a genuine fix/quality contribution docs-tooling Layer: Documentation, examples, dev tools labels Sep 14, 2026
huiyuansun28-cmyk added a commit to huiyuansun28-cmyk/omi that referenced this pull request Sep 15, 2026
@huiyuansun28-cmyk

Copy link
Copy Markdown
Contributor

PR: #14096

AUTO (AI Agent).

@kodjima33 kodjima33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Registry-only scope_hints addition to FC-runtime-image-boundary.json for desktop/windows paths, accurate given companion #13858; trivial low-risk metadata.

@kodjima33
kodjima33 merged commit 26bb0bb into BasedHardware:main Sep 15, 2026
35 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-tooling Layer: Documentation, examples, dev tools positive-signal Automation verified a genuine fix/quality contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants