Repository navigation
fix(aem-cloud-service): rename Dispatcher entry skill and scope MCP to publish #521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 16 commits
99a6c47
338a27e
ff8f574
d8f0f9d
e4ea55e
5fd6d67
382dad0
a84d808
ab43b4e
1dabbe8
7c02e73
c2d8c8a
8606fab
0ca0945
157053e
c7153d2
05f3b09
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| # AEM Cloud Service Dispatcher Skills | ||
|
|
||
| This package contains dispatcher-focused skills for AEM as a Cloud Service. | ||
|
|
||
| In this package, "Dispatcher" means the Adobe Dispatcher Apache HTTP Server module plus its HTTPD and dispatcher configuration. It does not mean an AEM OSGi bundle. | ||
|
|
||
| ## Scope | ||
|
|
||
| Use these skills for: | ||
|
|
||
| - dispatcher and HTTPD configuration design | ||
| - filter, cache, rewrite, vhost, header, and farm changes | ||
| - cloud-specific topology, validator, and immutable-file guardrail reviews | ||
| - runtime incident triage | ||
| - performance tuning | ||
| - security hardening | ||
|
|
||
| ## Specialist Guide Map | ||
|
|
||
| - [Workflow Orchestrator](./references/workflow-orchestrator/GUIDE.md) for end-to-end work that spans design, changes, validation, and follow-up | ||
| - [Config Authoring](./references/config-authoring/GUIDE.md) for concrete config changes | ||
| - [Technical Advisory](./references/technical-advisory/GUIDE.md) for conceptual guidance, explanation, and citation-backed recommendations | ||
| - [Incident Response](./references/incident-response/GUIDE.md) for runtime failures and regressions | ||
| - [Performance Tuning](./references/performance-tuning/GUIDE.md) for cache, latency, and throughput work | ||
| - [Security Hardening](./references/security-hardening/GUIDE.md) for exposure review and production hardening | ||
|
|
||
| ## Shared Foundation | ||
|
|
||
| Cross-cutting references are packaged directly inside each specialist guide under `references/dispatcher-foundation/`. | ||
|
|
||
| That directory contains repo-layout guidance, verification matrices, rollback templates, test catalogs, public-doc indexes, and cloud guardrails used across multiple skills. It is intentionally not limited to technical-advisory content. | ||
|
|
||
| - [`local-sdk-execution.md`](./references/config-authoring/references/dispatcher-foundation/local-sdk-execution.md) explains the shipped local Dispatcher SDK launchers, hot-reload flow, and runtime environment variables used for cloud-side local verification. | ||
|
|
||
|
|
||
|
|
||
|
|
||
| ## How To Start | ||
|
|
||
| For broad or first-time requests, start with: | ||
|
|
||
| - [`quick-start-execution-path.md`](./references/workflow-orchestrator/references/dispatcher-foundation/quick-start-execution-path.md) | ||
| - [Workflow Orchestrator guide](./references/workflow-orchestrator/GUIDE.md) | ||
|
|
||
| For targeted work, start with the specialist guide that matches the request. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| --- | ||
| name: aem-cloud-service-dispatcher | ||
| description: | | ||
| Use when the user needs help with AEM as a Cloud Service Dispatcher: author or review farms, vhosts, | ||
| cache, filters, or rewrite configuration; troubleshoot publish delivery; assess security or | ||
| performance; or plan approved Dispatcher MCP checks. | ||
| license: Apache-2.0 | ||
| compatibility: Tool-dependent checks require Dispatcher MCP configured for cloud variant (`AEM_DEPLOYMENT_MODE=cloud`); bounded explanation/static review is available without MCP. | ||
| allowed-tools: validate lint sdk trace_request inspect_cache monitor_metrics tail_logs | ||
| metadata: | ||
| mcp-tool-contract: core-7-tools | ||
| --- | ||
|
|
||
| # AEM Cloud Service Dispatcher | ||
|
|
||
| Route user requests to the appropriate specialist guide based on intent. | ||
|
|
||
| ## Intent Router | ||
|
|
||
| | User Intent | Specialist guide | Path | | ||
| |---|---|---| | ||
| | Create, modify, review, or harden dispatcher config files (`.any`, vhost, rewrite, cache, filter) | Config Authoring | [config-authoring/GUIDE.md](./references/config-authoring/GUIDE.md) | | ||
| | Conceptual questions (`statfileslevel`, filter rules, URL decomposition, cache invalidation, rewrite behavior, security headers) | Technical Advisory | [technical-advisory/GUIDE.md](./references/technical-advisory/GUIDE.md) | | ||
| | Investigate runtime incidents, failures, probe regressions, or cache anomalies | Incident Response | [incident-response/GUIDE.md](./references/incident-response/GUIDE.md) | | ||
| | Optimize cache efficiency, latency, and throughput | Performance Tuning | [performance-tuning/GUIDE.md](./references/performance-tuning/GUIDE.md) | | ||
| | Security audit, threat model, exposure control, header hardening | Security Hardening | [security-hardening/GUIDE.md](./references/security-hardening/GUIDE.md) | | ||
| | End-to-end lifecycle (design → implement → validate → release → incident) or requests spanning multiple concerns | Workflow Orchestrator | [workflow-orchestrator/GUIDE.md](./references/workflow-orchestrator/GUIDE.md) | | ||
|
|
||
| ## 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. | ||
| 2. Match the user's request to one row in the Intent Router table above. | ||
| 3. Read the linked specialist guide and follow its workflow, references, and output contract. | ||
| 4. If no row fits, ask a clarifying question. If a linked guide is unavailable, use the fallback in the MCP Tool Contract. | ||
|
|
||
| ## 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. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
|
|
||
| The specialist guides share the same core-7 MCP tool set: | ||
|
|
||
| - `validate` — static config validation | ||
| - `lint` — deep/order-aware linting | ||
| - `sdk` — SDK check-files and diff-baseline | ||
| - `trace_request` — trace a request through dispatcher | ||
| - `inspect_cache` — inspect cache state | ||
| - `monitor_metrics` — runtime metrics | ||
| - `tail_logs` — log tailing | ||
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
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-hardeningandtechnical-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:
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.
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.