# CARRIED PATHS — THE ONE HOME (2026-09-26, attempt 2 of
# every-coordinator-timer-unit-runs-from-the-installed-tree...; HISTORY
# coordinator-unit-execs-the-merge-candidate).
#
# Repo-relative files outside the watchdog's own tree that a coordinator unit
# execs, imports or sources. install-coordinator.sh copies each one to
# var/fleet-watchdog/carried/<path> in the same run as the watchdog tree, so
# the unit runs LANDED bytes and never the checkout a merge window has made the
# merge candidate. Three readers, one list:
#   - ops/fleet-watchdog/install-coordinator.sh  (the copy)
#   - ops/fleet-watchdog/checks.fleet.d/59-installed-tree-drift.sh
#                                                (carried/<path> vs <ref>:<path>)
#   - scripts/merge-window.sh step 9c and scripts/merge-runner.sh's deferred
#     redeploy (a landing that touches any path here redeploys)
# The scripts take CODE from the tree they run in and DATA from {{PROJECT_UPPER}}_REPO,
# which each unit sets to the checkout (scripts/{{PROJECT_IDENT}}_claim.py `repo_root`).
#
# GRAMMAR: one repo-relative FILE per line; `#` comments and blank lines skipped.
# A path added here must exist at the ref (the installer refuses a missing one).

# {{PRODUCT_SLUG}}-account-pool.service
scripts/account-pool.py
scripts/{{PROJECT_IDENT}}_claim.py
scripts/usage_live_feed.py
scripts/usage_model_meter.py
scripts/lib/claude_swap_port.py
scripts/task-ledger.py
ops/fleet-watchdog/usage-limit-watcher.py

# {{PRODUCT_SLUG}}-context-refresh.service (stdlib only)
scripts/context-refresh.py

# {{PRODUCT_SLUG}}-session-steward.service (pool CLI above; lib.sh for the spool)
scripts/session-steward.sh
ops/fleet-watchdog/lib.sh
# the steward's spool watcher and the coordinator's arm (2026-10-21: the steward types
# only the compaction request; the coordinator's watchers consume every other kind)
scripts/steward-spool-watch.sh
scripts/coordinator-arm-watchers.sh

# {{PRODUCT_SLUG}}-evidence-reaper.service
# scripts/coord-evidence-reaper-daily.sh -- not carried by this template (the evidence reaper is the source project's)
# scripts/coord-evidence-archive.sh -- not carried by this template (the evidence reaper is the source project's)
scripts/lib/git-retry.sh
scripts/lib/harness-liveness.sh

# {{PRODUCT_SLUG}}-postmortem-mirror.service (the ledger mirror; lib.sh above is its alert spool)
scripts/postmortem-mirror.sh
scripts/postmortem-recurrence.py
scripts/lib/coordinator-token.sh

# the source coordinator's Saturday post-mortem assembler is not carried by this template
# scripts/postmortem-assemble.py -- not carried (the assembler runs only on the source coordinator)
scripts/lib/operator-zone.sh

# {{PRODUCT_SLUG}}-watchdog.service, checks.d/15-unit-census.sh (stdlib only; also run by install-coordinator.sh from the checkout)
scripts/unit-census.py
