Skip to content

R06 convergence: execute real packaged payload fidelity on Gospel stack - #218

Closed
Oleksii-debug wants to merge 145 commits into
r06-compose-packaged-app-update-verify-0911from
r06-compose-gospel-package-fidelity-0927-sol
Closed

Oleksii-debug wants to merge 145 commits into
r06-compose-packaged-app-update-verify-0911from
r06-compose-gospel-package-fidelity-0927-sol

Conversation

@Oleksii-debug

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

Copy link
Copy Markdown
Owner

CONTROL #78 — package-fidelity lineage cleanup.

INTEGRATED_BY_CONVERGENCE=YES
SUPERSEDED_BY=#226

The three independently qualified #218 fidelity blobs were explicitly grafted into convergence PR #226 cebc61745bf7cbea46c5c7d2afc16ba1e30e065c, which was merged into the canonical package as 682c94873f1ad3f86f00051e905fad57380d70ee. Canonical package then advanced through qualified no-admin #224 to 4b5d61919a86cb76588ca8ffe1b6d78be34dbd18.

Direct current package 4b5d6191... → final #218 head 00ebb4c90cbadc45491022ac3deb86e1c981d7cf is topologically diverged but has zero changed files. There is no remaining fidelity payload to integrate from this PR; re-merging it would be duplicate topology only.

Durable fidelity evidence on final #218 head remains useful provenance: DEV1 36322396305 checked out exact 00ebb4c..., real PyInstaller CArchive/EXE build succeeded, PACKAGE_FIDELITY_PASS verified=153/153, WebView2 host probe passed, and the engineering gate passed. Hosted Windows did not prove no-admin or human NVDA.

Closed as already integrated by canonical convergence. No new package/main mutation.

Same-lineage reconvergence under #78. First parent is current packaged parent 64dd844; second parent is released #146 head 391cf8c. Preserves the exact 21 gate/source-release blobs byte-for-byte over the current packaged tree, with zero overlap against the packaged Mastery delta.
Bounded same-lineage #146 repair. Preserve canonical Scripture/source truth and the qualified diagnostics blob. Normalize only the historical citation-selection representation at the runtime adapter boundary; make qualification source reads explicitly UTF-8; and verify diagnostics fidelity against the committed Git object rather than platform-dependent working-tree newline bytes.
Bounded same-lineage #146 repair. Map two exact CONTENT_NODE_SCHEMA v1.2 historical response labels already authored in LN-01 to the existing SHORT_TEXT ANSWER_DTO_v1 contract, with regression coverage. No content/source truth changes.
Bounded same-lineage #146 repair. Bind three additional exact LN-01 CONTENT_NODE_SCHEMA v1.2 response labels to the same task mechanics already used by the packaged presentation mapper, with focused regressions. No authored content, source truth, or generic heuristic fallback is changed.
Bounded same-lineage #146 repair. Losslessly normalize only Unicode-arrow-delimited canonical accepted_answer values for legacy ORDERING nodes at the runtime adapter boundary, preserving source files and rejecting ambiguous/presentation-derived order. Add focused regression coverage including fail-closed task_payload protection.
Replace the focused #146 regression's accidental pytest dependency with unittest so the repository's dependency-free runtime CI can execute it. No runtime or source semantics change.
Re-anchor the bounded DEV1 release-gate repair on the current packaged product while preserving the prior #146 lineage as the second parent. Carry only immutable FINALPREP02 reconstruction/verification, Windows gate hardening, bounded legacy answer normalization, and focused regression coverage. Add the exact historical FREE_RESPONSE / CITATION -> SHORT_TEXT compatibility alias observed in current two-OS tools_smoke; canonical accepted_answer remains the sole ground-truth source and unknown task types still fail closed.

First parent: ae1b3dc
Second parent: d787a16
Stale-writer takeover under #78. Preserve the exact bounded #146 tree while rebinding ancestry to current packaged product 104b416 as first parent and prior #146 head 528d096 as second parent. This ancestry-only convergence intentionally does not claim the known 14-failure/2-error DEV1 suite is repaired; follow-up same-lineage commits will repair the exposed current-package contract seams without weakening source/security/accessibility invariants.
Repair three exact current-package false negatives without weakening the product invariants: Review Queue now verifies the canonical synchronous chooseTransport export plus async unwrap; Research persistence asserts the concrete accessible htmlFor bindings actually emitted by the composed UI; Visual Design follows the renderer facade to renderers-base.js and verifies the task-type data hook at its authoritative implementation. No product/runtime/source behavior changes.
Wrap transport request-shape failures into the public RuntimeContractError boundary instead of leaking raw validator ValueError. Keep exact Library donor-blob verification but locate the real Git worktree robustly after FINALPREP02 extraction. Update Daily Case composition regression for the current full packaged shell: require a single transport-owned startup mount and preserve inert/read-only UI semantics rather than falsely requiring index/app absence.
…ixtures

Explicitly allowlist the two packaged native-only commands already owned by the update/diagnostics wrappers, preserving empty-payload/path-confined validation and no arbitrary bridge execution. Refresh accessibility regression fixtures so public semantic choices are declared in UI metadata rather than inferred from answer truth, and assert grading-only composite truth stays completely absent from the renderable accessibility surface.
Preserve current fail-closed runtime/Constructor behavior while refreshing legacy fixtures to declared option-ID truth, make the Windows source-inspection test explicitly UTF-8, assert the current target-selection prohibition rather than an obsolete message, and force the exact-qualified diagnostics core to LF on all checkouts so its Git blob remains byte-stable across Windows/Linux.
Map the authored free-response synthesis and policy-short-response legacy modes onto existing text DTOs without changing source truth, and add a corpus-wide fail-closed regression so unsupported canonical response modes are reported together before packaged runtime construction.
Preserve the exact current packaged tree at 68f4ff5 while retaining da89667 as the second parent. This deliberately carries no stale #146 tree delta; bounded shared gate/runtime compatibility changes follow on top.
Preserve exact packaged tree dba039b as first parent and retain prior #146 lineage 3b35059 as second parent. Bounded DEV1 gate/adapter repair follows on top; no package feature tree is replaced here.
Graft only the previously verified immutable FINALPREP02 source parts, manifest, fail-closed archive verifier, and Linux/Windows workflow semantics onto the exact current packaged tree. This replaces the corrupt legacy source_parts gate without importing stale product/runtime/frontend deltas.

Copy link
Copy Markdown
Owner Author

WRITER FREEZE / PACKAGE-FIDELITY STACK — exact 346780cb04b69567e67ca51be462fd63106a1ba9.

Mechanical composition is frozen on PR #218:

Writer lease sa:compose:gospel-package-fidelity-0927 RELEASED. The decisive gate is fresh Windows DEV1 reaching the real produced-EXE CArchive readback and emitting PACKAGE_FIDELITY_PASS; portable unit tests alone do not satisfy it. NEW different-worker exact-head QA remains required. No package/main/source-status mutation.

Copy link
Copy Markdown
Owner Author

DIFFERENT-WORKER STATIC QA CHECKPOINT — PASS / REAL CARCHIVE EXECUTION PENDING — exact 346780cb04b69567e67ca51be462fd63106a1ba9.

Independent read-only evidence:

  • R06 convergence: add qualified Gospel corpus to runtime+D4+pedagogy stack #215→candidate is AHEAD / BEHIND 0 with exactly three package-fidelity paths;
  • package→candidate is AHEAD 134 / BEHIND 0 with merge-base exact canonical package;
  • all 3/3 candidate blobs are byte-identical to exact independently reviewed R06: prove exact embedded Windows package payload fidelity #164 donor 4d00741ba565ff2b1e1c5491f2e75205f057b668;
  • no review threads or submitted review objections;
  • build ordering remains manifest generation → real PyInstaller onefile build → produced-artifact CArchive verification → fidelity evidence → final build manifest;
  • verifier still fails closed on invalid/traversal/ambiguous paths, duplicate normalized/manifest members, missing/mutated bytes, Git-blob mismatch and unexpected protected payloads;
  • verifier emits PACKAGE_FIDELITY_PASS only when real artifact readback result is OK.

The decisive exact-head DEV1 workflow is still queued. Therefore no real produced-EXE/CArchive PASS is claimed yet.

STATIC_COMPOSITION_QA=PASS
DONOR_BLOB_IDENTITY=PASS_3_OF_3
REAL_CARCHIVE_FIDELITY=PENDING_HOSTED_DEV1
READY_FOR_INTEGRATION=NO

QA lease released; any head movement invalidates this checkpoint.

Copy link
Copy Markdown
Owner Author

PR #218 WINDOWS CHECKOUT-FIDELITY REPAIR WRITER RELEASE — exact ccf2e2577c58673dad4c31697a029f7e55d289cc.

Proven defect on predecessor 346780cb...: DEV1 Windows run 36317281803 passed reconstruction, baseline qualification, overlay, diagnostics and all focused package-fidelity unit tests, then failed candidate-locally in real Windows release gate before PyInstaller because canonical Git blob SHA-1 was compared directly to CRLF working-tree bytes (accessibility-inspector-ui.js: expected 56505d..., raw checkout blob e1ba22...).

Repair is confined to exactly two existing #218 paths, predecessor→head AHEAD 2 / BEHIND 0:

  • packaged_payload_fidelity.py: canonical Git blob remains authority; exact staged size/SHA-256 remains artifact-byte authority; only CRLF→LF checkout normalization may establish Git identity when raw bytes do not. Arbitrary content/whitespace/Unicode/lone-CR mutation still fails closed. The same rule is applied at produced-CArchive readback, while exact staged SHA-256 must still match first.
  • test_packaged_payload_fidelity.py: adds CRLF equivalence, mutated-text rejection, exact staged-byte manifest preservation, and CArchive-reader CRLF acceptance regressions.

No content/source/runtime truth changed; no path/archive duplicate or protected-payload checks were weakened; no package/main mutation. Seven new exact-head gates are queued. Final acceptance still requires DEV1 Windows to build the real onefile EXE, read its CArchive and emit PACKAGE_FIDELITY_PASS plus retained fidelity evidence.

EXCLUSIVE_KEY=sa:repair:package-fidelity-windows-checkout-218-0927 RELEASED.
READY_FOR_INTEGRATION=NO pending exact-head hosted execution + NEW different-worker QA.

Copy link
Copy Markdown
Owner Author

DIFFERENT-WORKER EXACT-HEAD QA — PASS — exact f577b901d6504855d137a71c0d30073cc9c5ab79.

Independent readback:

  • qualified parent R06 convergence: add qualified Gospel corpus to runtime+D4+pedagogy stack #215 → current is AHEAD / BEHIND 0 and exactly three package-fidelity paths;
  • changed-head hardening from e9a207f6... is exactly the fidelity implementation + its regression file;
  • exact Git blob identity remains unconditional; CRLF→LF equivalence is permitted only when the exact Git tree attributes resolve it as eligible, the repo path is in the bounded text class, bytes are strict UTF-8 and contain no NUL;
  • repository forced-LF D4 relation JSONL resolves to exact-byte policy from .gitattributes; -text, forced-LF, unknown/non-text and malformed policy states fail closed;
  • manifest persists git_eol_policy; produced-CArchive readback reuses that persisted policy only after exact staged size/SHA-256 checks;
  • duplicate normalized paths, missing/mutated payload and unexpected protected payload checks remain fail closed;
  • no review threads are present;
  • all seven exact-head workflows are SUCCESS;
  • exact Windows job 108621909440 ran 292 tests, built the real PyInstaller onefile CArchive, emitted PACKAGE_FIDELITY_MANIFEST_PASS files=153 git_pinned=150, then PACKAGE_FIDELITY_PASS verified=153/153; artifact SHA-256 5290998a2e3743a936b0e3fbd43707ea9df9b9a2eb069e23e1c7db0d5dba73eb.

DIFFERENT_WORKER_QA=PASS
TECHNICAL_QUALIFICATION=PASS
READY_FOR_INTEGRATION=YES
PACKAGE_INTAKE_AUTHORITY=NO

Explicitly not proven here: no-admin execution (hosted runner reports running_without_admin=false), HUMAN_NVDA, visual, source/theological acceptance, or PYZ bytecode identity.

@Oleksii-debug
Oleksii-debug marked this pull request as ready for review September 27, 2026 13:13
Exact-head governed intake of independently qualified PR #215 into the canonical packaged branch. Seven exact-head gates SUCCESS and different-worker QA PASS. No main/source-status/no-admin/HUMAN_NVDA promotion.

Copy link
Copy Markdown
Owner Author

PR #218 CURRENT-PACKAGE DIFFERENT-WORKER STATIC QA PASS — exact 00ebb4c90cbadc45491022ac3deb86e1c981d7cf.

Independent readback:

  • canonical package b2901617...→current: BEHIND 0, exactly three package-fidelity paths;
  • prior qualified head f577b901...→current: zero changed files;
  • 3/3 current blobs remain exact qualified identities: 6bccead6..., 6278ef1d..., 9c47791b...;
  • no review threads;
  • no content/source/runtime/fidelity semantic change introduced by late-bind.

Current-head hosted evidence is still nonterminal: DEV1, DEV10 and Library/Search remain QUEUED. Therefore prior real CArchive proof is semantic/tree evidence but is not relabeled as current-SHA terminal proof.

STATIC_QA=PASS
TERMINAL_HOSTED_QA=PENDING
READY_FOR_INTEGRATION=NO

Released EXCLUSIVE_KEY=sa:qa:package-fidelity-218-00ebb4-0927-sol. #226 remains the preferred combined successor; no branch/package mutation performed.

@Oleksii-debug
Oleksii-debug marked this pull request as ready for review September 27, 2026 17:38
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