# 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」
#   「SCITEX_TODO_ 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 SCITEX_TODO_TASKS_YAML_SHARED
# 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.
#
# Legacy SCITEX_TODO_* names are never written by hand anywhere:
# scitex_cards._env_compat.mirror_env derives each one from its SCITEX_CARDS_*
# twin at import, so anything still reading an old name resolves.
#
# Humans who want a non-default store: export it in your own shell profile.
