Skip to content

R06: bind updater direct invocation to its signed app sibling - #252

Open
Oleksii-debug wants to merge 24 commits into
r06-update-health-receipt-0929-solfrom
r06-updater-self-identity-0929-sol
Open

Oleksii-debug wants to merge 24 commits into
r06-update-health-receipt-0929-solfrom
r06-updater-self-identity-0929-sol

Conversation

@Oleksii-debug

@Oleksii-debug Oleksii-debug commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

Scope

Canonical security successor to #251, now containing the qualified #253 convergence. It binds direct standalone-updater invocation to the canonical signed application sibling and preserves the complete trusted update chain without adding browser path/PID/argv authority.

Exact live lineage — 2026-09-29

  • parent: r06-update-health-receipt-0929-sol@b840c8dc080037778e55a91b40767123bc20f579 (R06: preserve rollback until post-restart health commit #251);
  • current candidate: r06-updater-self-identity-0929-sol@89bab26df4e5c9644178505649bcb2b32b434a03;
  • direct parent → candidate: AHEAD 23 / BEHIND 0; exact parent is merge-base;
  • 13 lasting paths.

Security behavior

Before runner execution, the packaged updater:

  • parses only the fixed updater argv shape;
  • requires its own executable to be a regular non-symlink file;
  • derives the only accepted installed application sibling from the exact -Updater.exe identity;
  • requires the supplied installed target to be regular/non-symlink and resolve exactly to that sibling;
  • requires installed app ↔ updater same-publisher Authenticode;
  • delegates to the trusted runner, which independently re-verifies installed app ↔ staged candidate publisher and durable apply authority.

The integrated #253 convergence additionally preserves:

  • empty-payload-only browser authority for apply/restart and health-commit;
  • unittest-discoverable updater/update-health coverage;
  • current dual-artifact packaging/accessibility qualification assertions;
  • post-publication apply-handoff readback and rollback on authority/disarm failure;
  • source-before-destination exact-copy ordering and fd cleanup.

Review / qualification state

Independent different-worker static/security review is bound to exact head 89bab26df4e5c9644178505649bcb2b32b434a03 and found no blocking defect.

Fresh exact-head hosted workflows were triggered by the #253 integration and are required before integration. Prior green results belong to superseded heads and are not accepted for this candidate.

READY_FOR_INTEGRATION=NO pending terminal exact-head hosted qualification.

Non-claims: production signing identity/private key, physical Windows 11/WebView2 end-to-end update chain, HUMAN_NVDA, final theological/source acceptance and final release readiness remain separate gates.

Copy link
Copy Markdown
Owner Author

EXACT-HEAD HOSTED QUALIFICATION COMPLETE — 1f6b307cf6c2b4da5845d51d5f1e0e8e57bdb6ce

All current-head hosted gates are terminal SUCCESS: DEV1, DEV05, DEV06, DEV10, Library/Search, Packaged Library Current Shell, Constructor Direct and Speech Direct. Zero submitted reviews / zero review threads remain on this exact head.

Implementation/CI is complete; integration remains blocked only on a different-worker exact-head security review plus the explicitly external production-signing/physical-Windows/HUMAN_NVDA gates.

@Oleksii-debug Oleksii-debug left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

INDEPENDENT DIFFERENT-WORKER EXACT-HEAD SECURITY REVIEW — 89bab26df4e5c9644178505649bcb2b32b434a03

Reviewed current #251→#252 topology (exact base b840c8dc080037778e55a91b40767123bc20f579, AHEAD 23 / BEHIND 0) including the newly integrated #253 convergence.

Self-identity boundary:

  • direct updater argv is parsed before execution;
  • updater executable must be a regular non-symlink file and resolves from its own executable identity;
  • canonical installed application name is mechanically derived from the exact -Updater.exe sibling;
  • supplied installed target must itself be regular/non-symlink and resolve exactly to that sibling;
  • installed app ↔ updater same-publisher verification is required before trusted runner execution;
  • runner then independently performs parent-exit ordering, durable apply-authority verification, installed app ↔ staged candidate publisher verification, exact-byte apply/rollback, health receipt and relaunch handling.

Integrated #253 hardening was separately reviewed on its exact pre-merge head and remains present: empty-payload-only browser update commands, post-publication apply-authority readback, fail-closed disarm, source-before-destination copy ordering and descriptor cleanup.

No blocking defect found in the reviewed code delta. Exact-head hosted qualification for this new merge head is still required; old 1f6b307c... or #253 pre-merge green is not reused.

Non-claims remain: production signing key/identity, physical Windows 11/WebView2 E2E update acceptance, HUMAN_NVDA, and final release/source acceptance.

Copy link
Copy Markdown
Owner Author

CURRENT-PACKAGE CONVERGENCE CLAIM — source 89bab26df4e5c9644178505649bcb2b32b434a03, package 1bace44f3f8eb2a180833bd7108dc12c744c31fb

#252 is a valid canonical updater/security lineage but is not directly merge-safe into the live package: the two branches diverged after common base d0b73a4..., and a raw lineage merge would risk dropping newer package work (WEBU reader/data, Cross-Testament surfaces, structured witness runtime).

Fresh 3-way inventory finds 33 updater-line paths, with only two true package/updater overlaps:

  • lanes/dev1/repair_overlay/packaging/build_windows.ps1
  • lanes/dev1/repair_overlay/scripture_archive_platform/transport/contracts.py

I am creating an isolated package-first convergence lane. Rule:

The convergence PR will remain READY_FOR_INTEGRATION=NO until its own exact-head hosted qualification and different-worker review. Source #252 fresh hosted jobs are also still pending and are not being misreported as green.

Adopt the already integrated #260 DEV05/DEV06/DEV10 exact-head checkout authority. Updater self-identity product bytes remain unchanged.

Copy link
Copy Markdown
Owner Author

HEAD_CHANGED / EXACT-HEAD QUALIFICATION AUTHORITY REPAIRED — 83cab4502b08d504fd5c73f4f54bfd23a62ea735

The already reviewed #252 updater self-identity/product delta is unchanged. This fast-forward adds only the canonical #260 literal-head checkout/assertion bytes to DEV05, DEV06 and DEV10 qualification workflows:

  • r06-dev05-runtime.yml blob f862fc743e2561c22b75a8d04234938c9ab2a546;
  • r06-dev06-memory.yml blob e0f521f040102a7edcc9ee914be97982764a5a1f;
  • r06-dev10-integration.yml blob 81748b357f1eba0461c322835edeca051876ff68.

Direct compare to stacked parent #251 remains BEHIND 0 with exact parent merge-base. The prior exact product/security review remains applicable because the commit changes no updater/runtime/transport/test product blob from reviewed head 89bab26d....

Previous hosted runs are provenance only because they did not prove literal pull-request-head checkout. Fresh runs on this exact SHA are required.

PRODUCT_BYTES_UNCHANGED=PASS
LITERAL_HEAD_QUALIFICATION_AUTHORITY=INSTALLED
READY_FOR_INTEGRATION=NO pending terminal exact-head hosted qualification.

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