Skip to content

openclaw: wire Telegram channel for @shed_openclaw_bot - #7000

Merged
dezren39 merged 1 commit into
mainfrom
feat/openclaw-telegram-channel
Nov 8, 2026
Merged

dezren39 merged 1 commit into
mainfrom
feat/openclaw-telegram-channel

Conversation

@dezren39

@dezren39 dezren39 commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Refs #1029 (Telegram third; activation step remains — see below).

What landed tonight (2026-11-07, Drew's order "you do telegram")

  • Drew signed in to Telegram Web on the laptop (his number + code); fleet drove BotFather via CDP in that session.
  • Bot created: Shed — @shed_openclaw_bot (bot id 9221464955), verified live with Bot API getMe.
  • Token vaulted in Bitwarden Secrets Manager as openclaw.telegram-bot-token (existence + value verified by fingerprint against the issued token; value never printed or committed). 1Password copy still blocked on the known laptop op-env breakage (laptop op-env.sh: 1Password service-account token fetch from Bitwarden fails (JSON parse of empty output) #6829), same as the other fleet tokens.
  • Drew's numeric Telegram user id recorded in the channel allowlist.

This PR

  • lib/bws-to-sops.sh mirror sync: secrets/sops/common/bws.yaml now carries openclaw.telegram-bot-token (173 secrets; the sync also catches the mirror up on the rest of today's BWS-side drift — new turso/cloudflare tokens, the revoked-token marker, two rotated values — all pre-existing BWS facts, names verified in the --check output before syncing).
  • nixos/hosts/amd-openclaw-secrets.nix: decrypt openclaw/telegram-bot-token to /run/secrets/openclaw/telegram-bot-token at system activation.
  • home/openclaw/default.nix: OPENCLAW_TELEGRAM_BOT_TOKEN env file entry, telegram runtime plugin, channels.telegram (env SecretRef, dmPolicy: allowlist, Drew's numeric id, groupPolicy: allowlist), telegram.enabled = true.

Verified: both files parse; nix eval resolves the new sops secret key and the generated OpenClaw config's channels.telegram.allowFrom.

Remaining (not in this PR)

Activation needs the next nixos-rebuild switch on amd (sudo; already queued for Drew with #5647) so sops-nix decrypts the new file, then a gateway restart; openclaw channels status --probe + a DM round-trip proof follow at that point and will be recorded on #1029.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Bot created via BotFather from Drew's Telegram account 2026-11-07 (name Shed, @shed_openclaw_bot, getMe-verified). Token vaulted in BWS as openclaw.telegram-bot-token and mirrored into the sops store by lib/bws-to-sops.sh (this sync also catches the mirror up on the rest of today's BWS-side drift, key names only in the sync check output). amd-openclaw-secrets.nix decrypts it to /run/secrets/openclaw/telegram-bot-token at system activation; home/openclaw adds the env file entry, the telegram runtime plugin, channels.telegram (dmPolicy allowlist, Drew numeric id) and telegram.enabled. Activation rides the next nixos switch (sudo, Drew-run queue); the gateway picks the channel up on the following restart.
@dezren39
dezren39 requested a review from a team as a code owner November 8, 2026 00:47
@dezren39
dezren39 merged commit 31e07f9 into main Nov 8, 2026
1 of 3 checks passed
@coderabbitai

coderabbitai Bot commented Nov 8, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 28 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9bed33a4-d388-419e-ad0e-1fc3d03f9452
Commits

Reviewing files that changed from the base of the PR and between bade432 and 1282de2.

Files selected for processing: 3

  • home/openclaw/default.nix
  • nixos/hosts/amd-openclaw-secrets.nix
  • secrets/sops/common/bws.yaml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39
dezren39 deleted the feat/openclaw-telegram-channel branch November 8, 2026 00:47
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T00:48:16.492001Z 1282de2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant