security(import): never import policy rules from archives
An archive is data about a mind, not a grant of permissions on this instance. Import now skips the policies table (forks on the same instance keep theirs), reports the omitted rows in the audit log and the mind's history, and the snapshot test proves both paths.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
A **snapshot** is a JSON archive of a mind's state at a point in its history:
|
||||
identity, personality, configuration, workspace and working memory, drives and
|
||||
affect, goals, beliefs (with evidence, versions, alternatives, links), memories
|
||||
(with relationships), predictions, entities, corrections, policies and
|
||||
(with relationships), predictions, entities, corrections, policy rules (kept by forks, never imported from archives) and
|
||||
conversations. It records the event sequence number at capture and a SHA-256
|
||||
checksum. Cognitive events are **not** copied.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user