Skip to content

fix(aem-cloud-service): rename Dispatcher entry skill and scope MCP to publish - #521

Open
abhishekgarg18 wants to merge 17 commits into
mainfrom
fix/aem-dispatcher-correctness
Open

abhishekgarg18 wants to merge 17 commits into
mainfrom
fix/aem-dispatcher-correctness

Conversation

@abhishekgarg18

@abhishekgarg18 abhishekgarg18 commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

Refs #519, #494 and #497

What and why

  • Keep Cloud Dispatcher MCP checks at the publish layer, not Author; when the MCP or a guide is unavailable, limit work to explanation and static review and mark tool-dependent checks NOT VERIFIED. This guard lives once, in the entry skill.
  • Rename the entry skill dispatcher → aem-cloud-service-dispatcher and move the six nested specialist SKILL.md files to references/<guide>/GUIDE.md (content unchanged apart from frontmatter and the centralized MCP fallback). Changing this skill's SKILL.md puts it under the boy-scout rules: dispatcher is also the 6.5 LTS skill name (duplicate-across-plugins) and clients never load nested SKILL.md files (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.
  • Update the links that pointed at the old paths: the plugin README (with a note on the rename for existing installs) and the migration skill's Dispatcher references and scripts/dispatcher-report.js.
  • The entry description says when to use the skill, as the Tessl review scores it.

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 validate
  • node 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.md 754 of 1000 tokens
  • tessl plugin lint plugins/aem/cloud-service: valid, no warnings
  • The core-7 tool list and AEM_DEPLOYMENT_MODE=cloud match the public Dispatcher MCP server docs (Dispatcher SDK, local Docker Dispatcher).
  • No runtime checks were claimed without tool output.

Checklist

  • The change is to one plugin, or to repository tooling
  • npm run validate passes
  • Paths, commands and skills that the change names exist
  • New scripts, hooks, MCP servers or network endpoints are called out above
  • The human label is set, if a person and not an agent wrote this

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>
@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Tessl Plugin Lint

⚠️ edge-delivery-services — 2 warning(s)
⚠ Skill 'code-review': SKILL.md is approximately 10350 tokens (recommended maximum: 5000). Consider moving detailed content to separate reference files.
⚠ Skill 'figma-to-content': SKILL.md is approximately 14744 tokens (recommended maximum: 5000). Consider moving detailed content to separate reference files.

✔ Plugin adobe/aem-edge-delivery-services@0.1.0 is valid
⚠️ app-management — 2 warning(s)
⚠ Skill 'commerce-app-storage': SKILL.md is approximately 5451 tokens (recommended maximum: 5000). Consider moving detailed content to separate reference files.
⚠ Skill 'commerce-app-admin-ui': SKILL.md is approximately 5915 tokens (recommended maximum: 5000). Consider moving detailed content to separate reference files.

✔ Plugin adobe/commerce-app-management@1.4.0 is valid

✅ app-migration — clean

✅ app-review — clean

⚠️ run-workflow — 1 warning(s)
⚠ Skill 'run-workflow': SKILL.md is approximately 9954 tokens (recommended maximum: 5000). Consider moving detailed content to separate reference files.

✔ Plugin adobe/run-workflow@1.0.0 is valid
⚠️ stardust — 11 warning(s)
⚠ Skill 'stardust': SKILL.md is approximately 8196 tokens (recommended maximum: 5000). Consider moving detailed content to separate reference files.
⚠ Skill 'extract': SKILL.md is approximately 11351 tokens (recommended maximum: 5000). Consider moving detailed content to separate reference files.
⚠ Skill 'direct': SKILL.md is approximately 12333 tokens (recommended maximum: 5000). Consider moving detailed content to separate reference files.
⚠ Skill 'prototype': SKILL.md is approximately 18042 tokens (recommended maximum: 5000). Consider moving detailed content to separate reference files.
⚠ Skill 'migrate': SKILL.md is approximately 7590 tokens (recommended maximum: 5000). Consider moving detailed content to separate reference files.
⚠ Skill 'uplift': SKILL.md is approximately 6612 tokens (recommended maximum: 5000). Consider moving detailed content to separate reference files.
⚠ Skill 'audit': SKILL.md is approximately 5433 tokens (recommended maximum: 5000). Consider moving detailed content to separate reference files.
⚠ Skill 'replica': SKILL.md is approximately 8942 tokens (recommended maximum: 5000). Consider moving detailed content to separate reference files.
⚠ Skill 'reskin': SKILL.md is approximately 6079 tokens (recommended maximum: 5000). Consider moving detailed content to separate reference files.
⚠ Skill 'deploy': SKILL.md is approximately 49844 tokens (recommended maximum: 5000). Consider moving detailed content to separate reference files.
⚠ Skill 'rollout': SKILL.md is approximately 10527 tokens (recommended maximum: 5000). Consider moving detailed content to separate reference files.

✔ Plugin adobe/stardust@0.21.1 is valid

✅ web — clean


✅ All 7 plugin(s) lint passed with 16 warning(s) total.

Updated by tessl-lint for commit dde171a.

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>
@abhishekgarg18 abhishekgarg18 changed the title fix(aem): guard Dispatcher runtime evidence fix(aem-cloud-service): guard Dispatcher runtime evidence Nov 23, 2026
@abhishekgarg18
abhishekgarg18 marked this pull request as ready for review December 1, 2026 15:32
@github-actions

github-actions Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

claude: approved on 05f3b09

The pull request renames the AEM Cloud Service entry skill from dispatcher to aem-cloud-service-dispatcher, which removes the name clash with the 6.5 LTS skill. It also moves the six nested specialist SKILL.md files to references/<guide>/GUIDE.md, adds the rule that the Dispatcher MCP does publish-layer checks only, adds the NOT VERIFIED fallback, and updates the links in the README and the migration skill.

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:

  • npm run validate and the release-config check pass on head and base.
  • SKILL.md is 754 of 1000 tokens.
  • Nothing in the skill folder still refers to the removed runtime gate.
  • No manifest or version edits, and only one plugin changes.

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.

  • Probed (1): SKILL.md:37, "The configured Dispatcher MCP supports publish-layer checks only…", which changed since the last review. The baseline didn't know which AEM tier the Dispatcher MCP checks, so the line stays. The earlier round already found that the generic fallback wording was partly known, and that the publish-only fact is what keeps the line.
  • Lines 31–33 were only renumbered and weren't probed again.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:

  1. "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?"
  2. "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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@github-actions

github-actions Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noted.

@abhishekgarg18 abhishekgarg18 changed the title fix(aem-cloud-service): guard Dispatcher runtime evidence fix(aem-cloud-service): rename Dispatcher entry skill and scope MCP to publish Dec 1, 2026

This branch was successfully deployed

No deployments
eval — e4ea55eb Deployed Nov 2, 2026 by abhishekgarg18 via tessl-eval #1198
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants