Commit Graph

19 Commits

Author SHA1 Message Date
Alexander Whitestone
a5ab75eaa5 Add combat system: NPCs, fights, loot, respawns
NPC class + CombatManager + CombatEncounter
3 NPCs: Shadow Wraith (Bridge), Iron Golem (Forge), Garden Serpent (Garden)
6 endpoints: combat/start, attack, defend, flee, status, npcs
Health bars visible to room, loot drops on death
2026-04-12 21:15:12 -04:00
Alexander Whitestone
c210b06a35 Add quest system + inventory system
QuestManager: create, assign, complete objectives, auto-finish
3 starter quests: Green LED's Light, Garden Guardian, Forge Keeper
InventoryManager: take/drop items, per-user inventory, room items
Default items seeded in each room
2026-04-12 21:09:41 -04:00
Alexander Whitestone
f7e21464e5 Add plugin system + world tick
Plugin base class + registry + directory loader
WorldTickSystem: 60s tick, weather, time of day, room state evolution
Forge fire decay, Garden growth, Bridge rain
2026-04-12 21:04:39 -04:00
Alexander Whitestone
960c2248be Add session persistence: auto-save, load on startup, graceful shutdown 2026-04-12 20:58:10 -04:00
Alexander Whitestone
00ebe92bd3 Add MUD command parser + notification system
POST /bridge/command — look, go, examine, say, ask
NotificationManager — auto-notify on join/leave/crisis
GET /bridge/notifications/<user_id>
2026-04-12 20:55:21 -04:00
Alexander Whitestone
e030dda019 ThreadingHTTPServer + conversation summaries
Fixes single-threaded bottleneck (Experiment 4)
Adds GET /bridge/session/<user_id>/summary
Auto-saves conversation summaries on session expiry
2026-04-12 20:51:03 -04:00
Alexander Whitestone
e10811d306 Add latency tracking + enhanced room descriptions
GET /bridge/latency — average, min, max response times
System prompt now includes full room descriptions, objects, whiteboard, weather
2026-04-12 20:44:43 -04:00
Alexander Whitestone
3cbd1462ec Add nightly research report (2026-04-12) 2026-04-12 20:41:28 -04:00
Alexander Whitestone
8b234ca244 Add world state API + 29 tests 2026-04-12 20:36:26 -04:00
Alexander Whitestone
69832540f9 Add bridge test suite (29 tests, 5 categories)
Tests cover:
1. Session isolation - 2 users, no cross-contamination
2. Crisis detection - protocol, low/moderate/high risk messages
3. Room awareness - per-user room tracking, presence across rooms
4. Session timeout - stale sessions cleaned up
5. Max sessions limit - oldest eviction at capacity
6. HTTP API integration - health, say, room, sessions endpoints
2026-04-12 20:33:34 -04:00
Alexander Whitestone
8c3ecc02c8 Add web frontend + README
web/index.html: Browser chat interface (48 lines, dark theme)
README.md: Architecture, API reference, quick start, crisis protocol
2026-04-12 20:31:19 -04:00
Alexander Whitestone
3d988124b9 Add comprehensive README with API reference, architecture diagram, quick start, and crisis protocol 2026-04-12 20:29:30 -04:00
Alexander Whitestone
f83481fff0 Add social presence: room players, events, say command 2026-04-12 20:24:52 -04:00
Alexander Whitestone
1aa5623836 Add CRISIS_PROTOCOL to bridge — 988 in first response 2026-04-12 20:18:11 -04:00
Alexander Whitestone
f3f819db26 Add 988 crisis protocol + Experiment 4 load test results
CRISIS_PROTOCOL constant added to bridge
System prompt now includes full crisis response steps
Experiment 4: 10 concurrent users, 40% completion, concurrency bottleneck identified
2026-04-12 20:16:43 -04:00
Alexander Whitestone
c121f5d0fc Add BibTeX references (10 citations) 2026-04-12 19:59:19 -04:00
Alexander Whitestone
b639283834 Add BibTeX references and Experiment 2 results
references.bib: 10 citations (generative agents, Evennia, crisis tech, etc.)
experiment2_results.md: Shared world awareness — 100% pass (10/10)
experiment3_results.md: Crisis detection — correct triggering
2026-04-12 19:58:26 -04:00
Alexander Whitestone
7f0cca9f5f Add paper draft and experiment results
Paper: 'Sovereign in the Room'
Exp 1: Session isolation — 0% cross-contamination
Exp 3: Crisis detection — correct triggering
2026-04-12 19:14:32 -04:00
Alexander Whitestone
fe86cda0ef Multi-user AI bridge + Evennia commands 2026-04-12 19:04:40 -04:00