vault-link/frontend/test-client/corpus/uncertain-edits.json
2026-09-27 13:58:54 +01:00

73 lines
2.1 KiB
JSON

{
"version": 2,
"seed": 0,
"iterations": 3,
"clients": 3,
"steps": [],
"program": {
"clients": 3,
"cacheBytes": 1024,
"initial": [
{
"type": "create",
"key": "note",
"path": "note.md",
"content": "BASE\n"
}
],
"epochs": [
{
"writer": 0,
"actions": [
{
"type": "write",
"key": "note",
"content": "BASE\nEDIT\n"
}
],
"hold": { "kind": "content", "point": "before" },
"drop": { "kind": "content", "point": "after" },
"tail": [
{ "type": "rename", "key": "note", "path": "renamed.md" },
{
"type": "write",
"key": "note",
"content": "BASE\nEDIT\nLATER\n"
}
]
},
{
"writer": 1,
"actions": [
{ "type": "delete", "key": "note" },
{
"type": "create",
"key": "replacement",
"path": "renamed.md",
"content": "NEW GENERATION\n"
}
]
},
{
"writer": 2,
"actions": [
{
"type": "create",
"key": "crash",
"path": "crash.md",
"content": "ACCEPTED\n"
}
],
"crash": { "stopAt": "create" },
"serverCrash": true,
"tail": [
{
"type": "write",
"key": "crash",
"content": "ACCEPTED\nEDIT AFTER KILL\n"
}
]
}
]
}
}