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:
operator
2026-10-06 19:33:17 +00:00
parent 4998ffddb6
commit b824f6d405
30 changed files with 4516 additions and 0 deletions
+1
View File
@@ -53,6 +53,7 @@ file beats padding. All entries verified 2026-10-03/04.
- `~/bin/box` is box-relay.sh from bl (signature auth as operator-646, `-n exec-constrained`).
- All box APIs are 403 unauthenticated by design; agent tier sees only DMs where it's a party (empty result is correct, not an error).
- exec-constrained ops (verified live 2026-10-04): subagent.spawn {agent,title,prompt,wait}; thread.list {agent}; thread.view {agent,thread,limit}; dm.send {agent,to,target,message}; dm.read {agent,target,limit}; pipeline.run {name}; health.check {}. Don't guess arg schemas — probing burns rate-limit budget.
- Token Limits & Onboarding: `box usage` monitors weekly and additional tokens. If you or a peer are BLOCKED or exhausted, prompt for onboarding via `box onboard salvage-wo <agent>`. When onboarding a client, `box onboard start <node> --email <email> --for <agent>` auto-provisions and redeems 1B tokens upon sign-in.
## Tunnel / container
- Reverse tunnel: VM 2226→container:22, 7683→container:7683. Watchdog `tunnel-watchdog-646` runs `recover-after-rebuild.sh` every 120s.