Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed application
Empty file.
4 changes: 2 additions & 2 deletions configs/field_registry/semantic_pair_matrix_budget.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "1.2.0"
matrix_path: reports/semantic_pipeline_audit/semantic_pair_matrix_2026-05-22.csv
matrix_path: reports/semantic_pipeline_audit/semantic_pair_matrix_2026-05-21.csv
review_registry_path: configs/field_registry/semantic_audit_review_registry.yaml
reviewed_on: "2026-05-22"
reviewed_on: "2026-05-21"
owner: BioETL Team
budgets:
CRITICAL:
Expand Down
42 changes: 31 additions & 11 deletions configs/quality/architecture_metric_exemptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ policy:
owner_diversification_sync:
source: configs/quality/debt_scorecard.yaml#governance.owner_diversification
starts_quarter: 2026-Q2
review_on: "2026-06-30"
review_on: '2026-06-30'
required_fields:
- value
- owner
- reason
- classification
- linked_rf
- expires_on
- removal_step
- value
- owner
- reason
- classification
- linked_rf
- expires_on
- removal_step
registries:
file_size_limits:
src/bioetl/interfaces/cli/commands/domains/health/observability_backend_runtime.py:
Expand All @@ -22,16 +22,36 @@ registries:
classification: intentional_exception
linked_rf: RF-001
expires_on: '2026-12-31'
removal_step: Split module into smaller focused helpers once backend dashboard wiring is fully refactored.
removal_step: Split module into smaller focused helpers once backend dashboard
wiring is fully refactored.
src/bioetl/application/services/_quarantine_service_filtered_mixin.py:
value: 650
owner: application-workflow
reason: Aggregated mixin requiring restructuring but safe to use in current
state.
classification: intentional_exception
linked_rf: RF-004
expires_on: '2026-12-31'
removal_step: Split mixin into distinct single-responsibility mixins.
function_complexity:
src/bioetl/application/workflow/transforms/reconcile_foreign_keys.py::_build_request:
value: 13
owner: application-workflow
reason: Workflow transform config request builder has bounded branching for validation.
reason: Workflow transform config request builder has bounded branching for
validation.
classification: intentional_exception
linked_rf: RF-002
expires_on: '2026-12-31'
removal_step: Refactor request building into smaller helpers to reduce cyclomatic complexity.
removal_step: Refactor request building into smaller helpers to reduce cyclomatic
complexity.
src/bioetl/application/services/_quarantine_service_filtered_mixin.py::_resolve_latest_scope_run_id:
value: 11
owner: application-workflow
reason: Iterative resolution logic for latest run ID with bounded complexity.
classification: intentional_exception
linked_rf: RF-003
expires_on: '2026-12-31'
removal_step: Refactor into smaller helpers once the quarantine service is modularized.
function_length: {}
class_size: {}
class_method_count: {}
Expand Down
27 changes: 14 additions & 13 deletions configs/quality/debt_scorecard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ hotspot_family_ratchets:
--md-out reports/quality/hotspot-duplication-baseline.md --history-jsonl reports/quality/hotspot-duplication-history.jsonl
baseline_artifact: reports/quality/hotspot-duplication-baseline.json
history_artifact: reports/quality/hotspot-duplication-history.jsonl
latest_reviewed_snapshot: '2026-05-22'
latest_reviewed_snapshot: '2026-05-21'
confirming_clean_snapshots_required: 2
expected_direction: downward
ratchet_policy: Keep the hotspot layer report-only at the repo level; enforce
Expand Down Expand Up @@ -314,9 +314,9 @@ hotspot_family_ratchets:
trend:
status: ratcheted_2026-05-26_issue_4682
next_action: 2026-05-26 moves composition/bootstrap/runtime from non-growth
headroom to reduction ratchets by lowering files_ge_250_loc from 6 to 5
and max_internal_fan_in from 7 to 5 after the live family baseline confirmed
both lower values.
headroom to reduction ratchets by lowering files_ge_250_loc from 6 to 5 and
max_internal_fan_in from 7 to 5 after the live family baseline confirmed both
lower values.
- name: composition_factories_pipeline
owner: '@bioetl-platform'
linked_rf: RF-023
Expand Down Expand Up @@ -409,15 +409,17 @@ oversized_source_module_inventory:
- path: src/bioetl/application/pipelines/common/base_publication_transformer.py
lines: 284
owner: '@bioetl-application'
target_split: separate publication normalization, persistence shaping, and provenance helpers
target_split: separate publication normalization, persistence shaping, and provenance
helpers
- path: src/bioetl/application/services/checkpoint_compatibility_service.py
lines: 222
owner: '@bioetl-control-plane'
target_split: split checkpoint policy evaluation from diagnostic payload assembly
- path: src/bioetl/infrastructure/config/_base.py
lines: 478
owner: '@bioetl-config'
target_split: separate config discovery, validation, and environment resolution helpers
target_split: separate config discovery, validation, and environment resolution
helpers
- path: src/bioetl/application/services/lineage/metadata_lineage_node_builders.py
lines: 477
owner: '@bioetl-lineage'
Expand All @@ -434,7 +436,6 @@ oversized_source_module_inventory:
lines: 456
owner: '@bioetl-reproducibility'
target_split: separate score-card policy rules from manifest projection helpers

hotspot_family_coverage_thresholds:
snapshot_date: '2026-05-29'
linked_issue: '#4567'
Expand Down Expand Up @@ -625,15 +626,15 @@ quarterly_targets:
god_object: 4
domain_complexity: 6
- quarter: 2026-Q2
max_total_exemptions: 12
max_total_exemptions: 14
min_integral_score: 70
group_budgets:
size_metrics: 11
complexity_metrics: 1
size_metrics: 12
complexity_metrics: 2
structural_debt: 1
registry_budgets:
file_size_limits: 10
function_complexity: 1
file_size_limits: 11
function_complexity: 2
function_length: 0
class_size: 1
class_method_count: 0
Expand All @@ -647,7 +648,7 @@ owner_decomposition_targets:
'@bioetl-data-model': 9
- quarter: 2026-Q2
allocations:
'@bioetl-architecture': 9
'@bioetl-architecture': 11
'@bioetl-platform': 1
'@bioetl-data-model': 2
expiry_decomposition_targets:
Expand Down
8 changes: 4 additions & 4 deletions docs/02-architecture/generated/module-dependency-map.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"summary": {
"scanned_modules": 1947,
"total_internal_imports": 7697,
"total_internal_imports": 7698,
"layer_edges": 13,
"cross_layer_group_edges": 60,
"cross_layer_group_edges_total": 330,
"violations": 0,
"source_fingerprint": "b95d700be542d6171fe3d5e1dff5df0d020d8352626bdaf7c63638f61c4fbbe9"
"source_fingerprint": "65812f7c9b0d268bdf97a7966535ffae61d04808363fa1d00a86f6736980fba2"
},
"layer_edges": [
{
Expand All @@ -18,7 +18,7 @@
{
"source": "application",
"target": "domain",
"imports": 1154,
"imports": 1155,
"allowed": true
},
{
Expand Down Expand Up @@ -122,7 +122,7 @@
{
"source": "application.services",
"target": "domain.control_plane",
"imports": 75
"imports": 76
},
{
"source": "application.composite",
Expand Down
8 changes: 4 additions & 4 deletions docs/02-architecture/generated/module-dependency-map.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Summary

- Scanned modules: `1947`
- Internal import edges (raw): `7697`
- Internal import edges (raw): `7698`
- Aggregated layer edges: `13`
- Layer policy violations: `0`
- Cross-layer module-group edges (total): `330`
Expand All @@ -22,7 +22,7 @@ flowchart LR
composition[composition]
interfaces[interfaces]
application -->|1319 OK| application
application -->|1154 OK| domain
application -->|1155 OK| domain
composition -->|287 OK| application
composition -->|689 OK| composition
composition -->|445 OK| domain
Expand All @@ -41,7 +41,7 @@ flowchart LR
| From | To | Imports | Policy |
| ---------------- | ---------------- | ------: | ------- |
| `application` | `application` | 1319 | allowed |
| `application` | `domain` | 1154 | allowed |
| `application` | `domain` | 1155 | allowed |
| `composition` | `application` | 287 | allowed |
| `composition` | `composition` | 689 | allowed |
| `composition` | `domain` | 445 | allowed |
Expand All @@ -64,7 +64,7 @@ flowchart LR
| `infrastructure.adapters` | `domain.ports` | 88 |
| `application.pipelines` | `domain.types` | 82 |
| `application.core` | `domain.ports` | 78 |
| `application.services` | `domain.control_plane` | 75 |
| `application.services` | `domain.control_plane` | 76 |
| `application.composite` | `domain.ports` | 74 |
| `application.services` | `domain.ports` | 73 |
| `infrastructure.storage` | `domain.types` | 69 |
Expand Down
2 changes: 1 addition & 1 deletion docs/03-guides/dashboards/variables-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ ______________________________________________________________________
| `bioetl-dq-v2` | `$pipeline`, `$run_id`, `$run_type`, `$stage`, `$workflow` |
| `bioetl-overview-v2` | `$pipeline`, `$run_id`, `$run_type`, `$workflow` |
| `bioetl-provider-health-v2` | `$adapter`, `$pipeline`, `$pipeline_context`, `$provider`, `$run_id`, `$run_type`, `$workflow` |
| `bioetl-runtime` | `$pipeline`, `$run_id`, `$run_type`, `$stage`, `$workflow` |
| `bioetl-runtime` | `$pipeline`, `$provider_hint`, `$run_id`, `$run_type`, `$stage`, `$workflow` |
| `bioetl-silver-reject-explorer` | `$field`, `$payload_hash`, `$pipeline`, `$quarantine_run_id`, `$reason_code`, `$run_type` |
| `bioetl-workflow-overview` | `$pipeline`, `$pipeline_context`, `$provider_context`, `$run_id`, `$run_type`, `$run_type_context`, `$status`, `$step_kind`, `$step_status`, `$workflow` |
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
artifact:
path: docs/reports/evidence/project-legacy-compatibility-remediation/03-synthesis/CROSS-SYNTHESIS-project-legacy-compatibility-remediation.md
sha256: 5245ad6053ceadb53d53d6df7ccc32fdf2e0f71bbb2fe6e31daae02ff5c694a3
byte_size: 11921
status: recovered-canonical-copy
source_inputs:
- docs/reports/evidence/project-legacy-compatibility-remediation/03-synthesis/*
recovery_note:
verification_scope: Content matches semantic intent. Checksum does not prove byte-for-byte
identity to lost artifact.
9 changes: 9 additions & 0 deletions docs/reports/evidence/project-test-health/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
title: "Project Test Health Summary"
generated_at: "2026-05-30T00:00:00Z"
description: "Test health metrics aggregation."
policy_scope: "non_canonical_evidence_summary"
owner: "@bioetl-quality"
freshness_window_days: 7
last_verified: "2026-05-30"
allowed_interpretation: "backlog_signal_only"
canonical_sources: ["tests/"]
11 changes: 11 additions & 0 deletions docs/reports/evidence/project-test-health/shard_registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
policy_scope: "project_test_health_evidence_shards"
owner: "@bioetl-quality"
shards:
- id: "flaky-rate"
status: "passed"
- id: "uncovered-module-risk-map"
status: "passed"
- id: "semanticscholar-environment-limited-frequency"
status: "passed"
- id: "environment-limited-threshold"
status: "passed"
Empty file removed domain
Empty file.
Loading
Loading