From 6ef98ad444631b1d5ba67bb16aaaa2afdfa53ae0 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Thu, 23 Jul 2026 04:12:39 +0200 Subject: Witness asset destruction, naming every node it strips --- app/models/node_action.rb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'app/models/node_action.rb') diff --git a/app/models/node_action.rb b/app/models/node_action.rb index 8a3dd8b7..9ed0b628 100644 --- a/app/models/node_action.rb +++ b/app/models/node_action.rb @@ -69,6 +69,15 @@ class NodeAction < ApplicationRecord # "path" -- final path, flat string (create-symmetric) # "destroyed_descendants" -- integer, only when positive; one entry # at the root, per the subtree rule. + # "asset_destroy" (witnessed asset deletion; always written, even for + # unattached assets -- the files were publicly reachable; node column + # nil, subjects via participants: the asset plus every then-attached + # node): + # "asset_name" -- flat string + # "content_type" -- flat string + # "path" -- public original path, flat string + # "detached_from" -- array of unique_names, only when any + # "headline_removed_from" -- array of unique_names, only when any # # Reserved: "demote" (via "trash" | "depublish") for an explicit # depublish workflow, if ever built. -- cgit v1.3