idx-cli/scripts
hermes 1f6f0ee02e feat(ownership): idempotent, packaged snapshot publisher
The self-hosted publish timer has not produced an upload since it was
enabled (manifest last updated 2026-07-14, a manual run), and failures
were invisible. Make the job safe to run daily and easy to deploy:

- publish-ownership-snapshot.sh: skip the upload when the published
  manifest already has the latest as-of date (pre-check via discover
  for XLSX sources, post-build check for legacy PDF); --force to
  override. Always ends with one line: RESULT: published|up-to-date
  <as-of> or RESULT: FAILED stage=<stage> (exit N). gh release create
  no longer requires a git checkout.
- check-ownership-snapshot-freshness.sh: exit 1 when the published
  latest_as_of_date is older than --max-age-days (default 40).
- flake: packages.ownership-publisher bundles the scripts with a
  pinned idx (curl-impersonate + mupdf) and jq/gh/sqlite/curl as
  bin/idx-ownership-publish and bin/idx-ownership-freshness, so hosts
  need no checkout, nix develop or cargo build at run time. Built in CI.
- contrib/systemd + docs: daily 06:00 UTC timer, run semantics table,
  freshness alarm, packaged usage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017a5Cv5Z1NzdYKgKnTiAF4E
2026-09-24 21:40:02 +00:00
..
audit-msn-fundamentals.sh fix: handle non-finite msn key ratios 2026-04-13 23:34:36 +07:00
build-latest-ownership-snapshot.sh fix(ownership): harden --history parsing per review 2026-09-24 21:12:34 +00:00
build-ownership-snapshot.sh Add ownership snapshot sync 2026-03-31 19:28:13 +07:00
check-ownership-snapshot-freshness.sh feat(ownership): idempotent, packaged snapshot publisher 2026-09-24 21:40:02 +00:00
idx.js fix: harden npm distribution release and installer 2026-09-24 18:57:53 +00:00
install-sh-test.sh fix: expand quoted ~ in install dir and trim trailing slashes on mirror URLs 2026-09-24 19:34:18 +00:00
install.js fix: harden npm distribution release and installer 2026-09-24 18:57:53 +00:00
live-smoke.sh feat: support explicit MSN chart history 2026-04-15 13:48:27 +07:00
npm-smoke.sh fix: harden npm distribution release and installer 2026-09-24 18:57:53 +00:00
publish-ownership-snapshot.sh feat(ownership): idempotent, packaged snapshot publisher 2026-09-24 21:40:02 +00:00