Dezio/PLAN.md
astar76 3132434aa1 S000: workflow scaffold
CLAUDE.md, ORCHESTRATOR.md, PLAN.md, Plans/ (index, template, category folders), docs/PROGRESS.md and
docs/DECISIONS.md (owner choices for network, image commands, security and deploy), and the tracker page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-12 09:12:57 -06:00

1.5 KiB

Dezio — vision

Goal

Make the deployed bot dependable on the Chromebook's slow line and safe to expose. Deliverable: the bot running on the Chromebook with the fixes below, committed and pushed to Astar Hub; the owner checks the new image commands in Discord.

Current state

The Rust port is complete and deployed (see ROADMAP.md). Problems seen on 2026-11-12: /download uploads of 7-9 MB videos take minutes and can time out three times in a row (792 s handler). The upload is about 114 KB/s, shared with voice and capped at 800 kbit by dezio-shape. Network calls have no shared policy for timeouts, retries and sizes. No security test has been done beyond earlier spot fixes. /image (D!fx) bundles 10 effects and 14 filters.

Phases

  • Phase 1 — Network: every upload sized and timed by the measured upload speed (too-big results become a website link), retries only when they can help, every outbound call with a timeout and clear errors, gateway/voice/music recovering from drops, shaping tuned with the bot.
  • Phase 2 — Image commands: /image and D!fx removed; /speechbubble and /caption (and their D! versions) work like the well-known caption bots.
  • Phase 3 — Security: website and dashboard, media inputs, commands and abuse, dependency audit; fixes for what is found; tested on a local copy only.
  • Phase 4 — Deploy and owner check in Discord.

Out of scope

New features beyond the above, a faster internet line, moving off the Chromebook, attacks on the live site.