# crate-seq-core
Orchestration layer for the crate-seq publish pipeline.
Coordinates ledger state, git tag discovery, registry queries, manifest rewriting,
and snapshot extraction into a single resumable pipeline. If a publish run is
interrupted, re-running resumes from the first `Pending` entry.
Key entry points:
- `init` — discovers git tags and crates.io state, writes initial ledger entries
- `check_crate` — diffs pending ledger versions against live crates.io state
- `publish_dry_run` / `publish_execute` — runs the full pipeline in dry or live mode
- `create_tag` — creates an annotated git tag and ledger entry atomically, with
rollback if the ledger write fails
- `snapshot_version` — captures a directory snapshot and records it in the ledger
- `discover_members` — lists all workspace crates with ledger files
- `resolve_token` / `require_token` — three-tier token resolution:
`--token` flag → `token_env`/`token_cmd` ledger fields → cargo credentials