Skip to content

feat(memory): scenario registration, GameEventHub & TrOr migration, and CI test workflow - #24

Merged
mcocdaa merged 1 commit into
mainfrom
feat/building-block-architecture
Nov 7, 2026
Merged

mcocdaa merged 1 commit into
mainfrom
feat/building-block-architecture

Conversation

@mcocdaa

@mcocdaa mcocdaa commented Nov 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • feat(memory): scenario registration, GameEventHub & TrOr migration, and CI test workflow
  • Automated CI unit test workflow via RimWorld-RimMind-Mod/Workflows.

…nd CI test workflow

feat(memory): publish memory and game events for context invalidation

Add a typed MemoryChangedEvent on the Core bus and publish it whenever
pawn or narrator memories are added, merged or cleared, so the
memory_pawn and memory_narrator context keys invalidate immediately
instead of waiting for staleness. Register the event type before any
key references it, and register a Memory scenario descriptor with
relevance weights for the memory context keys.

Publish HediffAddedGameEvent and SkillLevelUpGameEvent from the trigger
patches, and route injury significance checks through
GameEventSignificancePolicy. Replace the hand-rolled injury cooldown
dictionary with KeyedCooldownGate and skip the cooldown for
life-threatening injuries.

Delegate translation lookups to RimMindText.TrOr, reuse JsonRepairer
for truncated JSON with a guarded fallback, and add a unit test
workflow plus test project references for the Core application and
text helpers.
@mcocdaa
mcocdaa merged commit 94d62bd into main Nov 7, 2026
1 check failed
@coderabbitai

coderabbitai Bot commented Nov 7, 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

@mcocdaa
mcocdaa deleted the feat/building-block-architecture branch November 7, 2026 03:38
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