This repository was archived by the owner on Nov 11, 2026. It is now read-only.
Repository navigation
feat: preview invites with selected claw access - #36
Merged
Merged
Conversation
Related: #32 Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com>
Related: #32. Hosted CI failed because Playwright 1.59.1 rejects ubuntu26.04. Pin Ubuntu 24.04 and run CI on staged PR bases as well as main. Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com>
Contributor
Author
|
Independent source-blind browser proof passed: one sheet, defaults, invalid email, empty claw choice, role options, selected access/seat update, duplicate rejection, reload reset and zero network writes. External backend effects are outside browser observation. This is not the blocked technical review. CI initially failed because Playwright 1.59.1 rejects Ubuntu 26.04; current head pins Ubuntu 24.04 and tests staged PR bases. No checks disabled. |
Contributor
Author
|
The repair push did not create repository CI/context runs for the current head; only org CodeQL ran. Reopening this draft through the normal PR event will request current-head checks. No guard or required check is bypassed. |
Related: #32 Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com>
Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com> # Conflicts: # .github/workflows/ci.yml
This was referenced Nov 2, 2026
Related: #32. The query client owns demo freshness and retention. Production defaults are unchanged. Add an unseeded real-time navigation regression and recapture settled invite sheets. Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com>
This was referenced Nov 2, 2026
RoboForgeBot
marked this pull request as ready for review
November 3, 2026 13:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merged outcome
Merged into main at
60a890b. All four PRs merged in order. Final main4c395f6exactly matches the tested integration tree85fcd8ddf792b237b3befecb659a66217b254576. Earlier draft and merge-hold statements below are historical, not current blockers.No production deployment is required for this synthetic demo scope. The production bundle and all live services remain unchanged. Broader Reports issue arcforgelabs/platform#1027 remains open.
Current merge decision
Samuel authorized merge and deployment if relevant on 3 November 2026 in the task session. This supersedes earlier merge holds below. The reviewed source remains unchanged.
No production deployment is needed for this bounded synthetic demo task. Real invites, support writes, model routing and report delivery remain disconnected. The platform owns the separate pinned production bundle; no release, bundle change or live apply forms part of this merge. Issue arcforgelabs/platform#1027 remains open.
Current repair head: 01bb3ef. Draft; focused native Arc re-review complete. Merge/live HELD. Earlier head references below are historical evidence.
Related: #32. Follow-on to arcforgelabs/platform#1029. Merges and live changes are HELD.
What Problem This Solves
Team Invite was a notice only. Owners could not preview an invite with selected claw access.
User Impact
Direction A adds one sheet: email, all claws selected, member default, optional admin role. A demo invite updates the list and seat count. Duplicate email and full seats are rejected. Search appears above eight claws. No email is sent and no access is granted. Reload clears previews.
Why This Change Was Made
The typed useInvite hook owns the synthetic query-cache update. It refuses mutations outside VITE_DEMO=1 and sends no request. A future authenticated backend must recheck ownership, seats and grants. Existing /api/team read hook is retained. No Worker, auth, address, price, router or plan change.
Simplification: reuse the existing team cache and stock Sheet. No new backend or storage. New feature, not an incident regression; no before-fix regression claim. Tests exercise the real route and selected access, duplicate rejection and capacity.
Evidence
Feature commit: 7621d91. Current head: 9008531 (includes current main unchanged). All six gates reran: 22 Worker tests (1.32s), 64 UI tests (17.29s), lint, format and both builds pass.
Local Node 24.22.1, pnpm 10.28.0:
All four screenshots
Limitations: initial UI run lacked the pinned Chromium; installed it with pnpm exec playwright install chromium, then reran successfully. Independent technical review attempted with the canonical autoreview helper, P0–P2, but Codex authentication failed: reviewer_unavailable, report_produced=false. This is not a clean review. The initial review blocker is superseded by the completed native Arc review below. Source-blind behaviour validation is separate. No live sign-in suite, real invitation, backend, production activation, merge or deploy. Single-worker wall time not measured; reported times are actual default runner times.
Work session: Console demo features and Reports. Listed on the Session board; GitHub remains the source sync point.
Current source head: 9008531. This incorporates current main, including the separate email-theme work unchanged. The only merge conflict was the CI runner comment; upstream wording was preserved. All six local gates reran: 22 Worker tests (1.60s), 64 UI tests (15.90s), lint, format and both builds pass. Hosted CI: https://github.com/arcforgelabs/console/actions/runs/41458383307 (current-head check pass). Source-blind runtime proof passed the invite contract; it does not replace technical review.
Hosted exact-head test totals: 22 Worker tests (544ms) and 64 UI tests (7.03s). CI also passed lint, format, both builds and the upstream theme JAR build.
Native review repair
Cato relayed independent native Arc review of the earlier pinned stack: no P0/P1, three P2 demo lifetime defects. These supersede the earlier authentication-only review status. The shared query client now owns demo freshness and retention until full reload (staleTime and gcTime are infinite only in VITE_DEMO=1). Production defaults are unchanged. No second store or per-feature state manager was added.
The new unseeded e2e/demo-state.browser.ts reproduced all three lifetime failures on inherited baseline cd0bddf before the shared repair: invite row absent, support row absent, Both unchecked after return/reopen. Those runs used real 11,500ms waits and in-app links; no seeded cache or mocked API. Initial title-selector setup failures were corrected before those genuine red results.
At 01bb3ef, pnpm test:demo-state passes 1 browser test(s). All six local required gates pass: pnpm lint, pnpm format:check, pnpm test:worker (22), pnpm test:ui (64), pnpm build and pnpm build:worker dry-run. git diff --check passes. No release sign-in, native customer rendering, delivery or live changes were run.
Invite browser result: 1 passed in 18.5s. Recaptured all four actual synthetic invite sheets after CSS animations finished and asserted dialog bounds inside the viewport. Desktop 1280x900 dialog bounds: x832/y0/w448/h900. Phone390x844: x0/y0/w390/h844. Visually inspected desktop light and phone dark; no screenshot-baseline comparison.
Hosted current-head CI: https://github.com/arcforgelabs/console/actions/runs/41463867331 (pass).
Hosted exact-head totals:22 Worker,64 UI and1 browser test (17.1s), all passed.
Final screenshot correction
The first settled captures used a linked node_modules and had blocked font requests. Their typography evidence is superseded. The source head remains01bb3efcd7516b232b8dccc610fbef38a50d176c; its own locked dependencies now serve the capture. Four final images wait for document.fonts.ready and sheet animations, assert loaded Geist and full viewport bounds, and record zero failed/HTTP-error requests. Desktop light and phone dark were visually inspected. The unseeded browser test passed again (1test,17.8s). An initial capture raced server startup and was rerun only after readiness was verified; it was not product evidence.
Corrected images are on evidence-only commit ba8c870; all four validated source heads are unchanged. Earlier full source gate results are reused because application source is identical. No image baseline comparison or extra product CI was claimed for this artifact-only branch.
Capture source and limits
Final independent review: source scope complete
Native Arc review cleared all three reported P2 lifetime defects. It found no new P0–P2 defect in the repair scope. This is an independent narrative review, not helper-validated machine status or a formal GitHub approval. The observed reviewer model was openai/gpt-6.1-sol.
The reviewed head for this PR is
01bb3efcd7516b232b8dccc610fbef38a50d176c. Live GitHub readback confirms the same head and passing checks. Exact-head CI passed 22 Worker tests, 64 UI tests and 1 browser test(s). Source inputs are unchanged, so those gate results remain valid.Arc independently ran the integrated PR40 head: navigation regressions 3 passed in 53.7s; Reports regression 1 passed in 9.7s; session tests 2 passed. It verified query-cache ownership, unchanged production defaults, reload resets and rejection of network writes. It inspected the corrected invite images. Arc did not independently replay the author's red baseline.
Implementation, proof and the requested review are complete for the bounded demo source task. Draft status and merge/live holds remain. The earlier blank reload is unexplained, not claimed fixed. Native Gateway rendering and delivery remain unverified; the console mock does not prove integration. Issue arcforgelabs/platform#1027 remains open for its broader scope.
Current-main integration proof
Tested local integration commit
5e2628129e23f76e35406715be1dfb8afbe906a4, tree85fcd8ddf792b237b3befecb659a66217b254576: current mainb5dad59plus the reviewed PR40 stack. Git merged without conflict. Main's Playwright 1.64.1 and latest Ubuntu configuration remain intact.pnpm install --frozen-lockfile,pnpm lint,pnpm format:check,pnpm test:worker(22 passed, 1.91s),pnpm test:ui(70 passed, 26.75s),pnpm test:demo-state(3 passed, one worker, 1.0m),pnpm test:demo-reports(1 passed, one worker, 9.8s),pnpm build,pnpm build:workerandgit diff --checkall passed. Browser runs usedCI=1and loopback-onlyNO_PROXY=127.0.0.1,localhost, so the exact worktree started its own server. The first browser setup failed because the host proxy intercepted loopback; no product failure or source fix is claimed for that setup error.Release sign-in and production apply were not run. No release or production bundle update is needed for this demo-only merge.