Repository navigation
Description
Parent
Ticket T2 of confirmed spec #2920 (0.0.16).
What to build
Connect GitHub browser authentication to the existing setup runtime and page, and make a deliberately chosen personal-login path sufficient when the user skips the App. Reuse GitHub CLI browser sign-in and positive current account/repository checks. A browser launch or callback is not usable login evidence. Show the selected acting identity; leave a skipped/missing App truthful rather than marking it verified. An App failure or revocation must never silently select the personal login or its quota.
Carry this choice through the existing Python setup store, Rust reader and read-only setup response to the existing page. Maintain CloudRoom, harness, project, engine and reviewer requirements as independent facts. Use only the contract-first expansion for new fields; preserve old saved-state compatibility and no-write GET behavior. This ticket makes the sign-in/skip-App path demonstrable in isolation on recording providers; it does not wait for the new manifest or init implementation.
Owned paths
tools/install/setup/github_login.pytools/install/setup/test_github_login.pytools/install/setup/setup.py(shared) only personal identity/browser-login checks and selected-auth readiness composition; not project/brain checks or preparetools/install/setup/store.py(shared) only identity-choice fields/validation; not brain-reference fieldscrates/store/src/setup.rs(shared) only identity-choice decoding/validation; not brain-reference decodingcrates/server/src/setup.rs(shared) only identity selection/readiness, login/App reason codes and focused testsapps/web/src/setup.ts(shared) only identity selection and reason presentationapps/web/src/components/Setup.tsx(shared) only GitHub login/App-skip continuationapps/web/test/browser/setup-github-login.test.mjstools/install/test_setup_api.mjs(shared) only identity selection/readiness casestools/release/build_products.py(shared) only github_login.py runtime packaging rowtools/install/install.py(shared) only github_login.py required-runtime rowtools/install/test_install.py(shared) only github_login.py asset fixture/casetools/install/fixture_bundle.py(shared) only github_login.py fixture asset rowtools/release/test_package.py(shared) only github_login.py packaging casecrates/service/src/bootstrap.rs(shared) only github_login.py required-asset row/countchanges/setup-onboard-github-login.mdtests/checks/skills.rs(shared) only the setup_onboard_login check registration.github/actions/docs-only/run.py(shared) only setup_onboard_login test-selection registration.github/actions/docs-only/plan.py(shared) only setup_onboard_login test-selection registration
Relies on: contracts/setup-onboard.v1.md, contracts/setup-onboard.v1.schema.json, contracts/setup.v1.md, contracts/setup.v1.schema.json, contracts/agent-github-reads.v1.md, contracts/open-development.v1.md
Links
- 0.0.16 T1: pin the setup-to-first-merge interfaces #632 real: the expanded selected-identity and setup-readiness interface
Acceptance criteria
- Signed-out users receive the supported browser sign-in; verified existing users reuse their login without a pasted personal token. Positive account and selected-repository access are read back.
- An explicit App skip persists across reload, names the acting personal identity and allows the selected login path to become ready without claiming an App is installed.
- Denied/unknown auth, account mismatch, revoked repository access, stale observations and unselected auth cannot become ready or silently fall back.
- Recording and browser tests cover browser cancellation, restart, repeated requests, current identity and both legacy/new state; GET setup performs no authentication call or write.
- The existing page retains missing/refused/unknown/uncertain states. Attach small target images before changing its visible login/skip area, per the image skill; keep desktop and phone proofs scoped.
Proof
P1/P2/P5. Red-first runtime/API/browser behavior at the selected-identity seam; no live login or secret provisioning in tests. Packaging verifies the same helper ships and runs from the installed runtime.
Validation and authority
Run the affected checks only, plus format/type checks for touched code. Use the existing CI selection/registration rows; do not add a new project dependency or skip a missing required tool silently. Fixtures contain synthetic values only. Raw live/contributor/account evidence and exact decision words stay private; public results use verified private-comment pointers. New visible UI uses the existing image skill before implementation.
This graph is written for approval only. No ready label, builder start, live/account/machine/secret action, external posting, spending, merge, release or publication is authorized by this unapproved ticket. After graph approval, the project's merge rules apply to implementation; live work still needs T8's exact kit authorization. A closed blocker without its required verified merge/completion evidence does not release work. New scope or changed interfaces return through plan-graph change control.
was ClosedWiz #2941
Activity
jparker2006 commentedon Nov 15, 2026
launch-fleet: noted #699
RN6’s repository-capitalisation-only contract change is pre-released for this ticket under C2. Consumer scope, blocker meaning and owned paths are unchanged; no ticket edit or new approval cutoff is needed. This acknowledges/releases only a #699-triggered contract hold, not any independent audit, needs-info, ordering or live gate.
Private record: https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6891382510
jparker2006 commentedon Nov 15, 2026
launch-fleet: held for #644: contract changed, re-approve. contracts/setup.v1.md, contracts/setup.v1.schema.json changed in #644.
T1 is verified merged into main. Its optional identity/brain fields, selected-identity ready rule and pinned init/receipt seams affect existing relied-on contracts. This is the mechanical consumer hold required by launch-fleet, not an assertion that T1 failed review. The current approved graph bodies, paths and dependency edges are unchanged; the prepared re-approval request is on spec #625. The #699 C2 release covers only its capitals-only change, not this #644 interface delivery. No independent hold or live authorization is released.
jparker2006 commentedon Nov 15, 2026
launch-fleet: start checked, branch room/633-0-0-16-t2-browser-sign-in-and-explic-ku7j
Public PR #862 and full head 1f9089f are independently verified. CI is red in the carriage guard; the exact classification-entry question is recorded separately. This is branch ownership verification, not a green hand-back or review.
jparker2006 commentedon Nov 15, 2026
Builder question: two exact paths outside the owned list
Ticket #633 needs two edits outside its owned paths. The current revision 3 approval names no supporting envelope, so I am asking before I edit either one.
1.
apps/web/src/api.ts(shared), only the setup reader:SetupViewandparseSetupText.openwiz.setup.v1reader lives here, not insetup.ts. Today it refuses any extra key and anyready: truewheregithub_appis not verified. setup.v1's 0.0.16 expansion says T2 ships the server and the page together. Without this edit, a server response that carriesidentitymakes the page show an error. The ownedtools/install/test_setup_api.mjstests exactly this reader.identityobject with exactly the keysselected,app_choiceandacting_login, using the contract's enums and login pattern.personal_loginrequiresskipand a login. Relax the reader's ready check only forpersonal_login+skip. Responses withoutidentitykeep the current rule exactly. Nothing else in the file changes.2. A target-image evidence folder:
docs/evidence/openwiz-0.0.16/setup-github-login/.Design note (no answer needed unless you object): the explicit App skip is saved through setup's existing preview →
--yes --operationpattern as aconnect_appoperation. Its effects say plainly that no App is registered or installed and name the acting login. No new operation kind is added and no setup.v1 enum changes.Recommendation: grant both paths as scoped above. In the meantime I am building the owned store, server and Python login slices.
jparker2006 commentedon Nov 15, 2026
Orchestrator ruling: both granted, as supporting paths for this ticket only, answering the builder question above.
apps/web/src/api.ts(shared): onlySetupViewandparseSetupText, to accept the optionalidentityobject exactly ascontracts/setup.v1.mdalready defines it, and to relax the ready check only forpersonal_loginwithskip. Responses withoutidentitykeep today's rule. No contract, schema or enum change; nothing else in the file.docs/evidence/openwiz-0.0.16/setup-github-login/: synthetic target pictures, their prompt and notes, and the red-run logs.Same intent as the ticket (AC2, AC3, AC5); no new interface, dependency or scope. Record both grants in the PR's Facts. If the reader needs any contract change after all, stop and ask again.
25 remaining items
#633: R1 identity reads are github.com's; R2 a pending sign-in outliv…
#633: green: R1 and R2 checked at a26e6ea
#633: green: main merged for the actual conflict, checked at 87f4a5d
jparker2006 commentedon Nov 16, 2026
Orchestrator decision requested: PR #862 at
51a8de8360162730a5ad8030348016a777b1d381after its one ordinary review and one re-check.The retained reviewer's exact-head CHANGES re-check was read back and matched to its own output. R1 is resolved. Two blockers remain:
identity_unreadable; explicit sign-in exits without starting authentication.All four helpers are archived and both immediate original-window audits are clean. Evidence is synthetic/process proof, with no live provider or OAuth acceptance claim. The ordinary 1+1 budget is consumed.
Recommendation: authorize one bounded further fix for R2 and R3, retaining github.com binding, positive living-child exclusion and refusal of arbitrary read/network errors. Please record the actual decision here for this head: fix once more (including any necessary exact supporting scope), or log and merge with explicit disposition of both blockers. No new builder round, review allocation or merge is inferred before that decision.
#633: red: final check R2 an aged record beside a living sign-in, R3 …
#633: final check R2 a living sign-in outlasts its record's age; R3 G…
#633: green: final check R2 and R3 at a629a5f
#633: green: final check fixes and the T5 main merge, checked at c0e5d66
#633: green: final check fixes and the T3 main merge, checked at e1ba556
jparker2006 commentedon Nov 16, 2026
launch-fleet: archived
PR862 merged through the queue at approved head79fcc4e496b6a84f59f98aff3e9795385410c1eb into default main as
f95a553266b07c5f3aa397d48b1aee2a711dfead. Default-branch ancestry and this closing PR's closure of #633 were independently verified. The retained builder and reviewer are archived, both read back; immutable claims/history retained. Ordinary review/re-check and the separately authorized final check remain consumed, with final exact-head APPROVE6909671372. No live acceptance claim. #636's frontier is checked in this same wake with all three prerequisite merges verified.#873: merge main (keep #633's identity and skipped-App rule with the …
#873: green: scoped checks after merging main with #633, at 89cfa80