Parent
#10
Type
AFK - code and tests can be implemented in an isolated Sandcastle branch.
What to build
Add an idempotent Telegram bootstrap utility that configures the controller messaging database with the built-in Telegram adapter, fleet room mapping, route policy, and trusted operator identity links. This removes the need for manual production SQLite edits.
Acceptance criteria
Blocked by
None - can start immediately.
Sandcastle notes
Recommended AFK branch: agent/openclaw-telegram-bootstrap.
.\scripts\sandcastle.ps1 -Mode implement -Agent codex -TaskFile .sandcastle\tasks\openclaw-telegram-bootstrap.md -Branch agent/openclaw-telegram-bootstrap
Create .sandcastle/tasks/openclaw-telegram-bootstrap.md from this issue body before launching the Sandcastle run.
Parent
#10
Type
AFK - code and tests can be implemented in an isolated Sandcastle branch.
What to build
Add an idempotent Telegram bootstrap utility that configures the controller messaging database with the built-in Telegram adapter, fleet room mapping, route policy, and trusted operator identity links. This removes the need for manual production SQLite edits.
Acceptance criteria
scripts/bootstrap_openclaw_telegram.pyexists and exposes a reusablebootstrap_telegram(...)function.assign_taskcommands targeting tasks.lennyandrosie.message:writeandcommand:writescopes.tests/openclaw_messaging/test_telegram_bootstrap.pycovers idempotency, command promotion, room mapping metadata, and identity scopes.python -m pytest tests\openclaw_messaging\test_telegram_bootstrap.py tests\openclaw_messaging\test_telegram_adapter.py tests\openclaw_controller\test_api.py -q.Blocked by
None - can start immediately.
Sandcastle notes
Recommended AFK branch:
agent/openclaw-telegram-bootstrap.Create
.sandcastle/tasks/openclaw-telegram-bootstrap.mdfrom this issue body before launching the Sandcastle run.