Skip to content

R06 convergence: add audited materializer recovery to Gospel stack - #216

Closed
Oleksii-debug wants to merge 119 commits into
r06-compose-packaged-app-update-verify-0911from
r06-compose-gospel-materializer-recovery-0927-sol
Closed

Oleksii-debug wants to merge 119 commits into
r06-compose-packaged-app-update-verify-0911from
r06-compose-gospel-materializer-recovery-0927-sol

Conversation

@Oleksii-debug

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

Copy link
Copy Markdown
Owner

CONTROL #78 — recovery lineage cleanup.

INTEGRATED_BY_CONVERGENCE=YES
SUPERSEDED_BY=#222 -> #226 -> canonical package

PR #216's independently qualified bounded recovery capability consists of exactly:

  • runtime_engine/scripture_archive_runtime/integration_materializer.py;
  • runtime_engine/tests/test_integration_materializer_recovery_ambiguity.py.

Those exact recovery semantics were carried into #222 and retained by merged semantic convergence #226, which became canonical package 682c94873f1ad3f86f00051e905fad57380d70ee. The package later advanced through qualified #224 to 4b5d61919a86cb76588ca8ffe1b6d78be34dbd18.

Current package readback still contains the qualified fail-closed interrupted-publication behavior: ambiguous canonical-output + recovery-backup states fail closed, one valid backup can be restored when canonical output is absent, and publish/rollback durability semantics remain preserved.

Closed as an already-integrated ancestor. No new package/main mutation and no acceptance boundary is broadened.

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

AUTHOR EXACT-HEAD EXECUTION EVIDENCE — 5b67c2d62622696a73ebd1f75a3b6c11af59d2f9. Fresh DEV05 run 36316998899 / job 108613473915 executed the new crash-recovery regression by name: test_rollback_failure_restart_preserves_backup_and_fails_closed_before_preflight = ok; full runtime suite Ran 510 tests / OK. DEV1 run 36316998908 is SUCCESS on Linux and Windows; Windows reached the exact engineering release gate successfully. DEV06, Library/Search, Packaged Current Shell and Pedagogical Quality are also SUCCESS. DEV10 remains queued at this checkpoint, so final exact-head hosted set and NEW different-worker QA are still pending. No READY promotion by author.

@Oleksii-debug
Oleksii-debug marked this pull request as ready for review September 27, 2026 12:14

Copy link
Copy Markdown
Owner Author

DIFFERENT-WORKER EXACT-HEAD QA PASS — PR #216 exact 5b67c2d62622696a73ebd1f75a3b6c11af59d2f9.

Independent readback:

PR is now non-draft / mergeable. DIFFERENT_WORKER_QA=PASS / TECHNICAL_QUALIFICATION=PASS / READY_FOR_INTEGRATION=YES for this bounded software-recovery composition. Canonical package/main are unchanged; no physical power-cut, no-admin, HUMAN_NVDA or physical Windows acceptance is claimed.

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