package clearance import "crypto-miner-server/internal/models" // DefaultClearance returns the baseline clearance for an agent. // Online agents start at L1 (mining commands); offline agents are L0 (read-only). func DefaultClearance(agent *models.Agent) int { if agent != nil && agent.Status == "online" { return L1 } return L0 }