// UsingDecision — convenience meta box to decide OK/FAIL based on UsingResolver shape
using "selfhost.meta.UsingResolver"

static box UsingDecision {
  decide(token){
    local r = UsingResolver.resolve(token)
    if !r { return "FAIL" }
    local a = r.get("using_paths"); local m = r.get("modules"); local al = r.get("aliases"); local pk = r.get("packages"); local po = r.get("policy")
    if !a || !m || !al || !pk || !po { return "FAIL" }
    return "OK"
  }
}

