def judge4

cswap-bend-cli@0.1.0.0 · daemon/freshen.bend:149

import cswap-bend-cli@0.1.0.0/daemon/freshen.bend as Freshen
import Base
import cswap-bend-cli@0.1.0.0/act.bend as Act

149# Ensure a candidate's stored token outlives Claude Code's next minutes: a
150# credential within 10 minutes of expiry is refreshed under its consume lock.
151def judge4(+live: Bool, +root: String, +slot: String, +email: String, +creds: String, +now: U32) -> Act.of(String):
152  Act.cond(String, live, Act.pure(String, "skip-live-session"), judge(root, slot, email, creds, now))

Uses (7)

Used by (1)