Multi-Run Evidence Fusion with TDA Governance Integration#47
Draft
Copilot wants to merge 5 commits into
Draft
Conversation
Co-authored-by: helpfuldolphin <230910712+helpfuldolphin@users.noreply.github.com>
Co-authored-by: helpfuldolphin <230910712+helpfuldolphin@users.noreply.github.com>
… frozen dataclass Co-authored-by: helpfuldolphin <230910712+helpfuldolphin@users.noreply.github.com>
Co-authored-by: helpfuldolphin <230910712+helpfuldolphin@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update fusion logic for TDA governance integration
Multi-Run Evidence Fusion with TDA Governance Integration
Dec 9, 2025
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
Implements TDA governance signal integration into Phase II multi-run evidence fusion pipeline. Enables detection of inconsistencies between performance uplift and structural quality metrics, with hard gate blocking for promotions when structural risks are detected.
Strategic Impact
Differentiator Tag: [x] [FM] [ ] [POA] [ ] [ASD] [ ] [RC] [ ] [ME] [ ] [IVL] [ ] [NSF]
Strategic Value: Establishes formal quality gates for RFL policy evaluation, preventing promotion of policies with structural instability despite apparent performance gains.
Acquisition Narrative: Demonstrates mature governance architecture for AI-driven formal systems. TDA hard gates enforce quality invariants independent of performance metrics, critical for DoD/aerospace certification pipelines.
Measurable Outcomes:
Doctrine Alignment: Formal methods (TDA governance), metrics (HSS/block_rate), automation (CLI precheck), reliability (deterministic fusion)
Scope
Type: [x] Feature [ ] Bug Fix [ ] Performance [ ] Documentation [ ] Operations [ ] Quality Assurance
Components Modified:
Files Changed:
rfl/evidence_fusion.py(700 lines) - Multi-run fusion with TDA fields, inconsistency detection, deterministic hashingrfl/hard_gate.py(376 lines) - Hard gate evaluation with HSS traces, policy delta framework, SHADOW/ENFORCE modesrfl/runner_integration.py(346 lines) - Stateful integration helpers for U2Runner/RFLRunnerscripts/promotion_precheck_tda.py(527 lines) - Phase-safe CLI tool with auto-discovery of JSONL logsdocs/TDA_INTEGRATION.md(464 lines) - Integration guide with thresholds, usage patternsexamples/tda_demo.py(289 lines) - Working demonstrationtests/rfl/test_evidence_fusion.py(356 lines) - Fusion teststests/rfl/test_hard_gate.py(206 lines) - Hard gate teststests/rfl/test_runner_integration.py(248 lines) - Integration testsRisk Assessment
Risk Level: [x] Low [ ] Medium [ ] High
Potential Impact:
Rollback Plan:
Implementation Details
TDA Fields
Each run entry now carries:
Hard Gate Thresholds
Evidence Fusion
Runner Integration
Inconsistency Detection
Five patterns detected:
Determinism
Fusion hash computed via:
Guarantees identical hash for identical inputs across executions.
Test Plan
Unit Tests
Test Results:
Integration Testing
Performance Testing (if applicable)
Conflict Watch
Files Also Modified by Other PRs:
Coordination Notes:
Checklist
Code Quality
Documentation
docs/TDA_INTEGRATION.mdcreatedSecurity
Performance
Deployment
Additional Notes
Usage
Demo Output
Next Steps (Out of Scope)
RFLRunner.run_all()main loopU2Runner.run_cycle()executionConstraints
Reviewer Notes:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.