Repository navigation
refactor(personality): support split decision scenarios, read-only bio badge provider, and Core shared helpers - #25
Merged
Conversation
…o badge provider, and Core shared helpers refactor: migrate personality mod to Core APIs and remove duplicated helpers Replace mod-local implementations with shared Core APIs across the personality module: - Use RimMindAPI.Json for response parsing (thinking blocks, code fences, truncation repair) instead of direct Newtonsoft calls - Use RimMindAPI.Text.TrOr for translations instead of repeated CanTranslate/Translate fallback blocks - Delegate profile retention to RimMindPawnLookup.CollectRetainedColonyPawnIds and instance caching to WorldScopedComponentCache - Replace BioTab Harmony transpiler with IBioTabBadgeProvider registration - Use SettingsUIDrawer.DrawScrollableSettingsPage for the settings tab - Use TickStagger.PhaseOffset for daily jitter instead of System.Random - Add coalesce key and max queue wait to personality request envelope - Extend personality context policy to split decision/dialogue scenarios - Deprecate PawnResolver in favor of RimMindPawnLookup.FindPawnByNumber - Adjust default trigger chances and add contract tests for new behavior
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
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.
Adds AgentDecision/AdvisorDecision context scenario support, TickStagger, and clean label formatting; migrates bio tab badge onto read-only Core IBioTabBadgeProvider; adopts CollectRetainedColonyPawnIds, WorldScopedComponentCache, RimMindAPI.Json, and SettingsUIDrawer. Verified with 13/13 tests.