Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
f1d7a2f
fix(dialogs): migrate PrHeader TitleDialog from Modal to DialogFrame …
reason-machines[bot] Nov 16, 2026
a07749e
fix(dialogs): migrate ResetChatDialog and KeyboardShortcutsDialog to …
reason-machines[bot] Nov 17, 2026
44af542
test(dialogs): reproduce Reset chat nested alert frame
reason-machines[bot] Nov 17, 2026
f482eae
fix(dialogs): render Reset chat in one shared alert frame
reason-machines[bot] Nov 17, 2026
842d1ad
fix(dialogs): reset restore state when workspace changes
reason-machines[bot] Nov 17, 2026
60fd7d8
fix(dialogs): preserve newer removal targets after late success
reason-machines[bot] Nov 17, 2026
4511c86
fix(dialogs): retain a newer turn's reset dialog
reason-machines[bot] Nov 17, 2026
6a034ec
fix(dialogs): keep cloning behind the configured primary action
reason-machines[bot] Nov 17, 2026
a9c3db4
Merge remote-tracking branch 'origin/main' into fix/dlg-prheader-titl…
reason-machines[bot] Nov 17, 2026
03c655f
test(dialogs): freeze Create project activation qualification
reason-machines[bot] Nov 17, 2026
2dc80a1
test(dialogs): record trusted Create project Enter baseline
reason-machines[bot] Nov 17, 2026
1658eb1
test(dialogs): preserve Create project browser treatment and build proof
reason-machines[bot] Nov 17, 2026
648e8a3
test(dialogs): preserve Quick open source and build proof
reason-machines[bot] Nov 17, 2026
d80de81
test(dialogs): record Quick open trusted-key browser proof
reason-machines[bot] Nov 17, 2026
17cc341
test(dialogs): preserve Submit prompt source and build proof
reason-machines[bot] Nov 17, 2026
54e9682
test(dialogs): preserve Submit prompt browser proof
reason-machines[bot] Nov 17, 2026
f9956a4
test(dialogs): archive raw RED logs without byte changes
reason-machines[bot] Nov 17, 2026
da86c95
test(dialogs): keep raw log audit portable after squash
reason-machines[bot] Nov 17, 2026
614775f
test(dialogs): preserve Owner loading and pending build proof
reason-machines[bot] Nov 17, 2026
6ca2c36
test(dialogs): capture Owner pending browser proof
reason-machines[bot] Nov 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions evidence/dialogs/github-owner-pending/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# GitHub Owner editability while creation is pending

Conductor Rebuild / SAME6013 / `GITHUB-OWNER-PENDING-6013`.

## Scope and retained reference

Fresh default `350276dac249fa14d24ec2460c5397a1e61cec97` disables Owner with `!ready || pending`. The retained Conductor 0.87.6 `was` dialog instead passes the owners-query `isLoading` value to `ah.disabled`; its creation mutation's `isPending` disables the primary action, not Owner.

[Source manifest](source.json) freezes 18 complete literal bindings through the normal local mount, owners producer/query, dialog, select root/trigger, native button and selection callback. The original renderer was rehashed before reading: 11,600,457 bytes, SHA-256 `5199d392ef2dec92886393f181bc98531efc6251f75b9effecd9f60dc9515dde`. The retained REA receipt is `ev_410f83a50764142c952de5f040cde338700477289c1687932071bdc5427c84b2`. Original JavaScript is untrusted data and was never executed. REA's original semantic renderer pass exhausted heap; these locked literal bytes supplement it, not a claim that analysis succeeded.

The only production change removes `|| pending` from the Owner select's disabled expression. Loading/error/refetch gates, owner reconciliation, provider calls, submit/duplicate guards, repository-name behavior and shared dialog code are unchanged. #959 addressed selected-owner reconciliation after retry, not this pending rule.

## Frozen reproduction and treatment

Before the production patch, the mounted actual component's new nine-test fixture was frozen at SHA-256 `d6f688f8f325a87144b17807ec6f0cbd832cd5469d723628b25927991c8b5229` together with the baseline component. It produced **7 pass / 2 intended failures**: Owner was disabled during pending creation, and the pending selection/rejection/retry flow could not begin. Both assertions check enabled state **before** invoking any selection callback; no disabled control was bypassed to claim success.

The identical frozen fixture after the one-expression fix produced **9/9 pass**. The first creation keeps its captured owner/path/name/origin, a changed draft owner cannot bypass duplicate protection, rejection preserves that draft, retry uses the draft, and success keeps the existing remote callback and closes once. Seven loading/idle/refetch/error/settlement controls passed on both sides. The actual `GitHubRepoDialog` and state model are loaded; only the outer `DialogFrame` and backend ports are synthetic. This does not exercise native selection or wrapper focus/keyboard/provider behavior.

Commands, on Reason Cloud:

```bash
node --experimental-strip-types --test src/components/githubRepoPendingOwner.test.ts
node --experimental-strip-types --test src/components/githubRepoOwners.test.ts src/components/githubRepoPendingName.test.ts src/components/githubRepoDismissal.test.ts src/components/githubRepoName.test.ts src/state/githubRepoDialog.test.ts
python3 evidence/dialogs/github-owner-pending/verify.py
```

The first command **passed 9/9 after reproducing the two expected failures**. The second **passed 19/19 before and after** without changing those files. The verifier **passed**, including all 18 original-asset span comparisons when supplied the retained renderer/index, exact product patch, frozen test identity and raw TAP counts. Raw RED output is retained byte-for-byte in gzip with [raw and packed hashes](raw-red-archive.json); assertion whitespace was not trimmed or regenerated. Both the ordinary portable verifier and explicit original-asset verifier are supported.

The fresh checkout lacked test dependencies. A bounded isolated nine-package fixture install supplied exactly React 18.3.1, react-test-renderer 18.3.1 and TypeScript 5.9.3 through `NODE_PATH` for those local commands. No lockfile, package manifest or shared dependencies were changed.

## Verification limits

The runtime retry control covers the existing organizations-error retry, **not** cached background-query refetch. The reference's owners-query `isLoading` rule and current `OwnersState` model are not claimed equivalent for all refetch/error states; this leaf preserves their existing current behavior rather than broadening the fix.

The exclusive heavy slot ran sequentially from 19:39:41Z and was released at 19:42:15Z, before its 19:44:41Z deadline. `npm ci --ignore-scripts --no-audit --no-fund` **passed**; `npm run build` **passed** (branding, full TypeScript and production Vite; existing large-chunk warning only); `npm run lint:colors` **passed** (six checker tests, 1,274-file scan). [Results and release receipt](heavy-results.json) and byte-exact compressed logs are retained. Own heavy process readback was empty.

## Frozen browser proof

The [six-control plan](frozen-browser/PLAN.md), fixture and complete 186-input graphs were frozen before the browser opened. The two graphs differ only in the actual GitHubRepoDialog source. Unlike the Node fixture, this browser fixture includes the actual DialogFrame, Base UI portal, motion, KeybindingsProvider and production theme/styles. An identical thin adapter adds clearly labelled synthetic backend controls inside the actual modal; no real backend or full App is loaded. The CSP denies connections, form actions, images and frames.

On Reason Cloud, the same six schedules produced **baseline 4/6 with two intended pending-Owner failures → treatment 6/6**. Baseline control 4 stopped at the enabled-state prerequisite, before any selection; the disabled baseline was never bypassed. Treatment preserved the original person request while Owner changed to team, kept primary disabled through the new availability check, made no duplicate after a real pointer attempt, retained the edited draft after rejection, retried with team and closed once with the team URL. Initial loading, idle selection, rejection without editing and successful resolution also passed on both sides.

All 32 raw DOM readbacks and 17 assertion requests are archived byte-exact as individual strings in [the compressed receipt archive](frozen-browser/raw-readbacks.jsonl.gz), with source IDs, revisions, timestamps and hashes in [its manifest](frozen-browser/raw-readbacks-manifest.json). The audit recomputes every control and intermediate flow predicate from those original receipts; owner, disabled and request fields are not normalized. Real pointer click/submit events were trusted. Select changes use the observed real select's native value setter with input/change dispatch and actual value readback: this is **not a trusted native picker interaction**.

Both matching pending screenshots were viewed and published:

![Baseline: Owner disabled during creation](frozen-browser/baseline-pending.png)

![Treatment: Owner editable; Creating remains disabled](frozen-browser/treatment-pending.png)

```bash
node evidence/dialogs/github-owner-pending/frozen-browser/build.mjs
python3 evidence/dialogs/github-owner-pending/frozen-browser/verify.py
```

The first command built both bundles before browser admission; the second **passed** the frozen fixture/input identities, all 12 control verdicts, five intermediate flow readbacks and cleanup record. The browser ran within the admitted 19:49:41Z–20:04:41Z window. The owned tab was closed and preview stopped; tabs were empty, every own preview stopped/listening null, own server processes absent and an independent port-48733 bind passed. [Cleanup receipt](frozen-browser/cleanup.json): explicit release to ledger and the next Rust owner at **20:00:16Z**, more than four minutes before the deadline. No browser/server remains running.

## Remaining limits

Live-original side-by-side, currently installed original identity, full-App, macOS/WebKit, native, real-provider and packaged inclusion are **not verified**. The cached-background-refetch and native-picker limits above remain explicit. No native/Mac resource, credential, real repository creation or release custody was touched.
136 changes: 136 additions & 0 deletions evidence/dialogs/github-owner-pending/adjacent-baseline.tap
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
(node:76) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
(Use `node --trace-warnings ...` to show where the warning was created)
TAP version 13
# (node:83) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
# (Use `node --trace-warnings ...` to show where the warning was created)
# Subtest: GitHub repository dialog cancel button has data-dialog-cancel and closes before creation
ok 1 - GitHub repository dialog cancel button has data-dialog-cancel and closes before creation
---
duration_ms: 103.919946
type: 'test'
...
# Subtest: GitHub repository dialog cancel button has data-dialog-cancel and closes while creation is pending
ok 2 - GitHub repository dialog cancel button has data-dialog-cancel and closes while creation is pending
---
duration_ms: 75.078746
type: 'test'
...
# Subtest: ordinary Modal keeps its default backdrop dismissal
ok 3 - ordinary Modal keeps its default backdrop dismissal
---
duration_ms: 27.986558
type: 'test'
...
# (node:84) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
# (Use `node --trace-warnings ...` to show where the warning was created)
# Subtest: GitHub private repo name "" stays neutral and cannot submit
ok 4 - GitHub private repo name "" stays neutral and cannot submit
---
duration_ms: 302.59379
type: 'test'
...
# Subtest: GitHub private repo name " " stays neutral and cannot submit
ok 5 - GitHub private repo name " " stays neutral and cannot submit
---
duration_ms: 49.848556
type: 'test'
...
# Subtest: GitHub private repo name "\\t \\n" stays neutral and cannot submit
ok 6 - GitHub private repo name "\\t \\n" stays neutral and cannot submit
---
duration_ms: 41.238942
type: 'test'
...
# Subtest: GitHub private repo name " " stays neutral and cannot submit
ok 7 - GitHub private repo name " " stays neutral and cannot submit
---
duration_ms: 17.884309
type: 'test'
...
# Subtest: GitHub private repo nonblank invalid name keeps its error and cannot submit
ok 8 - GitHub private repo nonblank invalid name keeps its error and cannot submit
---
duration_ms: 32.239289
type: 'test'
...
# Subtest: GitHub private repo normalizes a valid name and blocks repeated pending submission
ok 9 - GitHub private repo normalizes a valid name and blocks repeated pending submission
---
duration_ms: 89.114076
type: 'test'
...
# (node:86) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
# (Use `node --trace-warnings ...` to show where the warning was created)
# Subtest: GitHub owner retry replaces a login absent from the refreshed owners before checking or creating
ok 10 - GitHub owner retry replaces a login absent from the refreshed owners before checking or creating
---
duration_ms: 278.395135
type: 'test'
...
# Subtest: GitHub owner retry preserves a selected login that remains in the refreshed owners
ok 11 - GitHub owner retry preserves a selected login that remains in the refreshed owners
---
duration_ms: 145.754314
type: 'test'
...
# Subtest: GitHub owners start empty and block submission until the first owner and availability arrive
ok 12 - GitHub owners start empty and block submission until the first owner and availability arrive
---
duration_ms: 96.645041
type: 'test'
...
# (node:107) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
# (Use `node --trace-warnings ...` to show where the warning was created)
# Subtest: name input is not disabled while creation is pending and the captured request is unaffected by later edits
ok 13 - name input is not disabled while creation is pending and the captured request is unaffected by later edits
---
duration_ms: 168.035976
type: 'test'
...
# Subtest: duplicate submit is blocked while creation is pending regardless of name editability
ok 14 - duplicate submit is blocked while creation is pending regardless of name editability
---
duration_ms: 40.631304
type: 'test'
...
# (node:115) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
# (Use `node --trace-warnings ...` to show where the warning was created)
# Subtest: repo slug: lowercase, dashes for other characters, collapsed and trimmed, max 100
ok 15 - repo slug: lowercase, dashes for other characters, collapsed and trimmed, max 100
---
duration_ms: 0.847806
type: 'test'
...
# Subtest: status line follows loading, blank or invalid name, then the check for this exact slug
ok 16 - status line follows loading, blank or invalid name, then the check for this exact slug
---
duration_ms: 0.275654
type: 'test'
...
# Subtest: submit needs owners loaded, an owner, and the current slug confirmed available
ok 17 - submit needs owners loaded, an owner, and the current slug confirmed available
---
duration_ms: 0.12215
type: 'test'
...
# Subtest: submit label depends on git init and pending
ok 18 - submit label depends on git init and pending
---
duration_ms: 0.097855
type: 'test'
...
# Subtest: owner load errors are classified as SAML, scope, auth, or generic
ok 19 - owner load errors are classified as SAML, scope, auth, or generic
---
duration_ms: 0.25592
type: 'test'
...
1..19
# tests 19
# suites 0
# pass 19
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 2407.341166
136 changes: 136 additions & 0 deletions evidence/dialogs/github-owner-pending/adjacent-treatment.tap
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
(node:91) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
(Use `node --trace-warnings ...` to show where the warning was created)
TAP version 13
# (node:98) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
# (Use `node --trace-warnings ...` to show where the warning was created)
# Subtest: GitHub repository dialog cancel button has data-dialog-cancel and closes before creation
ok 1 - GitHub repository dialog cancel button has data-dialog-cancel and closes before creation
---
duration_ms: 232.342363
type: 'test'
...
# Subtest: GitHub repository dialog cancel button has data-dialog-cancel and closes while creation is pending
ok 2 - GitHub repository dialog cancel button has data-dialog-cancel and closes while creation is pending
---
duration_ms: 594.604088
type: 'test'
...
# Subtest: ordinary Modal keeps its default backdrop dismissal
ok 3 - ordinary Modal keeps its default backdrop dismissal
---
duration_ms: 30.578277
type: 'test'
...
# (node:99) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
# (Use `node --trace-warnings ...` to show where the warning was created)
# Subtest: GitHub private repo name "" stays neutral and cannot submit
ok 4 - GitHub private repo name "" stays neutral and cannot submit
---
duration_ms: 228.262436
type: 'test'
...
# Subtest: GitHub private repo name " " stays neutral and cannot submit
ok 5 - GitHub private repo name " " stays neutral and cannot submit
---
duration_ms: 620.82911
type: 'test'
...
# Subtest: GitHub private repo name "\\t \\n" stays neutral and cannot submit
ok 6 - GitHub private repo name "\\t \\n" stays neutral and cannot submit
---
duration_ms: 28.747941
type: 'test'
...
# Subtest: GitHub private repo name " " stays neutral and cannot submit
ok 7 - GitHub private repo name " " stays neutral and cannot submit
---
duration_ms: 48.938901
type: 'test'
...
# Subtest: GitHub private repo nonblank invalid name keeps its error and cannot submit
ok 8 - GitHub private repo nonblank invalid name keeps its error and cannot submit
---
duration_ms: 27.011648
type: 'test'
...
# Subtest: GitHub private repo normalizes a valid name and blocks repeated pending submission
ok 9 - GitHub private repo normalizes a valid name and blocks repeated pending submission
---
duration_ms: 30.744957
type: 'test'
...
# (node:105) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
# (Use `node --trace-warnings ...` to show where the warning was created)
# Subtest: GitHub owner retry replaces a login absent from the refreshed owners before checking or creating
ok 10 - GitHub owner retry replaces a login absent from the refreshed owners before checking or creating
---
duration_ms: 280.395979
type: 'test'
...
# Subtest: GitHub owner retry preserves a selected login that remains in the refreshed owners
ok 11 - GitHub owner retry preserves a selected login that remains in the refreshed owners
---
duration_ms: 101.082566
type: 'test'
...
# Subtest: GitHub owners start empty and block submission until the first owner and availability arrive
ok 12 - GitHub owners start empty and block submission until the first owner and availability arrive
---
duration_ms: 528.86642
type: 'test'
...
# (node:122) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
# (Use `node --trace-warnings ...` to show where the warning was created)
# Subtest: name input is not disabled while creation is pending and the captured request is unaffected by later edits
ok 13 - name input is not disabled while creation is pending and the captured request is unaffected by later edits
---
duration_ms: 188.108877
type: 'test'
...
# Subtest: duplicate submit is blocked while creation is pending regardless of name editability
ok 14 - duplicate submit is blocked while creation is pending regardless of name editability
---
duration_ms: 60.418245
type: 'test'
...
# (node:128) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
# (Use `node --trace-warnings ...` to show where the warning was created)
# Subtest: repo slug: lowercase, dashes for other characters, collapsed and trimmed, max 100
ok 15 - repo slug: lowercase, dashes for other characters, collapsed and trimmed, max 100
---
duration_ms: 6.768742
type: 'test'
...
# Subtest: status line follows loading, blank or invalid name, then the check for this exact slug
ok 16 - status line follows loading, blank or invalid name, then the check for this exact slug
---
duration_ms: 3.745185
type: 'test'
...
# Subtest: submit needs owners loaded, an owner, and the current slug confirmed available
ok 17 - submit needs owners loaded, an owner, and the current slug confirmed available
---
duration_ms: 0.143713
type: 'test'
...
# Subtest: submit label depends on git init and pending
ok 18 - submit label depends on git init and pending
---
duration_ms: 0.118585
type: 'test'
...
# Subtest: owner load errors are classified as SAML, scope, auth, or generic
ok 19 - owner load errors are classified as SAML, scope, auth, or generic
---
duration_ms: 1.95102
type: 'test'
...
1..19
# tests 19
# suites 0
# pass 19
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 2606.541993
Binary file not shown.
Loading
Loading