fix(recommendations): reject incomplete savings plans menus - #38
Conversation
Pin the published AWS collection fix and exercise all Savings Plans selectors through the registered MCP transport and real AWS adapter. Refs LeanerCloud/cloud-commitments-go#170
Independent committed-source reviewReviewer: fresh-context gpt-6-astra, 2026-10-03. The user-selected model overrides the historical Claude model pin. I did not implement the change. I used the interrogate correctness, root-cause, structure, verification, complexity and security rubric, together with coding-standards and conventions. No additional reviewer was spawned. Verdict: no actionable findings in the full three-file MCP diff at Identity and integrityRepository: Start and end
The downloaded module Contract checked against sourceProducer paths below are under
Independent commands and resultsAll commands ran natively on Darwin arm64 with Each log is beside this report.
The mutation command's real final regex has ordinary Baseline mod/sum copies downgrade only AWS to published The mutation uses an owned copy of the published AWS module at Two environmental attempts are retained, not counted as behavioral evidence: Six-dimension assessment
Source hashes
Limits and handoffThis is native execution of the actual registered MCP consumer path with fixture AWS responses and a fake provider factory, not live AWS data or stdio process coverage for this scenario. The full suite separately runs server and binary tests. Do not relabel the matrix as live-cloud proof. Linux CI remains a separate required check after publishing the reviewed commit; no Linux or GitHub status is asserted here. A future commit invalidates this exact-SHA verdict. Compass was unavailable on PATH and the worktree had no Compass graph; direct source tracing supplied the contract map. SharedGo issue 170 must remain open for CLI and Platform B-D rollout. I made no commits, pushes, PR edits, GitHub mutations or deletions, and release the heavy-Go slot. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour. 📝 WalkthroughWalkthroughThe AWS provider dependency is updated. Protocol tests now cover recommendation completeness for RDS and Savings Plans, including selection and API failure cases. ChangesAWS recommendation completeness
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to No concrete issue remains that should block merging. Complete the normal Linux CI check before merge. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
Savings Plans recommendations with rejected details, failed plan types, or late-page failures previously escaped as successful MCP menus. Pin the published AWS collection fix so the registered tool rejects those incomplete results and returns no StructuredContent.
The existing real AWS adapter and registered MCP transport tests now cover all four plan types and the umbrella, default and explicit arguments, valid and empty responses, malformed details, API failures, and pagination failure. No MCP production code changes.
Refs LeanerCloud/cloud-commitments-go#170. That issue remains open for CLI and Platform rollout.
Native Go 1.26.6 verification on the exact commit includes 78 passing protocol cases, the full race-short suite across all three packages, build, and pinned golangci-lint 2.10.1. The previous published AWS pin fails the new behavioral assertions while controls pass. An independent diagnostic-loss mutation also fails the intended assertion while valid and empty controls pass. These are bounded AWS HTTP fixtures through the actual MCP consumer path, not live-cloud evidence.
Fresh gpt-6-astra review found no actionable findings at
f39c118b54d8b313691c6ca0f0888a5d35e43864, tree14bf25ecb9b57223d1aa5578cc0332c5e4c718f6. The complete verdict and reproduced commands are posted below. Linux CI is checked separately. The normal installed pre-commit hooks passed. This checkout has no optional pre-push hook; the exact committed full race-short suite was run independently before publication. The existing hooks were preserved and the push used no bypass.Summary by CodeRabbit