Skip to content

Port auth and credential compatibility to Go #119

Closed as not planned
Closed as not planned

Description

@KalebCole

Task

Port the complete auth vertical slice and reusable auth module.

Owns

  • Credential path and environment precedence, unknown-field preservation, and secure atomic persistence.
  • Login, status, logout, valid-token logic, Firebase refresh, JWT userId backfill, and device identity.
  • An immutable auth-context interface exposing only the valid token and request identities.
  • A diagnosis operation consumed by doctor.

Does not own

Generic command/HTTP behavior or non-auth commands.

Acceptance

  • Existing credentials work without re-login and remain usable by TypeScript.
  • Login/status/logout/refresh match observed output, prompts, errors, and exits.
  • Synthetic fixtures cover malformed files, nullable/backfilled identity, refresh rotation, permissions, atomic failures, unknown fields, and non-TTY behavior.
  • Tokens and user IDs never enter user-facing output.

Activity

  1. added
    wayfinder:task
    on Aug 9, 2026
  2. KalebCole commented on Aug 10, 2026

    @KalebCole
    OwnerAuthor

    Superseded scope

    This ticket belonged to the TypeScript-parity/port execution graph. Redefine partiful as a specification-driven greenfield Go CLI replaces that destination: TypeScript is research evidence, the reviewed remote API and new CLI product contracts are authoritative, and implementation slices will be derived only after those contracts are approved.

    This ticket is closed as out of scope for the new destination. Any still-relevant engineering concern will return through a freshly scoped greenfield ticket rather than preserving port assumptions.

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

    wayfinder:task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions