Skip to content

Cookie/opaque-payload credentials with external refresh (qwen-cloud class) + Linux runbook notes to contribute #1

Description

@iceteaSA

Cookie/opaque-payload credentials with external refresh (qwen-cloud class) + Linux setup notes to contribute

Two items in one repo.

1. Need: a blessed pattern for cookie-based provider credentials

qwen-cloud (Alibaba token plan) auths with a browser cookie + sec_token pair. There is no refresh adapter for it (refresh_adapters/mod.rs:29-39 — no qwen, no cookie-class adapter), and the login flows are OAuth-shaped. The only vault path today is put with an opaque payload and no refresh. The credential silently goes stale in the vault while the consumer (insula's qwen-cloud slot, cortexkit/insula#1 GAP-4) has no way to distinguish "sealed but expired" from "fresh".

Questions:

  • Is opaque-put + external re-put (operator or a scraper re-provisioning on expiry) the intended pattern for cookie-class credentials, or is a kind: cookie with TTL metadata / staleness signaling on the roadmap?
  • If a consumer gets a payload that the provider then 401s, credential.report_auth_failure exists (insula's vault-consumer contract) — does a failure-flagged record surface anywhere an operator would notice (ck auth list?), or does it need the operator to poll?

We can contribute the qwen-cloud specifics: the exact credential shape, expiry behavior we've observed, and a captured (redacted) payload fixture.

2. Contribute: verified Linux (operator-path key) setup runbook additions

We're provisioning claustrum on an Arch box today (no macOS keychain; operator-path key file backend). The operator-runbook's Linux path is prose-only in places. Once setup is verified end-to-end, we'll contribute: a concrete subc.jsonc modules.claustrum example (reserved + sqlite storage fields — the tree has insula/thalamus examples but none showing the reserved/storage shape), the bootstrap-with---key-path transcript, and any Linux-specific sharp edges. Close this half if unwanted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions