Current Access Foundation
Group-Level Access Bundle
Access Bundle is the most important future governance object for Xpert Tag. It should package reusable capabilities and bind them to an organization, IM workspace, group, or channel.
Recommended bundle patterns:
project-readonly: project knowledge, read-only docs, read-only tickets.support-triage: support knowledge, ticket creation, customer-state lookup.bi-readonly: semantic metrics and read-only data queries.code-review: repository read, PR comments, CI state read.code-write: repository write and PR creation, approval required by default.
Service Account Principle
The target Xpert Tag identity model is: shared group work uses administrator-configured service accounts or platform technical users by default, not the requester’s personal credentials.
Service accounts provide:
- Consistent group capabilities regardless of who asked.
- Clear external audit logs showing what the Xpert Tag service account did.
- Central revocation, rotation, and scope reduction without affecting personal accounts.
- Central confirmation, approval, and risk limits for write operations.
Credentials And Network Egress
Today, plugins and tools use credentials through existing Xpert integration and tool mechanisms. Xpert Tag should add a unified Credential Proxy.Audit Requirements
Unified Tag audit isPlanned. The target audit record should include at least:
- Source platform, group, DM, thread, and message ID.
- Triggering user, visible member scope, and digital expert.
- Effective Access Bundle, model, knowledge bases, tools, and skills.
- Input summary, attachment summary, and context sources.
- Tool name, parameter summary, result summary, and errors.
- Write confirmation, approval status, and external record IDs.
- Output summary, artifact links, and final status.
- Token usage, cost, duration, and retry records.
Risk Controls
Xpert Tag should include these built-in controls:Recommended Defaults
Before full Xpert Tag productization, pilot with conservative defaults:- Group chats respond only to explicit bot mentions by default.
- Group history reading is off by default and enabled explicitly per group.
- Write operations require human confirmation by default.
- High-risk tools start read-only.
- New bundles are first attached to private pilot groups.
- WeCom should degrade according to platform capability instead of promising full parity with other platforms.