env_var_migration.kk

env_var_migration.kk is an agent for coding agents from hyperledger-iroha/iroha. It costs 0 tokens per session (2,339 once invoked), scanned A, original, Apache-2.0.

A project tracker for moving production settings from environment variables into a typed configuration system, with completed migrations and safeguards for new variables.

In plain words
What is it for?
Use it to review configuration migrations, document intentional environment variables, and check that code and CI follow the new configuration path.
Why use it?
It helps prevent configuration changes from being added inconsistently or without documentation. It also records which old settings and compatibility layers have been removed.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/hyperledger-iroha/iroha/env_var_migration.kk
Clone the repo
git clone --depth 1 https://github.com/hyperledger-iroha/iroha

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for env_var_migration.kk

README.md
[![agentmods](https://agentmods.dev/badge/agents/hyperledger-iroha/iroha/env_var_migration.kk.svg)](https://agentmods.dev/agents/hyperledger-iroha/iroha/env_var_migration.kk)
Your own site
<a href="https://agentmods.dev/agents/hyperledger-iroha/iroha/env_var_migration.kk"><img src="https://agentmods.dev/badge/agents/hyperledger-iroha/iroha/env_var_migration.kk.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,339 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02339
Opus 5 $0.00000 $0.01170
Sonnet 5 $0.00000 $0.00468
Haiku 4.5 $0.00000 $0.00234

Measured 4d ago against content hash 2781bb39936b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

env_var_migration.kk scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/source/agents/env_var_migration.kk.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Env → Конфигурация тасымалдау бақылаушысы

Бұл трекер өндіріске қатысты қоршаған ортаның ауыспалы қосқыштарын қорытындылайды docs/source/agents/env_var_inventory.{json,md} және жоспарланған тасымалдау жол iroha_config (немесе нақты әзірлеу/тек сынақ ауқымы).

Ескертпе: ci/check_env_config_surface.sh енді жаңа өндіріс env болғанда орындалмайды. егер ENV_CONFIG_GUARD_ALLOW=1 болмаса, AGENTS_BASE_REF-қа қатысты жылтырмалар пайда болады жиынтық; қайта анықтауды пайдаланбас бұрын осында әдейі толықтыруларды құжат.

Аяқталған тасымалдаулар- IVM ABI бас тартуIVM_ALLOW_NON_V1_ABI жойылды; компилятор енді бас тартады

v1 емес ABI қате жолын қорғайтын бірлік сынағы бар сөзсіз.

  • IVM отладка баннері env shimIVM_SUPPRESS_BANNER env бас тартуын алып тастады; баннерді басу бағдарламалық орнатушы арқылы қолжетімді болып қалады.
  • IVM кэш/өлшемі — ағынды кэш/провер/GPU өлшемі арқылы iroha_config (pipeline.{cache_size,ivm_cache_max_decoded_ops,ivm_cache_max_bytes,ivm_prover_threads}, accel.max_gpus) жəне орындалу ортасының блоктарын алып тастады. Хосттар қазір қоңырау шалады ivm::ivm_cache::configure_limits және ivm::zk::set_prover_threads, сынақтарды пайдалану Env қайта анықтаудың орнына CacheLimitsGuard.
  • Кезек түбірін қосуconnect.queue.root қосылды (әдепкі: ~/.iroha/connect) клиент конфигурациясына енгізіп, оны CLI және JS диагностикасы. JS көмекшілері конфигурацияны (немесе анық rootDir) шешеді және allowEnvOverride арқылы әзірлеу/сынақта IROHA_CONNECT_QUEUE_ROOT-ті ғана құрметтеңіз; шаблондар тұтқаны құжаттайды, осылайша операторлар енді env қайта анықтауды қажет етпейді.
  • Izanami желіге қосылу — Айқын allow_net CLI/config жалаушасы қосылды. Izanami хаос құралы; қазір allow_net=true/--allow-net қажет және
  • IVM баннер сигналыIROHA_BEEP env белгішесін конфигурациямен басқарылды. ivm.banner.{show,beep} ауыстырады (әдепкі: шын/шын). Іске қосу баннері/дыбыстық сигнал сымдар енді конфигурацияны тек өндірісте оқиды; dev/test әлі де құрметті құрастырады қолмен ауыстырып қосқыштар үшін env қайта анықтау.
  • DA спулын қайта анықтау (тек сынақтар)IROHA_DA_SPOOL_DIR қайта анықтау енді cfg(test) көмекшілерінің артында қоршалған; өндіріс коды әрқашан катушкадан тұрады конфигурациядан шығатын жол.
  • Крипто интринстері — ауыстырылды IROHA_DISABLE_SM_INTRINSICS / IROHA_ENABLE_SM_INTRINSICS конфигурациямен басқарылады crypto.sm_intrinsics саясаты (auto/force-enable/force-disable) және IROHA_SM_OPENSSL_PREVIEW қорғанысын алып тастады. Хосттар мына мекенжайда саясатты қолданады іске қосу, стендтер/тесттер CRYPTO_SM_INTRINSICS және OpenSSL арқылы қосылуы мүмкін алдын ала қарау енді тек конфигурация жалауын құрметтейді. Izanami қазірдің өзінде --allow-net/тұрақты конфигурацияны қажет етеді және қазір сынақтар қоршаған ортаны ауыстырып қосқыштардан гөрі сол тұтқа.
  • FastPQ GPU баптауfastpq.metal.{max_in_flight,threadgroup_width,metal_trace,metal_debug_enum,metal_debug_fused} қосылды конфигурациялау тұтқалары (әдепкі: None/None/false/false/false) және оларды CLI талдауы арқылы өткізіңіз FASTPQ_METAL_* / FASTPQ_DEBUG_* тетіктері енді әзірлеу/сынақ резервтері ретінде әрекет етеді және конфигурацияны жүктегеннен кейін еленбейді (тіпті конфигурация оларды орнатылмай қалдырса да); құжаттар/түгендеу болды тасымалдауды белгілеу үшін жаңартылды.【crates/irohad/src/main.rs:2609】【crates/iroha_core/src/fastpq/lane.rs:109】【crates/fastpq_prover/src/overrides.rs:11】 (IVM_DECODE_TRACE, IVM_DEBUG_WSV, IVM_DEBUG_COMPACT, IVM_DEBUG_INVALID, IVM_DEBUG_REGALLOC, IVM_DEBUG_METAL_ENUM, IVM_DEBUG_METAL_SELFTEST, IVM_FORCE_METAL_ENUM, IVM_FORCE_METAL_SELFTEST_FAIL, IVM_FORCE_CUDA_SELFTEST_FAIL, IVM_DISABLE_METAL, IVM_DISABLE_CUDA) енді ортақ пайдалану арқылы жөндеу/сынау құрастыруларының артында жабық көмекші, сондықтан өндіріс екілік файлдары жергілікті диагностика үшін тұтқаларды сақтай отырып, оларды елемейді. Env түгендеу тек әзірлеу/тек сынақ ауқымын көрсету үшін жаңартылды.- FASTPQ арматурасының жаңартуларыFASTPQ_UPDATE_FIXTURES енді тек FASTPQ интеграциясында пайда болады сынақтар; өндіріс көздері енді env қосқышын оқымайды және түгендеу тек сынақты көрсетеді ауқымы.
  • Инвентаризацияны жаңарту + аумақты анықтау — Env түгендеу құралы енді build.rs файлдарын келесідей тегтейді. #[cfg(test)]/интегралдау белдеуінің модульдерін құрастыру және қадағалау, осылайша тек сынаққа ауысады (мысалы, IROHA_TEST_*, IROHA_RUN_IGNORED) және CUDA құрастыру жалаулары өндіріс санынан тыс көрсетіледі. Env-config қорғаныс дифференциалын жасыл түсте сақтау үшін 2025 жылдың 07 желтоқсанында түгендеу жаңартылды (518 реф. / 144 вар).
  • P2P топологиясы env шығыршықты босату қорғаушысыIROHA_P2P_TOPOLOGY_UPDATE_MS енді детерминистикалық әрекетті іске қосады Шығарылым құрастыруындағы іске қосу қатесі (тек отладта/сынақта ескерту), сондықтан өндіріс түйіндері тек network.peer_gossip_period_ms. Қорғаныс тізімі күзетшілер мен адамдарды көрсету үшін жаңартылды жаңартылған классификатор енді cfg! қорғалған қосқыштарды жөндеу/сынақ ретінде қамтиды.

Read the full file on GitHub · 99 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 99 lines · 0 tokens per session scan A 2781bb39936b

Subscribe to this mod's changes

env_var_migration.kk is an agent published in the GitHub repository hyperledger-iroha/iroha (488 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,339 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.