Skip to content

feat: Phase S S2 selection transparency ledger (STL-) -- auditable selection artifact ledger - #968

Merged
cschanhniem merged 1 commit into
mainfrom
feat/s2-selection-transparency-ledger
Jul 10, 2026
Merged

cschanhniem merged 1 commit into
mainfrom
feat/s2-selection-transparency-ledger

Conversation

@cschanhniem

Copy link
Copy Markdown
Collaborator

Implements S2 from NEXT_100_PR_MAP.

What

  • src/openamp_foundry/evidence/selection_transparency_ledger.py: STL- schema; SelectionTransparencyLedger dataclass (16 fields) + ArtifactReference helper; validate/build/format functions
  • VALID_SELECTION_BASES (8): score_rank, safety_gate_passed, novelty_evidence, benchmark_performance, expert_review, calibration_signal, diversity_criteria, not_specified (blocked)
  • VALID_SELECTION_OUTCOME_TYPES (7): selected_for_pilot, selected_for_next_batch, selected_for_external_review, deselected_safety, deselected_low_score, deselected_insufficient_evidence, held_pending_review
  • REQUIRED_SELECTION_ARTIFACT_TYPES: BSP, SEG, SRG
  • build() auto-computes completeness_grade, has_required_artifacts, missing_required_artifact_types
  • BASELINE: 9278 → 9341

Disconfirming pass

  • not_specified basis blocked (tested); TOY- blocked; dry_lab_only=False blocked; complete grade requires all required artifacts; incomplete grade cannot have all required; n_artifacts mismatch blocked; missing_required_types must match computed; influence_description too short blocked

…e-family artifact ledger for auditable selection; VALID_SELECTION_BASES (8), VALID_SELECTION_OUTCOME_TYPES (7), VALID_LEDGER_COMPLETENESS_GRADES (4); REQUIRED_SELECTION_ARTIFACT_TYPES (BSP/SEG/SRG); not_specified basis blocked; complete grade requires all required artifacts; build() auto-computes completeness; dry_lab_only=True enforced; 48 tests (#968)
@cschanhniem
cschanhniem merged commit e15d81d into main Jul 10, 2026
1 check failed
cschanhniem added a commit that referenced this pull request Jul 10, 2026
Co-authored-by: OpenCode <opencode@example.com>
cschanhniem pushed a commit that referenced this pull request Jul 10, 2026
…e-family artifact ledger; VALID_SELECTION_BASES (8), VALID_SELECTION_OUTCOME_TYPES (7), REQUIRED_ARTIFACT_TYPES (BSP/SEG/SRG); not_specified blocked; complete requires all artifacts; build() auto-computes completeness; dry_lab_only=True; 50 tests (#968)
cschanhniem added a commit that referenced this pull request Jul 10, 2026
…e-family artifact ledger; VALID_SELECTION_BASES (8), VALID_SELECTION_OUTCOME_TYPES (7), REQUIRED_ARTIFACT_TYPES (BSP/SEG/SRG); not_specified blocked; complete requires all artifacts; build() auto-computes completeness; dry_lab_only=True; 50 tests (#968) (#970)

Co-authored-by: OpenCode <opencode@example.com>
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