# `Tay.Storage.Writer`
[🔗](https://github.com/AndriiSydorenko1904/tay/blob/v1.6.1/lib/tay/storage/writer.ex#L1)

Internal physical storage session with a supervised native Port.

The GenServer serializes storage operations and supervises its linked helper.
The helper alone holds flock and writable FDs. A failed or uncertain mutation
poisons this instance; no automatic restart/retry is permitted. An embedding
supervisor may start this temporary child explicitly. Physical readiness is
not Event validation, job insertion, or semantic recovery readiness.

Strict group commits are private Engine-owned sessions: appends update the
physical stream in order, one final sync/check closes the group, and the
Engine alone withholds all external acknowledgements until that succeeds.

# `activate_recovered`

Activates once, in the same live ownership session; returns state input only after success.

# `append`

Appends opaque physical bytes supplied by an upstream semantic validator.

# `append`

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `compact`

Runs the exclusive, drained-generation Store-v2 publisher in this native owner.

# `initialize`

Initialize only using the approved bootstrap/genesis protocol; never open existing history.

# `reduce`

# `rotate`

# `rotate`

# `seal`

# `seal`

# `segment_record`

# `start_link`

# `start_recovered_link`

Replays an existing store, retaining its owner/Port/lock and private candidate.

# `status`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
