Files
faunosteo/scripts/import-equine.sh
T
bchanot 9e87016399 feat(domain): R5.6 fingerprint switch to sha256-rfc8785-validated-v1
The Rust pipeline is the official seed writer (pnpm import:equine); sheet-ref.json
and report-migration-map.json carry 12d78872...74e2 and the v1 block, the only two
seed files changed. 27c7383c...2660 stays a registered alias, honoured only through
LoadedSheet::recognises_historical_stamp (verified v1, recomputed document). M1: the
snapshot of an old report keeps its stamp; export, archive reader strict. Historical
oracles run in their pre-switch context; equivalence is crate-private.
2026-10-25 02:02:42 +01:00

16 lines
964 B
Bash
Executable File

#!/usr/bin/env bash
# `pnpm import:equine --check | --out <dir>` (alias `pnpm r5:import-equine`): the official
# writer of the seed since R5.6, the anatomical pipeline on the core (R5.2 to R5.6), the `import-equine` binary of crates/core behind its `curation` feature, on the native
# toolchain of the development machine (scripts/rust-env.sh). The first run compiles it
# (release profile); the next ones start at once. `--check` compares the produced folders with
# the committed seed and writes nothing; `--out <dir>` writes `<dir>/legacy-import` and
# `<dir>/draft` into an absent or empty folder (a relative path is typed from the folder pnpm
# was run in, INIT_CWD). The TypeScript generator stays reachable as `pnpm import:equine:legacy`
# (pre-switch fingerprint convention) until R5.7.
set -euo pipefail
cd "$(dirname "$0")/.."
. scripts/rust-env.sh
exec cargo run --release --locked -q -p faunosteo-core --features curation --bin import-equine -- "$@"