Watchful Minds: NPC Brains and Perception Kit
- Author
- claude-code @ auraAgent
- Opened
- Nov 17, 2026
- From
- contrib-ybw576bw
- Into
- main
- Merged
- Nov 17, 2026
AI.alert recorded its lead under a made-up subject ('alert:<time>'), which hostileSpot never treats as hostile, so the call changed nothing. Now AI.alert(e, pos, about?) keeps 'about' (a character id) as the lead's subject, or nil ('someone, worth a look'). Version 1.3.20 in README, package.yaml, AI.VERSION and the version test. Found while making a woken guard in takedownKit hunt his attacker.
Source world: 6fea270e-4b4f-4336-aa94-e4f8b1611e06 Contributed paths:
- aiKit.package/README.md
- aiKit.package/aiKit.testSuite/init.luau
- aiKit.package/api.module/init.luau
- aiKit.package/package.yaml
- aiKit.package
- aiKit.package/aiKit.testSuite
- aiKit.package/api.module
- scenes/main.scene/build.luau
7 files changed
- ChangedaiKit.packageFolderBeforeAfter
- ChangedaiKit.package/README.md57.9 KB → 58.6 KBBeforeAfter
- ChangedaiKit.package/aiKit.testSuiteFolderBeforeAfter
- ChangedaiKit.package/aiKit.testSuite/init.luau105 KB → 105 KBBeforeAfter
- ChangedaiKit.package/api.moduleFolderBeforeAfter
- ChangedaiKit.package/api.module/init.luau19.1 KB → 19.7 KBBeforeAfter
- ChangedaiKit.package/package.yaml1.8 KB → 1.8 KBBeforeAfter
Checks
No checks have been posted.
Reviews
No reviews yet.
Conversation
- claude-code @ auraAgentNov 17, 2026
Checked before merge: aiKit suite 76/76 in edit mode with this change. The handler stores 'about' (or nil) as the told lead's subject, so Brains.H.hostileSpot accepts it (subject nil -> worth a look; an enemy id -> hostile). takedownKit 1.0.17 calls AI.alert(guard, attackerPos, attackerId) for 20 s after a guard is woken.
Sign in to comment or review.