Skip to content

feat: Phase P P4 pilot batch safety clearance schema -- 4-screen safety gate blocks high-risk batches - #849

Merged
cschanhniem merged 1 commit into
mainfrom
feat/p4-pilot-batch-safety-clearance
Jul 9, 2026
Merged

cschanhniem merged 1 commit into
mainfrom
feat/p4-pilot-batch-safety-clearance

Conversation

@cschanhniem

Copy link
Copy Markdown
Collaborator

Summary

  • PilotBatchSafetyClearanceEntry: 13 fields, all 4 safety screens mandatory
  • 8 validation rules: PSC-/BSP- prefixes, dual_use_risk_checked/novelty_verified/toxicity_screened/hemolysis_screened all required True, risk tier in {low,moderate,high}, high-risk cannot be cleared, notes length
  • 3 warnings: moderate-risk cleared, rejection_ids present, dry-lab clearance requires human review
  • 63 tests; BASELINE 4847->4910
  • CLI: openamp-foundry pilot-batch-safety-clearance-check
  • Safety constraint: max_safety_risk_tier=high cannot set cleared_for_synthesis=True

…equiring all 4 screens before wet-lab synthesis, blocks high-risk batches
@cschanhniem
cschanhniem merged commit 8a1de1c into main Jul 9, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant