AI Automators¶
ai_disclosure_automators records the field values that
AI Automators writes. It needs
ai_disclosure and the ai_automators submodule of AI, and installing
ai_disclosure does not enable it. AI itself needs no change: the submodule
listens to the event AI Automators already sends.
Direct writes and suggestions¶
What gets recorded depends on whether an editor saw the value before it was saved.
- A write during a save (the Direct worker, the queue, a drush script) is applied to the AI Disclosure field in that same save. Nobody saw the value first, so the grade is set, not suggested.
- A field widget button only puts the value in the form. When the editor saves with that value still in the field, the grade becomes a pending suggestion they can accept or dismiss. If they delete or replace the value first, nothing is recorded. A value that is never saved is forgotten after a day.
When several automators write the same field, the strictest grade wins. Every write shows up in the suggestions report, with AI Automators as its source and a note naming the field and the rule:

Choosing the grade¶
The automator form has an AI Disclosure grade select below Automator Worker:

Default for this rule picks the grade from the rule and the field type. A summary rule gives "AI summarized", an alt text rule "Metadata picked by AI", a formatted text field "Autonomously AI generated" for a direct write and "Partly AI assisted" for a suggestion. Rules such as vector search report nothing. A rule that generates an image, a speech or a video file, or a media item from one, reports like formatted text: "Autonomously AI generated" for a direct write and "Partly AI assisted" for a suggestion. For a file or image field the grade goes on the content that holds the field, and it counts when the saved field references the generated file. For a field that references media, of any media type (image, audio, video or document), the grade goes on the media item, in its own AI Disclosure field, and not on the content: the page then shows the media item through its own mark and the one card of the content, see A page with several AI elements. The grade is applied, or suggested, when the content that references the media item is saved. A media type without an AI Disclosure field records nothing, and the content does not take its place. A file or media item that an editor replaces or removes is not reported. A rule that only renames a file reports "Metadata picked by AI", and one that only takes frames from a video reports nothing. A rule of another module that writes a file field reports nothing until the automator has a grade. Do not report turns the automator off for AI Disclosure. If a grade picked here is deleted, the automator goes back to the default and keeps running.
Uninstalling¶
Uninstalling the submodule removes the grade settings from the automators and the values still waiting for a save. AI Automators keeps working as before.
Developers who want the same behavior for their own module can read Reporting AI writes with a plugin.