Skip to content
This repository was archived by the owner on Nov 11, 2026. It is now read-only.

feat: preview model payer settings with three exclusive cards - #39

Merged
RoboForgeBot merged 19 commits into
mainfrom
feat/demo-model-settings
Nov 3, 2026
Merged

RoboForgeBot merged 19 commits into
mainfrom
feat/demo-model-settings

Conversation

@RoboForgeBot

@RoboForgeBot RoboForgeBot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Merged outcome

Merged into main at 0cb9b85. All four PRs merged in order. Final main 4c395f6 exactly matches the tested integration tree 85fcd8ddf792b237b3befecb659a66217b254576. 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: 9c48ccf. Draft; focused native Arc re-review complete. Merge/live HELD. Earlier heads below are historical evidence.

Related: #34. Stacked after support PR #37. Merges and live changes HELD.

What Problem This Solves

Independent billing switches allowed unclear payer combinations and an own-first rule that conflicts with direction A.

User Impact

Three exclusive cards preview Included plan, Own subscription or Both. The selected card has the red theme edge. Both states the proposed included-first order. Missing own connection is explicit. More options says prices, caps and per-claw rules are undecided. No credentials are collected. Preview changes no bill or model route.

Why This Change Was Made

One typed model-settings hook owns reads and synthetic cache updates. Non-demo mutation is refused. Remove the old billing.models booleans, ownFirst option and switches; no competing settings owner. Existing Billing card and stock controls are reused. No backend, provider, cap, price or real routing decision.

Evidence

Feature commit bb8efb9. Selected-state correction and proof-owner checklist: 22bd79a. Current head 70c9cfc adds ancestor main/checklist updates; model feature proof inputs are unchanged.

Local Node 24.22.1, pnpm 10.28.0:

  • pnpm lint: pass.
  • pnpm format:check: pass.
  • pnpm test:worker: 22 passed.
  • pnpm test:ui: 67 passed, Chromium, 17.12s; the new real-route test proves exclusive selection, connection notice, saved demo choice across reopen and undecided options.
  • pnpm build: pass.
  • pnpm build:worker: pass, dry run only.
  • git diff --check: pass.
  • node /tmp/console-capture.mjs models against VITE_DEMO=1 pnpm dev --host 127.0.0.1: actual synthetic console, 1280x900 and 390x844, dark/light. No horizontal overflow.

Model settings, synthetic, phone dark 390x844

All screenshots

Limitations: the initial Codex review failed authentication (see #36). Native Arc review is complete below; draft status remains under the merge/live hold. Source-blind behaviour validation is separate. No live sign-in, provider connection, spend enforcement, billing, router request, merge or deployment. Default runner concurrency, not one-worker timing. Hosted checks tracked at current head.

Work session: Console demo features and Reports. Listed on the Session board; GitHub remains the source sync point.

Current source head: 70c9cfc. Ancestor main/email updates only; model feature inputs remain those tested above. Independent source-blind browser proof passed exclusive cards, included-first proposal, missing connection, undecided options, reopen/reload behaviour, zero network writes and no credential fields. Its live Vite runtime was not immutable; pinned source tests and screenshot revisions remain the source proof.

Hosted current-head CI passed at 70c9cfc: https://github.com/arcforgelabs/console/actions/runs/41458519919 .

Hosted exact-head test totals: 22 Worker tests (823ms) and 67 UI tests (7.73s). CI also passed lint, format, both builds and the upstream theme JAR build.

Native review repair

Cato relayed independent native Arc review: no P0/P1; the model P2 was a saved choice reset after query freshness elapsed. The shared query client from #36 now owns demo freshness and retention for the whole page session, without per-feature stores. Production defaults are unchanged.

The unseeded browser test reproduced Both becoming unchecked on inherited baseline cd0bddf after a real 11,500ms wait, in-app navigation away/back and panel close/reopen. At 9c48ccf, pnpm test:demo-state passed all3 browser tests in1.0m; the model case took18.3s. Full reload restored Included. Request observation rejected non-read methods. The initial title-selector setup failure was not counted as a product regression.

All six local gates pass at this source: lint, format,22 Worker tests,67 UI tests,both builds (Worker dry-run); git diff --check passes. Existing model screenshots remain valid because visual inputs are unchanged. No sign-in release proof, provider/routing change, native delivery or live action. The old Codex-only review blocker is superseded by Arc review findings; focused re-review of this repair is complete.

Hosted exact-head CI passed at9c48ccf44f7f991872ad339d1f744ddb03fde7e0: https://github.com/arcforgelabs/console/actions/runs/41464744929 .

Hosted exact-head totals:22 Worker,67 UI and3 browser tests (45.6s), all passed.

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 9c48ccf44f7f991872ad339d1f744ddb03fde7e0. Live GitHub readback confirms the same head and passing checks. Exact-head CI passed 22 Worker tests, 67 UI tests and 3 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, tree 85fcd8ddf792b237b3befecb659a66217b254576: current main b5dad59 plus 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:worker and git diff --check all passed. Browser runs used CI=1 and loopback-only NO_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.

RoboForgeBot and others added 14 commits November 2, 2026 13:46
Related: #32

Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com>
Related: #33

Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com>
Related: #33

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>
Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com>
Related: #34

Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com>
Related: #32

Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com>
Related: #34. Record the demo proof owner and capture the actual selected state.

Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com>
Related: #33

Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com>
Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com>
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
Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com>
Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com>
RoboForgeBot and others added 5 commits November 2, 2026 14:38
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>
Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com>
Related: #33. Use the shared demo cache owner from #36. Exercise real navigation beyond 11.5 seconds and wait for loaded fixtures after reload.

Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com>
Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com>
Related: #34. Cross the real freshness boundary, leave Billing, return and remount settings before checking Both. Full reload restores Included.

Co-authored-by: IAMSamuelRodda <7961255+IAMSamuelRodda@users.noreply.github.com>
@RoboForgeBot
RoboForgeBot changed the base branch from feat/demo-support to main November 3, 2026 13:28
@RoboForgeBot
RoboForgeBot marked this pull request as ready for review November 3, 2026 13:29
@RoboForgeBot
RoboForgeBot merged commit 0cb9b85 into main Nov 3, 2026
10 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant