Repository navigation
fix(aem-6-5-lts): guard Dispatcher runtime checks #802
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 7 commits
5b0e9a1
cb1f131
26949b0
4969ce5
099621c
643c7a0
3f39d98
7c06e36
1b82b2d
89b7aa0
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,44 @@ | ||
| --- | ||
| name: aem-6-5-lts-dispatcher | ||
| description: | | ||
| Use when asked about AEM 6.5 LTS or AMS Dispatcher `.any` farms, filters, vhosts, cache, flush, | ||
| rewrite rules, security, performance, or publish-tier delivery. Covers configuration authoring, | ||
| technical guidance, incident response, and lifecycle work; tool-dependent checks require an | ||
| explicitly approved tool. | ||
| license: Apache-2.0 | ||
| compatibility: AEM 6.5 LTS/AMS Dispatcher configuration; this plugin does not provide an AMS Dispatcher MCP. | ||
| allowed-tools: validate lint sdk trace_request inspect_cache monitor_metrics tail_logs | ||
| metadata: | ||
| mcp-tool-contract: core-7-tools | ||
| --- | ||
|
|
||
| # AEM 6.5 LTS Dispatcher | ||
|
|
||
| Route user requests to the appropriate specialist skill based on intent. | ||
|
|
||
| ## Intent Router | ||
|
|
||
| | User Intent | Skill | 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, 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. Match the user's request to one row in the Intent Router table above. | ||
| 2. Read the linked GUIDE.md for that specialist workflow. | ||
| 3. Follow the workflow, references, and output contract defined in that skill. | ||
| 4. For broad or ambiguous requests that span multiple concerns, use the **Workflow Orchestrator** which coordinates across all specialist skills. | ||
| 5. If no row fits, ask a clarifying question. If a linked guide is unavailable, provide only bounded explanation/static review and mark tool-dependent checks `NOT VERIFIED`. | ||
|
|
||
| ## 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. | ||
|
|
||
| ## 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. | ||
|
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. 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.
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. Noted, no change needed. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,7 @@ | ||
| --- | ||
| name: technical-advisory | ||
| description: Provide advisory guidance for the Adobe Dispatcher Apache HTTP Server module and related HTTPD configuration in AEM 6.5 / AMS workflows only, with public-doc citations and AMS-specific MCP verification plans. Use for conceptual questions such as `statfileslevel`, filter rules, URL decomposition, cache invalidation behavior, rewrite behavior, and security headers. | ||
| license: Apache-2.0 | ||
| compatibility: Requires Dispatcher MCP for AMS (`AEM_DEPLOYMENT_MODE=ams`) or AMS Dispatcher MCP SDK (pre-set to `ams`). | ||
| allowed-tools: validate lint sdk trace_request inspect_cache monitor_metrics tail_logs | ||
| metadata: | ||
| mcp-tool-contract: core-7-tools | ||
| --- | ||
|
|
||
| # Dispatcher Technical Advisory (AMS) | ||
|
|
||
| Use for conceptual Dispatcher questions about rewrite behavior and security headers; cite official docs. | ||
|
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 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".
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. Removed that line from the technical-advisory 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. 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.
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. Removed that line from the technical-advisory guide. |
||
|
|
||
| Provide deterministic guidance for AEM 6.5/AMS use cases involving the Adobe Dispatcher Apache HTTP Server module and related HTTPD configuration. | ||
|
|
||
| ## Variant Scope | ||
|
|
||
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 line is redundant. I asked the baseline (a small model with no tools that has not seen this skill) two ways:
pom.xmldependencies,status-productinfo, the Cloud Manager configuration) and said to ask the release or DevOps owner.aem-sdk-apiagainstuber-jar6.5.x and.cloudmanager/, and "ask instead of guessing".Both answers give this guidance without the skill. Remove the
## Runtime Selectionsection to get the approval.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 Selectionsection.