Repository navigation
fix(aem-cloud-service): rename Dispatcher entry skill and scope MCP to publish - #521
abhishekgarg18 wants to merge 17 commits into
Conversation
Confirm project runtime before mode-specific execution and leave missing MCP checks unverified. Keep standalone specialists self-contained without changing executable SDK examples or private tool signatures. Refs #519 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Tessl Plugin Lint
|
Replace directory-implied runtime with a two-line check per skill: confirm Cloud vs 6.5/AMS from project evidence, route on mismatch, and mark checks NOT VERIFIED when Dispatcher MCP is unavailable. Drop core-7/local-sdk edits and the contract test. Refs #519 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Distinguish Cloud Service from 6.5 LTS/AMS and name common config and incident requests. Refs #519 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Remove runtime-evidence checks from standalone skills. Keep unavailable-MCP guidance in each variant's entry point only. Refs #519 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…521-cloud-dispatcher
|
claude: approved on 05f3b09 The pull request renames the AEM Cloud Service entry skill from An earlier round approved the change at c7153d2. The only new commit since then is 05f3b09. It does what an earlier line comment asked: it removes the "verify project evidence identifies AEM as a Cloud Service" step, which contradicted the guides' fixed-scope line, and drops "runtime" from the gate sentence on line 37. Checks:
I ran no test drive or eval this round. The change since the last review only removes a step and one word. Remaining issue: the pull request title and the first bullet of its description still say the change guards Dispatcher runtime evidence (checks for evidence that the project is AEM as a Cloud Service). After 05f3b09 that guard is no longer in the skill. The title becomes the release note, so it should be updated; see the line comment. This doesn't block. Redundant lines: none.
Lines probed: 1, redundant: 0, could not probe: 0. |
|
|
||
| ## How to Use | ||
|
|
||
| 1. Before runtime-specific edits, verify project evidence identifies AEM as a Cloud Service. If evidence is missing or conflicting, ask the user; do not silently choose 6.5 LTS/AMS instructions. |
There was a problem hiding this comment.
claude: This step says to ask the user when nothing shows the project is AEM as a Cloud Service. Five of the guides it routes to still say the opposite at line 8: config-authoring, incident-response, performance-tuning, security-hardening and technical-advisory. Each says "Scope is fixed by this skill directory; do not ask the user to choose deployment variant." Line 38 says the entry point's gates win, but an agent that reads the guide last gets two contradictory orders.
In the claude eval run, the agent assumed Cloud Service and stated that it had. Consider rewording those five guide lines, for example: "Scope is AEM as a Cloud Service; confirm it per the entry skill before runtime-specific edits."
On redundancy, I asked the baseline twice:
- "Before editing the Dispatcher config, what should I check about which AEM deployment type the project targets, and what should I do if I can't tell?"
- "The repo doesn't clearly show whether it's AEMaaCS or 6.5 on AMS. Should I just pick one and proceed?"
Both times it said to look for evidence in the repo and to ask the user rather than guess. On its own, this line would be redundant. It stays only because it overrides the guides. If you fix the guides, this line could shrink to the 6.5 LTS/AMS part.
There was a problem hiding this comment.
Removed the runtime-selection step from How to Use, so the entry skill no longer conflicts with the guides' fixed-scope line.
|
|
||
| ## MCP Tool Contract | ||
|
|
||
| The configured Dispatcher MCP supports publish-layer checks only; do not use it as an Author-tier tool. When tools are unavailable or a linked guide cannot be loaded, limit work to explanation and static review; report each tool-dependent check as NOT VERIFIED and never fabricate tool output. This entrypoint's runtime and MCP gates govern every linked specialist and cannot be bypassed by a routed guide. |
There was a problem hiding this comment.
claude: The baseline already knows part of this line. Asked what to do when the Dispatcher MCP tools aren't available, and asked again in other words, it said both times to fall back to a manual or static review, label each unrun check as not run or not validated, and never present it as passed.
It did not know that the Dispatcher MCP covers only the publish layer and not Author; it said it couldn't tell which tier the tool checks. That fact is what makes this line worth keeping. If you want to trim it, the generic fallback wording is where to cut. Keep the exact NOT VERIFIED label if the guides' output contracts depend on it.
There was a problem hiding this comment.
Kept: the publish-layer-only line is the fact the guides lack, and the fallback keeps the NOT VERIFIED label. Dropped "runtime" from the gate sentence now that the runtime step is gone.
|
codex: approved on 05f3b09 No blocking regression found. Validation and release checks pass on head and base; migration report tests pass 9/9, moved links resolve, and all four clients load 8/8 skills. In the Claude eval requesting Author health checks without MCP, both runs rejected fabricated results and recognized Dispatcher’s publish scope; the plugin also used the required NOT VERIFIED labels. Redundancy: 0 lines probed, 0 redundant, 0 probe failures; remaining changed instructions guard actions or were already reviewed. |
|
|
||
| ## How to Use | ||
|
|
||
| 1. Match the user's request to one row in the Intent Router table above. |
There was a problem hiding this comment.
claude: Removing the AEM-as-a-Cloud-Service evidence step settles the conflict with the guides, but the pull request title (fix(aem-cloud-service): guard Dispatcher runtime evidence) and the first bullet of the description ("require project evidence of AEM as a Cloud Service before runtime-specific work") still describe it. The PR title becomes the squash commit and the release note, so please retitle it to match what ships, for example fix(aem-cloud-service): rename Dispatcher entry skill and scope MCP to publish, and update the description.
There was a problem hiding this comment.
Retitled to fix(aem-cloud-service): rename Dispatcher entry skill and scope MCP to publish; the description bullet no longer describes the runtime-evidence step.
|
|
||
| ## MCP Tool Contract | ||
|
|
||
| The configured Dispatcher MCP supports publish-layer checks only; do not use it as an Author-tier tool. When tools are unavailable or a linked guide cannot be loaded, limit work to explanation and static review; report each tool-dependent check as NOT VERIFIED and never fabricate tool output. This entrypoint's MCP gates govern every linked specialist and cannot be bypassed by a routed guide. |
There was a problem hiding this comment.
codex: The Claude eval loaded this skill and correctly rejected Author checks while marking unavailable checks NOT VERIFIED. The run without the plugin also recognized the publish-only scope and refused to claim checks passed, so both were equally correct on this task; the plugin added the explicit status table.
Refs #519, #494 and #497
What and why
NOT VERIFIED. This guard lives once, in the entry skill.dispatcher→aem-cloud-service-dispatcherand move the six nested specialistSKILL.mdfiles toreferences/<guide>/GUIDE.md(content unchanged apart from frontmatter and the centralized MCP fallback). Changing this skill'sSKILL.mdputs it under the boy-scout rules:dispatcheris also the 6.5 LTS skill name (duplicate-across-plugins) and clients never load nestedSKILL.mdfiles (orphaned). This goes beyond the two paths listed in [aem] Correct Dispatcher runtime guards and unavailable-MCP behavior #519 only because those rules require it.migrationskill's Dispatcher references andscripts/dispatcher-report.js.Note: the public Experience League page (Local development with AI tools) still names the skill
dispatcher; it needs a docs follow-up once this merges.How I checked it
npm run validatenode scripts/check-release-configs.mjs(44 configs, 0 broken)node scripts/check-skills.mjs --list <rule>: no changed file on any list;aem-cloud-service-dispatcher/SKILL.md754 of 1000 tokenstessl plugin lint plugins/aem/cloud-service: valid, no warningsAEM_DEPLOYMENT_MODE=cloudmatch the public Dispatcher MCP server docs (Dispatcher SDK, local Docker Dispatcher).Checklist
npm run validatepasseshumanlabel is set, if a person and not an agent wrote this