Restore assessments from an export

Problem/motivation

The export added for a safe uninstall only helps if it can be read back. A site that reinstalls AI Disclosure should get its assessments again, and the export format has to carry everything that takes, before any site saves a file in it.

Proposed resolution

  • One export format shared with the uninstall export: every property of the disclosure field (mode, grade, profile, scope answers, human review, description), with entity type, UUID, language and field name to find the target.
  • An import page behind its own permission. It shows how many items match, which entities no longer exist, and which grades or profiles are missing, before writing anything.
  • The import never lowers a stricter disclosure that the entity already has, the same rule the recorder follows.
  • A round-trip test: export, uninstall, reinstall, import, and the disclosures are the same as before.

User interface changes

A new import page under the AI Disclosure settings.

AI Compliance

🤖 Generated with the help of an LLM, reviewed and approved by me before posting.