feat(box): add invite code handler, Settings RPA, and agent onboarding pipeline
- Support invite code discovery in main chat and redemption in settings menu - Add Settings RPA primitives with Radix UI mouse dispatch and retry polling for async DOM - Attribute 'has_redeemed' binary from the Additional tokens ticker / entrypoint visibility - Unblock agent @646 by repairing warp-def/dev tunnels and redeeming REDCJ7 via dev (+1B tokens) - Implement 'box onboard' pipeline to provision infra, authenticate, and auto-redeem queued codes - Add 'box onboard feed-matrix' ranking all agents by work done over time, job count, and role - Register 'InputType.SALVAGE' in loop modulation (CRITICAL priority, 600s timeout, 3 nudges to opm) - Ingest recurring balance audits into canonical HEARTBEAT.md and TOOLS.md
This commit is contained in:
@@ -52,6 +52,7 @@ class InputType(str, Enum):
|
||||
MANUAL = "manual" # human/operator-authored DM
|
||||
HEALTH = "health" # system health check results
|
||||
HEARTBEAT = "heartbeat" # loopback liveness probes
|
||||
SALVAGE = "salvage" # token exhaustion & onboarding work orders
|
||||
|
||||
|
||||
class Priority(str, Enum):
|
||||
@@ -139,6 +140,11 @@ _MODULATION: Dict[Tuple[InputType, Optional[str]], Tuple] = {
|
||||
(InputType.HEALTH, "OK"): (False, Priority.ROUTINE, 0, 0, None),
|
||||
(InputType.HEALTH, None): (True, Priority.IMPORTANT, 1800, 2, "opm"),
|
||||
|
||||
# Salvage: token depletion & onboarding rescue.
|
||||
(InputType.SALVAGE, "BLOCKED"): (True, Priority.CRITICAL, 600, 3, "opm"),
|
||||
(InputType.SALVAGE, "LOW"): (True, Priority.IMPORTANT, 900, 2, "opm"),
|
||||
(InputType.SALVAGE, None): (True, Priority.CRITICAL, 900, 2, "opm"),
|
||||
|
||||
# Heartbeat loopback: NEVER tracked. Hard exclusion.
|
||||
(InputType.HEARTBEAT, None): (False, Priority.ROUTINE, 0, 0, None),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user