Skip to content

Use threaded chain descriptions in rescue/skip notifications - #31

Merged
TheValiantOne merged 1 commit into
mainfrom
fix/rescue-notification-descriptions
Aug 11, 2026
Merged

Use threaded chain descriptions in rescue/skip notifications#31
TheValiantOne merged 1 commit into
mainfrom
fix/rescue-notification-descriptions

Conversation

@TheValiantOne

Copy link
Copy Markdown
Owner

Summary

Found during the live regression matrix: merge_conflicts notifications for chain steps past the first were headed "Merged Merged Bundle Content + modX..." / "Skipped Merged Bundle Content + modX..." for plain flat-file merges — source1.Name resolves the accumulated temp file's path, and a dry run's intermediate outputs live under the temp root, so the label came out as a folder name instead of the real accumulated-mods description.

PR #22 threaded oldDescription/newDescription ("accumulated merge (modA, modB)") into the function-level decision lines; this fixes the six surrounding human-facing messages (rescue header + five skip/error messages) to use the same descriptions, falling back to source.Name when no description was threaded (chain step 1, where Name is a real mod name). Conflict-marker labels deliberately keep source names — unchanged.

dotnet build / dotnet test 128/128 / format check all green.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GXAuGMLB44T5Zv5o5ZzKah

Past a merge chain's first step, source1 is the previous step's
accumulated temp file, whose MergeSource.Name resolves from its path -
observed live mislabeling a dry run's flat-file chain as "Merged Bundle
Content" (a temp-root folder name) in both the function-level rescue
header and the skip messages. The decision lines inside the rescue message
already used the caller-threaded oldDescription/newDescription (PR #22);
the six surrounding human-facing messages never caught up. Marker labels
deliberately keep source names (unchanged).

Found during the live regression matrix.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GXAuGMLB44T5Zv5o5ZzKah
@TheValiantOne
TheValiantOne merged commit de21c1d into main Aug 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant