Multi-Bot Feishu Engineering Group With Instant Zero-Token /model Swapping
In TagTag, each Bot has its own Feishu identity, schedule, and session state decoupled from the underlying CLI. Add two Bots to the same Feishu group to split coding and review—and run `/model harness codex` anytime a provider hits rate limits.
What It Looks Like in Chat
@dev-bot draft the JWT dual-token migration plan from our local backend repo.
Done — wrote migration checklist and opened local branch `feat/jwt-guard` (24/24 tests pass).
@review-bot audit `feat/jwt-guard` for token replay edge cases.
@dev-bot /model harness claude
Switched @dev-bot harness to claude (0 tokens). Schedules and group session preserved.
Setup Steps
1. Create two lightweight Feishu WebSocket bots
Bind `feishu:dev` to `dev-bot` (Codex) and `feishu:review` to `review-bot` (Claude Code) with isolated `env_keys`.
2. Bind owner_ids for zero-token slash controls
Only bound owners can execute `/model harness`, `/stop bot-all`, or inspect `/trace prompt` in DM.
Sanitized Config & Zero-Token Check
[
{
"id": "feishu:dev",
"type": "feishu",
"enabled": true,
"bot_id": "dev-bot",
"access": "send",
"env_keys": ["FEISHU_DEV_APP_ID", "FEISHU_DEV_APP_SECRET"],
"config": { "domain": "feishu" }
},
{
"id": "feishu:review",
"type": "feishu",
"enabled": true,
"bot_id": "review-bot",
"access": "send",
"env_keys": ["FEISHU_REVIEW_APP_ID", "FEISHU_REVIEW_APP_SECRET"],
"config": { "domain": "feishu" }
}
]tagtag connector list --data-dir "$TAGTAG_HOME" --json