English | 简体中文
Transform AI thoughts into meaningful colonist advice with 5-domain autonomy policies, player approval, and real-time execution feedback.
RimMind-Advisor empowers colonists to formulate insightful suggestions based on their current psychological thoughts, environmental stresses, and colony-wide macro alerts. Instead of blindly overriding player commands, colonists evaluate domain-specific autonomy policies and either execute low-risk actions directly or present structured advice proposals with clear rationale.
- 5-Domain Autonomy Policy &
AdvisorToolRiskResolver: Manifest- and classifier-driven (IToolPolicyClassifier) evaluation across 5 autonomy domains (EmergencySurvival,ResourceMarking,WorktableBills,BlueprintPlacement,HighRiskOperations) withDisabled,RequireApproval, andFullAutonomousmodes. - Player Approval Flow &
ApprovalManager: Advice surfaces via a non-intrusive floating HUD card displaying colonist reasoning, urgency, and proposed actions with [Approve] and [Reject] buttons, plus automatic active-cycle and pending-request cleanup (CancelActiveCycle/CancelPendingForPawn) when a pawn despawns or dies. ColonyMacroPerceiver&ApprovalSubmissionPipelineCabinet Proposals: Detects colony-wide food, temperature, shelter, corpse, resource, and threat bottlenecks and bundles multi-tool approval-gated plans into a singleCabinetProposalcard.- Dedicated
ScenarioIds.AdvisorDecision& 3-Round Feedback Loop: Isolates Advisor context from Core'sAgentDecisionscenario, attaches compact scoped tools, collapses idle HUD cards into a mini status pill, and tracks outcomes across up to 3 feedback rounds.
In-game advice approval card ([+] 1.2x ZOOM): Triggered by colonist frustration over nutrient paste ("Bella's Hunger Strike"), the floating multi-line proposal card presents zero-truncation [Approve] and [Reject] controls alongside the active colony lodge and [RimMind-Dialogue] HUD.
flowchart TD
Pawn["Colonist State & ColonyMacroPerceiver"] --> Thought["Pawn Thoughts & Macro Alerts"]
Thought --> Advisor["RimMind-Advisor (AdvisorCycleCoordinator)"]
Advisor --> Policy{"AdvisorToolRiskResolver (5 Autonomy Domains)"}
Policy -- FullAutonomous --> Execute["Dispatch via Core ToolCall"]
Policy -- RequireApproval --> Overlay["ApprovalManager / CabinetProposal (UI)"]
Overlay --> Decision{"Player Decision"}
Decision -- Approve --> Execute
Decision -- Reject --> Cooldown["Record Feedback & Enter Cooldown"]
Execute --> Feedback["Aggregated Feedback & 3-Round Evaluation"]
1. Harmony
2. Core (Vanilla RimWorld)
3. RimMind-Core
4. RimMind-Advisor
Run unit tests directly:
dotnet test RimMind-Advisor/Tests/RimMindAdvisor.Tests.csproj -c ReleaseLicensed under the MIT License.