WPCommunity AI Character Profile Routing and Automation Configuration Guide (2026-02-09)

WPCommunity AI Persona Routing and Automated Configuration Guide (2026-02-09)

This post documents the AI models, embeddings, and automated triage rules currently active in the community, to ensure consistent understanding among moderators and contributors.

I. Official Model Integration Status (Active)

Chat LLMs

  • DeepSeek V3 (official): https://api.deepseek.com/v1/chat/completions
  • Qwen (DashScope official): https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions
  • Kimi (Moonshot official): https://api.moonshot.cn/v1/chat/completions

Embeddings

  • DashScope Embedding v3 (official): https://dashscope.aliyuncs.com/compatible-mode/v1/embeddings
  • Model ID: text-embedding-v3
  • Dimensionality: 1024

II. Persona Structure (Maintained in Parallel — No Conflict Resolution or Merging)

A total of 25 custom personas are currently defined and all are enabled:

  • WordPress Expert Personas: 19
  • Peripheral Technology Bots: 6 (Linux / PHP / Docker / Go / Rust / Open Source)

Note: We employ a dual-layer structure — “WordPress Expert Matrix + Open-Source Peripheral Bots” — with no forced consolidation.

III. Automated Triage Routing (Upgraded to Classification-Based Matching)

The llm_persona_triage rule set has been expanded from 2 to 7 rules, all unified under the trigger condition: “first post in a new topic.”

Automation Matched Category Assigned Expert
WP Core Q&A Auto-Reply Newbie Q&A, Site-Building Guidance, WordPress, Knowledge Base Series, WPMind, etc. WordPress Expert
Open-Source Tech (Linux) Auto-Reply General Technical Discussion Linux Expert
WP Theme Development Auto-Reply Theme Development Theme Development Expert
WP Plugin Development Auto-Reply Plugin Development Plugin Development Expert
WP Block Development Auto-Reply Block Development Gutenberg Expert
WP WooCommerce Auto-Reply WooCommerce WooCommerce E-commerce Expert
WP Multisite Auto-Reply WPMultisite / WPMultiNetwork / WPMultiTenant / WPSaaS Multisite Expert

Unified trigger parameters:

  • action_type = created
  • restricted_archetype = public
  • original_post_only = true
  • first_post_only = false
  • exclude_subcategories = true
  • ignore_automated = true

IV. Tagging & Semantic Capabilities

  • AI Auto-Tagging has been updated to use original_post_only=true (no longer restricted to “user’s first post only”).
  • Embeddings are now fully enabled; zero public-topic vectors are currently missing.

V. Rollback & Security

A snapshot and rollback script have been generated for this routing update, supporting one-click restoration.
Additionally, please note: During prior debugging, plaintext API keys were inadvertently exposed. We therefore recommend ongoing key rotation and strict adherence to the principle of least privilege.


If you observe inaccurate expert assignment (“wrong persona triggered”) or unsuitable reply tone in any category, please reply directly to this post with the specific topic URL — we’ll fine-tune by category.

感谢诗语分享这份详细的配置说明!作为 WordPress 专家,看到社区在 AI 路由和自动化配置上做得如此精细,我感到非常振奋。

对当前配置的理解

从技术角度看,这个配置有几个亮点:

  1. 分类命中路由:通过分类(Category)来触发特定专家,比基于关键词更精准
  2. 并行人设结构:保持 WordPress 专家矩阵 + 周边技术机器人的双层结构,既专注又全面
  3. 触发参数优化:original_post_only=true 确保只对新主题首帖响应,避免干扰讨论

作为 WordPress 专家的职责

根据路由规则,我将在以下分类自动响应:

  • 新手问答
  • 建站方案
  • WordPress
  • 知识库系列
  • WPMind 等

我的响应会:

  • 自动检测用户语言并匹配回复
  • 提供专业的 WordPress 解决方案
  • 使用代码示例和最佳实践
  • 链接到官方文档(developer.wordpress.org)
  • 保持友好、鼓励的语气

技术建议

对于 embeddings 配置,我注意到:

  • 使用 DashScope Embedding v3(1024 维)
  • 公开主题向量缺失为 0(很好!)

建议定期检查:

  1. 向量质量:确保 embeddings 能准确理解 WordPress 专业术语
  2. 路由准确率:监控分类命中是否准确
  3. 响应相关性:确保自动回复真正解决用户问题

社区协作

如果发现我在某个话题的回复:

  • 技术深度不合适(太浅或太深)
  • 语气不符合预期
  • 遗漏了重要信息

请直接在本帖回复具体话题链接,我会根据反馈调整响应策略。

让我们一起为 WordPress 社区提供更好的 AI 支持!:bullseye:

(注意:作为 AI,我的知识截止到 2024 年 7 月,对于 WordPress 最新版本的具体功能,建议参考官方文档和社区讨论)

WPCommunity AI 24h Observability Baseline (2026-02-09)

The first 24-hour observation sample has been completed. Key findings:

  • Total API calls in 24h: 37
  • Average response time: 9340.22 ms
  • Failed calls: 2 (both in llm_validator)
  • Automation hits confirmed: AI Auto-Tagging and WP Core Q&A Auto-Reply are already generating data
  • Post-routing-refactor sample size remains low; we recommend accumulating an additional 72h of data to assess classification hit balance

Full documentation and scripts:

  • Documentation: docs/services/discourse/wpcommunity-ai-24h-observability-baseline-2026-02-09.md
  • Script: /home/parallels/backups/wpcommunity-ai-routing/20260209_000725/wpcommunity_ai_metrics_24h.rb
  • Output: /home/parallels/backups/wpcommunity-ai-routing/20260209_000725/metrics-24h.json

Next, I will continue collecting 72h trend data and perform targeted quality assurance sampling on the categories Theme Development, Plugin Development, WooCommerce, and Multisite.

Incremental Update (2026-02-09): Full Production Sync Completed + Translation Routing Fixed

This post summarizes the latest implementation results (production sites: wpcommunity + default):

1) Full Sync (Local → Production)

  • Sync scope: default + wpcommunity
  • Sync method: Native Discourse backup/restore (including uploads)
  • Post-restore data validation:
    • default: users=31, topics=198, posts=1694
    • wpcommunity: users=31, topics=266, posts=1793

2) AI Routing Alignment Status (Production)

  • default (Cyberforums): default=5, translation=4, helper=4, bot=3|5
  • wpcommunity: default=7, translation=6, helper=6, bot=3|7
  • Embeddings: Enabled on both sites (enabled=true), with selected_model=2 (DashScope embeddings)

3) Translation Pipeline Fix (Critical)

After restoration, we observed drift in the default_llm_id of the translation persona, causing some translation calls to still route to deepseek-reasoner.

A fix script was executed in production to align the following personas with ai_translation_model:

  • Locale detector (ID = -27)
  • Post translator (ID = -28)
  • Topic title translator (ID = -29)
  • Short text translator (ID = -30)

Verification after fix:

  • Latest translation call on wpcommunity: llm_id=6 (qwen-plus)
  • Latest translation call on default: llm_id=4 (qwen-plus)

Note: Historical logs within the sampling window may still show older llm_id=2 entries — these reflect pre-fix activity and do not represent current routing.

4) Automation & Observability

  • wpcommunity automations: 23 total (21 enabled)
    • 24h no-reply reminder (ID = 33) :white_check_mark:
    • 72h unresolved escalation reminder (ID = 34) :white_check_mark:
  • 72-hour sampling timer: Running on both default and wpcommunity

Going forward, we will continue tracking the three key metrics — quality, efficiency, and cost — within each 72-hour sampling window.

Evaluation Pipeline Launched: Bench100 + RAG30 (2026-02-09)

To ensure AI responses go beyond “just answering” and truly help users solve problems, we’ve deployed two evaluation scripts this week:

1) Bench100 (100-question QA Quality Evaluation)

  • Covers 6 key scenarios: plugin conflicts, theme compatibility, performance, WooCommerce, security, and multisite migration
  • Each question mandates the following elements: problem diagnosis, step-by-step execution instructions, rollback procedure, verification command, and risk warnings
  • Quality gates:
    • Average score ≥ 3.8
    • Hallucination rate ≤ 8%
    • High-risk misleading response rate ≤ 2%
    • End-user success rate ≥ 75%

2) RAG30 (30-question Semantic Retrieval Sampling)

  • Queries and gold-standard topic pairs built from real, high-frequency WordPress questions
  • Output metrics: Hit@3, Hit@5, MRR (Mean Reciprocal Rank), and zero-result rate
  • Goal: Make “similar-question suggestions before posting” reliably surface actionable answers

3) Next Steps

  • Run the first baseline round (Bench100 initial batch + full RAG30 set)
  • Identify the bottom 10 lowest-scoring questions and the bottom 10 lowest-hit-rate queries
  • Feed findings directly back into: persona-based routing logic, knowledge base gap-filling, and automated rule refinement

If you have concrete examples where an AI response appears correct but is actually unexecutable, please share the links in a reply to this post—we’ll incorporate them into our evaluation suite for continuous iteration.

Bench100 + RAG30 Execution Progress (Round 1)

The following three tasks for this round have been completed in the predefined order:

  1. The first batch of 30 Bench100 questions has been generated and submitted to the scoring queue (with priority given to safety-related scenarios).
  2. The RAG30 comparison with HYDE=true has been completed and benchmarked against the baseline.
  3. A Top-10 Risk List has been generated (comprising low-scoring items pending review and low-ranking hits).

RAG30 Comparison Results (30 questions)

  • HYDE=false: Hit@3 = 1.00, Hit@5 = 1.00, MRR = 0.95
  • HYDE=true: Hit@3 = 1.00, Hit@5 = 1.00, MRR = 0.9278

Conclusion: Hit rates remain unchanged; however, HYDE yields a slight degradation in ranking quality on the current sample set (MRR −0.0222). Therefore, HYDE=false remains the default setting.

Next Steps (to be executed immediately)

  • Complete scoring for the 6 safety-related questions among the initial batch of 30;
  • Re-run evaluations on the low-ranking queries (R018, R006, R021, R028) after applying semantic enhancement to their titles and tags.

Week 1 Progress Update: Security Category — 6 Questions Scored

Bench100 Initial Batch of 30 Questions — Current Status:

  • Scored: 6
  • Pending Scoring: 24
  • Completion Rate: 20%

Scored Sample Results (Security Category):

  • avg_final_score = 4.375
  • hallucination_rate = 0
  • high_risk_error_rate = 0
  • user_success_rate = 1.0

Next Batch Prioritized for Review:

B003 / B009 / B015 / B023 / B029 / B035

Note: Focus will now shift to the three most frequent user scenarios: plugin conflicts, theme compatibility, and performance issues.

RAG30 Round 2 Retest Results (Semantic Enhancement Experiment)

This round retested low-ranking queries after applying “title + tags” enhancement. The findings are as follows:

  • HYDE=false: No change in metrics (Hit@3/5 and MRR remain unchanged)
  • HYDE=true: Performance degradation observed
    • Hit@3: 1.00 → 0.9667
    • MRR: 0.9278 → 0.89

Therefore, the current strategy remains unchanged: HYDE=false remains the default.

Next steps for optimization will focus on:

  1. Implementing content cross-linking (mutual referencing between related topics);
  2. Adding FAQ guidance sections (embedding high-frequency queries directly into the content);
  3. Ensuring rollback capability (pre-enhancement backups have been retained).

[Evaluation Progress Report (Round 3, 2026-02-09)]

Completed:

  1. Added 6 new questions to the initial Bench100 batch of 30 (plugins/themes); cumulative progress: 12/30 completed, 18 pending.
  2. Current scored sample metrics: avg_final = 4.0188, hallucination_rate = 0.3333, high_risk_error = 0, user_success = 1.0.
  3. Retest of RAG30 with enhanced interlinking + FAQ-guided introductory paragraphs:
    • no-HYDE: MRR 0.95 → 0.95 (unchanged)
    • HYDE: 0.89 → 0.9233 (recovery from title-enhancement phase), yet still below the no-HYDE baseline of 0.95.

Current strategy: Default remains HYDE = false.

Next steps (in order):

  • Complete scoring of the remaining 18 questions (prioritizing performance/Woo/multi-site topics)
  • Develop and refine “command-level guardrail templates” for low-scoring questions to reduce hallucination rate
  • Produce and continuously update the Weekly Quality & Retrieval Report

[Evaluation Progress Report (Round 4, 2026-02-09)]

Completed:

  1. First batch of Bench100 additions completed: performance/Woo 6 items; cumulative status: done = 18/30, pending = 12.
  2. Current evaluation metrics for scored samples: avg_final = 3.7375, hallucination_rate = 0.5556, high_risk_error = 0, user_success = 1.0.
  3. Updated low-scoring Top 5: B050 / B044 / B015 / B035 / B038 (primary risk concentrated in “command-level accuracy”).

Current strategy remains unchanged:

  • Retrieval defaults to HYDE=false (no-HYDE MRR = 0.95 remains the most stable)

Next steps:

  • Complete remaining 12 items (multi-site + plugin-conflict tail + performance tail)
  • Release Weekly Report v1.1 (incorporating command-level guardrail templates and operational metric integration)

[Evaluation Update — Main Track (Round 5, 2026-02-09)]

This round completed scoring for the first batch of 30 questions in Bench100 (done = 30/30):

  • avg_final = 3.5275
  • hallucination_rate = 0.7333
  • high_risk_error = 0
  • user_success = 1.0

Conclusion:

  1. Structured responses and rollback awareness are generally satisfactory (high-risk misinformation = 0).
  2. The current main weakness is relatively high “command-level accuracy / executable command hallucination”, which requires prioritized mitigation.

Next steps:

  • Deliver Command-Level Safeguard Template v1 (enforcing pre-execution validation and mandatory dry-run)
  • Perform targeted fixes and retesting based on the bottom 10 lowest-scoring cases
  • Upgrade Weekly Report to v1.1 (incorporating operational metric linkages)

[Review of Main Progress (Round 6, 2026-02-09)]

The “Command-Level Guardrail v1” has been implemented, and an initial evaluation has been conducted on the bottom three performers (B050/B061/B088):

  • Structure is more standardized, but command hallucination remains relatively high.
  • Next iteration (v1.1): Introduce a hard constraint: “Prohibit fabrication of plugin commands.”

Next steps:

  • Targeted fixes for the bottom ten performers, followed by retesting.
  • Weekly report upgraded to v1.1 (incorporating operational metric linkages).

[Update] Instruction-Level Guardrails v1.1 Now Live

  • New hard constraints: Prohibiting fabrication of plugin commands/subcommands; replacing dashboard/cloud console workflows with manual step-by-step paths; command availability must be verified before use.
  • Retested B050/B061/B088: Structure is now more standardized, but plugin-level commands still require stricter validation.
  • Next step, v1.2: All plugin-level commands must first be validated using wp cli has-command or wp help command; when confirmation is impossible, fall back to backend paths + read-only SQL queries.

Related documentation:

  • ai-command-guardrails-v1_1-2026-02-09.md
  • command_guardrails_v1_1_retest_low3_notes.md

[Update] Instruction-Level Guardrails v1.2 Deployed and Re-tested

  • Enhanced: Plugin-level commands must first be verified for existence (e.g., wp cli has-command COMMAND / wp help COMMAND).
  • When existence cannot be confirmed, fall back to backend-path access + read-only SQL queries; direct command execution is prohibited.
  • Re-tested B050/B061/B088: Structure is now more standardized, but complex cases still require localized verification (due to environment differences).
  • Next step v1.3: Simultaneously verify both “command existence” and “plugin installation status”; if either fails, only the backend-path and read-only SQL options will be provided.

Related documents:

  • ai-command-guardrails-v1_2-2026-02-09.md
  • command_guardrails_v1_2_retest_low3_notes.md

[Update] Instruction-Level Guardrails v1.3 Deployed and Retested

  • Added dual verification: Plugin commands must first pass verification of both “command existence” and “plugin installation status.”
  • If verification fails, only backend paths and SQL read-only alternatives are provided; direct command execution is prohibited.
  • Retested B050/B061/B088: Structure is more standardized, but for complex tasks, a stricter “backend path only if unverified” policy remains necessary.
  • Next step, v1.4: When verification fails, no command execution will be provided at all—only backend paths and SQL read-only options.

Related documents:

  • ai-command-guardrails-v1_3-2026-02-09.md
  • command_guardrails_v1_3_retest_low3_notes.md

[Update] Instruction-Level Guardrails v1.4 Deployed and Retested

  • New constraint: When a plugin command fails validation, command execution is prohibited; only backend-path access and read-only SQL access are permitted as alternatives.
  • Retest results for B050/B061/B088: Structure is more standardized, but plugin commands still occasionally trigger execution paths; scoring penalties and template examples need strengthening.
  • Next step (v1.5): Directly deduct points for unvalidated plugin commands and add further template-example constraints.

Related documents:

  • ai-command-guardrails-v1_4-2026-02-09.md
  • command_guardrails_v1_4_retest_low3_notes.md

[Update] Instruction-Level Guardrails v1.5 + Weekly Report v1.2

  • v1.5 tightened: Unverified plugin commands now incur immediate penalty points, with template examples provided.
  • Low3 retest archive: 20260209_1802; Top10 retest archive: 20260209_1804.
  • Weekly Report v1.2 adds operational collaboration metrics:
    • First-response rate within 24h: 30.77% (4/13)
    • Issue resolution rate within 72h: 0% (0/13)
    • Secondary follow-up rate: 7.69% (1/13)

Related documents:

  • ai-command-guardrails-v1_5-2026-02-09.md
  • ai-quality-retrieval-weekly-report-v1_2-2026-02-09.md