feat: let opportunity helpers act autonomously

This commit is contained in:
Rijad Zuzo
2026-07-16 10:58:48 +02:00
parent eaa15c076c
commit 0332c57a89
14 changed files with 253 additions and 30 deletions
+18 -6
View File
@@ -619,8 +619,10 @@ These are expected prototype constraints, not necessarily isolated bugs:
`supply_missing_wood` need from exact known evidence. Both have exact NPC and
player supply resolutions; the wood need also closes deterministically on
interested-party death or one-day staleness. One read-only query derives and
explains a capable helper, but there is still no helper assignment,
acceptance, rewards, free-form dialogue, or quest log.
explains a capable helper, and the matching idle NPC can consume it through
ordinary action selection after urgent self-care and schedule precedence.
There is still no helper assignment, acceptance, rewards, free-form dialogue,
or quest log.
- The reason inspector exposes current decisions, utility rejections, one exact
relationship cause, and a compact person-history view that distinguishes
importance-ranked retained memories from objective personal actions.
@@ -911,10 +913,20 @@ produce one deterministic result. The village summary explains that result;
save/load re-derives it, and querying changes no task, reservation, RNG stream,
resource, event, or checksum.
Milestone 7 remains in progress. The immediate next slice is one bounded
autonomous consumer: allow the currently derived helper to choose its reported
ordinary supply action after urgent self-care and schedule rules, without
persisted assignment, quest acceptance, or reward state.
The first autonomous helper consumer is complete. At each idle decision
boundary the manager re-derives capability, and only the matching helper may
select the reported ordinary gather/deposit action. Urgent self-care and
sleep/meal behavior still win; accepted supply work uses the existing target
resolver, finite-node reservation, travel, inventory, and transaction paths.
The ordinary in-progress NPC task can save normally, but no helper assignment,
quest acceptance, reward, or opportunity-specific event is persisted; ordinary
task-start history remains unchanged.
Milestone 7 remains in progress. The immediate next slice should prove the
combined information-to-help path: communicate an open need's exact trigger
once at a real shared activity, then re-derive the newly informed trusted NPC as
the autonomous helper. Keep the transfer direct and source-backed rather than
introducing generic dialogue or multi-hop rumours.
The remaining simulation-garden target still aims for: