Skip to content

0.1.0 AP3: the sign-in helper and the GitHub App's manifest, in WizSite #1256

Closed

Description

@jparker2006

Parent

Ticket AP3 of spec #1223 (0.1.0). Size: S.

What to build

The only server piece of the app: a small function in WizSite's deploy that exchanges the GitHub App's sign-in code for the user's token and refreshes it. It checks the sign-in state value, answers only for openwiz.dev, keeps nothing and logs no token, and hands the token to the user's browser. The ticket also writes the GitHub App's manifest for AP4: read-only metadata, issues and pull requests, on the repositories the user picks, with openwiz.dev/app as its callback.

Owned paths

  • functions/ (new) and its tests in openwizdev/WizSite
  • docs/github-app-manifest.json (new) in openwizdev/WizSite
  • package.json and .github/workflows/site.yml in openwizdev/WizSite (shared: running the helper's tests)

Relies on: nothing

Links

none

Acceptance criteria

  • Exchange and refresh work against a fake GitHub; a wrong state value, another origin or a missing code is refused
  • Nothing is stored, and no token or code appears in any log line
  • The manifest asks for read-only metadata, issues and pull requests and nothing else
  • This pull request's Cloudflare Pages preview link is in the ticket's status comment while it is open
  • Test rule (The test rule: what earns a test, and what never does #687): every new test protects a supported behaviour, a contract others rely on or a safety invariant, and the pull request says per test catches: <the bug>, or no new test: <why>. No mock-returns-stub, source mirroring, compiler re-checks, quota tests or unreachable cases; a bug gets a failing test first.
  • Every test the pull request deletes names its keeper (a test that still catches its bug) or says the behaviour it protected is gone.

Proof

P1: the helper's tests with a fake GitHub, red first.

Builder Claude Code Opus 5.5 Medium and reviewer Codex Sol 6.2 Medium (J165), other family, no helper agents. A pull request in WizSite, WizSkills or WizRoom follows the cross-repository route: a recorded claim on the pull request, exact-head CI green, the other-family review, and a merge pinned to the reviewed head.

Activity

  1. added this to the 0.1.0 milestone on Nov 19, 2026
  2. added
    ready-for-agent
    on Nov 19, 2026
  3. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/1256-sign-in-helper

  4. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    Status (kept by hand until AP1 and AP2 land; edited in place)

  5. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: cross-repository merge verified in openwizdev/WizSite#20 at approved head 09eba4d831a48927a24bb8ea00fe141a675e80c9. Merge commit 8a928b9917ff3322b4c99f78c8425f099bd0d063.

  6. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: archived

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions