Document status:active A file operation, as metadata only (LW-04/LW-11): operation, path (and rename destination), size deltas.
A file operation, as metadata only (LW-04/LW-11): operation, path
(and rename destination), size deltas. There is deliberately no
``contents`` field — file contents are never observable work, and
``contents`` is a :data:`FORBIDDEN_WORK_KEYS` member enforced at the
envelope level as defense in depth.
``operation`` names what happened (read/edit/create/delete/rename);
``destination_path`` carries the rename's destination and is valid only
for ``operation='rename'``. ``path``/``destination_path`` are
repository-relative and may contain spaces and Unicode — validated by
:func:`_validate_repository_relative_path`, not the ``_REF`` grammar.
A shared building block of the event model.
Generated from src/spec_kitty_events/schemas/file_action.schema.json by scripts/schema_pages.py; never hand-edit (C-001).
operation (enum: read, edit, create, delete, rename, required): The operation a file observation records (LW-04: read/edit/create/
delete/rename are all supported observations — a byte-delta alone
cannot distinguish them).