feat: derive capable opportunity helpers

This commit is contained in:
Rijad Zuzo
2026-07-16 10:41:05 +02:00
parent 79dd503343
commit eaa15c076c
17 changed files with 648 additions and 40 deletions
+19 -3
View File
@@ -99,6 +99,19 @@ opening; invalidation emits no event and stores the close tick and stable
reason. Resolution or invalidation returns the trigger to normal bounded
retention.
For an open need, the same system can derive one capable helper without
assigning work. A candidate must know the exact trigger and have a familiar
directed relationship with at least 0.6 trust toward the interested villager.
Enough carried inventory produces the matching deposit route; otherwise a
matching enabled, NPC-usable, sufficiently stocked and available finite
ResourceNode state produces the gather route. Ranking is deterministic and
prefers ready inventory, trust, profession fit, familiarity, then stable NPC
ID. The returned opportunity/trigger/helper/action/resource, inventory source
or available finite-source count, and reason are an ephemeral query result. It
does not select an exact gather target; that remains with `ActiveWorldAdapter`
and `ActionTargetResolver`. No event, reservation, RNG draw, task mutation, or
serialized assignment is created.
The food-loop regression verifies this chain:
```text
@@ -123,7 +136,9 @@ The village summary also shows one compact active need with its real target
progress and interested villager; only that villager's inspector retains its
open/closed detail and names the exact supplier for a resolution. The empty-bowl
world cue remains specific to the pantry shortage rather than representing a
wood need as hunger.
wood need as hunger. The active summary additionally names the currently
derived helper, supply action, trust fact, and inventory or finite-source route,
or states that no informed trusted villager is currently able to supply it.
## Deliberate limits
@@ -136,5 +151,6 @@ hearing, personalized reinforcement/decay, multi-hop rumours, secrecy, false
beliefs, and multi-event causal graphs belong in later event/history slices.
They should extend this record family without making prose authoritative or
recomputing old evidence from current positions.
The current opportunity family is likewise a bounded two-consumer projection,
not a generic quest, reward, acceptance, dialogue, or capable-helper framework.
The current opportunity family is likewise a bounded two-consumer projection
with one read-only helper query, not a generic quest, reward, acceptance,
dialogue, helper assignment, or capable-helper framework.