Skip to contents

Loads one or more filesystem snapshots, binds them together, and assigns each observed instantiation to the nearest matching observational root.

Usage

create_observation_set(
  snapshot_files,
  roots,
  construction_method = "path_prefix"
)

Arguments

snapshot_files

Character vector of .rds snapshot paths.

roots

Character vector of observation roots.

construction_method

Character scalar describing how observational grouping was created.

Value

A data.frame with observational grouping columns:

  • observation_root

  • rel_observation_path

  • construction_method

Details

This function is intentionally observational and lightweight:

  • no semantic inference

  • no RiC interpretation

  • no derivation logic

  • no rename detection

It creates a stable operational grouping layer that can later support:

  • audit reconstruction

  • duplicate analysis

  • Git enrichment

  • RiC-aligned record set derivation

  • provenance graph construction

Examples

if (FALSE) { # \dontrun{

observation_set <- create_observation_set(
  snapshot_files = snapshot_files,
  roots = eviota_roots
)
} # }