Repository navigation
fix(aem-6-5-lts): guard Dispatcher runtime checks - #802
abhishekgarg18 wants to merge 10 commits into
Conversation
…802-lts-dispatcher
|
claude: approved on 89b7aa0 This round changes one sentence since the last review (1b82b2d → 89b7aa0). In the MCP Tool Contract of Checks. Test drive. No eval this round. The change rewords one sentence that gates a tool the plugin says it doesn't provide, and earlier rounds' runs are on the record. Redundant lines. None. I probed the changed sentence twice:
So the line stays; see the line comment. Lines probed: 1. Redundant: 0. Could not probe: 0. |
|
|
||
| ## Runtime Selection | ||
|
|
||
| Before runtime-specific edits, confirm project evidence identifies AEM 6.5 LTS or AMS. If the runtime evidence is missing or conflicting, ask the user; do not silently use Cloud Service instructions. |
There was a problem hiding this comment.
claude: This line is redundant. I asked the baseline (a small model with no tools that has not seen this skill) two ways:
- "I need to edit Dispatcher config files in an AEM project but I can't tell whether it targets AEM as a Cloud Service or AEM 6.5 on Adobe Managed Services. What should I do before making the edit?" Answer: "Figure out which platform you're on before you touch anything." It listed checks on the evidence (the
pom.xmldependencies,status-productinfo, the Cloud Manager configuration) and said to ask the release or DevOps owner. - "An AEM repo has a dispatcher folder, but nothing in it shows whether it runs on AEM Cloud Service or on AEM 6.5 under Adobe Managed Services, and the hints conflict. Should I just go with Cloud Service conventions?" Answer: "Don't silently default to Cloud Service. Resolve the ambiguity first…" It said to check
aem-sdk-apiagainstuber-jar6.5.x and.cloudmanager/, and "ask instead of guessing".
Both answers give this guidance without the skill. Remove the ## Runtime Selection section to get the approval.
There was a problem hiding this comment.
Removed the ## Runtime Selection section.
|
|
||
| # Dispatcher Technical Advisory (AMS) | ||
|
|
||
| Use for conceptual Dispatcher questions about rewrite behavior and security headers; cite official docs. |
There was a problem hiding this comment.
claude: The baseline already knew the "cite official docs" part. Asked "What sources should your answer rely on when explaining AEM Dispatcher rewrite rules and security headers?" and "Where should the claims in an explanation of AEM Dispatcher configuration come from?", it named Adobe's Experience League Dispatcher docs both times. Line 30 of this guide also says "cite official docs" already. The scope part of the line can stay; consider dropping the trailing "; cite official docs".
There was a problem hiding this comment.
Removed that line from the technical-advisory guide.
|
codex: approved on 89b7aa0 The revised guard clarifies that Dispatcher MCP evidence does not verify Author-tier health. Prior redundancy findings are resolved. Base and head validation and release checks pass; all 117 relative links resolve, and all four clients load 5/5 direct skills. A Claude comparison asking whether a successful publish-page check proves Author login/editing health loaded the renamed skill; both runs correctly answered no. No blocking regression confirmed. Redundant lines |
|
|
||
| # Dispatcher Technical Advisory (AMS) | ||
|
|
||
| Use for conceptual Dispatcher questions about rewrite behavior and security headers; cite official docs. |
There was a problem hiding this comment.
codex: The baseline already recommended official Adobe and Apache documentation when asked which local guide handles conceptual Dispatcher rewrite/header questions and which sources it should cite. It did not identify this specialist guide, so the routing portion earns its place; only the citation advice was already known.
There was a problem hiding this comment.
Removed that line from the technical-advisory guide.
|
|
||
| ## MCP Tool Contract | ||
|
|
||
| This plugin does not provide an AMS Dispatcher MCP. For 6.5 LTS/AMS, limit work to explanation and static review unless an approved tool is explicitly configured; report each unavailable tool-dependent check as NOT VERIFIED and never fabricate tool output. This entrypoint's runtime and MCP gates govern every linked specialist; do not follow a specialist guide to invoke an unavailable tool or claim runtime verification. |
There was a problem hiding this comment.
codex: The Claude comparison loaded this skill and correctly marked unavailable checks NOT VERIFIED. The run without the plugin also declined to assess runtime health and requested configuration/log evidence, so both were equally sound for this task. This run confirms no regression but does not demonstrate an improvement in the health assessment.
There was a problem hiding this comment.
Noted, no change needed.
|
|
||
| ## MCP Tool Contract | ||
|
|
||
| This plugin does not provide an AMS Dispatcher MCP. Dispatcher tool checks cover the publish layer only; do not use them as Author-tier operations. For 6.5 LTS/AMS, limit work to explanation and static review unless an approved tool is explicitly configured; report each unavailable tool-dependent check as NOT VERIFIED and never fabricate tool output. This entrypoint's MCP gates govern every linked specialist; do not follow a specialist guide to invoke an unavailable tool or claim runtime verification. |
There was a problem hiding this comment.
claude: "Dispatcher tool checks cover the publish layer only; do not use them as Author-tier operations." This conflicts with references the skill still ships:
references/config-authoring/references/config-authoring/mcp-tool-orchestration.md:102says to runtrace_requeston a publish URL "and (when available) one author-tier URL trace".ams-6-5-guardrails.mdlists an author-tier farm (000_ams_author_farm.any) with its ownAUTHOR_*variables.
This line says the entrypoint's gates override every specialist guide, so an agent will skip the author-tier trace. It may also refuse to validate or lint the author farm.
On AMS the Dispatcher also sits in front of Author. When I asked the baseline, it said to point validate and lint at both tiers. The publish-only scope fits the Cloud Service Dispatcher MCP, but this plugin approves no tool.
Either:
- name the tool this scope applies to, or
- drop the author-tier step from
mcp-tool-orchestration.md:102too.
Also say whether "Author-tier operations" means AEM Author content operations or the author-farm Dispatcher config. The sentence can be read either way.
There was a problem hiding this comment.
Scoped the sentence to what the checks report: "Dispatcher MCP checks report publish-layer evidence only; do not present them as Author-tier verification." This keeps the #519 requirement without forbidding static validate/lint of the author farm, so the guide's "(when available) one author-tier URL trace" stays as a conditional for a tool that can actually trace that tier.
|
|
||
| ## MCP Tool Contract | ||
|
|
||
| This plugin does not provide an AMS Dispatcher MCP. Dispatcher MCP checks report publish-layer evidence only; do not present them as Author-tier verification. For 6.5 LTS/AMS, limit work to explanation and static review unless an approved tool is explicitly configured; report each unavailable tool-dependent check as NOT VERIFIED and never fabricate tool output. This entrypoint's MCP gates govern every linked specialist; do not follow a specialist guide to invoke an unavailable tool or claim runtime verification. |
There was a problem hiding this comment.
claude: Not blocking. The baseline already knew part of this sentence. I asked "I ran an automated Dispatcher check against an AEM 6.5 AMS setup and it passed. Can I tell my team the AEM Author tier is verified as working too?" It answered "No. A passing Dispatcher check doesn't verify the Author tier" and suggested saying "Author-tier verification is still pending." So "do not present them as Author-tier verification" is known without the skill.
It was less sure of the first clause. Asked which tier a Dispatcher MCP tool's results describe on AMS, it said "primarily publish", but added that a check run against an author dispatcher host would tell you about Author. "Report publish-layer evidence only" is the part that earns its place. If you trim the sentence, keep that part.
There was a problem hiding this comment.
Noted — keeping the sentence; the "report publish-layer evidence only" clause stays as the load-bearing part.
|
|
||
| ## MCP Tool Contract | ||
|
|
||
| This plugin does not provide an AMS Dispatcher MCP. Dispatcher MCP checks report publish-layer evidence only; do not present them as Author-tier verification. For 6.5 LTS/AMS, limit work to explanation and static review unless an approved tool is explicitly configured; report each unavailable tool-dependent check as NOT VERIFIED and never fabricate tool output. This entrypoint's MCP gates govern every linked specialist; do not follow a specialist guide to invoke an unavailable tool or claim runtime verification. |
There was a problem hiding this comment.
codex: The Claude comparison loaded this skill and correctly reported Author login/editing as NOT VERIFIED after a successful publish-page check. The run without the plugin reached the same conclusion. Both answers were sound, so this task confirms no regression but does not demonstrate an improvement from the skill.
Refs #519, #495, and #497
What and why
Centralize 6.5 LTS/AMS Dispatcher runtime selection in the main entrypoint. State that this plugin does not provide an AMS Dispatcher MCP; confirm an approved tool before runtime checks, otherwise limit work to static review and mark tool-dependent checks
NOT VERIFIED. Any approved Dispatcher tool checks the publish layer only, not Author-tier operations. The compatibility metadata and the plugin README no longer claim an AMS Dispatcher MCP exists.The skill moves from
skills/dispatchertoskills/aem-6-5-lts-dispatcherand the specialist guides from nestedSKILL.mdfiles toreferences/<specialist>/GUIDE.md: clients only load skills directly underskills/, and the namedispatcheris also used by the Cloud Service plugin (skill names are global). The README links follow the move. The description is reworded as a "Use when" trigger for the Tessl review; it covers the same scope.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-6-5-lts-dispatcher/SKILL.md748 of 1000 tokenstessl plugin lint plugins/aem/6.5-lts: valid6.5-lts/skills/dispatcher/.Checklist
npm run validatepasseshumanlabel is set, if a person and not an agent wrote this