Repository navigation
Loop 75: Phase F F5 — Safe-Publication Filter - #760
Merged
Merged
Conversation
Safe-publication filter: CLI that reads candidate panel data with safety metadata and checks each candidate against publication safety constraints before external release. FAIL-CLOSED: defaults to reject unless all checks pass. Checks: - dry_lab_only must be true - global proof_ladder_level <= 4 - toxicity_screened, hemolysis_screened, dual_use_reviewed all true - per-candidate proof_ladder_level <= 4 Changes: - scripts/safe_publication_filter.py (F5) — standalone CLI - schemas/safe_publication_filter.schema.json (F5) — output JSON Schema - examples/safe_publication_filter_example_input.json (F5) — toy input - tests/evidence/test_safe_publication_filter.py — 33 tests - Makefile — safe-publication-filter target - docs/evidence/METRICS_CURRENT.md — v0.5.76 changelog - docs/research/ROADMAP.md — Loop 75 entry - tests/test_test_count_regression.py — baseline 2758
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.
Change
Safe-publication filter (Phase F F5) — CLI that reads a candidate panel with safety metadata and checks each candidate against publication safety constraints before external release. FAIL-CLOSED: defaults to reject unless all checks pass.
Why
Phase F is about making failure useful. F5 closes a real safety gap: before any candidate panel or negative-result report is published, the filter ensures structural publication safety requirements are met (dry_lab_only attestation, proof_ladder_level ≤ 4, safety checks completed).
Checks
Evidence
tests/evidence/test_safe_publication_filter.py .............. 33 passed