Repository navigation
feat: Phase I I9 public API policy stub - #1025
Merged
Merged
Conversation
…limit/auth/privacy policy before any public API exists; blocks sequence_data_accepted=True
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
PAS-public API policy stub schema (src/openamp_foundry/interop/public_api_policy_stub.py)REQUIRED_NOT_COLLECTEDforces explicit declaration that raw_sequence_data and candidate_ids are never collectedsequence_data_accepted=Falseis always enforced — public API can never accept raw sequencesDesign
VALID_AUTH_METHODS: api_key / oauth2 / noneVALID_DATA_COLLECTION_CATEGORIES: 10-value controlled vocabularyREQUIRED_NOT_COLLECTED: (raw_sequence_data, candidate_ids) — must appear in data_not_collectedrequired_not_collected_declaredauto-computed from data_not_collecteddata_collectedanddata_not_collectedmay not overlapSafety
Test plan