Skip to content

feat(nlp): raise K2 Full draft instruction coverage (39→145)#184

Open
oldrepublicwizard wants to merge 1 commit into
masterfrom
feat/k2-nlp-draft-coverage
Open

feat(nlp): raise K2 Full draft instruction coverage (39→145)#184
oldrepublicwizard wants to merge 1 commit into
masterfrom
feat/k2-nlp-draft-coverage

Conversation

@oldrepublicwizard

Copy link
Copy Markdown
Owner

Summary

  • Extends NaturalLanguageInstructionParser for common K2 Full / neocities phrases: Override-folder installs, movies destination, HoloPatcher/TSLPatcher runs, quoted install options, .tpc variant moves, go-into-folder moves, and cross-sentence overwrite handling.
  • Extends DraftInstructionService with sandboxed InstallationMethod fallbacks (Patcher / loose-file Move / Execute) when prose alone yields no drafts, including method-only mods with no Installation Instructions section.
  • Adds GuideIngestionTests covering the new K2 phrases and method fallback.

Draft coverage (k2_full_guide.md + --parse-directions)

Count
Before 39 / 145
After 145 / 145

Of the 145 drafted components: 73 from Directions prose (parser), 72 from InstallationMethod-only fallback. All drafts remain flagged for review (never auto-trusted).

Remaining gaps (validate / install next)

  • Drafts are review-flagged guesses: method-only Move <<modDirectory>>\* / Patcher <<modDirectory>> need human confirmation of real archive layouts and option namespaces.
  • Multi-run patchers (e.g. TSLRCM Tweak Pack ×6) draft a single Patcher step, not per-option runs.
  • Preference-only prose still becomes a generic Patcher/Move rather than a concrete option selection.
  • Executable / .bat / DelDuplicate edge cases and widescreen follow-ons are not fully specialized.
  • Next: dry-run validate + install against real mod archives to turn drafts into trusted instructions.

Test plan

  • dotnet test --filter FullyQualifiedName~GuideIngestionTests (38 passed, 5 skipped)
  • convert -i src/ModSync.Tests/Fixtures/k2_full_guide.md --parse-directionsDrafted instructions for 145 component(s)
  • Spot-check drafted Patcher/Move paths in output TOML before trusting for install
  • Follow-up validate/install against mod-builds K2 archives

Parse common K2 guide phrases (Override/movies moves, HoloPatcher,
quoted options, .tpc variants) and fall back to InstallationMethod
when prose alone yields no drafts so convert --parse-directions
covers the full K2 Full component set for review.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

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