{
  "schema_version": 1,
  "reviewed_on": "2026-11-20",
  "scope": "API contracts and pinned source interpretation, paired with separately measured native observations.",
  "sources": [
    {
      "id": "inotify-api",
      "title": "Linux man-pages 6.19: inotify(7)",
      "url": "https://man7.org/linux/man-pages/man7/inotify.7.html",
      "locator": "IN_MASK_ADD, IN_MASK_CREATE, IN_ONESHOT; inode-based file watches versus directory pathname coverage",
      "evidence": "Primary API documentation",
      "limitation": "Describes documented behavior; not measured product failure prevalence."
    },
    {
      "id": "inotify-add",
      "title": "Linux man-pages 6.19: inotify_add_watch(2)",
      "url": "https://man7.org/linux/man-pages/man2/inotify_add_watch.2.html",
      "locator": "DESCRIPTION and ERRORS",
      "evidence": "Primary API documentation",
      "supports": "Same inode in the same instance returns existing wd; EEXIST and invalid flag combination."
    },
    {
      "id": "inotify-remove",
      "title": "Linux man-pages 6.19: inotify_rm_watch(2)",
      "url": "https://man7.org/linux/man-pages/man2/inotify_rm_watch.2.html",
      "locator": "DESCRIPTION",
      "evidence": "Primary API documentation",
      "supports": "Removal applies to the instance watch and queues IN_IGNORED."
    },
    {
      "id": "dup",
      "title": "Linux man-pages 6.19: dup(2)",
      "url": "https://man7.org/linux/man-pages/man2/dup.2.html",
      "locator": "DESCRIPTION",
      "evidence": "Primary API documentation",
      "supports": "A duplicated descriptor refers to the same open file description."
    },
    {
      "id": "inotify-init",
      "title": "Linux man-pages 6.19: inotify_init(2)",
      "url": "https://man7.org/linux/man-pages/man2/inotify_init.2.html",
      "locator": "DESCRIPTION and ERRORS",
      "evidence": "Primary API documentation",
      "supports": "Initialization creates a new instance and event queue; resources remain bounded."
    },
    {
      "id": "kernel-user",
      "title": "Linux v6.8 fs/notify/inotify/inotify_user.c",
      "url": "https://raw.githubusercontent.com/torvalds/linux/v6.8/fs/notify/inotify/inotify_user.c",
      "locator": "inotify_update_existing_watch; get_one_event; inotify_read; do_inotify_init; inotify_rm_watch",
      "sha256": "7e2f783a1ca6a7b20899dc5fa3b8ef7dec1fde39a6fb2cb6f847346b274e7b7f",
      "license": "GPL-2.0-or-later",
      "evidence": "Pinned upstream implementation; downloaded privately, not redistributed",
      "limitation": "Upstream v6.8 is an explanatory reference, not asserted byte-identical to tested Ubuntu kernel 6.8.0-149-generic."
    },
    {
      "id": "kernel-notify",
      "title": "Linux v6.8 fs/notify/inotify/inotify_fsnotify.c",
      "url": "https://raw.githubusercontent.com/torvalds/linux/v6.8/fs/notify/inotify/inotify_fsnotify.c",
      "locator": "inotify_handle_inode_event, end of function",
      "sha256": "3dc836dc11ebd4608b25275248d25ad7ae754601b6b75a522ea58b2ff50d35b5",
      "license": "GPL-2.0-or-later",
      "evidence": "Pinned upstream implementation",
      "supports": "IN_ONESHOT mark destruction follows event handling."
    },
    {
      "id": "fdinfo",
      "title": "Linux man-pages: proc_pid_fdinfo(5)",
      "url": "https://man7.org/linux/man-pages/man5/proc_pid_fdinfo.5.html",
      "locator": "inotify",
      "evidence": "Primary proc interface documentation",
      "limitation": "Probe retains raw fdinfo records; its parser is tested separately and checks selected event bits."
    }
  ],
  "corpus_mapping": {
    "article": "https://hesela.com/analyses/inotify-change-detection/",
    "term": "https://hesela.dev/terms/inotify/",
    "related_existing": [
      "hard-link",
      "inode",
      "open-file-description",
      "file-descriptor",
      "fanotify"
    ],
    "baseline_commit": "dd321434f4cdba0065c1a77114caea3683adf07a",
    "preserved": "No existing source, website, generated corpus or research file edited."
  }
}
