Skip to content

conditional tokens #3

Description

@roobie

If I want to give an agent "deploy to staging, then deploy to production if staging succeeds," I have to grant both tokens upfront. The agent could misuse the production token even if staging failed. You need conditional tokens (e.g., DeployToken("production", requires_token="staging", requires_success=True)) or token chaining (consuming token A unlocks token B).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions