fix(work): import hashlib and wire heal subparser into main CLI
This commit is contained in:
+3
-2
@@ -281,8 +281,9 @@ def generate_preservation_advisory(
|
||||
tips = []
|
||||
|
||||
pct = weekly_used_pct or 0
|
||||
if pct >= 95 or "0 tokens left" in extra_tokens_remaining:
|
||||
return "CRITICAL: Quota exhausted. Do NOT send chat messages. Salvage via 'box onboard start <new_node> --for %s'." % node
|
||||
is_bonus_empty = ("0 tokens left" in extra_tokens_remaining) or (not extra_tokens_remaining)
|
||||
if pct >= 95 and is_bonus_empty:
|
||||
return "CRITICAL: Quota exhausted. Salvage via 'box onboard start <new_node> --for %s'." % node
|
||||
|
||||
if pct >= 70:
|
||||
tips.append("Quota > 70%%: Cease prose chatter; offload tasks to background tmux workers.")
|
||||
|
||||
Reference in New Issue
Block a user