persistence-forensics
БесплатноБез исполняемых скриптовНе проверенInvestigate Arma Reforger / Overthrow save-file problems — decode a save point, read the load log, and choose an experiment that can actually settle the…
от ArmaOverthrow★ 95 звёзд на GitHubОб этом скилле
Persistence Forensics
For any report of the shape "my stuff disappeared after a restart", "the campaign reset", "the save is huge", or "it didn't come back".
The governing rule: read the save file. Four persistence bugs in a row (BUG-086, BUG-104, BUG-116, BUG-118) were each argued about for hours from logs and source, and each was settled in minutes by decoding the blob. Logs tell you what the engine said; the blob tells you what is there. When the two disagree, the blob wins.
1. Get the artifacts
| artifact | where | what it settles |
|---|---|---|
console.log from the session that wrote the save |
server profile logs/<date>/ |
what was saved, when, into which save point |
console.log from the session that loaded it |
the next boot | what failed to come back |
| the save point directory | <profile>/.save/[app<id>_user<id>/]game/<mission>/playthrough<NNN>/savepoint<NNN>/ |
ground truth |
Ask for the whole save point directory — meta-info.json and WorldState/*.blob. The blob
alone loses the save type and timestamp, which is often the answer.
If a server owner is slow or unavailable, do not wait. tools/launch-server.sh reproduces a
full save→restart→load cycle locally in ~90 seconds; see §5.
2. Decode it
tools/decode-savepoint.py — the format, its pitfalls and the false-positive rules are documented
in that file's header. Accepts a .blob, a savepoint<NNN> dir, or a whole playthrough<NNN>.
tools/decode-savepoint.py summary <savepoint> # size, records, per-collection counts
tools/decode-savepoint.py diff <old> <new> # what a restart / a session changed
tools/decode-savepoint.py find <savepoint> <uuid> # where an id lives, and how many times
tools/decode-savepoint.py prefab <savepoint> <GUID> # how many of a given item are in there
tools/decode-savepoint.py ids <savepoint> --since ... # every record with its mint time
Facts worth knowing before you interpret the output:
- A save point is a FULL snapshot, not a delta. Verified across three campaigns; two
consecutive save points held 946 and 944 records.
SaveGameManager.Load()takes exactly one save point, and there is no other on-disk store. So if a record is not in the loaded save point, it was not loaded — full stop. Itemhaving no section is normal. Vanilla'sItem.confleavesStorageRootfalse andParentHandlingat ACCEPT, so an item in a container is written as a nested child of its parent's record, never as a root record. An absentItemsection is not missing data.- Ids carry their creation time (UUID v8, 48-bit ms prefix).
idsprints it. This is how you tell "created during the session that broke" from "inherited from a week ago" — decisive in BUG-116, where the colliding ids turned out to predate the session entirely. - An id appearing twice is usually fine. Cross-collection pairs are references — AIGroup→Character, System→Vehicle. Only two occurrences in the same collection is a genuine duplicate record.
3. Read the load log
Grep the loading session for these. They are native DEFAULT (E) messages with no mod context, so
nothing points at them and they scroll past unnoticed — on the reporting server they had been
firing every restart for at least three sessions.
| line | meaning |
|---|---|
Attempted to deserialize meta data for an already existing id |
two records claim one id; the later one loses and its entity is destroyed. Measured cause: a RequestSpawn for a record whose instance is already live. |
Unable to locate configuruation '' (sic) |
a record was written with a SCRIPTED config — see OVT_PersistenceTracking.MarkForSelfSpawn's do-not-use header. Poisons the save. |
Attempted to deserialize meta data without configuration |
same cause as above |
[PERSISTENCE] Save (AUTO|SHUTDOWN) started / Save completed successfully |
which saves ran, and whether Overthrow's or the engine's |
Save data transaction to '…/savepoint<NNN>' |
which save point was written — Overthrow's autosave OVERWRITES the newest AUTO save, the engine's creates a new one, so the two interleave |
Scripts/Game/Modded/SCR_PersistenceSystem.c adds Overthrow-side instrumentation on top: it hooks
HandleDelete (the scripted event raised for every entity the system destroys, including
deserialize failures) and prints a per-load summary naming the container each lost item was being
restored into. Silent when nothing is wrong.
4. Know the traps
These have each cost a full investigation at least once.
SelfSpawn 0means "don't bring it back", NOT "don't save it". The record is still written. Nothing instantiates it on load, soSelfDelete— which needs a tracked instance to be destroyed — can never fire, and the record is immortal. This was BUG-118: ~490 permanently orphaned records per restart. If Overthrow rebuilds a thing from
Установить persistence-forensics в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл persistence-forensics?
Investigate Arma Reforger / Overthrow save-file problems — decode a save point, read the load log, and choose an experiment that can actually settle the question
Как установить скилл persistence-forensics?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл persistence-forensics запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub