Skip to content

t1385.2: Signal bot integration subagent doc#2767

Closed
marcusquinn wants to merge 1 commit intomainfrom
feature/signal-bot-agent
Closed

t1385.2: Signal bot integration subagent doc#2767
marcusquinn wants to merge 1 commit intomainfrom
feature/signal-bot-agent

Conversation

@marcusquinn
Copy link
Owner

@marcusquinn marcusquinn commented Mar 3, 2026

Summary

  • Create .agents/services/communications/signal.md — comprehensive subagent doc for Signal bot integration via signal-cli
  • Update subagent-index.toon and AGENTS.md domain index to include signal entry

Coverage

  • Installation: JVM, GraalVM native binary, Docker, package managers, build from source
  • Registration: SMS/voice verification + CAPTCHA, QR code linking to existing account, PIN protection
  • Daemon mode: JSON-RPC 2.0 over HTTP (:8080), TCP (:7583), Unix socket, stdin/stdout, D-Bus — with systemd service example
  • JSON-RPC API: Full method reference (messaging, groups, account), request/response format, SSE events, curl examples
  • Messaging features: DMs, groups, attachments, reactions, typing indicators, read receipts, mentions, quotes, stickers, text styles, polls, edit/delete, link previews, view-once
  • Group management: Create, update, admin controls, permissions, group links, ban/unban
  • Access control: Recipient identifiers (E.164, ACI UUID, PNI, username), application-level allowlist pattern, blocking, trust management
  • Privacy/security assessment: Signal Protocol details (Double Ratchet, X3DH, Curve25519, AES-256-CBC), sealed sender, metadata analysis, comparison table with SimpleX/Matrix/Telegram, bot security model
  • aidevops integration: Runner dispatch pattern, minimal shell bot example, planned components
  • Matterbridge bridging: Two integration options (signal-cli-rest-api adapter, custom JSON-RPC bridge), privacy warning
  • Limitations: Phone number requirement, no multi-device as primary, version expiry, rate limiting, no voice/video calls, exit codes

Closes #2749

Create .agents/services/communications/signal.md covering signal-cli
registration, JSON-RPC daemon mode, messaging features, group management,
access control, privacy/security assessment, aidevops runner dispatch
integration, and Matterbridge bridging notes. Update subagent index and
AGENTS.md domain index.
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 3, 2026

Warning

Rate limit exceeded

@marcusquinn has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 26 minutes and 23 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between ac2beaf and c06a4e6.

📒 Files selected for processing (3)
  • .agents/AGENTS.md
  • .agents/services/communications/signal.md
  • .agents/subagent-index.toon
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/signal-bot-agent

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces detailed documentation for integrating Signal bots using signal-cli, providing a foundational resource for developers to build secure and functional communication agents. The new guide covers the entire lifecycle from setup to advanced usage, ensuring that Signal-based solutions can be effectively developed and managed within the system. The necessary index files have also been updated to reflect this new addition.

Highlights

  • New Signal Bot Integration Documentation: A comprehensive subagent documentation file for Signal bot integration via signal-cli has been added. This document covers installation, registration, daemon modes, JSON-RPC API, messaging features, group management, access control, privacy/security assessment, aidevops integration, Matterbridge bridging, and known limitations.
  • Index Updates: The main AGENTS.md domain index and subagent-index.toon have been updated to include the new Signal documentation, making it discoverable within the existing agent structure.
Changelog
  • .agents/AGENTS.md
    • Added services/communications/signal.md to the Communications section.
  • .agents/services/communications/signal.md
    • Created new documentation for Signal bot integration via signal-cli.
  • .agents/subagent-index.toon
    • Updated the 'Communications' entry to include 'Signal bot' in its description and keywords.
Activity
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@github-actions
Copy link

github-actions bot commented Mar 3, 2026

🔍 Code Quality Report

�[0;35m[MONITOR]�[0m Code Review Monitoring Report

�[0;34m[INFO]�[0m Latest Quality Status:
SonarCloud: 0 bugs, 0 vulnerabilities, 113 code smells

�[0;34m[INFO]�[0m Recent monitoring activity:
Tue Mar 3 04:47:27 UTC 2026: Code review monitoring started
Tue Mar 3 04:47:28 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 113

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 113
  • VULNERABILITIES: 0

Generated on: Tue Mar 3 04:47:30 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 3, 2026

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces comprehensive documentation for Signal bot integration, which is a valuable addition. The new documentation is well-structured and detailed. My review includes a few suggestions to correct factual errors in the setup instructions, a high-severity fix for an unsafe code example that now includes a reference to best practices for preventing injection vulnerabilities, and some minor improvements for maintainability by sorting lists of items.

Note: Security Review is unavailable for this PR.

Comment on lines +892 to +896
# Echo bot: reply with the same message
curl -s -X POST http://localhost:8080/api/v1/rpc \
-H "Content-Type: application/json" \
-d "{\"jsonrpc\":\"2.0\",\"method\":\"send\",\"params\":{\"recipient\":[\"$sender\"],\"message\":\"Echo: $message\"},\"id\":\"$(date +%s)\"}"
done

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The minimal bot example constructs the JSON payload for the curl request using string interpolation. This is unsafe and will fail if the incoming message variable contains characters that break JSON syntax, such as double quotes. To make the script robust, you should use jq to safely construct the JSON payload. The suggested change is slightly more verbose but ensures correctness and security.

Suggested change
# Echo bot: reply with the same message
curl -s -X POST http://localhost:8080/api/v1/rpc \
-H "Content-Type: application/json" \
-d "{\"jsonrpc\":\"2.0\",\"method\":\"send\",\"params\":{\"recipient\":[\"$sender\"],\"message\":\"Echo: $message\"},\"id\":\"$(date +%s)\"}"
done
# Echo bot: reply with the same message
json_payload=$(jq -n --arg r "$sender" --arg m "Echo: $message" --arg id "$(date +%s)" \
'{jsonrpc: "2.0", method: "send", params: {recipient: [$r], message: $m}, id: $id}')
curl -s -X POST http://localhost:8080/api/v1/rpc \
-H "Content-Type: application/json" \
-d "$json_payload"
done
References
  1. To avoid injection vulnerabilities when constructing data dynamically in shell scripts, use robust tools like jq for JSON instead of string interpolation, similar to how bash arrays are preferred over eval for command arguments.

| SEO | `seo/dataforseo.md`, `seo/google-search-console.md` |
| WordPress | `tools/wordpress/wp-dev.md`, `tools/wordpress/mainwp.md` |
| Communications | `services/communications/matterbridge.md`, `services/communications/simplex.md`, `services/communications/matrix-bot.md`, `services/communications/bitchat.md`, `services/communications/xmtp.md` |
| Communications | `services/communications/matterbridge.md`, `services/communications/simplex.md`, `services/communications/signal.md`, `services/communications/matrix-bot.md`, `services/communications/bitchat.md`, `services/communications/xmtp.md` |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For better readability and maintainability, it would be beneficial to keep the list of communication subagents sorted alphabetically.

Suggested change
| Communications | `services/communications/matterbridge.md`, `services/communications/simplex.md`, `services/communications/signal.md`, `services/communications/matrix-bot.md`, `services/communications/bitchat.md`, `services/communications/xmtp.md` |
| Communications | `services/communications/bitchat.md`, `services/communications/matrix-bot.md`, `services/communications/matterbridge.md`, `services/communications/signal.md`, `services/communications/simplex.md`, `services/communications/xmtp.md` |


## Installation

### JVM Build (requires JRE 25+)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The documentation states that signal-cli requires JRE 25+. This appears to be a typo. The official signal-cli documentation specifies Java 17 or newer, and Java 25 has not yet been released. Please correct the required JRE version to reflect the actual requirement.

Suggested change
### JVM Build (requires JRE 25+)
### JVM Build (requires JRE 17+)

https://github.com/AsamK/signal-cli/releases/latest | sed -e 's/^.*\/v//')
curl -L -O "https://github.com/AsamK/signal-cli/releases/download/v${VERSION}/signal-cli-${VERSION}-Linux-native.tar.gz"
sudo tar xf "signal-cli-${VERSION}-Linux-native.tar.gz" -C /opt
sudo ln -sf /opt/signal-cli /usr/local/bin/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The symbolic link path for the GraalVM native binary installation appears to be incorrect. The tar command extracts into a versioned directory (e.g., /opt/signal-cli-0.13.2), but the ln command points to a non-versioned path /opt/signal-cli. This will likely cause the command to fail. The path should be versioned, consistent with the JVM build instructions.

Suggested change
sudo ln -sf /opt/signal-cli /usr/local/bin/
sudo ln -sf "/opt/signal-cli-${VERSION}/bin/signal-cli" /usr/local/bin/

services/networking/,Networking - mesh VPN and secure device connectivity,tailscale|netbird
services/email/,Email services - transactional email deliverability testing and autonomous mission communication,ses|email-agent|email-health-check|email-testing|email-delivery-test|email-design-test|email-delivery-testing|email-design-testing
services/communications/,Communications - SMS voice Matrix bot multi-platform chat bridging Bluetooth mesh and Web3 messaging,twilio|telfon|matrix-bot|matterbridge|simplex|bitchat|xmtp
services/communications/,Communications - SMS voice Matrix bot Signal bot multi-platform chat bridging Bluetooth mesh and Web3 messaging,twilio|telfon|matrix-bot|matterbridge|simplex|signal|bitchat|xmtp

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For better readability and maintainability, it would be beneficial to keep the list of keywords sorted alphabetically.

services/communications/,Communications - SMS voice Matrix bot Signal bot multi-platform chat bridging Bluetooth mesh and Web3 messaging,bitchat|matrix-bot|matterbridge|signal|simplex|telfon|twilio|xmtp

@alex-solovyev
Copy link
Collaborator

This PR was superseded by the batch merge in PR #2771 (feat: t1385 — add 11 chat platform integration agents), which merged all the content from this branch. Closing as the content is already in main.

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.

t1385.2: Signal bot agent

2 participants