How this command is triggered — by the user, by Claude, or both
Slash command
/acm-fix-search:list-fixesThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Name acm-fix-search:list-fixes - Display all configured fix checks # Synopsis # Description The `list-fixes` command reads `map_acm_fix_bundles.py` and extracts all `FixCheck` entries from the `FIX_CHECKS` tuple. It displays them in a formatted table showing the label, GitHub repository, anchor SHA, image regex variable, optional CSV package, and optional bundle version override. This is useful for: - Reviewing what fixes are currently being tracked - Verifying a newly added fix check - Understanding which repos and branches are being monitored # Implementation 1. **Read `map_acm...
acm-fix-search:list-fixes - Display all configured fix checks
/acm-fix-search:list-fixes
The list-fixes command reads map_acm_fix_bundles.py and extracts all FixCheck entries from the FIX_CHECKS tuple. It displays them in a formatted table showing the label, GitHub repository, anchor SHA, image regex variable, optional CSV package, and optional bundle version override.
This is useful for:
Read map_acm_fix_bundles.py from the project directory.
Parse the FIX_CHECKS tuple:
FIX_CHECKS: tuple[FixCheck, ...] = ( lineFixCheck(...) entry, including commented-out entriesResolve regex variable names:
SITEIMAGE_SITECONFIG -> siteconfig image in ACM bundle CSVSITEIMAGE_ASSISTED -> assisted-service image in MCE bundle CSVDisplay a formatted table:
# Configured Fix Checks
| # | Label | Repository | Anchor SHA (short) | Image Source | CSV Package | Version Override |
|---|----------------------|-------------------------------|--------------------|-----------------|----------------------|------------------|
| 1 | main-ACM-23882 | stolostron/siteconfig | 4422cbf | ACM siteconfig | | |
| 2 | ACM-2.16 ACM-25980 | openshift/assisted-service | 50c5f75 | MCE assisted | multicluster-engine | |
Note any commented-out entries separately, marked as inactive.
/acm-fix-search:list-fixes
None.
npx claudepluginhub midu16/acm-fix-search