Skip to content

fix(advisor): enforce active colonist lifecycle guards and risk-aware recommendation execution - #24

Merged
mcocdaa merged 2 commits into
mainfrom
feat/rc2-prep-sync
Nov 16, 2026
Merged

mcocdaa merged 2 commits into
mainfrom
feat/rc2-prep-sync

Conversation

@mcocdaa

@mcocdaa mcocdaa commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Sync verified pre-rc.2 workspace changes to main (v2.0.0-rc.2 tag deferred until remaining changes complete).

mcocdaa and others added 2 commits November 7, 2026 09:03
…de About.xml

feat(settings): add per-colonist AI advisor toggle

Add a "Per-Colonist AI Advisor Control" section to the mod settings
window that lists spawned colonists with a checkbox each, letting the
player opt individual pawns out of automatic action assignment. The
section only renders during active gameplay and the scroll view height
accounts for the dynamic colonist list.

Also expand the About.xml description into a full mod overview with
sub-mod dependency table, and exclude dev config files from the
release archive.
… recommendation execution

feat(advisor): harden recommendation parsing and enrich colony perception

- Parse legacy recommendations from single objects, arrays, and to= commentary
  in addition to the advices wrapper, accepting name/tool/function aliases and
  nested parameters/arguments
- Strip fenced code blocks and extract JSON arrays in ExtractJsonObject
- Pass caller PawnId through tool call execution and map work priority
  domain to medium risk
- Suppress no-actionable-response warning for feedback cycles
- Guard CompAIAdvisor against non-Pawn parents
- Skip corpse ThingDefs when injecting advisor comp
- Report active colonist roster and growing zone cells, add no-agriculture
  bottleneck, and count only unforbidden edible food and resources
@mcocdaa
mcocdaa merged commit 062fea3 into main Nov 16, 2026
1 check passed
@coderabbitai

coderabbitai Bot commented Nov 16, 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/rc2-prep-sync branch November 16, 2026 06:20
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