{
  "schema_version": 1,
  "study": "xattr-restore",
  "status": "research prepared; not site-published or independently reviewed",
  "claims": [
    {
      "id": "directory-overlay",
      "type": "native_observation",
      "claim": "GNU tar 1.35 with --same-permissions --xattrs, both default and --overwrite extraction, preserved the destination-only user.hesela.extra on an existing directory while matching all source xattr values and all payload bytes/modes.",
      "evidence": [
        "capture-1.json",
        "capture-2.json"
      ],
      "cases": [
        "tar-existing",
        "tar-overwrite"
      ],
      "source_ids": [
        "tar-manual",
        "tar-source"
      ],
      "scope": "24 controlled executions across two captures and two mount types on one host; not a frequency estimate."
    },
    {
      "id": "negative-metadata",
      "type": "logical_inference",
      "claim": "Matching every source xattr value is insufficient to establish equality of the selected metadata set: destination-only names must also be considered.",
      "evidence": [
        "summary.json"
      ],
      "cases": [
        "tar-existing",
        "tar-overwrite",
        "rsync-aX-exclude-extra"
      ],
      "source_ids": [
        "linux-xattr"
      ]
    },
    {
      "id": "rsync-domain",
      "type": "native_observation",
      "claim": "Unfiltered rsync -aX reconciled the visible user.* sets in these fixtures; excluding user.hesela.extra retained that key while still matching all source attributes.",
      "evidence": [
        "capture-1.json",
        "capture-2.json"
      ],
      "cases": [
        "rsync-aX-existing",
        "rsync-aX-exclude-extra"
      ],
      "source_ids": [
        "rsync-manual",
        "rsync-source"
      ],
      "scope": "These exact options, unprivileged local rsync 3.2.7; not all namespaces or all filter configurations."
    },
    {
      "id": "hardlink-mutation",
      "type": "native_observation",
      "claim": "Metadata-only rsync -aX updated an existing inode and its retained alias outside the destination subtree; a changed-payload control replaced the destination inode and left the alias on its old bytes/metadata.",
      "evidence": [
        "capture-1.json",
        "capture-2.json"
      ],
      "cases": [
        "rsync-aX-existing",
        "rsync-aX-changed"
      ],
      "source_ids": [
        "rsync-manual",
        "linux-link"
      ],
      "scope": "12 executions of each scenario; ordinary local copying without --inplace; no --link-dest run was performed."
    },
    {
      "id": "error-not-rollback",
      "type": "native_observation",
      "claim": "tar --unlink-first returned exit 2 for the nonempty destination directory but still replaced its file; error is not evidence of rollback.",
      "evidence": [
        "capture-1.json",
        "capture-2.json"
      ],
      "cases": [
        "tar-unlink-first"
      ],
      "source_ids": [
        "tar-source"
      ],
      "scope": "12 executions; the command is not recommended as a general fix."
    }
  ],
  "corpus_mapping": {
    "primary_article": "https://hesela.com/analyses/posix-acl-restore-permissions/",
    "related_articles": [
      "https://hesela.com/analyses/backup-verification-is-not-a-restore-test/",
      "https://hesela.com/analyses/filename-identity-backup-restores/"
    ],
    "existing_terms": [
      "https://hesela.dev/terms/posix-access-control-list/",
      "https://hesela.dev/terms/hard-link/"
    ],
    "integration": "Use article-insertion.md in the existing ACL analysis, with DEV evidence assets after review. Recheck canonical extended-attribute term gap against latest target; do not create an alias duplicate."
  }
}
