Skip to content

R06: execute packaged acceptance under standard user - #224

Merged
Oleksii-debug merged 91 commits into
r06-compose-packaged-app-update-verify-0911from
r06-gospel-no-admin-acceptance-0927-sol
Sep 27, 2026
Merged

Oleksii-debug merged 91 commits into
r06-compose-packaged-app-update-verify-0911from
r06-gospel-no-admin-acceptance-0927-sol

Conversation

@Oleksii-debug

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

Copy link
Copy Markdown
Owner

CONTROL #78 — bounded release-acceptance child of exact qualified #215.

Exact parent/tree authority: #215 3accd91c8c6de45e97d672a05fe0b1e724dec4f9 (seven hosted gates SUCCESS + different-worker QA PASS).
Current candidate head: 60a7797300cb6c989a24a302817a9dbc9c135241.

Proven gap

Current DEV1 Windows engineering evidence is real but runs under an administrator token. #213/#215 therefore explicitly record running_without_admin=false and leave no-admin startup acceptance unproven. The existing engineering gate intentionally remains admin-capable and is not weakened.

Bounded implementation

Exactly three new release-qualification paths; no runtime/content/source/grading/audit-status changes:

  • .github/workflows/r06-no-admin-acceptance.yml
  • lanes/dev1/repair_overlay/packaging/run_no_admin_acceptance.ps1
  • lanes/dev1/repair_overlay/tests/test_no_admin_acceptance_contract.py

The harness fails closed unless the current Windows token is non-admin, binds the exact packaged EXE by SHA-256, proves standard-user per-user state write/readback, detects WebView2 in that user context, copies the exact artifact into a real per-user Unicode+space path with hash readback, and executes the existing packaged startup/liveness probe there.

The hosted workflow reconstructs and verifies canonical FINALPREP02, applies the exact candidate overlay, builds the real PyInstaller EXE, creates an ephemeral local user without administrator-group membership, launches the harness with -Credential + loaded user profile, validates the emitted evidence, then removes the account. The generated password is held only in-memory as a SecureString/PSCredential and is not printed or persisted.

Acceptance boundary

READY_FOR_INTEGRATION=NO until the exact changed head obtains terminal hosted no-admin evidence plus NEW different-worker QA. This PR does not claim HUMAN_NVDA, complete functional WebView UI, visual, source/theological, or physical-machine acceptance. Canonical package/main are unchanged.

Hardened acceptance contract

The current exact head adds these fail-closed properties without changing production runtime/content:

  • admin-token negative control must exit 2 with NO_ADMIN_ACCEPTANCE_FAIL for the explicit standard-user reason;
  • ephemeral account membership is checked against the built-in Administrators group by SID S-1-5-32-544 and must be absent;
  • child evidence records Windows identity name + user SID and must report is_admin=false;
  • per-user state root is resolved from the current child SID's HKLM\\...\\ProfileList\\<SID>\\ProfileImagePath and constrained beneath that exact profile, never from inherited runner/admin LOCALAPPDATA text;
  • expected SHA-256 is computed from the exact build output before Public staging; Public copy and both child-observed hashes must match it;
  • the child copies the artifact again into a Unicode+space path under its own per-user state and re-hashes it;
  • a clean early exit is not accepted as liveness: the packaged process must survive the full probe window;
  • the standard-user PowerShell subprocess is bounded to 120 seconds and is force-stopped on timeout.

Current delta from #215 remains exactly three new release-qualification files / BEHIND 0. Hosted exact-head workflows are queued; no PASS is claimed yet.

Hosted no-admin failure repair — 2026-09-27

Exact predecessor 4a24eec26f86871b7af9ea491ba8885d9a6f0b05 proved a real standard-user token (is_admin=false) but exposed two hosted-only qualification defects: the child session returned an empty .NET LocalApplicationData known-folder value, and artifact upload attempted to span workspace/Public roots on different drives.

Current head 60a7797300cb6c989a24a302817a9dbc9c135241 repairs only those qualification paths. The harness now resolves the current user's profile by the current identity SID in Windows ProfileList, derives/creates only that SID-bound AppData\\Local, and fails if the resolved path escapes the profile. Evidence collection copies PASS/FAIL JSON/logs into a workspace-local directory before upload. All prior no-admin, exact-hash, Unicode-path, WebView2 and liveness requirements remain fail-closed.

READY_FOR_INTEGRATION=NO pending fresh exact-head hosted execution and NEW different-worker QA.

Post-#226 canonical-package late-bind — 2026-09-27

Current exact head: 43fdb6b40f4643c03bee948ea422b60440e14825.
Current canonical package authority: 682c94873f1ad3f86f00051e905fad57380d70ee (qualified #226 integrated).

Mechanical same-lineage convergence only:

  • current package is FIRST parent/tree authority;
  • prior repaired R06: execute packaged acceptance under standard user #224 60a7797300cb6c989a24a302817a9dbc9c135241 is SECOND parent/provenance;
  • package→candidate is BEHIND 0 with exactly the same three no-admin qualification paths;
  • all three candidate blobs are byte-identical to the repaired predecessor;
  • no runtime/content/source/grading/audit-status/no-admin semantics were rewritten.

Fresh exact-head No-Admin Acceptance, DEV1, DEV10 and Library/Search workflows are required. READY_FOR_INTEGRATION=NO until terminal current-head execution plus NEW different-worker QA.

…t package

First-parent current packaged truth at 4543741; second-parent independently source-QA-passed #155 at be177ea. Transplant only the five source-safe evidence-materialization blobs with zero overlap against the Chronology package advance. Preserve source wording, grading truth, current packaged Chronology/Witness/Evidence/DEV03 state, and external shared DEV1/#146 classification. No physical Windows/NVDA acceptance claim.
Mechanical same-lineage convergence only. Preserve the exact current packaged tree everywhere except the six bounded structured-evidence materialization paths already present on PR #155, with current packaged head as first parent and prior #155 head as second parent. No source re-authoring and no readiness claim; fresh hosted qualification and different-worker QA remain required.
Correct the transient reconvergence tree so current packaged semantic accessibility remains byte-preserved. Rebuild from exact packaged tree 104b416 and overlay only the five #155 structured-evidence blobs plus the additive packaged-population workflow hook. No source re-authoring; readiness still requires fresh hosted qualification and different-worker QA.
Preserve integrated Research Export gateway from 68f4ff5 while carrying the independently audited PA02 chronology pack, fail-closed materializer, production gateway binding, and packaged regression unchanged in source semantics.
Start from exact current packaged tree 68f4ff5, preserve the integrated Research Export bytes, transplant only the five source-audited structured-evidence blobs from #155, and semantically union the packaged current-shell workflow so both Research Export and structured-evidence population regressions run. No source re-authoring; fresh exact-head hosted qualification and different-worker QA remain required.
Preserve current packaged Accessibility Inspector bytes from dba039b while carrying exact previously source-audited PR #157 chronology blobs from cb8fd64. No source-truth rewrite. Fresh exact-head hosted qualification and different-worker QA remain required.
Honor canonical R05 `nonvisual_access: true` as a strict boolean gate instead of incorrectly parsing it as provenance prose. Preserve raw evidence/source bytes and fail closed on false or coerced values. Add canonical-load and malformed-value regression coverage exposed by packaged Chronology qualification.
Two-parent same-lineage convergence. First parent is the exact canonical packaged product 2651472; second parent is prior package-fidelity candidate 36b8e57. Preserve the exact current package, including #168 pedagogy/LN repairs, while reapplying only the existing exact three-path package payload fidelity delta. No source/content/runtime semantic truth changes. Payload verification remains fail-closed; exact-head hosted qualification still must reach candidate execution after the separately-owned shared DEV1 reconstruction blocker is resolved, and DIFFERENT-worker QA remains required before integration.
Two-parent same-lineage convergence. First parent is the exact canonical packaged product 3104430; second parent is prior #155 structured-evidence candidate 97532a0. Preserve the exact current package, including integrated Review Training and prior LN04/LN09 content repairs, while reapplying only the existing six-path source-audited PA02 evidence/materialization delta. Source witness prose remains pinned and unchanged; explicit entity_id/entity_type/canonical_label materialization is preserved with no string/NLP inference, witness borrowing, fabricated source claim, confidence, or TX1 mutation. Fresh exact-head hosted qualification and different-worker QA remain required before integration.
Repair the #155 current-package reconvergence qualification workflow: retain all canonical packaged Review Training/current-shell triggers and regression steps from 310443, and add only the existing PA02 structured-evidence population trigger and regression. This fixes the stale-workflow blind-transplant regression without changing source prose, structured evidence bytes, runtime source semantics, Dossier code, grading truth, or package/main refs.
Two-parent same-lineage convergence. First parent is exact canonical packaged product 3104430; second parent is prior #164 head 1c49ffb. Preserve the exact current package, including integrated Review Training, while reapplying only the existing exact three-path fail-closed package payload fidelity delta. No source/content/runtime/grading semantic truth changes. Fresh exact-head hosted qualification and different-worker QA remain required before integration.
@Oleksii-debug
Oleksii-debug changed the base branch from r06-compose-runtime-d4-pedagogy-gospel-0927-sol to r06-compose-packaged-app-update-verify-0911 September 27, 2026 13:25

Copy link
Copy Markdown
Owner Author

POST-PACKAGE NO-ADMIN LATE-BIND WRITER RELEASE — PR #224 exact 4a24eec26f86871b7af9ea491ba8885d9a6f0b05.

Readback:

  • PR base is now canonical packaged branch exact b2901617b95489287f4551e3937d67288c5bffa4;
  • package→candidate BEHIND 0 with exactly three release-qualification paths;
  • prior R06: execute packaged acceptance under standard user #224 94ce1a7084...→new head has zero changed files;
  • no-admin harness/workflow/test blobs are unchanged;
  • PR remains Draft/mergeable;
  • fresh exact-head No-Admin Acceptance, DEV1, DEV10 and Library/Search runs are queued.

EXCLUSIVE_KEY=sa:latebind:no-admin-224-b290-0927-sol RELEASED.
READY_FOR_INTEGRATION=NO pending real standard-user hosted evidence + relevant exact-head gates + NEW different-worker QA. No HUMAN_NVDA/full WebView UI/visual/source-theological claim.

Copy link
Copy Markdown
Owner Author

DIFFERENT-WORKER QA PASS — PR #224 exact 6aa524a9615bab3a05b93c11efade5687be8fda1.

Independent exact-head readback:

  • canonical package 682c94873f1ad3f86f00051e905fad57380d70ee → candidate is BEHIND 0 with exact package merge-base and exactly three added no-admin qualification paths;
  • no review threads;
  • No-Admin Packaged Acceptance 36324527497: SUCCESS. Real PyInstaller EXE SHA-256 8cbe85f954354a9c2c49eea8d6edca45110d94d866f74067b3ef4122fcecc199; admin negative control PASS; ephemeral user is non-admin; SID/ProfileList-bound per-user state write/readback PASS; WebView2 detected; non-ASCII+space per-user copy hash matches exact build; process starts and survives full probe; four evidence files uploaded;
  • DEV1 36324527414: SUCCESS, including Windows 300-test suite, real PyInstaller/CArchive package fidelity 153/153 and WebView2 host/liveness engineering probe;
  • DEV10 36324527599: SUCCESS;
  • Library/Search 36324527446: SUCCESS;
  • the child harness is independent of PowerShell Get-FileHash, uses .NET SHA256 with deterministic disposal, and retains strict expected/source/copy hash binding;
  • exact artifact JSON independently confirms is_admin=false, standard-user SID, profile binding, writable per-user state, WebView2, source/copy hash identity and liveness.

Evidence nuance: Windows PowerShell 5.1 JSON renders the intended Cyrillic directory name mojibake, so this proves a real non-ASCII + spaced path, not byte-perfect preservation of the Ukrainian display literal.

No candidate-local defect found. This is engineering no-admin startup acceptance only; it does not claim HUMAN_NVDA, complete functional WebView UI, visual quality, physical-machine acceptance, or source/theological audit.

DIFFERENT_WORKER_QA=PASS
READY_FOR_INTEGRATION=YES
EXCLUSIVE_KEY=sa:qa:no-admin-224-6aa524a-0927-sol RELEASED.

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