Repository navigation
Glossary
xNetVN Development edited this page Nov 12, 2026
·
1 revision
Terms as this project uses them. Where a term has a wider meaning elsewhere, the definition here is the one the code and documentation rely on.
| Term | Definition |
|---|---|
| MCP | Model Context Protocol: the wire protocol an AI client uses to discover and call tools on this server. |
| Ability | A single reviewed operation, named xnetvn/<verb-object>, with a fixed description, strict input and output schemas, a risk tier, a toolset and a visibility capability (docs/en/specs/M1-core.md). |
| Abilities API | The WordPress API that registers abilities; this plugin registers them privately, without public or show_in_rest metadata. |
| Ability pack | A cohesive group of ability definitions and handlers that implements the AbilityPack contract, such as Content, Media, Comments, Taxonomy, Users or System (src/Abilities/Packs/). |
| Private registry | The plugin's own authoritative map of ability metadata and tool names; it rejects duplicate identities and binds each definition to a live WordPress ability (src/Abilities/Registry.php). |
| Toolset | A named group an ability belongs to (system, content, media, comments, taxonomy, users); a key's scope must list a toolset before its abilities are visible or callable, and the admin UI always keeps system enabled. |
| Tier | Ordered risk classification — read < write < destructive < admin — used to compare an ability against the key ceiling and the site ceiling (src/Domain/RiskTier.php). |
| Scope | The immutable set of restrictions attached to a key: maximum tier, enabled toolsets, ability allow and deny lists, IP allowlist and expiry; edits may only narrow it (src/Domain/Scope.php). |
| Key | A 60-character credential of the form xnv_<key_id>_<secret>, owned by one WordPress user, shown once and stored only as an HMAC hash plus metadata (readme.txt). |
| Delegation | The act of letting a key act as its owner; the key never grants a capability the owner lacks, it only narrows what the owner may do. |
| AuthContext | The request-local object created after successful authentication; it binds the verified key, its owner and a generated request identifier, and its absence forbids HTTP execution (src/Domain/AuthContext.php). |
| Capability intersection | The effective permission set: WordPress capability ∩ key scope ∩ site ceiling ∩ enabled toolset ∩ explicit allow/deny, where every term must pass (docs/en/architecture/overview.md). |
| HMAC pepper | A separate random 32-byte per-site secret, stored in its own non-autoloaded option, used as the HMAC-SHA256 key when hashing a key secret so a stolen database alone cannot verify guesses (docs/en/ENVIRONMENT.md). |
| Output pipeline | The post-execution chain that validates against the declared schema, removes sensitive property names, enforces the byte ceiling, revalidates and fails safely when no valid bounded result exists (src/Abilities/OutputPipeline.php). |
| Adapter boundary | The rule that only src/Mcp/ServerGateway.php may reference MCP Adapter symbols, so an adapter upgrade touches one facade (docs/en/architecture/adapter-notes.md). |
| Exact route | The single normalized REST route /xnetvn-agent-hub-wp/mcp; bearer authentication never applies to a namespace prefix or a neighbouring route (src/Http/RouteMatcher.php). |
| Audit row | One record of an authentication failure, denial or tool call, holding identifiers, outcome, timing, transport and top-level argument names but never values, credentials or hashes (src/Audit/AuditLogger.php). |
| Rate bucket | A per-minute counter used by the sliding-window limiter, kept in the persistent object cache when present and otherwise in a non-autoloaded option (src/RateLimit/WpBucketStore.php). |
| Lab | The shared, owner-managed Remote Test Lab reached through the lc-udev-remote-test-lab skill and rtl.py; Docker, database, web, browser and E2E work runs there, not on the developer workstation (AGENTS.md). |
| wp69 / wp71 | The two fixed lab targets: wp69 is WordPress 6.9 and wp71 is WordPress 7.1.2; single-site runs go in that order, and the network phase uses the canonical network domain (docs/en/TESTING.md). |
| Gate | A checkpoint that must produce evidence before dependent work proceeds, such as the independent security gate, the coverage gate or a release gate. |
| Ticket | A tracked work item in the project's ticket store, carrying status, tier, scope and dependencies; work starts only when the ticket is Ready and unassigned (AGENTS.md). |
| DoR / DoD | Definition of Ready and Definition of Done: the entry criteria that make a ticket safe to hand over and the exit evidence that makes it fair to call finished (docs/en/templates/refactor.md). |
| Evidence | A recorded, revision-bound result — command, environment, output, artifact path — that supports a specific claim; it never generalizes to another revision or to production. |
xNetVN Agent Hub WP · GPL-2.0-or-later · Copyright (c) 2026 xNetVN Inc.
This wiki summarizes the repository documentation. The source of truth is the repository; when they disagree, the repository wins.
Start here
Using the plugin
Security
Engineering
Project