Skip to content

Namespace proposal: should health and finances be opt-in with explicit confirmation? #5

@CodeForgeNet

Description

@CodeForgeNet

Discussion
The PCSL spec lists health and finances as valid namespaces (marked "sensitive, off by default"). Currently there is no enforcement at the server level - any client can request these scopes and get them if they exist in context.json.

Proposal
Should the server require explicit user confirmation before issuing tokens with sensitive scopes?

Options:

  1. CLI confirmation prompt - pcsl token create app health triggers typer.confirm("Share health data with 'app'?")
  2. Scope allowlist in .env - user explicitly opts in: SENSITIVE_SCOPES=health,finances
  3. Protocol-level flag in spec - mark scopes as sensitivity: high in /.well-known/pcsl.json and let clients decide how to handle it
  4. No change — user is responsible, keep it simple

Questions for the community

  • What's the right UX here?
  • Should the protocol spec define sensitivity levels or leave it to implementations?

Relevant spec file: pcsl/spec/SPEC.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    DiscussionOpen-ended questions about protocol design, architecture decisions, and the future.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions