env_var_migration.ba

env_var_migration.ba is an agent for coding agents from hyperledger-iroha/iroha. It costs 0 tokens per session (2,328 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.ba
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.ba

README.md
[![agentmods](https://agentmods.dev/badge/agents/hyperledger-iroha/iroha/env_var_migration.ba.svg)](https://agentmods.dev/agents/hyperledger-iroha/iroha/env_var_migration.ba)
Your own site
<a href="https://agentmods.dev/agents/hyperledger-iroha/iroha/env_var_migration.ba"><img src="https://agentmods.dev/badge/agents/hyperledger-iroha/iroha/env_var_migration.ba.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,328 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 $0.00000 $0.02328
Opus 5 $0.00000 $0.01164
Sonnet 5 $0.00000 $0.00466
Haiku 4.5 $0.00000 $0.00233

Measured 4d ago against content hash afd0130353f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

env_var_migration.ba 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.ba.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 (йәки асыҡ dev/һынау-тик scoping).

Иҫкәрмә: ci/check_env_config_surface.sh хәҙер яңы производство env ҡасан уңышһыҙлыҡҡа осрай shims AGENTS_BASE_REF менән сағыштырғанда күренә, әгәр ENV_CONFIG_GUARD_ALLOW=1 булмаһа. йыйылма; документ ниәтләп өҫтәүҙәр бында ҡулланыу алдынан өҫтөнлөк.

тамамланған миграциялар- **IVM ABI опт-аут ** — IVM_ALLOW_NON_V1_ABI сығарыу; компилятор хәҙер кире ҡаға

v1 булмаған АБИ-лар шартһыҙ рәүештә хата юлын һаҡлаусы берәмек һынауы менән.

  • IVM отладка баннер env chimIVM_SUPPRESS_BANNER env out-out; баннер баҫтырыу программалы ҡоротҡос аша ҡала.
  • IVM кэш/размерлау — епләнгән кэш/гурист/ГПУ размерлау аша iroha_config (pipeline.{cache_size,ivm_cache_max_decoded_ops,ivm_cache_max_bytes,ivm_prover_threads}, accel.max_gpus) һәм эшләү ваҡыты env shims. Хужалар хәҙер шылтырата ivm::ivm_cache::configure_limits һәм ivm::zk::set_prover_threads, һынауҙар ҡулланыу CacheLimitsGuard урынына env өҫтөнлөк итә.
  • Ситаждың сират тамырыconnect.queue.root өҫтәлгән (поручка: ~/.iroha/connect) клиентҡа конфиг һәм уны CLI һәм 2 JS диагностикаһы. JS ярҙамсылары конфиг (йәки асыҡ rootDir) һәм 1990 й. тик IROHA_CONNECT_QUEUE_ROOT тик dev/һынауҙа allowEnvOverride аша ғына хөрмәт; ҡалыптар документ ручка шулай операторҙар инде кәрәкмәй env өҫтөнлөк.
  • Izanami селтәр оп-инallow_net CLI/config флагы өсөн асыҡ өҫтәлде. Izanami хаос инструменты; йүгерә хәҙер allow_net=true/--allow-net һәм
  • IVM баннер гудокIROHA_BEEP env shim менән алмаштырылған конфиг-двигателдәр ivm.banner.{show,beep} X toggles (подлубливый: дөрөҫ/дөрөҫ). Стартап баннеры/ гудок проводка хәҙер конфигурацияны тик производствола ғына уҡый; dev/тест төҙөү һаман да хөрмәт env ҡул менән өҫтөнлөклө переключатель.
  • ДА катушка өҫтөнлөк (һынауҙар ғына)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 һаҡсыһын алып ташлай. Хужалар сәйәсәтте 2011 йылда ҡуллана. стартап, эскәмйәләр/тестар CRYPTO_SM_INTRINSICS аша ҡабул итеүе мөмкин, ә OpenSSL алдан ҡарау хәҙер тик конфиг флагын хөрмәт итә. Izanami инде --allow-net/персистенный конфиг талап итә, ә һынауҙар хәҙер таяна. тип ручка түгел, ә тирә-яҡ мөхит env toggles.
  • FastPQ GPU көйләүfastpq.metal.{max_in_flight,threadgroup_width,metal_trace,metal_debug_enum,metal_debug_fused} өҫтәлгән config knobs (defaults: None/None/false/false/false) and thread them through CLI parsing FASTPQ_METAL_* / FASTPQ_DEBUG_* шашкалары хәҙер үҙен dev/һынау fallbacks һәм бер тапҡыр конфигурация йөкләмәләрен иғтибарға алмай (хатта конфиг уларҙы ҡуйылмаған ҡалдырғанда); docs/инвентарь булды Яңыртылған флаг миграция.【краттар/ро, src/main.rs:2609】【крат/ироха_ядро/src/src/fastpq/lane.109】【крат/тиҙ_провер/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 инвентарь регенерацияланған, тип сағылдырыу өсөн dev/һынау-тик даирәһе.- * FASTPQ ҡоролмаларын яңыртыу* — FASTPQ_UPDATE_FIXTURES хәҙер FASTPQ интеграцияһында ғына күренә һынауҙар; етештереү сығанаҡтары инде уҡымай env toggle һәм инвентарь сағылдыра һынау-тик масштаб.
  • Инвентаризация яңыртыу + даирәһен асыҡлау — Энв инвентаризация инструменттары хәҙер build.rs файлдарын тегтар тип билдәләй. төҙөү даирәһе һәм тректар #[cfg(test)]/интеграция жгут модулдәре шулай һынау-тик toggles (мәҫәлән, IROHA_TEST_*, IROHA_RUN_IGNORED) һәм CUDA төҙөү флагтары етештереү һанынан ситтә күренә. Инвентаризация регенерацияланған декабрь 07, 2025 (518 refs / 144 vars) һаҡлау өсөн env-config һаҡсыһы diff йәшел.
  • P2P топологияһы env shim релиз һаҡсыһыIROHA_P2P_TOPOLOGY_UPDATE_MS хәҙер детерминистик тыуҙыра стартап хатаһы сығарыу төҙөү (иҫкәртергә-тик отладка/тест) шулай етештереү төйөндәре тик таяна network.peer_gossip_period_ms. 1990 йылдарҙа был йүнәлештәге эштәрҙең инвентаризацияһы һаҡсыны сағылдырыу өсөн яңыртылған һәм яңыртылған классификатор хәҙер scops 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 afd0130353f5

Subscribe to this mod's changes

env_var_migration.ba 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,328 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.