Repository navigation
feat(biome): expose explicit curated knowledge queries - #43
Merged
iihimanshuu merged 1 commit intoAug 23, 2026
Merged
Conversation
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.
Pull Request description
Allow
HPHBiomeSkillto execute explicitly requested curated-knowledge queriesthrough the standalone HPH Biome backend.
This PR:
HPHBiomeSkillconstruction;KnowledgeCollectionconstructor injection;ctx.extras['_run_kwargs'];hphbiome_queryandhphbiome_allowed_review_statusesbefore retrieval runs;hphbiome_limit;generation to the standalone
hphbiomepackage;provenance;
supplied;
unchanged.
Retrieved knowledge is exposed under:
ctx.results[stage]['hphbiome']['curated_knowledge']with:
resultsstructured_contexttext_contextCloses #23
How to test these changes
Run the focused adapter and manifest tests:
py -3.13 -m pytest tests/test_hphbiome_hiperhealth.py tests/test_manifests.py -q -p no:xonshRun the complete test suite:
py -3.13 -m pytest --cov=hphbiome --cov=hphbiome_hiperhealth --cov-fail-under=92 --cov-report term-missing --no-cov-on-fail -p no:xonsh -qRun Ruff:
py -3.13 -m ruff check packages testsVerify formatting:
py -3.13 -m ruff format --check packages testsRun mypy:
py -3.13 -m mypy packages/hphbiome/src packages/hphbiome-hiperhealth/srcRun pre-commit against the changed files:
py -3.13 -m pre_commit run --files packages/hphbiome-hiperhealth/src/hphbiome_hiperhealth/skill.py tests/test_hphbiome_hiperhealth.py --verboseExample explicit configuration:
Reviewer's Checklist
mainbranch