Prioritize survival readiness over bot work and model goals
Core tests / core (push) Successful in 36s

This commit is contained in:
Codex
2026-09-24 04:05:48 +12:00
parent 1552e4c165
commit 0731774457
6 changed files with 135 additions and 16 deletions
+22
View File
@@ -33,3 +33,25 @@ The auth table `azerothai_survival_audit` records request acceptance and observe
Stall recovery keeps its ten-minute idle clock across casts. Real movement, level/health changes, successful loot or quest completion reset the clock. It can interrupt a noncombat cast only after that threshold; combat, taxi, human control, movement restrictions, fresh intentions and the persistent thirty-minute recovery cooldown remain enforced. Run `deploy/pc-lab/limit-model-memory.ps1 -Restart` on the Windows model host to cap prompt cache at 512 MiB and checkpoints at four. This trades cache reuse for host memory without changing model or context size.
Recovery briefly disables existing gather/loot strategies for two minutes after releasing loot, so an invalid gathering target cannot immediately cancel the walking request. A durable lease restores only previously enabled strategies, including after a Lua reload. An operator may make one follow-up attempt within the cooldown only when the sole recent attempt has a verified no-progress result; automatic attempts retain their thirty-minute cooldown.
## Survival-first readiness (2026-09-23)
The two-second native guard now pauses questing, grinding, gathering and looting
when recovery or immediate danger takes priority. Recovery starts below 85% health
or 35% mana and finishes at 95% health and 65% mana. A dangerous encounter also
requires a 15-second recovery pause. Native eating, drinking and defensive combat
remain available. Only originally enabled strategy flags are restored, with
persistent 90-second leases so a Lua reload cannot permanently strand a pause.
Retreat starts below 55% health without nearby support (50% with support), against
an enemy two or more levels higher or an elite, when attackers outnumber nearby
healthy companions plus the bot below 80% health, or after losing 20 percentage
points of health in one sample below 80%. Support must be within 35 yards, in the
same map and phase, and have at least 70% health. Existing human-party protections
continue to apply. These are retreat requests, not guaranteed escapes.
Fresh observed injury also overrides high-level brain goals with permitted rest,
before any model call. Model instructions explicitly prioritize survival over
quests, loot and social goals. Stuck recovery yields to the native survival hold.
Mortality improvement must be measured over subsequent real playtime; these rules
do not make bots invulnerable or resurrect dead characters.