feat(rhdh-release): consume RHIDP Operational Rich Filter export - #68
Merged
durandom merged 7 commits intoJul 17, 2026
Merged
Conversation
…JSON
Replace hardcoded Feature Freeze, Code Freeze, and Release Notes JQL
templates with queries parsed at runtime from the Jira Rich Filter
export ("RHIDP Operational"). The Rich Filter is the operational source
of truth managed by Matt Reid and Jasper Chui — sourcing from it
eliminates drift between the skill and the live Jira configuration.
- Add rich_filter.py parser for the Rich Filter JSON structure
- Extend jql.py to compose templates from Rich Filter (no fallback)
- Register rhdh-skill-private-data repo in rhdh router config
- Add Rich Filter status to release.py check command
- Remove 5 JQL templates from jql-release.md (now Rich Filter-only)
- Add 30 new tests covering parser, integration, and no-filter behavior
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
durandom
marked this pull request as draft
July 14, 2026 13:27
…stem
Replace rich_filter.py's custom _candidate_paths() discovery with
rhdh.config.get_repo("private-data"), the same config system all other
skills use. The repo is just another RHDH repo people clone wherever
they want — fix descriptions that incorrectly called it "internal" or
"private".
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove sys.path manipulation from rich_filter.py — defer to rhdh config system via try/except ImportError instead of hardcoding sibling paths. Remove hardcoded relative directory references from config.md and private-data.md setup instructions. Restore the 5 JQL template sections removed from jql-release.md (release_notes, feature_freeze_issues, code_freeze_issues, and their _by_team variants) — keeping descriptions, placeholder docs, and source annotations while the actual JQL comes from Rich Filter. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 tasks
durandom
marked this pull request as ready for review
July 15, 2026 20:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The release skill duplicated operational Jira logic in local Markdown JQL. That logic drifted from the RHIDP Operational Rich Filter used by release managers. This PR makes the exported Rich Filter the runtime source of truth wherever it has an authoritative equivalent, while keeping release versions dynamic and preserving clearly documented local queries where no equivalent exists.
What changed
Rich Filter integration
RHDH_RICH_FILTER_PATHas an explicit overrideFirst-class release mappings
The release CLI now sources these behaviors from the export:
ORDER BY)The CLI retains local JQL for active-release discovery, generic open-work counts, blockers, EPICs, CVEs, feature subtasks, and recently added features because the export has no semantically equivalent named entry. The rationale is documented in
references/rich-filter-coverage.md.New CLI behavior
rich-filter inventoryexposes all query-bearing entries and reports dynamic field/Rich View metadata without treating presentation configuration as executable JQL.Robustness and performance fixes
checkvalidates the required Rich Filter contract.jira-tokenremains visible as an optional warning but no longer makesall_passfalse when Jira connectivity succeedsgog, authentication, Rich Filter data, or required contract entries remain actionable warnings/failuresacli --jsonsearch instead of making one enrichment request per issueIntentional behavior change
The exported operational filters are broader than the old demo/Test Day templates. A live comparison for
2.1.0on 2026-07-15 showed:These differences are expected: the export is now authoritative rather than preserving the narrower
RHDHPlan/RHIDP + Feature + openscope.Battle-test results
Tested end-to-end against live Jira, Google Sheets/Docs, and the configured private-data export:
2.1.0checkreturnsall_pass: truewith the optional token warning preserved and no misleading setup stepsTest plan
uv run pytest— 393 passeduv run ruff check .uv run ruff format --check .