Fix #174: [milestone Milestone 2 ] Extend ActionEvidence in crates/aep-core/src/evidence.rs: add `mcp_header_ri... - #177
Merged
Conversation
…/aep-core/src/evidence.rs`: add `mcp_header_ri...
Contributor
Author
SummarySafe refactor from enum to string representation with proper migration path and comprehensive test coverage Severitynone Blocking findingsNone. Verdict✅ Approved Merge risklow Audit
{
"approved": true,
"severity": "none",
"summary": "Safe refactor from enum to string representation with proper migration path and comprehensive test coverage",
"findings": [],
"merge_risk": "low",
"Model": "opus",
"model": "claude-cli",
"effort": "high",
"tokens": {
"input_tokens": 0,
"output_tokens": 0
},
"same_verdict_count": 1
} |
Contributor
Author
SummaryBreaking API change from Option to Option without backward compatibility or migration path for existing consumers Severitymedium Blocking findings
Verdict❌ Rejected Merge riskmedium Audit
{
"approved": false,
"severity": "medium",
"summary": "Breaking API change from Option\u003cMcpHeaderRisk\u003e to Option\u003cString\u003e without backward compatibility or migration path for existing consumers",
"findings": [
{
"file": "crates/aep-core/src/evidence.rs",
"line": 59,
"issue": "Public field type changed from Option\u003cMcpHeaderRisk\u003e to Option\u003cString\u003e, breaking all existing code that reads or constructs this field - no migration path or compatibility layer provided",
"kind": "blocker"
}
],
"merge_risk": "medium",
"Model": "opus",
"model": "claude-cli",
"effort": "high",
"tokens": {
"input_tokens": 0,
"output_tokens": 0
},
"same_verdict_count": 1
} |
Contributor
Author
SummaryMissing definition of critical McpHeaderRisk::as_str() method called in production code Severityhigh Blocking findings
Verdict❌ Rejected Merge riskhigh Audit
{
"approved": false,
"severity": "high",
"summary": "Missing definition of critical McpHeaderRisk::as_str() method called in production code",
"findings": [
{
"file": "crates/proxy-wasm-evidence/src/recorder.rs",
"line": 150,
"issue": "Production code calls mcp_header_risk.map(|r| r.as_str().to_string()) but McpHeaderRisk::as_str() method definition is not visible in this diff. If this method does not exist or has wrong signature, build_evidence() will fail to compile, breaking all evidence creation.",
"kind": "blocker"
},
{
"file": "crates/aep-core/src/evidence.rs",
"line": 131,
"issue": "Test calls McpHeaderRisk::HighEntropyValue.as_str() but as_str() method is not defined in visible code. Test compilation will fail if method doesn't exist, masking the real build breakage.",
"kind": "blocker"
},
{
"file": "crates/aep-core/src/evidence.rs",
"line": 50,
"issue": "Type change from Option\u003cMcpHeaderRisk\u003e to Option\u003cString\u003e is a breaking API change. Any external code accessing ActionEvidence.mcp_header_risk expecting enum type will break. No evidence issue #177 description provided to justify this breakage.",
"kind": "blocker"
}
],
"merge_risk": "high",
"Model": "opus",
"model": "claude-cli",
"effort": "high",
"tokens": {
"input_tokens": 0,
"output_tokens": 0
},
"same_verdict_count": 2
} |
Contributor
Author
SummaryBreaking API change converts public enum field to String without migration path Severityhigh Blocking findings
Verdict❌ Rejected Merge riskhigh Audit
{
"approved": false,
"severity": "high",
"summary": "Breaking API change converts public enum field to String without migration path",
"findings": [
{
"file": "crates/aep-core/src/evidence.rs",
"line": 52,
"issue": "Public API break: changes ActionEvidence.mcp_header_risk from Option\u003cMcpHeaderRisk\u003e to Option\u003cString\u003e, breaking all downstream consumers that handle this enum directly",
"kind": "blocker"
},
{
"file": "crates/aep-core/src/evidence.rs",
"line": 65,
"issue": "Test uses McpHeaderRisk::as_str() method but this method definition is not shown in diff - may not exist or may not handle all enum variants",
"kind": "blocker"
},
{
"file": "crates/proxy-wasm-evidence/src/recorder.rs",
"line": 150,
"issue": "build_evidence converts enum to string via .map(|r| r.as_str().to_string()) but there's no validation that as_str() returns stable identifiers for all McpHeaderRisk variants",
"kind": "suggestion"
}
],
"merge_risk": "high",
"Model": "opus",
"model": "claude-cli",
"effort": "high",
"tokens": {
"input_tokens": 0,
"output_tokens": 0
},
"same_verdict_count": 3
} |
Contributor
Author
SummaryType change from enum to string is well-tested and maintains serialization compatibility Severitynone Blocking findingsNone. Verdict✅ Approved Merge risklow Audit
{
"approved": true,
"severity": "none",
"summary": "Type change from enum to string is well-tested and maintains serialization compatibility",
"findings": [],
"merge_risk": "low",
"Model": "opus",
"model": "claude-cli",
"effort": "high",
"tokens": {
"input_tokens": 0,
"output_tokens": 0
},
"same_verdict_count": 1
} |
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.
Fixes #174
Generated by claude-bot-go worker.