commit fe25ac8c08d7f427f554f2fa3f597de036c9f973
parent c946704cdce1dabf7a7128849b683848bb868612
Author: anon <anon@example.com>
Date: Fri, 23 Oct 2026 04:28:36 +0000
Document simulation checkpoint and durable action policy
Diffstat:
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/AGENTS.md b/AGENTS.md
@@ -17,3 +17,14 @@ The local test database is disposable: stop the server, delete it, and start
from scratch whenever useful, without asking for permission. This does not
change the target of reproducing the original 14.9.1 game's behavior and client
protocol.
+
+# Persistence cadence
+
+Keep frequently changing, low-significance simulation state, such as player
+and NPC positions, in memory between periodic database checkpoints. Do not
+persist it on every simulation tick or movement packet; avoid unnecessary
+database churn.
+
+Persist significant changes, such as equipping items, inventory transfers,
+ammunition consumption and rewards, immediately. Commit related changes
+atomically before reporting success to clients.