feat(search): surface compliance mappings in discovery - #699
Open
XiaoSeS wants to merge 1 commit into
Open
Conversation
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
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.
Summary
Second small PR for Issue #556 after #697. This PR surfaces the version-level
x-astron-compliancesnapshot in discovery/search results so users can find and recognize skills by compliance mapping.What changed:
complianceSnapshottoSkillSummaryResponse.Validation
Source checks:
cd server && ./mvnw -pl skillhub-app -am -Dtest=SkillSearchAppServiceTest -Dsurefire.failIfNoSpecifiedTests=false testcd web && pnpm exec vitest run src/features/skill/skill-card.test.ts src/pages/search.test.tsxcd web && pnpm run typecheckmake lint-webcd web && pnpm run buildgit diff --checkRuntime preview:
skillhub-preview-compliance-projection-server:sha-00f55c2db3f2skillhub-preview-compliance-projection-web:sha-00f55c2db3f2skillhub-compliance-projection-00f55c2dwith dynamic loopback ports./api/web/skills?q=MITRE%20T1059and/api/web/skills?q=NIST%20PR.DS-01both return the published skill withcomplianceSnapshot./api/web/skillspath.Private HTML report:
/home/ylhu16/skillhub-local-reports/runs/issue-556-compliance-projection-20260807/report.htmlNotes
GitHub official/HK validation is not required for this PR because it does not change Dockerfiles, Compose/Kubernetes, runtime config, registry publishing, or deployment behavior.
Signed-off-by: XiaoSeS 87064762+XiaoSeS@users.noreply.github.com