Repository navigation
Conversation
samples.json has carried `stock` (FBst ids) since stocks were added, and Davie's clusterings carry a `name`, but the schema still rejected both. Nothing caught it because samples.json is written by a script, not via the Write hook. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
collate_mapping.collate() and verify_mappings.verify() return results without writing/printing, for reuse by CI checks. mapping.tsv is written with LF line endings so re-collating no longer shows a spurious change against git. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…elease check - ci.yml (PRs + pushes to main): pytest; validate every committed mapping, type_mapping, term-request, provenance and samples file with the same .claude/hooks validators; fail if a mapping.tsv is stale vs collate (kurmangaliyev_2020 skipped until re-collated) - fbbt-release-check.yml (weekly + manual): only when OLS has a newer FBbt release than checks/fbbt_last_checked.json, re-verify all projects' FBbt terms; record and commit the release on success, fail and keep the old record otherwise - record seeded with FBbt 2026-10-01 (all 64 Davie + 62 Kurmangaliyev terms OK) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 17, 2026
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
On every PR and push to
main(.github/workflows/ci.yml, offline, ~seconds):pytestin the locked uv environment (Python 3.14)scripts/validate_project_files.py: every committed mapping / type_mapping / term-request / provenance / samples file is run through the same.claude/hooks/check_*.pyvalidators Claude Code uses on write, so hand edits and PR edits are checked tooscripts/check_mapping_tsv.py: fails if amapping.tsvno longer matches whatcollate_mapping.pyproduces (kurmangaliyev_2020 skipped until it is re-collated)Weekly + on demand (
.github/workflows/fbbt-release-check.yml):scripts/check_fbbt_release.pycompares OLS's current FBbt release withchecks/fbbt_last_checked.json; only when it is newer does it re-verify every project's FBbt terms (current, non-obsolete, label unchanged)Fixes found while setting this up
samples.schema.jsonrejected thestockfield on every sample (both projects) and Davie's clusteringname; nothing caught it becausesamples.jsonis written by a script, not via the Write hook. Schema fixed; data unchanged.collate_mapping.pywrote CRLF, so every re-run showed a spurious diff; it now writes LF.collate()/verify()are callable for reuse by the checks.Notes
mainwithGITHUB_TOKEN; if branch protection blocks bot pushes it will need to open a PR instead (or an Actions bypass).Test plan
uv run pytest(41 passed)uv run python scripts/validate_project_files.py(350 files valid)uv run python scripts/check_mapping_tsv.py --skip kurmangaliyev_2020(davie_2018 ok)uv run python scripts/check_fbbt_release.py(full check on new release, then no-op on rerun)🤖 Generated with Claude Code