feat: prompt FOMOD configuration after archive downloads#169
Merged
Conversation
added 7 commits
June 13, 2026 02:54
Detect fomod/ModuleConfig.xml in downloaded archives, offer an optional post-download wizard, remember dismiss/configure state, and flag FOMOD archives during file-tree enumeration.
Look up HandlerMetadata from the ResourceRegistry row that contains the archive file so multi-download mods track dismiss/configure independently.
Move FOMOD presenter and post-download flow into Core with host-based GUI/CLI wiring. Add --fomod-skip, --fomod-choices, and a TTY console wizard so install/convert/merge can configure archives headlessly via MODSYNC_FOMOD_CHOICES or interactively when attached to a terminal.
Wire fomodPostDownloadMode into AppSettings and the Download Settings picker so headless CLI behavior matches settings.json. Document the flow in download-system.md and refresh the parity living plan.
Clears CS0105 in FomodInstallerDialog; prior Windows CI failure was an MSBuild worker crash (MSB4166), not a compile error.
Covers the Plan 123 verification filter for FomodCliPostDownload using a local FOMOD archive and merge without network download.
Persist prompt status updates after TOML object-dictionary round-trip, preserve fomodPostDownloadMode across FromCurrentState saves, honor settings warn-continue on TTY, record warned state for headless runs, and pass real archive names into the console wizard.
4 tasks
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
ModSync.Corewith a sharedFomodPostDownloadOrchestratorand host-based wiring (FomodGuiPostDownloadHost, CLI hosts).--fomod-skip,--fomod-choices,--interactive/--non-interactive, TTY console wizard, andMODSYNC_FOMOD_CHOICESfor headless configuration oninstall -d,convert -d, andmerge -d.fomodPostDownloadMode(warn-continue/skip) under Download Settings for headless CLI behavior.Test plan
dotnet build ModSync.sln --configuration Debugdotnet test --filter "FullyQualifiedName~Fomod"(53/53)FomodCliPostDownloadIntegrationTests—merge -d --fomod-skipwith local FOMOD zipinstall -dwith a FOMOD fixture archive in interactive mode--fomod-choicesorMODSYNC_FOMOD_CHOICESapplies selections without promptsDocs
docs/plans/2026-06-14-123-feat-fomod-cli-download-prompts-plan.mdfomod-support.md,core-cli-reference.md,download-system.md, agent parity auditFollow-ups (not blocking)
fomodPromptStatusthrough merge/convert output when ResourceRegistry is sparse