Skip to content

R06: harden Constructor V2 accessible failure boundary - #264

Merged
Oleksii-debug merged 21 commits into
r06-compose-packaged-app-update-verify-0911from
r06-constructor-v2-a11y-failure-safety-0929-sol
Sep 30, 2026
Merged

Oleksii-debug merged 21 commits into
r06-compose-packaged-app-update-verify-0911from
r06-constructor-v2-a11y-failure-safety-0929-sol

Conversation

@Oleksii-debug

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

Copy link
Copy Markdown
Owner

Product defect

The packaged Constructor V2 exposed raw backend exception messages through live/history output, did not deterministically restore focus when no saved draft was selected, and allowed overlapping persisted/version-changing keyboard actions.

Repair

  • keep technical exceptions in console.error while exposing bounded Ukrainian user-facing failures;
  • missing-draft handling announces the action and returns focus to #draft-id;
  • serialize Constructor V2 snapshot/history/undo/redo/diff/restore/rollback/publish actions through one single-flight busy authority;
  • expose aria-busy on the Constructor V2 panel and disable only Constructor V2 action buttons while busy;
  • preserve backend command/payload contracts and publish-as-version-artifact semantics;
  • regression forbids error.message exposure and locks focus, busy-state and safe-message behavior.

Current exact lineage

Packaged authority: r06-compose-packaged-app-update-verify-0911@58874439caad9c5c8c66504853dee1cba950d27d.

Candidate: r06-constructor-v2-a11y-failure-safety-0929-sol@45fe631ea8482be1cccc3d801af9955f976f1406.

The current reconvergence commit uses the package as FIRST parent/tree authority and prior #264 candidate as SECOND parent provenance. Direct package compare is exact merge-base, BEHIND 0, and exactly two changed paths:

  • lanes/dev1/repair_overlay/frontend/constructor-v2-ui.js
  • lanes/dev1/repair_overlay/tests/test_constructor_v2_frontend.py

Both candidate-specific blob identities are unchanged from the independently reviewed semantic candidate:

  • frontend 9b8df4409ecfc951293dad1a962736e447eb8822
  • regression 5eab75d9cee1e6f3e57610373daf3addc1ef83e0

All intervening package work (#265 Constructor persistence/recovery, #267 checkpoint runtime authority, #266 QA67 exact-head authority, #258 parallel-witness equivalence, #255 structured D2 proof, #272 D2 concurrency fix) is inherited from the current package tree rather than replayed as candidate work.

Current qualification

Exact head 45fe631...:

  • D2 structured runtime compatibility 36631245366: SUCCESS
  • Library/Search 36631245345: SUCCESS
  • DEV10 36631245329: SUCCESS
  • Constructor V2 Direct 36631245448: SUCCESS
  • DEV1 36631245336: Linux SUCCESS; Windows still IN_PROGRESS at the latest readback.

No workflow failure is known. No unresolved review thread exists. Physical Windows/WebView2/HUMAN_NVDA acceptance is not claimed.

DIRECT_CURRENT_PACKAGE_CONTAINMENT=PASS
CANDIDATE_SEMANTIC_DELTA=EXACTLY_2_PATHS
SEMANTIC_BLOBS_UNCHANGED_FROM_INDEPENDENT_REVIEW=YES
CANONICAL_CONTENT_MUTATION=NONE
FORCE_PUSH=NO
READY_FOR_INTEGRATION=NO until DEV1 Windows terminalizes SUCCESS and a final anti-race package/head check passes.

@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 CONSTRUCTOR ACCESSIBILITY REVIEW — b9e613f85f0f0eddabca9da8850a3a0389675cb1

Reviewed the complete two-file delta against packaged base fa587e6c287097d859eeb550d0901d1fd90d8c72. Candidate is AHEAD 3 / BEHIND 0 with exact package merge-base; no authoring backend, canonical content/source, validation, grading, persistence or updater code changes.

Failure/focus boundary:

  • raw error.message is removed from live/history user output while exact technical exceptions remain in console.error;
  • missing draft identity is handled before backend dispatch with a bounded actionable message and focus returned to #draft-id;
  • history-refresh failures render a fixed safe message in both output and global live status rather than backend detail.

Single-flight semantics:

  • every persisted/version-changing action in this surface is serialized through one busy authority: snapshot create, undo, redo, diff, snapshot restore, version rollback and publish;
  • aria-busy is bound to the Constructor V2 panel and only buttons marked as Constructor V2 actions are disabled, so draft-selector focus recovery remains available while busy;
  • dynamically created history action buttons inherit the current busy state, closing the replacement-control gap during a running operation;
  • finally restores action availability even after exceptions.

Authority preservation:

  • existing backend command names and payload shapes remain unchanged;
  • publish still obtains backend pack compatibility and calls authoring.publish_version; no canonical source write path is added or inferred;
  • revision/history semantics remain backend-owned; this patch only controls accessible dispatch/error presentation.

Qualification wiring:

  • the existing Constructor V2 Direct Qualification watches constructor-v2-ui.js and test_constructor_v2_frontend.py, uses literal-head checkout/assertion, runs the semantic frontend regression, and performs Node syntax validation; DEV1 CI supplies broader composed coverage.

No blocking static defect found. Hosted execution and physical HUMAN_NVDA evidence remain separate requirements.

DIFFERENT_WORKER_EXACT_HEAD_REVIEW=PASS
AUTHORING_BACKEND_AUTHORITY_CHANGE=NONE
READY_FOR_INTEGRATION=NO pending terminal exact-head hosted qualification.

Copy link
Copy Markdown
Owner Author

POST-#265 PACKAGE RECONVERGENCE / SAME-LINEAGE CONTINUATION — 2026-09-29

Canonical packaged branch advanced by merged #265 to 4a1202ec5f74f72c03f86bfe63c0d8d34b86d787.

I continued existing #264 rather than creating a duplicate. Current head is a0a5de0a49d9656dfbf47eb4b2ed866507cfbce3.

Reconvergence is byte-bounded:

Compatibility decision: #265 changes template persistence/fork write-ahead recovery and Constructor qualification coverage; #264 changes only frontend failure/focus/single-flight behavior plus its frontend regression. No product-code path overlap exists. The shared Constructor workflow is now exactly the current packaged #265 blob, so fresh #264 qualification exercises the combined tree.

Fresh exact-head runs for a0a5de0... are now active. At this checkpoint QA67 is already SUCCESS; DEV10 is running; DEV1, Library/Search and Constructor V2 Direct are pending/queued.

PACKAGE_BYTES_RECONVERGED=PASS
CANONICAL_CONTENT_MUTATION=NONE
READY_FOR_INTEGRATION=NO pending terminal fresh exact-head hosted qualification and fresh changed-head review.

Copy link
Copy Markdown
Owner Author

POST-#267 PACKAGE RECONVERGENCE / SAME-LINEAGE CONTINUATION — 2026-09-29

Canonical packaged branch advanced through merged #267 to 7b2ff7a11c8c10d11a475105ef540d6f3a943ceb.

Existing #264 has been continued in place; current head is 69fb1399392e1bef932e5d55c2773bd3b9e28f01. No duplicate PR/branch was created.

Byte readback against the current packaged branch proves:

Compatibility:

Fresh exact-head qualification for 69fb139... is active. At this checkpoint QA67, DEV10, Cross-Testament, Packaged Current Shell and Constructor V2 Direct are SUCCESS; DEV1 and Library/Search are still running.

PACKAGE_12_PATH_BYTE_READBACK=PASS
CANDIDATE_SEMANTIC_DELTA=2_PATHS
CANONICAL_CONTENT_MUTATION=NONE
READY_FOR_INTEGRATION=NO pending terminal exact-head hosted qualification and a fresh changed-head review appropriate to this reconverged head.

Use current packaged tree as first-parent authority and preserve exactly the two reviewed Constructor V2 accessibility blobs from the existing candidate.

Copy link
Copy Markdown
Owner Author

TOPOLOGY RECONVERGENCE COMPLETE — exact 9b958e2edbfe318b1dc585b86070875f8cd61ea6 — 2026-09-29

The prior byte-level reconvergence had a correct resulting file set but GitHub still reported merge conflicts because ancestry remained on the pre-#265 package line. That topology defect is now removed without force-push.

Construction:

Readback after ref update:

The original independent semantic review on b9e613f... covered these exact two semantic blobs. This reconvergence does not alter either blob, but the new exact head still requires fresh hosted qualification before integration.

DIRECT_CURRENT_PACKAGE_CONTAINMENT=PASS
CANDIDATE_SEMANTIC_DELTA=EXACTLY_2_PATHS
FORCE_PUSH=NO
READY_FOR_INTEGRATION=NO pending fresh exact-head hosted qualification on 9b958e2....

Use current packaged tree as first-parent authority and preserve exactly the two independently reviewed Constructor V2 accessibility blobs.
Use current packaged tree as first-parent authority and preserve exactly the two independently reviewed Constructor V2 accessibility blobs.
Use current packaged tree as first-parent authority and preserve exactly the two independently reviewed Constructor V2 accessibility blobs.

Copy link
Copy Markdown
Owner Author

CURRENT-PACKAGE RECONVERGENCE AFTER #272 — exact 45fe631ea8482be1cccc3d801af9955f976f1406 — 2026-09-29

Package authority is 58874439caad9c5c8c66504853dee1cba950d27d, which adds #272's qualification-only D2 concurrency fix over the prior package.

#264 was reconverged without force-push:

Fresh exact-head qualification is running. Importantly, D2 structured runtime compatibility 36631245366 is already SUCCESS on this head, confirming the newly integrated ref-scoped concurrency fix no longer leaves this candidate's D2 evidence pending/cancelled. DEV1, DEV10, Library/Search and Constructor V2 Direct remain active at this checkpoint.

DIRECT_CURRENT_PACKAGE_CONTAINMENT=PASS
D2_EXACT_HEAD=PASS
SEMANTIC_BLOBS_UNCHANGED_FROM_INDEPENDENT_REVIEW=YES
READY_FOR_INTEGRATION=NO pending remaining terminal current-head workflows.

Copy link
Copy Markdown
Owner Author

CI_TERMINAL / READY_FOR_INTEGRATION — exact head 45fe631ea8482be1cccc3d801af9955f976f1406

Current packaged authority remains 58874439caad9c5c8c66504853dee1cba950d27d. Direct compare is BEHIND 0 with that exact merge-base and exactly two candidate-specific paths.

Fresh exact-head hosted evidence is terminal SUCCESS:

  • DEV1 Platform CI 36631245336 — Linux SUCCESS + Windows SUCCESS;
  • Constructor V2 Direct Qualification 36631245448 — SUCCESS;
  • Library/Search 36631245345 — SUCCESS;
  • D2 structured runtime compatibility 36631245366 — SUCCESS;
  • DEV10 Integration 36631245329 — SUCCESS.

Semantic blob continuity is exact with independently reviewed candidate b9e613f85f0f0eddabca9da8850a3a0389675cb1:

  • constructor-v2-ui.js blob 9b8df4409ecfc951293dad1a962736e447eb8822;
  • test_constructor_v2_frontend.py blob 5eab75d9cee1e6f3e57610373daf3addc1ef83e0.

No canonical Scripture/source/evidence/grading/runtime/authoring-backend/updater/main byte is changed by this PR. No HUMAN_NVDA or physical Windows 11 acceptance is claimed.

READY_FOR_INTEGRATION=YES
MAIN_MERGE_AUTHORIZATION=NO (project governance remains unchanged).

@Oleksii-debug
Oleksii-debug merged commit 7d4ce09 into r06-compose-packaged-app-update-verify-0911 Sep 30, 2026
10 checks passed
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