sdaf-media-diagnostics
Skill145 starsChanged 3 months agoMITView on GitHub
Diagnose SDAF software-download and BOM-processing failures after a BOM is already selected. Covers the documented local media path, SAP download, storage-account upload/download, checksum validation, and `SAPCAR` / `.EXE` extraction. Use when a user says "download_menu failed", "BOM downloader 404", "missing archive", "checksum mismatch", "SAPCAR failed", "bom-processing-done missing", or "my SPS07 media run can't find a file". Do NOT use to choose a BOM (see `sdaf-bom-selection`), to run a clean first-time media download with no failure, or to diagnose a later non-media install failure.
In this repository21 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- Webapp/.github/copilot-instructions.mdCopilot instructions
- code-reviewSkill
- sdaf-bom-selectionSkill
- sdaf-control-plane-bootstrapSkill
- sdaf-failure-triageSkill
- sdaf-ha-diagnosticsSkill
- sdaf-ha-topologySkill
- sdaf-media-acquisitionSkill
- sdaf-orientation-and-surfaceSkill
- sdaf-plan-and-test-semanticsSkill
- sdaf-quality-assuranceSkill
- sdaf-readiness-checkSkill
- sdaf-safe-removalSkill
- sdaf-sap-installationSkill
- sdaf-sap-systemSkill
- sdaf-sovereign-cloudSkill
- sdaf-state-managementSkill
- sdaf-workload-zoneSkill
- sdaf-workspace-and-tfvarsSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
Do NOT trigger on: choosing a BOM/version, running a clean first download, or a later DB/SAP install failure after media staging.
- Distinctive: line 42
If the operator only says "SPS07" or similar product/version words, ask whether this is a BOM-choice question or a concrete failing file.
- Very specific: line 54
If the failure is in a later numbered install playbook rather than BOM acquisition / processing, stop and route to sdaf-sap-installation or …
- Distinctive: line 72
If nothing matches, say the shipped docs/code do not describe this media failure and stop.
- Distinctive: line 87
Do not rename files, replace URLs, or invent checksums from memory.
- Distinctive: line 97
Use the documented completion evidence.
- Distinctive: line 115
Do not invent new BOM contents, replacement URLs, checksums, or SPS mappings.
- Distinctive: line 116
Do not treat a generic later install failure as a media problem without a matching acquisition / processing anchor.
- Very specific: line 118
Do not delete .progress markers or storage blobs merely to force a rerun.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SDAF Media Diagnostics
Action-loop skill. Diagnoses failures on the local software path after the
operator already chose the BOM and started either download_menu.sh or BOM
processing from configuration_menu.sh. Grounded in
docs/local/06-00-software-and-installation.md,
docs/local/troubleshooting.md, and docs/PLUGINS.md. No invented recovery
paths.
When to invoke
Trigger on: "download_menu failed", "BOM downloader 404", "missing archive", "checksum mismatch", "SAPCAR failed", "bom-processing-done missing", "SPS07 media file missing".
Do NOT trigger on: choosing a BOM/version, running a clean first download, or a later DB/SAP install failure after media staging.
Preconditions
- Collect the exact failing command or menu step, exit code, and last 200 lines of output.
- Identify whether the failure happened in:
- the documented media acquisition step; or
- BOM processing during configuration and installation.
- If the operator only says "SPS07" or similar product/version words, ask whether this is a BOM-choice question or a concrete failing file.
Recipe
Step 1 — Classify the failing lane
- Acquisition lane — use
docs/local/06-00-software-and-installation.md § Download softwareand its documented inputs. - Processing lane — use
§ Run configuration and installationand its safe-retry guidance. - If the failure is in a later numbered install playbook rather than BOM
acquisition / processing, stop and route to
sdaf-sap-installationorsdaf-failure-triageif the install-stage owner is still ambiguous.
Step 2 — Walk the symptom map
Use references/media-symptom-map.md and
match the exact signature before suggesting any retry. The map covers:
- missing
sap-parameters.yaml/BOM_CATALOG - BOM not found
s_user/s_passwordor storage-account auth failures- archive
404/ missing blob - checksum mismatch
SAPCAR/.EXEextraction failures- missing
.progress/bom-processing-done - offline / air-gapped asks that the repo does not document
If nothing matches, say the shipped docs/code do not describe this media failure and stop.
Step 3 — Re-read the current BOM and documented inputs
The authoritative inputs are the current sap-parameters.yaml, the selected
BOM YAML, and the operator documentation:
docs/local/06-00-software-and-installation.md § Inputs and BOM ownership—BOM_CATALOGmust point at the samples root;download_menu.shrequiresapplication_bom_name,database_bom_name,sap_kernel_bom_name, andsave_bom_as.docs/local/06-00-software-and-installation.md § Configuration preparation— review the current BOM's URLs, archive names, checksums, and target product versions. Do not rename files, replace URLs, or invent checksums from memory.
Step 4 — Retry only the minimal documented step
- For acquisition-lane failures, fix the matched precondition or BOM/input
issue, then rerun BOM Downloader from
download_menu.sh. - For processing-lane failures, rerun the smallest applicable playbook from
configuration_menu.sh;docs/local/06-00-software-and-installation.md § Safe retrysays to review the failed numbered playbook, output, and progress marker first. - Use the documented completion evidence; do not create or delete progress markers manually.
Special boundary: SPS-level questions
The local docs tell operators to review BOM names, URLs, archive names, checksums, and target product versions, but they do not ship an SPS07-specific troubleshooting runbook. Use this rule:
- "Which BOM/version do I need for SPS07?" →
sdaf-bom-selection. - "The already-selected SPS07 media set is failing with a missing archive, checksum, or extract error" → stay here and work the exact failing file/log through the symptom map.
Hard rules
- Documented behaviour only.
docs/PLUGINS.mdexplicitly says air-gapped / offline media is outside shipped guidance. - Do not invent new BOM contents, replacement URLs, checksums, or SPS mappings.
- Do not treat a generic later install failure as a media problem without a matching acquisition / processing anchor.
- Do not delete
.progressmarkers or storage blobs merely to force a rerun.
See also
sdaf-bom-selection— choose product vs component BOMs and compatibility guardrails.sdaf-media-acquisition— clean first-time media download once the failure boundary is gone.sdaf-failure-triage— non-media or ambiguous stage failures.docs/local/06-00-software-and-installation.md,docs/local/troubleshooting.md,docs/PLUGINS.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

