Docs: swap to obviously fake phone numbers

This commit is contained in:
Peter Steinberger
2025-12-07 04:42:58 +00:00
parent fdc0b283d7
commit 67c67dd86d
6 changed files with 22 additions and 22 deletions

View File

@@ -7,7 +7,7 @@ CLAWDIS uses a JSON configuration file at `~/.clawdis/clawdis.json`.
```json
{
"inbound": {
"allowFrom": ["+15551234567"],
"allowFrom": ["+15555550123"],
"reply": {
"mode": "command",
"command": ["tau", "{{Body}}"]
@@ -26,8 +26,8 @@ CLAWDIS uses a JSON configuration file at `~/.clawdis/clawdis.json`.
},
"inbound": {
"allowFrom": [
"+15551234567",
"+447511247203"
"+15555550123",
"+447700900123"
],
"groupChat": {
"requireMention": true,
@@ -80,7 +80,7 @@ CLAWDIS uses a JSON configuration file at `~/.clawdis/clawdis.json`.
Array of E.164 phone numbers allowed to trigger the AI. Use `["*"]` to allow everyone (dangerous!).
```json
"allowFrom": ["+15551234567", "+447511247203"]
"allowFrom": ["+15555550123", "+447700900123"]
```
### `inbound.groupChat`

View File

@@ -11,7 +11,7 @@ Goal: let Clawd sit in WhatsApp groups, wake up only when pinged, and keep that
- Ephemeral/view-once: we unwrap those before extracting text/mentions, so pings inside them still trigger.
- New session primer: on the first turn of a group session we now prepend a short blurb to the model like `You are replying inside the WhatsApp group "<subject>". Group members: +44..., +43..., … Address the specific sender noted in the message context.` If metadata isnt available we still tell the agent its a group chat.
## Config for Clawd UK (+447511247203)
## Config for Clawd UK (+447700900123)
Add a `groupChat` block to `~/.clawdis/clawdis.json` so display-name pings work even when WhatsApp strips the visual `@` in the text body:
```json5
@@ -24,7 +24,7 @@ Add a `groupChat` block to `~/.clawdis/clawdis.json` so display-name pings work
"@?clawd",
"@?clawd\\s*uk",
"@?clawdbot",
"\\+?447511247203"
"\\+?447700900123"
]
}
}
@@ -36,7 +36,7 @@ Notes:
- WhatsApp still sends canonical mentions via `mentionedJids` when someone taps the contact, so the number fallback is rarely needed but is a good safety net.
## How to use
1) Add Clawd UK (`+447511247203`) to the group.
1) Add Clawd UK (`+447700900123`) to the group.
2) Say `@clawd …` (or `@clawd uk`, `@clawdbot`, or include the number). Anyone in the group can trigger it.
3) The agent prompt will include recent group context plus the trailing `[from: …]` marker so it can address the right person.
4) Session-level directives (`/verbose on`, `/think:high`, `/new`) apply only to that groups session; your personal DM session remains independent.

View File

@@ -38,7 +38,7 @@ This is social engineering 101. Create distrust, encourage snooping.
```json
{
"inbound": {
"allowFrom": ["+15551234567"]
"allowFrom": ["+15555550123"]
}
}
```