pub fn write_samples(
card_id: &str,
samples: Vec<Value>,
) -> Result<PathBuf, String>Expand description
Write per-case samples to {card_id}.samples.jsonl (write-once).
Each samples entry is serialized as one compact JSON line.
Fails if a samples file already exists for this card — mirrors
the immutability guarantee of Cards themselves.