Skip to content

Integrate Code Review and Markdown candidates with provenance fixes - #404

Merged
BunsDev merged 36 commits into
mainfrom
cr5-base-repair
Oct 24, 2026
Merged

BunsDev merged 36 commits into
mainfrom
cr5-base-repair

Conversation

@BunsDev

@BunsDev BunsDev commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Integrate the reviewed candidates from PRs #371, #372, #395 and #399 onto protected main. This brings together Markdown keyboard access and its performance gate, remote PR diffs, the Code Review acceptance harness, and the unwired local draft/intent foundation. Original author branches remain untouched; the source PRs remain open until this replacement is accepted and merged.

Fix remote patch provenance when the PR target has advanced independently: old-side context and anchors now use the verified three-dot merge base, while target-tip SHA remains the freshness identity. The header distinguishes both commits, and unavailable or malformed comparison data fails closed.

Reconcile the acceptance harness with the implemented overview and comparison reads. Preserve exact request bounds and AA contrast assertions. The no-dispatch regression now waits for all initial overview reads before its baseline, with both ordinary and deliberately held reads covered; its zero-new-endpoint, zero-provider-start and zero-thread assertions are unchanged.

Hosted run 40078038166 failed the model-list Retry fixture before the Retry click: its first-call-only failure was consumed during setup, and the snapshot already showed the recovered model. The repaired fixture stays unavailable until explicit recovery at Retry and asserts exactly one additional request. Independent review approved this test-only repair; the original hosted logs and trace remain preserved.

Validation on signed repair 0539e1342f0039a80d86c9406b5ee8f96dbe4828: build, unit tests (2,084 passed, 22 skipped, zero failed), typecheck and full E2E passed. Desktop E2E passed 450 cases with seven skips, including the repaired Retry and both no-dispatch variants; site E2E passed 7/7. The five-launch transcript median was 132 ms against the approved 500 ms limit. Published head 16e535ba0ed2ddfb28ca313f0ac79b4bd8dd16b2 adds only the validation receipt. Hosted CI run 40082420566 passed on this exact published head, including the required macOS job (453 desktop E2E passed, four skipped) and iPhone companion job. Protected merge-queue run 40084484344 is testing candidate e3527f457842c6eff9c793f8efe7883013954d93; merge is not yet verified.

The first failing unit, focused integration and full E2E receipts are preserved alongside their repairs. See the integration receipt and merge-base repair evidence. Independent reviews approved the source repairs, integration resolutions and evidence boundaries.

CR-7 remains unwired and enables no GitHub mutation transport or action capability. Acceptance issues #277, #324, #326 and #327 remain open for their missing human, original-reference, provider and policy evidence. LM-1 Gate A and the metadata-policy proposal also remain unapproved; producer delivery does not adopt them.

BunsDev and others added 30 commits October 22, 2026 14:16
…ressions (#327)

- docs/reviews/2026-10-22-cr8-acceptance-matrix.md: one row per control C01–C82
  and per AC of #321–#326. Fixture, authenticated, live-provider, live-write and
  human evidence are kept in separate columns, each tied to a SHA and
  environment. Rows without evidence stay pending with their owner.
- e2e/code-review-{journey,regressions,a11y,measure}.spec.ts: production
  preload, IPC, read service and gh transport, with only gh synthetic
  (test/fixtures/code-review-gh-world.ts). They cover inbox → R1 → R4 with
  captures for ui:compare; identity and head-move isolation; incomplete data;
  hostile titles and links; no dispatch from unavailable actions; local
  Discard separation; Tab reach, focus and contrast in every theme; and a
  300-row inbox, a 1,000-file PR and a 3 MiB patch.
- ui-compare.mjs: add --captures <dir> for the Code Review capture folder.
- A VoiceOver/keyboard checklist and seed for Val; status and design pointers.

No product code changes. R2 and R3 wait for #323 and #325. The authenticated
re-run on main, the original-reference comparison and the VoiceOver pass are
still open gates.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
GitHub's macOS runner has about 677 px of content height. Without MODEX_E2E,
which these production-path launches must leave unset, a window can't be taller
than the display. fitWindow keeps the requested width, caps the height at the
display's work area, and annotates a capped run. The manifest records the
viewport actually used. The local-Discard regression sizes the window before it
opens the split.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Val authorized it on 2026-10-22. The CR-2 service smoke against PR #367 and
CR-3's navigation probe both passed on product 0e674e7. Only account, PR and
head identifiers are recorded; no PR content, token or screenshot.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Val confirmed on 2026-10-22 that the four reference screenshots no longer
exist. The manifest stays as the record of what they were. The
original-reference comparison is blocked rather than open, and can resume only
with new references that have their own checksums.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vercel

vercel Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modex Ready Ready Preview Oct 24, 2026 9:33am UTC

Request Review

@github-code-quality

Copy link
Copy Markdown

Code coverage overview

Languages: TypeScript

TypeScript / code-coverage-agent

main bb0e1a4 cr5-base-repair 16e535b +/-
65% 65% 0%
View coverage of the 10 most impacted files.
File main bb0e1a4 cr5-base-repair 16e535b +/-
apps/desktop/sr...read-service.ts 98% 98% 0%
apps/desktop/sr...w/PrChanges.tsx 0% 0% 0%
apps/desktop/sr...onents/Diff.tsx 0% 0% 0%
apps/desktop/sr.../code-review.ts 100% 100% 0%
apps/desktop/sr...ts/Markdown.tsx 88% 89% +1%
apps/desktop/sr...t/CodeBlock.tsx 81% 84% +3%
apps/desktop/sr...w/file-pages.ts 0% 95% +95%
apps/desktop/sr...review/patch.ts 0% 98% +98%
apps/desktop/sr...ions/intents.ts 0% 100% +100%
apps/desktop/sr...te-highlight.ts 0% 100% +100%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

This branch was successfully deployed

1 active deployment
Preview — 16e535ba Deployed Oct 24, 2026 by vercel[bot]
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