qqbot: QQ Bot platform moves here from hermes-agent core (history kept) #110
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.48) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.48 · 515 lines diff across 6 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.374
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #110"
general
weight: 0.35
unsupportedpastels
What this does, in plain words
QQ Bot (Tencent QQ's official Bot API v2, as a Hermes messaging platform) moves out of Hermes core and into this repo as the
qqbotplugin. It is a Hermes Labs plugin: built by Nous Research, not supported, and likely not maintained going forward; community fixes are welcome here.People who use QQ Bot today do nothing: the core removal PR adds a migration that installs this plugin once, from the catalog, for every profile that ran QQ Bot. Same
QQ_/QQBOT_env vars (legacyQQ_HOME_CHANNELincluded), sameplatforms.qqbotconfig, sameQQBOT_HOME_CHANNEL. New users install it withhermes plugins install qqbot.Slate (merge order)
1. Core removal + migration: NousResearch/hermes-agent#159640
2. This PR (plugin, history kept)
3. Catalog entry (data only,
holduntil this merges and it is re-pinned): NousResearch/hermes-agent#159641Commits
b9480edimport: every path QQ Bot lived at in hermes-agent (gateway/platforms/qq.py,gateway/platforms/qqbot.py,gateway/platforms/qqbot/,plugins/platforms/qqbot/, its 8 test files) rewritten intoqqbot/withgit filter-repo, 157 commits, authorship kept; byte-identical to core at39ca68b38f9.99678f2packaging (one commit): manifestname: qqbot+ homepage,pyproject.tomldeps (aiohttp, httpx, qrcode bounded at core's pins; pilk optionalsilkextra),Platform("qqbot")resolved at call time, the env bridge asenv_enablement_fn(core's import-timeEnvCredrow needs an enum member), everyplugins.platforms.qqbot.import plugin-local, private core imports replaced, an inert guard on cores that still bundle QQ Bot, ported tests + conftest, README with a Disclosure section, root README row.8ab64dbcard art (assets/qqbot.jpg).The entry carries what core kept in tables keyed on
Platform.QQBOT, so behaviour does not silently disappear on a core without QQ Bot:own_policy_env=("", "")(an opendm_policy/group_policyinplatforms.qqbotwithoutQQ_ALLOW_ALL_USERSstill refuses startup),allowlist_suppresses_pairingwithQQ_ALLOWED_USERS/QQ_GROUP_ALLOWED_USERS, andallow_update_command=True(/updatefrom QQ). Each has a test that fails with the field removed.Verification
| Check | Core with QQ Bot removed (core PR head
f11752fd086) | Core main ||---|---|---|
| Plugin suite | 116 passed, 0 skipped, 0 failed | 110 passed, 6 skipped (registry tests; plugin inert, core serves) |
|
hermes plugins validate qqbot| passed | passed ||
tools.plugin_guard.scan_plugin| — |safeon main and onv0.23.4|| ruff | clean | — |
The suite was run against a
git archiveof the core removal branch, whereplugins/platforms/qqbotandPlatform.QQBOTare gone, so core's bundledgateway_env.pyfallbacks cannot hide a field this plugin forgot. Env-bridge parity: through the real plugin loader, the same.envgives identicalplatforms.qqbotextras and home channel (incl. legacyQQ_HOME_CHANNELname/thread id and its deprecation warning) on both trees.Live migration (real
gateway run --force, fake homes, catalog fixture pinned to this branch at8ab64db6ee8, QQ endpoints behind a closed loopback proxy): the core PR body has the full table. In short, the first start installs this plugin once with the Labs notice and this plugin's adapter attempts the token fetch in the same start; a second start does not re-clone; a fresh home gets nothing; a multiplexed secondary profile with creds only in its own.envgets the plugin installed into that profile and connects there.Validate on hermes-agent main
Expected green here: QQ Bot registers no tools, so there is no built-in tool-name collision (unlike Yuanbao's
yb_). On main the plugin is inert (logs one INFO line) until the core removal lands.Not covered
pilkinstalled (optional extra, not in the CI venv).