# recipes/store

A document that outlives the process that wrote it, and a name two openers cannot both take.

The two things [`docs/architecture.md`](https://github.com/torrinworx/aweft/blob/9a5bb24770dc7555257f8a307d79917efc58df70/docs/architecture.md) says this proof has to demonstrate: write, kill the process, reopen, verify; and find-or-create under concurrent open. The kill is a real SIGKILL of a real child, not a close and reopen, because a clean shutdown is exactly the case a store gets right by accident.

```sh
node recipes/store/main.ts
```

## Files

- [`driver-file.ts`](/docs/recipes/store/files/driver-file.ts)
- [`main.ts`](/docs/recipes/store/files/main.ts)
