Skip to content
pi-c Artifact [dddbfb4a7c]
Login

Artifact [dddbfb4a7c]

Artifact dddbfb4a7c9c3a25268b8d69a1cb752ea8a67a6bae60e54da66edef528acf278:


Subscription sign-in

Status: implemented on the oauth-login branch (ticket 30); the credential seam awaits the owner's review

Tier: bundled (src/oauth.c, src/oauth_openai.c, src/oauth_openrouter.c). Clock: vendor. Record: a picu_credential row of kind oauth. Default: on.

The seam

Core's credential store (cred.h) gains pic_cred_oauth_ops: a sign-in label per provider, a login that returns what to seal, and a refresh. The composition root registers the bundled table; core calls only through it, so core names no provider and links without the flows (tiers checks 4 and 5). It is a new seam, which keel sends to the owner. The lighter alternative, the flows in core with the provider names behind an allowance, was refused: the allowance only shrinks.

Decisions