Skip to content

fix(personality): fix ActionSkipCheck P0, daily interval/locking, UTF-8 encoding, and tooltip compliance - #26

Merged
mcocdaa merged 1 commit into
mainfrom
refactor/phase2-cleanup
Nov 23, 2026
Merged

mcocdaa merged 1 commit into
mainfrom
refactor/phase2-cleanup

Conversation

@mcocdaa

@mcocdaa mcocdaa commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

Phase 2 full-codebase cleanup & Water-Dispenser refactor verified locally across 1.6 & 1.7 builds and full test suite.

…-8 encoding, and tooltip compliance

refactor: harden personality lifecycle, thread safety, and dual-version deploy

- Make PersonalityProfile thread-safe with a lock and snapshot accessors
  (GetShapingHistorySnapshot/RemoveShapingRecord/GetAgentIdentitySnapshot/
  SetAgentIdentity); update providers, debug actions, autotest, and mapper
  to use snapshots instead of mutating shared collections directly.
- Add request-generation guard in CompAIPersonality to drop stale async
  callbacks; extract ShouldTriggerDailyEvaluation into PersonalityTriggerPolicy
  and remove the 60k-tick early-fire bypass.
- Register PersonalityOutput schema via RimMindAPI.Context and fall back to a
  local schema; gate all context/identity providers on enablePersonality.
- Unify owner IDs on RimMindOwnerConsts.PersonalityModId, make
  PersonalityActionSkipCheck non-vetoing, and persist toggle changes.
- Gate event patches on enablePersonality; replace direct Translate calls with
  TrOr fallbacks and null-safe pawn labels across patches, UI, and settings.
- Rewrite deploy-single.ps1 for multi-version (1.6/1.7) builds with robocopy
  and runtime DLL exclusions; remove deploy-single.sh and stale skill doc.
- Update docs, About.xml, and localization to reflect LLM profiles over
  Big-Five framing; refresh contract tests for new invariants.
@mcocdaa
mcocdaa merged commit d8b6019 into main Nov 23, 2026
@mcocdaa
mcocdaa deleted the refactor/phase2-cleanup branch November 23, 2026 06:11
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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