You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug #30: diagnose_workbook always assigned active_workbook and
workbook_path from Excel's currently-active book, regardless of
which workbook the caller asked to diagnose. So calling
diagnose_workbook("foo.xlsx") while bar.xlsx was active in Excel
reported active_workbook="bar.xlsx" and workbook_path=<bar's path>
alongside foo's input/output counts.
Worse, the .vmrs lookup used workbook_path (bar's) so it would
silently find bar's sibling vmrs instead of foo's.
Fix: when an explicit workbook_name is supplied, look up that
book's path from list_workbooks and report it. active_workbook
still reflects Excel's active book (informational), workbook_path
now consistently describes the diagnosed workbook.
404 tests pass. Verified live via the round-2 test pass on the
real workbooks.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,16 @@ All notable changes to ModelRisk MCP. Follows [Keep a Changelog](https://keepach
4
4
5
5
## [Unreleased]
6
6
7
+
## [0.3.0-alpha.28] — 2026-05-22
8
+
9
+
### Fixed
10
+
11
+
-**Bug #30 — `diagnose_workbook` mixed data sources when called with an explicit `workbook_name`.** Prior versions always assigned `active_workbook = <Excel-active book's name>` and `workbook_path = <active book's path>`, regardless of which workbook the caller asked to diagnose. Result: calling `diagnose_workbook("foo.xlsx")` while `bar.xlsx` was active in Excel reported `active_workbook="bar.xlsx"` and `workbook_path=<bar's path>` alongside foo's input/output counts — misleading. Worse, the downstream `.vmrs` lookup used `workbook_path` (bar's) and would silently find bar's sibling vmrs instead of foo's. Fix: when an explicit `workbook_name` is supplied, look up that book's path from `list_workbooks` and report it in `workbook_path`. The `active_workbook` field still reflects Excel's active book (useful informationally), but `workbook_path` now consistently describes the workbook being diagnosed.
12
+
13
+
### Tests
14
+
15
+
404 unit tests pass. Live verification via the round-2 test pass.
0 commit comments