# Load the parent directory's .envrc first (direnv), so shared
# repo-group env (e.g. ~/proj/.envrc) applies before these per-repo overrides.
source_up

# NOTHING AGENT-SCOPED IS DEFINED HERE. Operator ruling 2026-07-19:
#
#   「CCT_AGENT_ID, CCT_BOT_TOKEN should be in spec.yaml instead of .envrc as
#     they are identities for not project but agent」
#   「(retired-prefix) env variables should be removed from anywhere」
#
# This file used to export CCT_ALLOWED_USERS / CCT_AGENT_ID / CCT_BOT_TOKEN,
# SCITEX_CARDS_AGENT_ID, and (until #522) a shared-tasks-YAML variable
# pointing at a path that no longer exists. All of them have moved to the sac
# spec, which is the single definition point.
#
# WHY, in one line each:
#
#   1. They are AGENT identity, not PROJECT config. .envrc is per-repo; an
#      agent identity is per-agent. A repo does not have a Telegram id.
#   2. Containers never read this file. direnv fires only when a HUMAN cd's
#      in; agents get env from the spec. Defining a value in both makes two
#      sources of truth that WILL drift — and did: the spec was corrected on
#      2026-07-19 while this file still named the dead YAML store, which is
#      how an hours-long silent MCP write outage went unnoticed.
#   3. This is a PUBLIC repo (さいれぽじ). Machine-local paths and per-agent
#      identities are not public source.
#   4. The store values were redundant anyway — measured with every store var
#      unset, resolve_db_path() already returns ~/.scitex/cards/cards.db.
#
# There is no longer a second spelling to keep in step. The compat module
# that mirrored each SCITEX_CARDS_* name onto a retired twin at import was
# DELETED 2026-08-16: a mirror is a second source of truth wearing a
# convenience, and this one silently leaked the live production store into a
# unit test for weeks. SCITEX_CARDS_* is the only spelling that resolves.
#
# Humans who want a non-default store: export it in your own shell profile.
